Comments (3)
a quick & dirty patch seems to be to add
if response.status httplib.FORBIDDEN or response.status httplib.UNAUTHORIZED:
raise AuthenticationError(response.status, str(response.status)+" - "+response.reason)
at around line 379
the complete check would be something like:
if response.status != 200:
if response.status httplib.NOT_FOUND:
raise AttributeError("'%s' not available on API server (404 Not Found)" % path)
if response.status httplib.FORBIDDEN or response.status == httplib.UNAUTHORIZED:
raise AuthenticationError(response.status, str(response.status)+" - "+response.reason)
else:
raise RuntimeError("'%s' request failed (%d %s)" % (path, response.status, response.reason))
not sure if that breaks anything else :D
from eveapi.
This is still open, and I was wondering if it could be closed?
Being a 2013 issue, is is still a problem ?
from eveapi.
This is still open, and I was wondering if it could be closed?
Being a 2013 issue, is is still a problem ?
You do realise the XML API no longer exists right?
from eveapi.
Related Issues (16)
- eveapi starbase detail not pulling correctly. part 2 HOT 5
- Some small fixes and enhancements HOT 1
- Get errors trying to run apitest.py HOT 6
- Migrate to Python 3.X HOT 1
- Messed columns in api.eve.CharacterAffiliation() HOT 3
- a bug from Serenity server API HOT 1
- Update pypi package to 1.3.2 (is 1.2.6 now) HOT 7
- Python 3 support on pypi HOT 1
- Requests returning errors are not cached HOT 1
- Empty attributes should be set to None HOT 2
- Certain keys should probably never be converted to int/float/date HOT 1
- Rowset column have a name, row - doesn't always have an attribute with this name HOT 1
- Recent fix for row data missing attributes that were defined in the rowset HOT 6
- TypeError when running apitest.py HOT 1
- eveapi starbase detail not pulling correctly. HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eveapi.