airbrake / pybrake

Python exception notifier for Airbrake
https://airbrake.io
Other
37 stars 17 forks source link

[ADD] pybrake new framework support: Hug #231

Closed smurf-U closed 2 years ago

kyrylo commented 2 years ago

I'm having the same problem ModuleNotFoundError: No module named 'pybrake.middleware.hug'. I think anyone who uses these examples will hit the same issue. Do I need to edit PYTHONPATH?

smurf-U commented 2 years ago

I'm having the same problem ModuleNotFoundError: No module named 'pybrake.middleware.hug'. I think anyone who uses these examples will hit the same issue. Do I need to edit PYTHONPATH?

No, the middleware is not yet available, and installing all dependencies using a requirement file will install an outdated version of "pybrake" that does not have the "hug" middleware.

Try uninstalling "pybrake" using the pip3 command and then installing it using the python3 setup.py install command. It will succeed. The same problem I had yesterday.

kyrylo commented 2 years ago

That did the trick, thanks!