#110 ✓fixed
Virgil Dupras

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

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

People watching this ticket


Referenced by