ntt / eveapi

Python library for accessing the EVE Online API
Other
148 stars 57 forks source link

Get errors trying to run apitest.py #12

Closed bhechinger closed 12 years ago

bhechinger commented 12 years ago

Just downloaded eveapi as I haven't touched it in a while and I get this error:

[wonko@phone eve]$ ./apitest.py > apitest.out ./apitest.py:127: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6 print "message:", e.message Traceback (most recent call last): File "./apitest.py", line 386, in entriesByRefType = journal.entries.GroupedBy("refTypeID") AttributeError: 'Element' object has no attribute 'entries' [wonko@phone eve]$ python --version Python 2.6.6 [wonko@phone eve]$

I'm new to python so I'm not even sure where to start looking.

Thank you for your time and your awesome project!

-brian

ntt commented 12 years ago

ah yeah the "entries" changed to "transactions" at some point. should be fixed now. if not, reopen :)

bhechinger commented 12 years ago

On 6/26/2012 1:37 PM, Jamie van den Berge wrote:

ah yeah the "entries" changed to "transactions" at some point. should be fixed now. if not, reopen :)

I cloned the git repo but I still get this:

[wonko@zaphod eveapi]$ ./apitest.py > apitest.out ./apitest.py:127: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6 print "message:", e.message Traceback (most recent call last): File "./apitest.py", line 386, in entriesByRefType = journal.entries.GroupedBy("refTypeID") AttributeError: 'Element' object has no attribute 'entries' [wonko@zaphod eveapi]$ python --version Python 2.6.6

-brian

ntt commented 12 years ago

oops, pushed the wrong file. fixed.

bhechinger commented 12 years ago

On 6/26/2012 2:17 PM, Jamie van den Berge wrote:

oops, pushed the wrong file. fixed.

Heh, it happens. I won't hold it against you. :)

Here's the new problem:

Traceback (most recent call last): File "./apitest.py", line 407, in for row in soldTx.GroupedBy("typeName")[typeName]: File "/home/wonko/eve/eveapi/eveapi.py", line 928, in getitem return Rowset(self._cols, self._items[i]) KeyError: 'Expanded Cargohold II'

-brian

ntt commented 12 years ago

Try reading the comments in the file relating to that part.

bhechinger commented 12 years ago

On 6/26/2012 3:57 PM, Jamie van den Berge wrote:

Try reading the comments in the file relating to that part.

Bah, reading is hard.

Thanks. :)

-brian