Giter VIP home page Giter VIP logo

flask-esipy-example's People

Contributors

ditchbuster avatar kyria avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

flask-esipy-example's Issues

Notes for running with Python 3.11

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).

  1. 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

  2. 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.

  3. 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'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.