Menu

#1704 Can't open existing file .tsk and can't save new file on Debian 10 (Buster)

Release_1.4.4
open
None
linux
6
2020-01-15
2020-01-02
No

Hello,

I have an issue with Taskcoach 1.4.4 on my fresh install Debian 10, I can't reopen an existing file .tsk working on 1.4.3 (Ubuntu 16.04). I can't even create a new file with this version (auto-save disabled).
I tried to install the latest version 1.4.6 with .deb package but I have the same issues with it.
I also tried to install suggested packages with Taskcoach but it doesn't work.

Log when trying to open existing file :
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 660, in load
self.acquire_lock(filename)
File "/usr/lib/python2.7/dist-packages/taskcoachlib/persistence/taskfile.py", line 638, in acquire_lock
self.__lock = self.__createLockFile(filename)
File "/usr/lib/python2.7/dist-packages/taskcoachlib/persistence/taskfile.py", line 622, in __createLockFile
if self.__isFuse(filename):
File "/usr/lib/python2.7/dist-packages/taskcoachlib/persistence/taskfile.py", line 612, in __isFuse
if os.path.abspath(path).startswith(mountPoint) and fsType.startswith('fuse.'):
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 6: ordinal not in range(128)

Log when trying to save a new file :
File "/usr/lib/python2.7/dist-packages/taskcoachlib/gui/uicommand/base_uicommand.py", line 129, in onCommandActivate
return self.doCommand(event, args, *kwargs)
File "/usr/lib/python2.7/dist-packages/taskcoachlib/gui/uicommand/uicommand.py", line 139, in doCommand
self.iocontroller.save()
File "/usr/lib/python2.7/dist-packages/taskcoachlib/gui/iocontroller.py", line 192, in save
return self.saveas(showerror=showerror) # Ask for filename
File "/usr/lib/python2.7/dist-packages/taskcoachlib/gui/iocontroller.py", line 207, in saveas
if self._saveSave(self.__taskFile, showerror, filename):
File "/usr/lib/python2.7/dist-packages/taskcoachlib/gui/iocontroller.py", line 246, in _saveSave
taskFile.saveas(filename)
File "/usr/lib/python2.7/dist-packages/taskcoachlib/persistence/taskfile.py", line 521, in saveas
self.save()
File "/usr/lib/python2.7/dist-packages/taskcoachlib/persistence/taskfile.py", line 667, in save
self.acquire_lock(self.filename())
File "/usr/lib/python2.7/dist-packages/taskcoachlib/persistence/taskfile.py", line 638, in acquire_lock
self.__lock = self.__createLockFile(filename)
File "/usr/lib/python2.7/dist-packages/taskcoachlib/persistence/taskfile.py", line 622, in __createLockFile
if self.__isFuse(filename):
File "/usr/lib/python2.7/dist-packages/taskcoachlib/persistence/taskfile.py", line 612, in __isFuse
if os.path.abspath(path).startswith(mountPoint) and fsType.startswith('fuse.'):
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 6: ordinal not in range(128)

Thanks for your work and your help.

Greetings.

Discussion

  • Aaron Wolf

    Aaron Wolf - 2020-01-03
    • assigned_to: Jérome Laheurte
    • Priority: 1 --> 6
     
  • Aaron Wolf

    Aaron Wolf - 2020-01-03

    This might be better as a support request rather than a bug ticket, but don't worry about changing that.

    Can you still open the file on some system? At least as a backup to access your data

    Anyway, I don't know the state of Debian 10 and Task Coach. It's possible that this is another point where things are breaking until whenever/ifever we get Task Coach updated to a newer backend framework. I'm assigning this to Jerome to see if he has anything to add.

    Sorry for the hassle.

    Do note that install of the app is distinct from the .ini settings https://answers.launchpad.net/taskcoach/+faq/1061

    But I don't think that would relate to saving files at all, though you could test clearing the .ini

     
  • Sébastien BIDAULT

    Thanks for your reply,

    Yes, I still can open the file on other OS.
    I already tried clearing the .ini file but it has no effect.

    Actually, I commented the lines 612 and 613 on "/usr/lib/python2.7/dist-packages/taskcoachlib/persistence/taskfile.py" and I can open and save the file on Debian 10 until a better solution.

     

Log in to post a comment.