New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash upon save during auto-updates #110

hsoft opened this Issue Jun 22, 2013 · 1 comment


None yet
1 participant

hsoft commented Jun 22, 2013

Application Identifier: com.hardcoded_software.moneyguru
Application Version: 1.6.9

Traceback (most recent call last):
File "/Applications/", 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.

@hsoft hsoft closed this Jun 22, 2013


This comment has been minimized.


hsoft commented Jun 22, 2013

(from [00ae782e7197]) [#110 state:fixed] Fixed a bug that could cause unsaved changes to be lost during auto-update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment