e.py error in 891

10 views
Skip to first unread message

Jostein Berntsen

unread,
Apr 23, 2012, 6:23:29 AM4/23/12
to eventandt...@googlegroups.com
When I have installed version 891 in Slackware 13.37 I get this traceback error the first time I run e.py:

Traceback (most recent call last):
File "/usr/bin/e.py", line 5, in <module>
from etm.etmData import *
File "/usr/lib/python2.6/site-packages/etm/etmData.py", line 8, in <module>
from etmParsers import *
File "/usr/lib/python2.6/site-packages/etm/etmParsers.py", line 11, in <module>
from etmRC import *
File "/usr/lib/python2.6/site-packages/etm/etmRC.py", line 1357, in <module>
make_etmrc()
File "/usr/lib/python2.6/site-packages/etm/etmRC.py", line 903, in make_etmrc
fo.write("%s\n" % line.decode(file_encoding))
TypeError: decode() argument 1 must be string, not None

The second time I run e.py the error message is gone and it works as
expected.


Jostein

Dan

unread,
Apr 24, 2012, 10:45:02 AM4/24/12
to eventandt...@googlegroups.com
Jostein,

When you ran e.py the first time, did you have an existing etmrc file and, if so, was file_encoding set in the file?

-Dan

Jostein Berntsen

unread,
Apr 24, 2012, 11:00:59 AM4/24/12
to eventandt...@googlegroups.com
This install was done without an existing etmrc file.

Jostein

> --
> You received this message because you are subscribed to the Google Groups "Event and Task Manager" group.
> To view this discussion on the web visit https://groups.google.com/d/msg/eventandtaskmanager/-/3k10Js6QW3kJ.
> To post to this group, send email to eventandt...@googlegroups.com.
> To unsubscribe from this group, send email to eventandtaskman...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/eventandtaskmanager?hl=en.
>

Reply all
Reply to author
Forward
0 new messages