Menu ▾ ▴

#1387 export (csv format) of efforts does not work (empty xls file)

closed
None
windows
2026-01-20
2013-03-05
Carsten
No

After exporting the efforts as a csv file TaskCoach creates a xls-file with 0 bytes and does not propper close the application. When closing it says "Errors occured: See logfile ...\taskcoach.exe.log for details". This file contains the following lines:

Traceback (most recent call last):
File "taskcoachlib\gui\uicommand\base_uicommand.pyo", line 129, in onCommandActivate
File "taskcoachlib\gui\uicommand\uicommand.pyo", line 301, in doCommand
File "taskcoachlib\gui\iocontroller.pyo", line 324, in exportAsCSV
File "taskcoachlib\gui\iocontroller.pyo", line 301, in export
File "taskcoachlib\persistence\csv\writer.pyo", line 52, in write
File "taskcoachlib\persistence\csv\generator.pyo", line 113, in viewer2csv
File "taskcoachlib\persistence\csv\generator.pyo", line 95, in rows
File "taskcoachlib\persistence\csv\generator.pyo", line 92, in itemRows
File "taskcoachlib\persistence\csv\generator.pyo", line 64, in itemRow
File "taskcoachlib\persistence\csv\generator.pyo", line 85, in splitDateAndTime
AttributeError: 'Effort' object has no attribute 'period'

Discussion

  • Carsten

    Carsten - 2013-03-05

    forgot to mention I'm running Win7 64 bit

     
    • Carsten

      Carsten - 2013-03-05

      and it is obviously not an xls-file but an empty *.csv file :)

       
  • Jérome Laheurte

    • assigned_to: Jérome Laheurte
    • milestone: Release_1.3.24 --> Release_1.3.25
     
  • Jérome Laheurte

    The fix is coming. The problem is caused by the Period column when separating dates and times; so meanwhile either don't export Period or uncheck "Put dates and times in separate columns" when exporting.

     
  • Jérome Laheurte

    A fix was made and checked into the source code repository of Task Coach. The fix will be part of the next release. You will get another notification when that release is available with the request to install the new release and confirm that your issue has indeed been fixed.

    If you like, you can download a recent build from http://www.fraca7.net/TaskCoach-packages/latest_bugfixes.py to test the fix.

    Because a fix has been made for this bug report, the priority of this report has been lowered to 1 and its resolution has been set to 'Fixed'.
    Thanks, Task Coach development team

     
  • Jérome Laheurte

    This bug should be fixed in the latest release of Task Coach. Can you please install the latest release of Task Coach and confirm that this bug has indeed been fixed?

    Thanks, Task Coach development team

     
  • Aaron Wolf

    Aaron Wolf - 2025-12-27
    • status: fixed-and-released --> closed
    • Operating system: --> windows
    • First version affected: --> Release_1.4.6
     
  • Aaron Wolf

    Aaron Wolf - 2025-12-27

    Hi, it's many years later, and as I close this old resolved ticket, I'm excited to tell you that https://github.com/taskcoach/taskcoach now has updated Python3 Task Coach codebase! Packages are available for some common Linux systems and we can add more.

    We'd love to have you test the updated program

    Cheers

     

Log in to post a comment.