Unity of Command II

Unity of Command II

View Stats:
Hans Roths Jan 27, 2020 @ 12:43pm
cx_Freeze:Python error in main script
On reinstalling uoc 11, program will not start with the above message...

It would seem that it has got out on sync from the time before when I had to exit without closing down properly, so now it, on start up, freezes..
I cannot find any trace in my computer to remove ALL traces of uoc 11, so a fresh install will start as though I am a first time user, without looking for previous information..
It starts off with telling me that ..

Traceback (most recent call last)

and then a half page full of other information..

Is their a way to remove ALL info, and start from scratch ?

Thank you for any help on this..
< >
Showing 1-7 of 7 comments
tomislav.uzelac  [developer] Jan 27, 2020 @ 1:20pm 
Hi Hans,

please post your log.txt here so we can take a look.

You can find the log.txt file in this folder: %localappdata%\.uoc2
(just paste that string into the Address Bar of File Explorer)

Off the top of my head, it could be that you have something in your settings file that trips the game at startup. You can try removing this file: settings.yml (it's in the same folder as the log).

Cheers!
Hans Roths Jan 27, 2020 @ 2:38pm 
INF 2020-01-27 17:28:39,554 tools.steamworks:71 SteamworksPy loaded for Windows
INF 2020-01-27 17:28:39,667 tools.steamworks:81 Steam is running
INF 2020-01-27 17:28:39,699 tools.steamworks:86 Steamworks initialized!
INF 2020-01-27 17:28:39,973 tools.steam_api:224 Steam user stats and achievements successfully fetched
INF 2020-01-27 17:28:39,974 tools.steam_api:148 Item 1926776531 downloaded: C:\Program Files (x86)\Steam\steamapps\workshop\content\809230\1926776531
INF 2020-01-27 17:28:39,975 tools.steam_api:148 Item 1940099473 downloaded: C:\Program Files (x86)\Steam\steamapps\workshop\content\809230\1940099473
INF 2020-01-27 17:28:39,975 tools.steam_api:148 Item 1919223979 downloaded: C:\Program Files (x86)\Steam\steamapps\workshop\content\809230\1919223979
INF 2020-01-27 17:28:39,975 tools.steam_api:148 Item 1913960647 downloaded: C:\Program Files (x86)\Steam\steamapps\workshop\content\809230\1913960647
INF 2020-01-27 17:28:39,976 tools.steam_api:148 Item 1944055973 downloaded: C:\Program Files (x86)\Steam\steamapps\workshop\content\809230\1944055973
INF 2020-01-27 17:28:40,775 uoc2.paths:321 Installed packages:
INF 2020-01-27 17:28:40,775 uoc2.paths:323 C:\Program Files (x86)\Steam\steamapps\workshop\content\809230\1913960647
INF 2020-01-27 17:28:40,775 uoc2.paths:323 C:\Program Files (x86)\Steam\steamapps\workshop\content\809230\1919223979
INF 2020-01-27 17:28:40,776 uoc2.paths:323 C:\Program Files (x86)\Steam\steamapps\workshop\content\809230\1926776531
INF 2020-01-27 17:28:40,776 uoc2.paths:323 C:\Program Files (x86)\Steam\steamapps\workshop\content\809230\1940099473
INF 2020-01-27 17:28:40,776 uoc2.paths:323 C:\Program Files (x86)\Steam\steamapps\workshop\content\809230\1944055973
INF 2020-01-27 17:28:40,776 uoc2.paths:323 C:\Program Files (x86)\Steam\steamapps\common\Unity of Command 2\_packages\base
INF 2020-01-27 17:28:40,777 uoc2.main:102 ARGS log: None
INF 2020-01-27 17:28:40,818 uoc2.main:108 Platform: Windows-7-6.1.7601-SP1
INF 2020-01-27 17:28:40,914 uoc2.main:122 OpenGL error checking DISABLED
INF 2020-01-27 17:28:46,482 uoc2.settings:210 Initializing settings
WAR 2020-01-27 17:28:46,482 uoc2.settings:216 Settings not found: C:\Users\Alan\AppData\Local\.uoc2\settings.yml
INF 2020-01-27 17:28:49,003 uoc2.init:56 SDL version: 2.0.10
INF 2020-01-27 17:28:49,004 uoc2.init:59 SDL_TTF version: 2.0.15
INF 2020-01-27 17:28:49,004 uoc2.init:62 SDL_Mixer version: 2.0.4
INF 2020-01-27 17:28:49,004 uoc2.init:65 SDL_Image version: 2.0.5
INF 2020-01-27 17:28:49,031 uoc2.init:76 Video driver 0: windows [Current]
INF 2020-01-27 17:28:49,032 uoc2.init:76 Video driver 1: dummy
INF 2020-01-27 17:28:50,186 uoc2.init:92 Audio driver: wasapi
INF 2020-01-27 17:28:50,187 uoc2.init:97 16 audio channels alocated
INF 2020-01-27 17:28:50,758 uoc2.init:119 Display 0: 1920x1080 (0, 0, 1920, 1080) [Current]
INF 2020-01-27 17:28:51,385 OpenGL.acceleratesupport:13 OpenGL_accelerate module loaded
INF 2020-01-27 17:28:51,507 OpenGL.arrays.arraydatatype:277 Using accelerated ArrayDatatype
INF 2020-01-27 17:28:54,494 uoc2.init:175 OpenGL version: 3.3.13397 Core Profile Context 15.200.1045.0
INF 2020-01-27 17:28:54,613 uoc2.init:178 GL_MAX_TEXTURE_IMAGE_UNITS: 32
INF 2020-01-27 17:28:54,614 uoc2.init:181 GL_MAX_TEXTURE_SIZE: 16384
INF 2020-01-27 17:28:54,680 uoc2.init:184 GL_ARB_gpu_shader5: True
INF 2020-01-27 17:28:54,681 uoc2.init:187 GL_EXT_texture_filter_anisotropic: True
INF 2020-01-27 17:28:54,684 uoc2.init:191 GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT: 16.0
INF 2020-01-27 17:28:54,684 uoc2.init:203 OpenGL context: 3.3
INF 2020-01-27 17:28:54,685 uoc2.init:207 Double-buffered: True
INF 2020-01-27 17:28:54,686 uoc2.init:211 Accelerated: True
INF 2020-01-27 17:28:56,927 uoc2.init:131 Displaying splash screen
INF 2020-01-27 17:28:58,931 engine.gl.textures:154 Initializing ground textures
INF 2020-01-27 17:29:25,836 engine.gl.atlases:86 Loading atlases
INF 2020-01-27 17:29:32,503 uoc2.sounds:35 Loading sounds
INF 2020-01-27 17:29:36,321 uoc2.music:47 Loading music
INF 2020-01-27 17:29:37,562 engine.gl.shader_manager:46 Initializing shader groups
INF 2020-01-27 17:29:39,693 engine.gl.model_manager:69 Loading models
INF 2020-01-27 17:29:49,192 engine.gl.renderer2d:462 Initializing Renderer2D
INF 2020-01-27 17:29:49,321 tools.localization:93 Loading locale
ERR 2020-01-27 17:29:49,976 uoc2-exe:24 Traceback (most recent call last):
ERR 2020-01-27 17:29:49,976 uoc2-exe:24 File "uoc2-exe.py", line 17, in <module>
ERR 2020-01-27 17:29:49,976 uoc2-exe:24 File "C:\Users\Jure\Documents\uoc2\uoc2\main.py", line 255, in main
ERR 2020-01-27 17:29:49,976 uoc2-exe:24 File "C:\Users\Jure\Documents\uoc2\tools\localization.py", line 86, in __init__
ERR 2020-01-27 17:29:49,976 uoc2-exe:24 File "C:\Users\Jure\Documents\uoc2\tools\localization.py", line 104, in load_locale
ERR 2020-01-27 17:29:49,976 uoc2-exe:24 File "C:\Users\Jure\Documents\uoc2\tools\yaml_.py", line 84, in yaml_load
ERR 2020-01-27 17:29:49,976 uoc2-exe:24 File "C:\Env_x64\Py36\lib\site-packages\yaml\__init__.py", line 72, in load
ERR 2020-01-27 17:29:49,976 uoc2-exe:24 File "C:\Env_x64\Py36\lib\site-packages\yaml\constructor.py", line 35, in get_single_data
ERR 2020-01-27 17:29:49,977 uoc2-exe:24 File "ext\_yaml.pyx", line 704, in _yaml.CParser.get_single_node (ext\_yaml.c:9637)
ERR 2020-01-27 17:29:49,977 uoc2-exe:24 File "ext\_yaml.pyx", line 905, in _yaml.CParser._parse_next_event (ext\_yaml.c:12854)
ERR 2020-01-27 17:29:49,977 uoc2-exe:24 yaml.scanner.ScannerError: while scanning a plain scalar
ERR 2020-01-27 17:29:49,977 uoc2-exe:24 in "C:\Program Files (x86)\Steam\steamapps\common\Unity of Command 2\_packages\base\localization\eng\debug.log", line 1, column 2
ERR 2020-01-27 17:29:49,977 uoc2-exe:24 found unexpected ':'
ERR 2020-01-27 17:29:49,977 uoc2-exe:24 in "C:\Program Files (x86)\Steam\steamapps\common\Unity of Command 2\_packages\base\localization\eng\debug.log", line 1, column 17
Hans Roths Jan 27, 2020 @ 2:39pm 
Hope this is what you wanted....Thanks VERY much for your help....
Hans Roths Jan 29, 2020 @ 9:40am 
Hi tomistav.uzelac.
Well, IF and WHEN there is another War.... YOU, can shoot me !!!
I have found what the problem was, and it was 100% my fault....
I should have thought about it a bit more before I sent out the "alarm" to you my friend..
Soooooo, I am sorry to have wasted your time, and efforts to solve something that I, the number one mug, have messed up myself....

Thank you for your time.....and I am sorry to have wasted it, on little ole me....
This IS, a GREAT game by the way....top marks..
J-manByte Jan 30, 2020 @ 6:40am 
Originally posted by Hans Roths:
Hi tomistav.uzelac.
Well, IF and WHEN there is another War.... YOU, can shoot me !!!
I have found what the problem was, and it was 100% my fault....
I should have thought about it a bit more before I sent out the "alarm" to you my friend..
Soooooo, I am sorry to have wasted your time, and efforts to solve something that I, the number one mug, have messed up myself....

Thank you for your time.....and I am sorry to have wasted it, on little ole me....
This IS, a GREAT game by the way....top marks..

Hi Hans, could you share what the problem was so we can prevent it in the future?
Cheers :)
Hans Roths Jan 30, 2020 @ 11:03am 
The biggest fault was (and the only one ! ) was that I forgot to remove the UOC 11 from the USER file that was stored on my computer (DELL, Windows 7) ...once that was removed, then I had a "clean" install, without any "history" attached...simply.... Told you..I am a NUMBER 1 Chump.....

Thanks once again.. pip-pip..
Hans Roths Jan 30, 2020 @ 11:39am 
Just a point...I forgot to say the "User" file you click to open...you will then find perhaps 6 files within that, now of those files look for one that has " AppData"... within that file..click that, and look for "Local" file...open that, and you find UOC 11,,,, that holds all saved data....remove... and that's it..your done..Then reinstall UOC 11..BINGO, you are fully done..
Last edited by Hans Roths; Feb 3, 2020 @ 4:07pm
< >
Showing 1-7 of 7 comments
Per page: 1530 50