Crash upon save during auto-updates
Reported by Virgil Dupras | January 14th, 2010 @ 09:02 AM | in v1.7.1 (closed)
Application Identifier: com.hardcoded_software.moneyguru
Application Version: 1.6.9
Traceback (most recent call last):
File "/Applications/moneyGuru.app/Contents/Resources/mg_cocoa.plugin/Contents/Resources/mg_cocoa.py", line 245, in saveToFile_
File "moneyguru/document.pyc", line 1075, in save_to_xml
File "xml/etree/ElementTree.pyc", line 663, in write
File "xml/etree/ElementTree.pyc", line 681, in _write
File "xml/etree/ElementTree.pyc", line 751, in _encode
LookupError: unknown encoding: utf-8
If the user has unsaved work during auto-updates, the save will only happen after the update has taken place and then Python is all confused and doesn't know where to find his modules anymore.
A solution to that seems to use SUUpdater
's -
(void)updater:(SUUpdater *)updater willInstallUpdate:(SUAppcastItem
*)update
delegate method to close all document
before the update takes place.
Comments and changes to this ticket
-
Virgil Dupras January 14th, 2010 @ 09:52 AM
- Assigned user set to Virgil Dupras
-
Virgil Dupras January 14th, 2010 @ 10:11 AM
- State changed from accepted to fixed
(from [00ae782e7197]) [#110 state:fixed] Fixed a bug that could cause unsaved changes to be lost during auto-update. http://bitbucket.org/hsoft/moneyguru/changeset/00ae782e7197/
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
People watching this ticket
Referenced by
- 110 Crash upon save during auto-updates (from [00ae782e7197]) [#110 state:fixed] Fixed a bug that...