You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempting to load the gcodes.txt file will crash smoopi when main.py is called from a different directory. Looks like it needs app dir awareness like loading smoothiehost.ini.
I have been starting smoopi by running /usr/bin/python3 ~/smoopi/main.py, since I have been using a desktop shortcut. Running python3 main.py from the smoopi directory load the gcodes.txt file no problem.
The text was updated successfully, but these errors were encountered:
dzhang97
changed the title
Loading gcodes.txt fails
Loading gcodes.txt fails from different directory
Nov 29, 2020
Smoopi MUST be run from the smoopi directory. This is easy to do.
There is not just gcodes.txt but also several other files that it needs to read like macros.ini and any modules.
It won't crash now if gcodes.txt is not found, but it also won't display any help.
I may try to fix this later, but finding all the possible places a file could be loaded is a pain.
In the meantime just tell your shortcut to set the working directory, all desktop shortcuts have this option.
Attempting to load the gcodes.txt file will crash smoopi when main.py is called from a different directory. Looks like it needs app dir awareness like loading smoothiehost.ini.
I have been starting smoopi by running /usr/bin/python3 ~/smoopi/main.py, since I have been using a desktop shortcut. Running python3 main.py from the smoopi directory load the gcodes.txt file no problem.
The text was updated successfully, but these errors were encountered: