You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been working to get this running with Python 3.11, mostly to check if EsiPy is still functional after recent ESI changes.
I'm creating this issue to leave some notes on what I ran into, to possibly fix with a PR later (if I get it fully working).
PySwagger is incompatible with Python>=3.10 due to an issue with collections.MutableMapping. This small change will resolve that issue: https://github.com/fboerman/pyswagger/commit/52019f41678d3f91f7f8dfc06387e0afd328ae38
as described here: https://github.com/Kyria/EsiPy/issues/64
The database file, app.db, seems to be created in the top level project directory when running flask db upgrade. However, the Flask app is looking for the db in instance/app.db, leading to the following error: sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such table: user
Moving the created app.db file to the instance directory fixes this.
The login button image link is broken, and can be updated to: https://web.ccpgamescdn.com/eveonlineassets/developers/eve-sso-login-white-small.png
At this point, I'm able to successfully authenticate with the SSO and retrieve my wallet balance, but I get the below error. That's the correct wallet balance, so I'm stopping at this point for now. esipy.exceptions.APIException: HTTP Error 200: b'2113860735.69'
The text was updated successfully, but these errors were encountered:
I got it to work today, you have to drill down to pyswagger/io.py and add the same .abc to both instances of collections on line 391. After I got it to work though, I tried adding another scope (covered by my app through the developer website) and it broke. It goes into the current_user.is_authenticated, so the authentication works, but when it tries to make the actual request, the response is only: b'{"error":"authentication failure"}'
I've been working to get this running with Python 3.11, mostly to check if EsiPy is still functional after recent ESI changes.
I'm creating this issue to leave some notes on what I ran into, to possibly fix with a PR later (if I get it fully working).
PySwagger is incompatible with Python>=3.10 due to an issue with
collections.MutableMapping
. This small change will resolve that issue:https://github.com/fboerman/pyswagger/commit/52019f41678d3f91f7f8dfc06387e0afd328ae38
as described here: https://github.com/Kyria/EsiPy/issues/64
The database file, app.db, seems to be created in the top level project directory when running
flask db upgrade
. However, the Flask app is looking for the db ininstance/app.db
, leading to the following error:sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such table: user
Moving the created app.db file to the instance directory fixes this.
The login button image link is broken, and can be updated to:
https://web.ccpgamescdn.com/eveonlineassets/developers/eve-sso-login-white-small.png
At this point, I'm able to successfully authenticate with the SSO and retrieve my wallet balance, but I get the below error. That's the correct wallet balance, so I'm stopping at this point for now.
esipy.exceptions.APIException: HTTP Error 200: b'2113860735.69'
The text was updated successfully, but these errors were encountered: