PrusaControl
PrusaControl copied to clipboard
PrusaControl doesn't start
On a fresh installation of Windows 10 (64bit) in a VM i get this error when i start PrusaControl.

The error Failed to execute script main stays in the backgroud behind the splashscreen.
I have uninstalled and installed PrusaControl again a couple of times, but without success.
Slic3r PE works fine.
What am i doing wrong ?
Hi, attach a log file from PrusaControl. It is placed in C:\Users\{your user name}\prusacontrol.log
It said:
[INFO][controller.py:55:__init__()]-Local path: C:\Program Files (x86)\PrusaControl\
[ERROR][main.py:77:log_exception()]-Logging an uncaught exception
Traceback (most recent call last):
File "main.py", line 170, in <module>
File "main.py", line 139, in main
File "controller.py", line 62, in __init__
File "parameters.py", line 283, in __init__
File "configparser.py", line 696, in read
File "configparser.py", line 1077, in _read
configparser.MissingSectionHeaderError: File contains no section headers.
file: 'C:\\Users\\jruiz\\prusacontrol.cfg', line: 1
'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
After deleting `prusacontrol.cfg' it works now (it appeared to be empty). Maybe the application should ask if it should create a new configuration file (in the case of a corrupted one) instead of just crashing. But hey, its Beta ! :)
Thx for the hint !
I am receiving the same Error message on PrusaControl launch. My error log says
[ERROR][main.py:95:log_exception()]-Logging an uncaught exception
Traceback (most recent call last):
File "main.py", line 193, in
Has been working fine ...tried removing `prusacontrol.cfg' didn't work Uninstalled and reinstalled after reboot worked
[INFO][controller.py:55:init()]-Local path: C:\Program Files (x86)\PrusaControl
[ERROR][main.py:77:log_exception()]-Logging an uncaught exception
Traceback (most recent call last):
File "main.py", line 170, in
I copied the 'materials_i3_mk2.json' file and renamed it 'materials_i3_mk2mm.json'. it launches just fine now.
Yep that works
Many thanks
From: Ryans585 [mailto:[email protected]] Sent: 15 September 2017 21:49 To: prusa3d/PrusaControl [email protected] Cc: Jason roger [email protected]; Comment [email protected] Subject: Re: [prusa3d/PrusaControl] PrusaControl doesn't start (#9)
I copied the 'materials_i3_mk2.json' file and renamed it 'materials_i3_mk2mm.json'. it launches just fine now.
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/prusa3d/PrusaControl/issues/9#issuecomment-329897746, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AehIy-_-8oIZ_nCdkU7qLLlm86Ge4UIYks5siuKmgaJpZM4N2c9T.
I have the same issue. Logfile gives this output:
[ERROR][main.py:95:log_exception()]-Logging an uncaught exception
Traceback (most recent call last):
File "main.py", line 193, in
I have the same issue. Logfile gives this output:
[ERROR][main.py:95:log_exception()]-Logging an uncaught exception Traceback (most recent call last): File "main.py", line 193, in File "main.py", line 159, in main File "controller.py", line 65, in init File "parameters.py", line 357, in init File "parameters.py", line 497, in check_versions File "parameters.py", line 576, in get_materials_info File "json__init__.py", line 265, in load File "c:\python35\lib\encodings\cp1252.py", line 23, in decode UnicodeDecodeError: 'charmap' codec can't decode byte 0x8d in position 54870: character maps to I have the exact same problem
same error here i think it has to be with the new sla printer that came out
[ERROR][main.py:95:log_exception()]-Logging an uncaught exception
Traceback (most recent call last):
File "main.py", line 193, in
Same issue
[ERROR][main.py:95:log_exception()]-Logging an uncaught exception
Traceback (most recent call last):
File "main.py", line 193, in
Same here
[ERROR][main.py:95:log_exception()]-Logging an uncaught exception
Traceback (most recent call last):
File "main.py", line 193, in
To everyone who has the same issue: Please report your exact operating system and version, thanks.
Win10 PrusaControl 0.9.4_415 beta - but issue seems to be fixed now.
It seems that https://github.com/prusa3d/PrusaControl-settings/commit/e53b853e22f6bedbc4bf26d68d8193ea8933233f fixed the issue.
Had the same error also with this version... The reason was simple.
I did hide these 2 files as I didn't want to see them in my main user folder. C:\Users{your user name}\prusacontrol.log C:\Users{your user name}\prusacontrol.cfg
Usually works for other apps but not here, after removing windows hide file flag the startup worked as before...