Linux crash, KeyError

Post your technical problems here.
benI15
Cadet
Posts: 2
Joined: Mon Nov 15, 2021 3:23 pm

Linux crash, KeyError

Unread postby benI15 » Mon Nov 15, 2021 3:26 pm

Hello,

running UOC with Ubuntu Linux results sometimes in following error:

Code: Select all

Traceback (most recent call last):
  File "<string>", line 106, in <module>
  File "Unity of Command/build/build/pyi.linux2/uoc/out00-PYZ.pyz/widgets.app", line 33, in Run
  File "Unity of Command/build/build/pyi.linux2/uoc/out00-PYZ.pyz/widgets.root", line 653, in Mainloop
  File "Unity of Command/build/build/pyi.linux2/uoc/out00-PYZ.pyz/widgets.base", line 231, in Handle
  File "Unity of Command/build/build/pyi.linux2/uoc/out00-PYZ.pyz/widgets.controller", line 151, in handle_event
  File "Unity of Command/build/build/pyi.linux2/uoc/out00-PYZ.pyz/widgets.controller", line 147, in _dispatch
  File "Unity of Command/build/build/pyi.linux2/uoc/out00-PYZ.pyz/game.widget", line 1056, in OnMove_selected
  File "Unity of Command/build/build/pyi.linux2/uoc/out00-PYZ.pyz/game.widget", line 1072, in update_sheet_selected
  File "Unity of Command/build/build/pyi.linux2/uoc/out00-PYZ.pyz/dispatch.dispatcher", line 349, in send
  File "Unity of Command/build/build/pyi.linux2/uoc/out00-PYZ.pyz/dispatch.robustapply", line 47, in robustApply
  File "Unity of Command/build/build/pyi.linux2/uoc/out00-PYZ.pyz/widgets.app", line 101, in Slot_COMMAND
  File "Unity of Command/build/build/pyi.linux2/uoc/out00-PYZ.pyz/game.app", line 2387, in command_sheet
  File "Unity of Command/build/build/pyi.linux2/uoc/out00-PYZ.pyz/game.sheets", line 63, in __init__
  File "Unity of Command/build/build/pyi.linux2/uoc/out00-PYZ.pyz/game.sheets", line 245, in render
  File "Unity of Command/build/build/pyi.linux2/uoc/out00-PYZ.pyz/widgets.stock", line 27, in __init__
  File "Unity of Command/build/build/pyi.linux2/uoc/out00-PYZ.pyz/widgets.res", line 89, in get
KeyError: 'Surface cannot be loaded: None shift_11'


Thanks.

User avatar
Tomislav Uzelac
2x2 Games
Posts: 2211
Joined: Mon Apr 04, 2011 11:24 pm
Location: Zagreb, Croatia

Re: Linux crash, KeyError

Unread postby Tomislav Uzelac » Mon Nov 15, 2021 11:39 pm

Hi, from the report it looks like one of the game files is missing.

Perhaps try doing a "verify local files" from Steam and see if it helps.

Cheers!

benI15
Cadet
Posts: 2
Joined: Mon Nov 15, 2021 3:23 pm

Re: Linux crash, KeyError

Unread postby benI15 » Fri Jan 28, 2022 5:48 am

Hi Tomislav,

here is an additional error log

Traceback (most recent call last):
File "uoc.py", line 153, in <module>
File "widgets\app.pyo", line 33, in Run
File "widgets\root.pyo", line 653, in Mainloop
File "widgets\base.pyo", line 231, in Handle
File "widgets\controller.pyo", line 151, in handle_event
File "widgets\controller.pyo", line 147, in _dispatch
File "game\widget.pyo", line 1057, in OnMove_selected
File "game\widget.pyo", line 1128, in selection_change_route
File "game\renderer.pyo", line 1307, in sel_fig_create
KeyError: (3, 12)

But after checking the integrity of local files it is working now. Thanks a lot!