Linux crash, KeyError

Post your technical problems here.
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
benI15
Cadet
Posts: 2
Joined: Mon Nov 15, 2021 3:23 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Linux crash, KeyError

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


User avatar
Tomislav Uzelac
2x2 Games
Posts: 2211
Joined: Mon Apr 04, 2011 11:24 pm
Location: Zagreb, Croatia
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

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
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

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!


[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable