karpathy/ulogme

Python 3 support not present.

vivekpatani opened this issue · 2 comments

File "export_events.py", line 116, in
updateEvents()
File "export_events.py", line 53, in updateEvents
ts = [int(x[x.find('')+1:x.find('.txt')]) for x in L]
File "export_events.py", line 53, in
ts = [int(x[x.find('
')+1:x.find('.txt')]) for x in L]
ValueError: invalid literal for int() with base 10: ''

For python export_events.py.

I'm running Python3, fixed the issues caused by Python3 compatibility, this seems to be something other than Python 2/3 problem.

I'll update my pull request in order to accomodate all the changes needed for python3, but I cannot seem to work where both Python2 and Python3 coexist.

Getting same issue with Python2. Same here, Python3 as main (python) and Python2 as alt. None runs of couse.

This issue has nothing to do with Python version.

The issue happens because there is a log file without the date set in filename inside logs directory. In my case it was keyfreq_.txt.

Deleting the file fixed the issue.