Red Hat Bugzilla – Bug 497814
TaskCoach cannot open old tasks file
Last modified: 2009-10-13 21:58:24 EDT
Description of problem:
TaskCoach cannot open my saved tasks file, which I've been using for nearly a year without any issues.
Version-Release number of selected component (if applicable):
I've attached the file that cannot be opened. I have not altered this file in any way, I've only accessed it through TaskCoach.
i don't see any attachment .. may you reattach the file ?
Created attachment 345703 [details]
Example TaskCoach tasks file that can no longer be opened
This is text from a dial that pops-up when I try to open it.
Error while reading /home/basilgohar/Documents/eschool.tsk:
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/taskcoachlib/gui/iocontroller.py", line 104, in open
File "/usr/lib/python2.6/site-packages/taskcoachlib/persistence/taskfile.py", line 278, in load
File "/usr/lib/python2.6/site-packages/taskcoachlib/persistence/taskfile.py", line 265, in acquire_lock
self.__lock = lockfile.FileLock(filename)
File "/usr/lib/python2.6/site-packages/taskcoachlib/thirdparty/lockfile/lockfile.py", line 166, in __init__
tname = "%s-" % threading.current_thread().get_name()
AttributeError: '_MainThread' object has no attribute 'get_name'
Are you sure it is a Task Coach-file?
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.
More information and reason for this action is here:
Going by the stack trace, I think these upstream bugs represent the same issue:
Upstream version 0.72.6 is supposed to fix the problem (by shipping with lockfile 0.8).
As a workaround, to get at your data, you could try installing the upstream F11 rpm (currently 0.73.2-1) from http://www.taskcoach.org/download.html. I had to remove the old taskcoach explicitly (yum remove tasktoach). NB: the upstream installs itself as "taskcoach.py" rather than "taskcoach".
I had the same problem as the original reporter, and installing the latest upstream RPM (0.74.1-1) from the posted URL did solve the problem.
I have re-build 0.74.1 for Fedora and can open this file.
Even if you have check rpm compiled on upstream side for distro, may you recheck this again ?
Seems to work great. No problems from my end.
https://admin.fedoraproject.org/updates/taskcoach-0.74.1-1.fc11 is requested for update-testing.
I am closing this for now .. if problem persist please reopen.
taskcoach-0.74.1-1.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.