Code Monkey home page Code Monkey logo

esi-knife's Introduction

a-tal github stats a-tal github repos

esi-knife's People

Contributors

a-tal avatar carbonalabel avatar nathensample avatar notmyname avatar

Stargazers

 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  avatar

esi-knife's Issues

[CRITICAL] WORKER TIMEOUT

Hey,

I got the problem that as soon as I run
gunicorn --worker-class=gevent --bind=localhost:8888 "esi_knife.web:main()"

I got this error message. I got it running before but after a restart the worker wont start.
[2018-08-13 16:00:16 +0000] [13893] [INFO] Starting gunicorn 19.4.5
[2018-08-13 16:00:16 +0000] [13893] [INFO] Listening at: http://127.0.0.1:8888 (13893)
[2018-08-13 16:00:16 +0000] [13893] [INFO] Using worker: gevent
[2018-08-13 16:00:16 +0000] [13897] [INFO] Booting worker with pid: 13897
[2018-08-13 16:00:46 +0000] [13893] [CRITICAL] WORKER TIMEOUT (pid:13897)

Do you have an idea?

deploy without docker

Hi there,

I cannot use docker on my virtual machine. Is there a installation documentation how to install it without docker?

/view 404

failed to open <uuid>&e:

looks like if you pass the e qsarg with no = it ends up in the filename

need to confirm yet, just a guess saw it in the logs

KeyError

I got the problem that as soon as I start the fetching process. The worker crashes with this error:

  File "src/gevent/greenlet.py", line 716, in gevent._greenlet.Greenlet.run
  File "/var/customers/webs/knife/esi_knife/worker.py", line 587, in knife
    results = get_results(public, character_id, scopes, roles, headers)
  File "/var/customers/webs/knife/esi_knife/worker.py", line 557, in get_results
    results = _get_all_data(scopes, roles, known_params, all_params, headers)
  File "/var/customers/webs/knife/esi_knife/worker.py", line 320, in _get_all_data
    headers,
  File "/var/customers/webs/knife/esi_knife/worker.py", line 213, in expand_params
    oper = spec["paths"][url]["get"]
KeyError: '/corporations/{corporation_id}/outposts/'
2018-07-30T10:50:16Z <Greenlet "Greenlet-0" at 0x7fec9d4d6998: knife('REMOVED :)', u'REMOVED, {u'Scopes': u'esi-alliances.read_contacts.v1 esi-a, {u'roles_at_other': [u'Hangar_Take_4', u'Hangar_Ta)> failed with KeyError

[2018-07-30 12:50:24 +0000] [9230] [WARNING] worker crashed: Traceback (most recent call last):
  File "src/gevent/greenlet.py", line 716, in gevent._greenlet.Greenlet.run
  File "/var/customers/webs/knife/esi_knife/worker.py", line 587, in knife
    results = get_results(public, character_id, scopes, roles, headers)
  File "/var/customers/webs/knife/esi_knife/worker.py", line 557, in get_results
    results = _get_all_data(scopes, roles, known_params, all_params, headers)
  File "/var/customers/webs/knife/esi_knife/worker.py", line 320, in _get_all_data
    headers,
  File "/var/customers/webs/knife/esi_knife/worker.py", line 213, in expand_params
    oper = spec["paths"][url]["get"]
KeyError: '/corporations/{corporation_id}/outposts/'```

Thanks :)

Deployement Help

Hi mate,

Don't want to abuse, my CEO ask me to deploy your site, but i have absolutely no idea of how i can do this on a free webhost, cause yeah i also have to found a free host for the site, can you help me ?

Thanks by advance.

Scopes no longer match

Disclaimer: I'm new to python but have set up a docker instance on Amazon EC2 I notice some scopes are no longer working and after setting this up I am getting:

{"error":"invalid_scope","error_description":"The requested scopes either don't exist, or are not valid for this client"}

Below is the FULL current ESI scopes available at this time. However even after adding them as allowed and changing init.py it still produces the error.

"esi-calendar.respond_calendar_events.v1",
"esi-calendar.read_calendar_events.v1",
"esi-location.read_location.v1",
"esi-location.read_ship_type.v1",
"esi-mail.organize_mail.v1",
"esi-mail.read_mail.v1",
"esi-mail.send_mail.v1",
"esi-skills.read_skills.v1",
"esi-skills.read_skillqueue.v1",
"esi-wallet.read_character_wallet.v1",
"esi-wallet.read_corporation_wallet.v1",
"esi-search.search_structures.v1",
"esi-clones.read_clones.v1",
"esi-characters.read_contacts.v1",
"esi-universe.read_structures.v1",
"esi-bookmarks.read_character_bookmarks.v1",
"esi-killmails.read_killmails.v1",
"esi-corporations.read_corporation_membership.v1",
"esi-assets.read_assets.v1",
"esi-planets.manage_planets.v1",
"esi-fleets.read_fleet.v1",
"esi-fleets.write_fleet.v1",
"esi-ui.open_window.v1",
"esi-ui.write_waypoint.v1",
"esi-characters.write_contacts.v1",
"esi-fittings.read_fittings.v1",
"esi-fittings.write_fittings.v1",
"esi-markets.structure_markets.v1",
"esi-corporations.read_structures.v1",
"esi-characters.read_loyalty.v1",
"esi-characters.read_opportunities.v1",
"esi-characters.read_chat_channels.v1",
"esi-characters.read_medals.v1",
"esi-characters.read_standings.v1",
"esi-characters.read_agents_research.v1",
"esi-industry.read_character_jobs.v1",
"esi-markets.read_character_orders.v1",
"esi-characters.read_blueprints.v1",
"esi-characters.read_corporation_roles.v1",
"esi-location.read_online.v1",
"esi-contracts.read_character_contracts.v1",
"esi-clones.read_implants.v1",
"esi-characters.read_fatigue.v1",
"esi-killmails.read_corporation_killmails.v1",
"esi-corporations.track_members.v1",
"esi-wallet.read_corporation_wallets.v1",
"esi-characters.read_notifications.v1",
"esi-corporations.read_divisions.v1",
"esi-corporations.read_contacts.v1",
"esi-assets.read_corporation_assets.v1",
"esi-corporations.read_titles.v1",
"esi-corporations.read_blueprints.v1",
"esi-bookmarks.read_corporation_bookmarks.v1",
"esi-contracts.read_corporation_contracts.v1",
"esi-corporations.read_standings.v1",
"esi-corporations.read_starbases.v1",
"esi-industry.read_corporation_jobs.v1",
"esi-markets.read_corporation_orders.v1",
"esi-corporations.read_container_logs.v1",
"esi-industry.read_character_mining.v1",
"esi-industry.read_corporation_mining.v1",
"esi-planets.read_customs_offices.v1",
"esi-corporations.read_facilities.v1",
"esi-corporations.read_medals.v1",
"esi-characters.read_titles.v1",
"esi-alliances.read_contacts.v1",
"esi-characters.read_fw_stats.v1",
"esi-corporations.read_fw_stats.v1",
"esi-characterstats.read.v1"

What am I missing to fix this error. ( "esi-corporations.read_outposts.v1" is an example of a missing scope)

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.