Hi
I use TaskCoach 1.4.3 on macOS. It was working great on macOS 10.12.6. I upgraded to macOS 10.13.1 and now the app crashes when trying to load my .tsk file. The icon is corrupt in the task bar and I'm unable to use the app. I think High Sierra killed the app :(
Python installed is v2.7.14, after I tried to fix by updating from the v2.7.10 installed by macOS as default..
Can you please investigate and let me know of a fix very soon please? I really rely on the app working :)
Attached screenshot of error message & log contains this:
============= Fri Nov 3 06:34:41 2017
Traceback (most recent call last):
File "taskcoachlib/gui/iocontroller.pyo", line 125, in open
File "taskcoachlib/persistence/taskfile.pyo", line 661, in load
File "taskcoachlib/persistence/taskfile.pyo", line 406, in load
File "taskcoachlib/patterns/observer.pyo", line 170, in decorator
File "taskcoachlib/patterns/observer.pyo", line 156, in send
File "taskcoachlib/patterns/observer.pyo", line 315, in notifyObservers
File "taskcoachlib/patterns/observer.pyo", line 189, in call
File "taskcoachlib/gui/taskbaricon.pyo", line 86, in onTaskListChanged
File "taskcoachlib/gui/taskbaricon.pyo", line 151, in startOrStopTicking
File "taskcoachlib/gui/taskbaricon.pyo", line 166, in __stopTicking
File "taskcoachlib/gui/taskbaricon.pyo", line 214, in __setIcon
File "wx/_windows.pyo", line 2154, in SetIcon
PyAssertionError: C++ assertion "GetHandleSize( maskhandle ) == w * h" failed at /BUILD/wxPython-src-2.8.12.1/src/mac/carbon/bitmap.cpp(996) in CopyFromIcon()
Traceback (most recent call last):
File "taskcoachlib/gui/taskbaricon.pyo", line 80, in onIdle
File "taskcoachlib/gui/taskbaricon.pyo", line 214, in __setIcon
File "wx/_windows.pyo", line 2154, in SetIcon
wx._core.PyAssertionError: C++ assertion "GetHandleSize( maskhandle ) == w * h" failed at /BUILD/wxPython-src-2.8.12.1/src/mac/carbon/bitmap.cpp(996) in CopyFromIcon()
Traceback (most recent call last):
File "taskcoachlib/gui/uicommand/base_uicommand.pyo", line 129, in onCommandActivate
File "taskcoachlib/gui/uicommand/uicommand.pyo", line 1629, in doCommand
File "taskcoachlib/command/base.pyo", line 69, in do
File "taskcoachlib/command/effortCommands.pyo", line 49, in do_command
File "taskcoachlib/domain/task/task.pyo", line 578, in addEffort
File "taskcoachlib/domain/task/task.pyo", line 588, in sendTrackingChangedMessage
File "taskcoachlib/thirdparty/pubsub/core/kwargs/publisher.pyo", line 27, in sendMessage
File "taskcoachlib/thirdparty/pubsub/core/kwargs/publishermixin.pyo", line 24, in publish
File "taskcoachlib/thirdparty/pubsub/core/topicobj.pyo", line 376, in _publish
File "taskcoachlib/thirdparty/pubsub/core/topicobj.pyo", line 397, in __sendMessage
File "taskcoachlib/thirdparty/pubsub/core/kwargs/publishermixin.pyo", line 64, in _mix_callListener
File "taskcoachlib/thirdparty/pubsub/core/kwargs/listenerimpl.pyo", line 43, in __call
File "taskcoachlib/gui/taskbaricon.pyo", line 98, in onTrackingChanged
File "taskcoachlib/gui/taskbaricon.pyo", line 157, in startTicking
File "taskcoachlib/gui/taskbaricon.pyo", line 214, in __setIcon
File "wx/_windows.pyo", line 2154, in SetIcon
wx._core.PyAssertionError: C++ assertion "GetHandleSize( maskhandle ) == w * h" failed at /BUILD/wxPython-src-2.8.12.1/src/mac/carbon/bitmap.cpp(996) in CopyFromIcon()
Traceback (most recent call last):
File "taskcoachlib/gui/taskbaricon.pyo", line 80, in onIdle
File "taskcoachlib/gui/taskbaricon.pyo", line 214, in __setIcon
File "wx/_windows.pyo", line 2154, in SetIcon
wx._core.PyAssertionError: C++ assertion "GetHandleSize( maskhandle ) == w * h" failed at /BUILD/wxPython-src-2.8.12.1/src/mac/carbon/bitmap.cpp(996) in CopyFromIcon()
Traceback (most recent call last):
File "taskcoachlib/gui/uicommand/base_uicommand.pyo", line 129, in onCommandActivate
File "taskcoachlib/gui/uicommand/uicommand.pyo", line 1764, in doCommand
File "taskcoachlib/command/base.pyo", line 69, in do
File "taskcoachlib/command/taskCommands.pyo", line 49, in do_command
File "taskcoachlib/command/taskCommands.pyo", line 38, in stopTracking
File "taskcoachlib/domain/task/task.pyo", line 606, in stopTracking
File "taskcoachlib/domain/effort/effort.pyo", line 122, in setStop
File "taskcoachlib/domain/task/task.pyo", line 588, in sendTrackingChangedMessage
File "taskcoachlib/thirdparty/pubsub/core/kwargs/publisher.pyo", line 27, in sendMessage
File "taskcoachlib/thirdparty/pubsub/core/kwargs/publishermixin.pyo", line 24, in publish
File "taskcoachlib/thirdparty/pubsub/core/topicobj.pyo", line 376, in _publish
File "taskcoachlib/thirdparty/pubsub/core/topicobj.pyo", line 397, in __sendMessage
File "taskcoachlib/thirdparty/pubsub/core/kwargs/publishermixin.pyo", line 64, in _mix_callListener
File "taskcoachlib/thirdparty/pubsub/core/kwargs/listenerimpl.pyo", line 43, in __call
File "taskcoachlib/gui/taskbaricon.pyo", line 100, in onTrackingChanged
File "taskcoachlib/gui/taskbaricon.pyo", line 166, in stopTicking
File "taskcoachlib/gui/taskbaricon.pyo", line 214, in __setIcon
File "wx/_windows.pyo", line 2154, in SetIcon
wx._core.PyAssertionError: C++ assertion "GetHandleSize( maskhandle ) == w * h" failed at /BUILD/wxPython-src-2.8.12.1/src/mac/carbon/bitmap.cpp(996) in CopyFromIcon()
Traceback (most recent call last):
File "taskcoachlib/gui/taskbaricon.pyo", line 80, in onIdle
File "taskcoachlib/gui/taskbaricon.pyo", line 214, in __setIcon
File "wx/_windows.pyo", line 2154, in SetIcon
wx._core.PyAssertionError: C++ assertion "GetHandleSize( maskhandle ) == w * h" failed at /BUILD/wxPython-src-2.8.12.1/src/mac/carbon/bitmap.cpp(996) in CopyFromIcon()
Traceback (most recent call last):
File "taskcoachlib/gui/mainwindow.pyo", line 289, in onClose
File "taskcoachlib/application/application.pyo", line 373, in quitApplication
File "taskcoachlib/gui/iocontroller.pyo", line 295, in close
File "taskcoachlib/gui/iocontroller.pyo", line 476, in __closeUnconditionally
File "taskcoachlib/persistence/taskfile.pyo", line 649, in close
File "taskcoachlib/persistence/taskfile.pyo", line 362, in close
File "taskcoachlib/patterns/observer.pyo", line 170, in decorator
File "taskcoachlib/patterns/observer.pyo", line 156, in send
File "taskcoachlib/patterns/observer.pyo", line 315, in notifyObservers
File "taskcoachlib/patterns/observer.pyo", line 189, in __call
File "taskcoachlib/gui/taskbaricon.pyo", line 86, in onTaskListChanged
File "taskcoachlib/gui/taskbaricon.pyo", line 151, in __startOrStopTicking
File "taskcoachlib/gui/taskbaricon.pyo", line 166, in __stopTicking
File "taskcoachlib/gui/taskbaricon.pyo", line 214, in __setIcon
File "wx/_windows.pyo", line 2154, in SetIcon
wx._core.PyAssertionError: C++ assertion "GetHandleSize( maskhandle ) == w * h" failed at /BUILD/wxPython-src-2.8.12.1/src/mac/carbon/bitmap.cpp(996) in CopyFromIcon()
Thanks
Hi,
I am experiencing the exact same problems as the original poster after upgrading my Mac to HighSierra. Was working fine before the upgrade, but after the upgrade I get an error when opening TaskCoach. Fortunately, after clicking "OK" it will load and display my tasks.
When exiting it will close the task list but leave the "frame" on my screen. Seleting to quit TaskCoach again will display a prompt that there are unsaved changed and ask if you want to save before closing; however, selecting "Yes" will just close the dialog prompt and leave the frame displayed on the screen. Attempting to close the dialog again will result in the prompt to save unsaved changes being displayed again. If you select "No" it will display a prompt that errors have occurred and tell you to look at your taskcoachlog.txt file. Clicking "OK" on the error dialog will close the dialog and exit the program. See attached screenshots.
The lines in my taskcoachlog.txt file are:
============= Wed Nov 15 13:28:31 2017
Traceback (most recent call last):
File "taskcoachlib/gui/iocontroller.pyo", line 125, in open
File "taskcoachlib/persistence/taskfile.pyo", line 661, in load
File "taskcoachlib/persistence/taskfile.pyo", line 406, in load
File "taskcoachlib/patterns/observer.pyo", line 170, in decorator
File "taskcoachlib/patterns/observer.pyo", line 156, in send
File "taskcoachlib/patterns/observer.pyo", line 315, in notifyObservers
File "taskcoachlib/patterns/observer.pyo", line 189, in call
File "taskcoachlib/gui/taskbaricon.pyo", line 86, in onTaskListChanged
File "taskcoachlib/gui/taskbaricon.pyo", line 151, in startOrStopTicking
File "taskcoachlib/gui/taskbaricon.pyo", line 166, in __stopTicking
File "taskcoachlib/gui/taskbaricon.pyo", line 214, in __setIcon
File "wx/_windows.pyo", line 2154, in SetIcon
PyAssertionError: C++ assertion "GetHandleSize( maskhandle ) == w * h" failed at /BUILD/wxPython-src-2.8.12.1/src/mac/carbon/bitmap.cpp(996) in CopyFromIcon()
Traceback (most recent call last):
File "taskcoachlib/gui/taskbaricon.pyo", line 80, in onIdle
File "taskcoachlib/gui/taskbaricon.pyo", line 214, in __setIcon
File "wx/_windows.pyo", line 2154, in SetIcon
wx._core.PyAssertionError: C++ assertion "GetHandleSize( maskhandle ) == w * h" failed at /BUILD/wxPython-src-2.8.12.1/src/mac/carbon/bitmap.cpp(996) in CopyFromIcon()
Traceback (most recent call last):
File "taskcoachlib/gui/mainwindow.pyo", line 289, in onClose
File "taskcoachlib/application/application.pyo", line 373, in quitApplication
File "taskcoachlib/gui/iocontroller.pyo", line 295, in close
File "taskcoachlib/gui/iocontroller.pyo", line 476, in __closeUnconditionally
File "taskcoachlib/persistence/taskfile.pyo", line 649, in close
File "taskcoachlib/persistence/taskfile.pyo", line 362, in close
File "taskcoachlib/patterns/observer.pyo", line 170, in decorator
File "taskcoachlib/patterns/observer.pyo", line 156, in send
File "taskcoachlib/patterns/observer.pyo", line 315, in notifyObservers
File "taskcoachlib/patterns/observer.pyo", line 189, in __call
File "taskcoachlib/gui/taskbaricon.pyo", line 86, in onTaskListChanged
File "taskcoachlib/gui/taskbaricon.pyo", line 151, in __startOrStopTicking
File "taskcoachlib/gui/taskbaricon.pyo", line 166, in __stopTicking
File "taskcoachlib/gui/taskbaricon.pyo", line 214, in __setIcon
File "wx/_windows.pyo", line 2154, in SetIcon
wx._core.PyAssertionError: C++ assertion "GetHandleSize( maskhandle ) == w * h" failed at /BUILD/wxPython-src-2.8.12.1/src/mac/carbon/bitmap.cpp(996) in CopyFromIcon()
Traceback (most recent call last):
File "taskcoachlib/gui/taskbaricon.pyo", line 80, in onIdle
File "taskcoachlib/gui/taskbaricon.pyo", line 214, in __setIcon
File "wx/_windows.pyo", line 2154, in SetIcon
wx._core.PyAssertionError: C++ assertion "GetHandleSize( maskhandle ) == w * h" failed at /BUILD/wxPython-src-2.8.12.1/src/mac/carbon/bitmap.cpp(996) in CopyFromIcon()
Hey guys,
is there any chance to get an update on this issue? Will there be an update or any hint to protect TC from running into that problem?
I really would like to use TC again an my Mac but right now it's not useable.
Thanks
Michael
Sorry for my last post. Found ticket #1652
Last edit: Michael 2017-12-21
Hi Michael, I think the latest fixes from Jerome solved (or partly solved) the updated MacOS issue. I think he just forgot to check on this support request since focusing on the bugs otherwise reported around latest MacOS.
Please try to latest updated version of Task Coach. Otherwise, I hope Jerome will get a chance to address this support request directly.
Sorry for the delay and no reply for a time
Hey Aaron, thanks for your reply.
After searching a bit deeper I found this ticket in the bug section: https://sourceforge.net/p/taskcoach/bugs/1652/ . But nor the lates bug fix release (http://jeromelaheurte.net/TaskCoach-packages/latest_bugfixes.py) nor the latest DMG release (released 6 days ago) does the trick for me. I still run into described problems (using Python 3.6.4).
Any advice?
Sorry, I forward this to Jerome to get his attention, but I don't know what else to do at this point. Thanks for trying the updates. I have the impression the known issues may not be entirely solved, but this also may be a separate thing.
This is still under investigation.
Hi! Happy to be announcing, all these years later, that Task Coach is now updated to Python3 and development is finally active again, thanks to new volunteers. The project has now moved to https://github.com/taskcoach/taskcoach
I'm using it myself, and things are working better than ever.
We'd love to have you test the updated program, and post any issues that arise there at GitHub. We won't be continuing with SourceForge, just clearing out old issues and letting people know about the move.
Cheers