Skip to content

UnicodeDecodeError #332

@walmartshopper

Description

@walmartshopper

I am trying to run the master branch on Arch Linux. When I run python2.7 -m ice I get the following output:

=========== Starting Ice ===========
Detected Emulator: Dolphin
Detected Console: Nintendo Wii => Dolphin
=========== User: 37281274 ===========
[ERROR] An exception occurred while running Ice
Traceback (most recent call last):
File "ice/runners/ice_engine.py", line 153, in run
self.main(dry_run=dry_run)
File "ice/runners/ice_engine.py", line 133, in main
self.run_for_user(user_context, dry_run=dry_run)
File "ice/runners/ice_engine.py", line 145, in run_for_user
self._create_backup(user, dry_run=dry_run)
File "ice/runners/ice_engine.py", line 167, in _create_backup
shortcuts.write_shortcuts(backup_path, shortcuts.get_shortcuts(user))
File "/usr/lib/python2.7/site-packages/pysteam-1.0.0b2-py2.7.egg/pysteam/shortcuts.py", line 30, in write_shortcuts
vdf_contents = ShortcutGenerator().to_string(shortcuts)
File "/usr/lib/python2.7/site-packages/pysteam-1.0.0b2-py2.7.egg/pysteam/_shortcut_generator.py", line 20, in to_string
string = x00 + 'shortcuts' + x00 + self.generate_array_string(shortcuts) + x08 + x08 + x0a
File "/usr/lib/python2.7/site-packages/pysteam-1.0.0b2-py2.7.egg/pysteam/_shortcut_generator.py", line 29, in generate_array_string
string += x00 + str(i) + x00 + self.generate_shortcut_string(shortcut)
File "/usr/lib/python2.7/site-packages/pysteam-1.0.0b2-py2.7.egg/pysteam/_shortcut_generator.py", line 37, in generate_shortcut_string
string += self.generate_keyvalue_pair("icon",shortcut.icon)
File "/usr/lib/python2.7/site-packages/pysteam-1.0.0b2-py2.7.egg/pysteam/_shortcut_generator.py", line 52, in generate_keyvalue_pair
return x01 + key + x00 + value + (x00 if more else x08)
UnicodeDecodeError: 'ascii' codec can't decode byte 0x84 in position 109: ordinal not in range(128)

Close the window, or hit enter to exit...

These are all my rom file names, nothing non-ascii in them:

/s/games/wii/roms/Skyward Sword.iso
/s/games/wii/roms/DKCR.iso
/s/games/wii/roms/Mario Galaxy.iso
/s/games/wii/roms/Metroid Prime 3 Corruption.iso
/s/games/wii/roms/Goldeneye 007.iso
/s/games/wii/roms/Mario Galaxy 2.iso
/s/games/wii/roms/Twilight Princess.iso

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions