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
Configuration loaded.
Note: The Amazon SNS text messaging service can be enabled/disabled by
modifying the bcbookie_main.json configuration file
MtGoxHMAC: Enter your API key file encryption password.
Password:
Flash crash protection enabled (14400 sec delay)
--------------------------------------------------------------------------------
main: generating inital report
Traceback (most recent call last):
File "bcbookie.py", line 586, in <module>
b.report()
File "bcbookie.py", line 99, in report
export = sorted(self.records, key=itemgetter('priority'),reverse=True)
KeyError: 'priority'
==============
4 gene_defs, each have a priority set, one had trading enabled.
Original issue reported on code.google.com by anderson...@gmail.com on 13 Mar 2013 at 2:30
The text was updated successfully, but these errors were encountered:
tried putting a print self.records in before line 99.
I do see iterations of u'priority': u'1363827310868602' in the records, though
I wasnt able to check all of the records (not enough scrollback, didnt >> to
file).
I'll try and get a full dump of self.records if/when I encounter this issue
again.
Original comment by anderson...@gmail.com on 21 Mar 2013 at 12:57
Testing possible fix:
Line 99:
export = sorted(self.records, key=lambda priority: itemgetter('priority'),
reverse=True)
This then caused an issue with line 123, noting that it could not find key
'type'.
replaced 123 with:
if key == "u'type'":
Original comment by anderson...@gmail.com on 23 Mar 2013 at 2:34
Original issue reported on code.google.com by
anderson...@gmail.com
on 13 Mar 2013 at 2:30The text was updated successfully, but these errors were encountered: