richard-better / pushbullet.py

A python client for http://pushbullet.com
MIT License
575 stars 110 forks source link

Critical error: Can't import Pushbullet. #172

Open SvbZ3r0 opened 3 years ago

SvbZ3r0 commented 3 years ago

Installed Pushbullet v0.12.0 using pip, but I can't get it to work.

from pushbullet import Pushbullet just causes the shell to restart. No error message, no warning.

image

Doesn't work in idle, doesn't work when used in a script, doesn't work in Jupyter. image

Python shell environment is 3.9.0. Jupyter environment is 3.8.5. OS is windows 10.

WilliBobadilla commented 3 years ago

Did you try an older version? in pypi says that the suggested version is 0.9.1, also the newest version that is the one that you tried

SvbZ3r0 commented 3 years ago

Just tried 0.9.1. Same thing happens.

hayasix commented 3 years ago

+1 On windows, importing pushbullet (version 0.12.0) raises windows error -1073740791, which means 0xC0000409 STATUS_STACK_BUFFER_OVERRUN. On my Debian, it works.

hayasix commented 3 years ago

On windows, importing pushbullet (version 0.12.0) raises windows error -1073740791, which means 0xC0000409 STATUS_STACK_BUFFER_OVERRUN.

pip install python-magic-bin solves this. I think it'd be better to add this at packages= in setup.py.

skylogic004 commented 3 years ago

On windows, importing pushbullet (version 0.12.0) raises windows error -1073740791, which means 0xC0000409 STATUS_STACK_BUFFER_OVERRUN.

pip install python-magic-bin solves this. I think it'd be better to add this at packages= in setup.py.

I can confirm this. Using version 0.12.0: on Ubuntu, no issues. On Windows, sometimes it hung indefinitely on the import line or else returned a fatal error. Also, even wrapping the import line in a try ... except doesn't work - it never returns. Installing python-magic-bin fixed it (thanks, hayasix).