Has anyone ever used PythonAnywhere to host opensource python program called changedetection?
I'm having trouble with the web app WSGI file, which is the file telling the web app where to find the app to run. It seems super simple (I thought) even a newbie like me should be able to do it, right? :-(
I cloned the files from Github to the directory /home/michaelhowardsandiego/.local/lib/python3.10/site-packages/
then installed the program which created a directory called changedetectionio
But when I set the path using this directory and attempt to import the program as an app in the WSGI file per the docs, I get the below errors.
The answer is simple, right! Any ideas? Thank you for any help it will be greatly appreciated!
Michael
> 2025-02-18 22:07:11,198: Error running WSGI application
> 2025-02-18 22:07:11,206: AttributeError: module 'lib' has no attribute 'X509_V_FLAG_NOTIFY_POLICY'
> 2025-02-18 22:07:11,206: File "/var/www/michaelhowardsandiego_pythonanywhere_com_wsgi.py", line 70, in <module>
> 2025-02-18 22:07:11,207: from changedetectionio import app as application
> 2025-02-18 22:07:11,207:
> 2025-02-18 22:07:11,207: File "/home/michaelhowardsandiego/.local/lib/python3.10/site-packages/changedetectionio/__init__.py", line 11, in <module>
> 2025-02-18 22:07:11,207: import eventlet
> 2025-02-18 22:07:11,207:
> 2025-02-18 22:07:11,207: File "/home/michaelhowardsandiego/.local/lib/python3.10/site-packages/eventlet/__init__.py", line 6, in <module>
> 2025-02-18 22:07:11,208: from eventlet import convenience
> 2025-02-18 22:07:11,208:
> 2025-02-18 22:07:11,208: File "/home/michaelhowardsandiego/.local/lib/python3.10/site-packages/eventlet/convenience.py", line 7, in <module>
> 2025-02-18 22:07:11,208: from eventlet.green import socket
> 2025-02-18 22:07:11,209:
> 2025-02-18 22:07:11,209: File "/home/michaelhowardsandiego/.local/lib/python3.10/site-packages/eventlet/green/socket.py", line 4, in <module>
> 2025-02-18 22:07:11,209: __import__('eventlet.green._socket_nodns')
> 2025-02-18 22:07:11,209:
> 2025-02-18 22:07:11,209: File "/home/michaelhowardsandiego/.local/lib/python3.10/site-packages/eventlet/green/_socket_nodns.py", line 11, in <module>
> 2025-02-18 22:07:11,209: from eventlet import greenio
> 2025-02-18 22:07:11,210:
> 2025-02-18 22:07:11,210: File "/home/michaelhowardsandiego/.local/lib/python3.10/site-packages/eventlet/greenio/__init__.py", line 1, in <module>
> 2025-02-18 22:07:11,210: from eventlet.greenio.base import * # noqa
> 2025-02-18 22:07:11,210:
> 2025-02-18 22:07:11,210: File "/home/michaelhowardsandiego/.local/lib/python3.10/site-packages/eventlet/greenio/base.py", line 455, in <module>
> 2025-02-18 22:07:11,210: from OpenSSL import SSL
> 2025-02-18 22:07:11,211:
> 2025-02-18 22:07:11,211: File "/usr/local/lib/python3.10/site-packages/OpenSSL/__init__.py", line 8, in <module>
> 2025-02-18 22:07:11,211: from OpenSSL import crypto, SSL
> 2025-02-18 22:07:11,211:
> 2025-02-18 22:07:11,211: File "/usr/local/lib/python3.10/site-packages/OpenSSL/crypto.py", line 1570, in <module>
> 2025-02-18 22:07:11,211: class X509StoreFlags(object):
> 2025-02-18 22:07:11,212:
> 2025-02-18 22:07:11,212: File "/usr/local/lib/python3.10/site-packages/OpenSSL/crypto.py", line 1589, in X509StoreFlags
> 2025-02-18 22:07:11,212: NOTIFY_POLICY = _lib.X509_V_FLAG_NOTIFY_POLICY