Package: taskcoach
Version: 1.4.1-2
Severity: normal
Tags: upstream

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/taskcoachlib/gui/iocontroller.py", 
line 125, in open
    breakLock=breakLock)
  File "/usr/lib/python2.7/dist-packages/taskcoachlib/persistence/taskfile.py", 
line 654, in load
    return super(LockedTaskFile, self).load(filename)
  File "/usr/lib/python2.7/dist-packages/taskcoachlib/persistence/taskfile.py", 
line 438, in load
    pub.sendMessage('taskfile.justRead', taskFile=self)
  File 
"/usr/lib/python2.7/dist-packages/taskcoachlib/thirdparty/pubsub/core/kwargs/publisher.py",
 line 27, in sendMessage
    topicObj.publish(**kwargs)
  File 
"/usr/lib/python2.7/dist-packages/taskcoachlib/thirdparty/pubsub/core/kwargs/publishermixin.py",
 line 24, in publish
    self._publish(msgKwargs)
  File 
"/usr/lib/python2.7/dist-packages/taskcoachlib/thirdparty/pubsub/core/topicobj.py",
 line 376, in _publish
    self.__sendMessage(data, self, iterState)
  File 
"/usr/lib/python2.7/dist-packages/taskcoachlib/thirdparty/pubsub/core/topicobj.py",
 line 397, in __sendMessage
    self._mix_callListener(listener, data, iterState)
  File 
"/usr/lib/python2.7/dist-packages/taskcoachlib/thirdparty/pubsub/core/kwargs/publishermixin.py",
 line 64, in _mix_callListener
    listener(iterState.filteredArgs, self, msgKwargs)
  File 
"/usr/lib/python2.7/dist-packages/taskcoachlib/thirdparty/pubsub/core/kwargs/listenerimpl.py",
 line 43, in __call__
    cb(**kwargs)
  File 
"/usr/lib/python2.7/dist-packages/taskcoachlib/persistence/autobackup.py", line 
147, in onTaskFileRead
    srcName = os.path.join(os.path.split(taskFile.filename())[0], name)
  File "/usr/lib/python2.7/posixpath.py", line 80, in join
    path += '/' + b
UnicodeDecodeError: 'utf8' codec can't decode byte 0xe1 in position 18: invalid 
continuation byte

Crash was caused by a file with nonsense filename in the same directory ($HOME) 
as the taskcoach.tsk file. It causes backup
manager to come up and make a copy which is similarly unloadable, lather, 
rinse, repeat. :-)

It is not simple to see at first glance the culprit of the problem and it's not 
easy to figure it out either.
I had to print the actual 'name' in 
/usr/lib/python2.7/dist-packages/taskcoachlib/persistence/autobackup.py around 
line 143
to see which file was unwanted. Since filename encoding errors are pretty much 
commonplace this error should be caught and ignored if 
possible.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages taskcoach depends on:
ii  fonts-dejavu         2.34-1
ii  libxss1              1:1.2.2-1
ii  python               2.7.8-1
ii  python-chardet       2.2.1-2
ii  python-dateutil      1.5+dfsg-1
ii  python-keyring       3.7-1
ii  python-lockfile      1:0.8-2
ii  python-pyparsing     2.0.2+dfsg1-1
ii  python-squaremap     1:1.0.4-2
ii  python-twisted-core  14.0.2-2
ii  python-wxgtk3.0      3.0.1.1+dfsg-1
ii  python-wxversion     2.8.12.1+dfsg2-1
ii  python-xdg           0.25-4
ii  x11-utils            7.7+1

Versions of packages taskcoach recommends:
ii  libavahi-compat-libdnssd1  0.6.31-4
ii  libgnome-2-0               2.32.1-5
ii  python-notify              0.1.1-3

Versions of packages taskcoach suggests:
pn  espeak       <none>
pn  python-kde4  <none>

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to