GithubHelp home page GithubHelp logo

PrusaControl doesn't start about prusacontrol HOT 16 OPEN

prusa3d avatar prusa3d commented on June 5, 2024
PrusaControl doesn't start

from prusacontrol.

Comments (16)

tibor-vavra avatar tibor-vavra commented on June 5, 2024

Hi,
attach a log file from PrusaControl. It is placed in C:\Users\{your user name}\prusacontrol.log

from prusacontrol.

coolcow avatar coolcow commented on June 5, 2024

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 !

from prusacontrol.

Ryans585 avatar Ryans585 commented on June 5, 2024

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
File "main.py", line 159, in main
File "controller.py", line 65, in init
File "parameters.py", line 354, in init
File "parameters.py", line 477, in check_versions
File "parameters.py", line 514, in get_materials_info
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\Ryan\.prusacontrol\materials_i3_mk2mm.json'

from prusacontrol.

wootner avatar wootner commented on June 5, 2024

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
File "main.py", line 139, in main
File "controller.py", line 62, in init
File "parameters.py", line 293, in init
File "parameters.py", line 407, in check_versions
File "parameters.py", line 446, in get_materials_info
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\jason\.prusacontrol\materials_i3_mk2mm.json'

from prusacontrol.

Ryans585 avatar Ryans585 commented on June 5, 2024

I copied the 'materials_i3_mk2.json' file and renamed it 'materials_i3_mk2mm.json'. it launches just fine now.

from prusacontrol.

wootner avatar wootner commented on June 5, 2024

from prusacontrol.

ljcousse avatar ljcousse commented on June 5, 2024

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

from prusacontrol.

RogerStr avatar RogerStr commented on June 5, 2024

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

from prusacontrol.

thiaggo avatar thiaggo commented on June 5, 2024

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
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

from prusacontrol.

Voodazel avatar Voodazel commented on June 5, 2024

Same issue

[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

from prusacontrol.

moeskerv avatar moeskerv commented on June 5, 2024

Same here
[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

from prusacontrol.

probonopd avatar probonopd commented on June 5, 2024

To everyone who has the same issue: Please report your exact operating system and version, thanks.

from prusacontrol.

moeskerv avatar moeskerv commented on June 5, 2024

Win10 PrusaControl 0.9.4_415 beta - but issue seems to be fixed now.

from prusacontrol.

moeskerv avatar moeskerv commented on June 5, 2024

It seems that prusa3d/PrusaControl-settings@e53b853 fixed the issue.

from prusacontrol.

ljcousse avatar ljcousse commented on June 5, 2024

It seems that prusa3d/PrusaControl-settings@e53b853 fixed the issue.

Indeed, same here!

from prusacontrol.

schnaggels avatar schnaggels commented on June 5, 2024

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...

from prusacontrol.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.