Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BrotliDecompress not able to use on MacOS #2

Open
Chaitya62 opened this issue Aug 16, 2019 · 0 comments
Open

BrotliDecompress not able to use on MacOS #2

Chaitya62 opened this issue Aug 16, 2019 · 0 comments

Comments

@Chaitya62
Copy link
Owner

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/npwcli/cli.py", line 74, in start
    notepad = Notepad(link, live_update=live_update)
  File "/usr/local/lib/python3.7/site-packages/npwcli/update_content.py", line 58, in __init__
    self.spider = Spider(self.domain+self.url_key)
  File "/usr/local/lib/python3.7/site-packages/npwcli/spider.py", line 37, in __init__
    self.hit("https://notepad.pw/fetch/"+self.url_key+"/?_=153264234352")
  File "/usr/local/lib/python3.7/site-packages/npwcli/spider.py", line 91, in hit
    self.content = decompress(response_obj.read()).decode('utf-8')
brotli.error: BrotliDecompress failed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/bin/npw", line 10, in <module>
    sys.exit(start())
  File "/usr/local/lib/python3.7/site-packages/npwcli/cli.py", line 78, in start
    print(e.stacktrace())
AttributeError: 'error' object has no attribute 'stacktrace'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant