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
When trying to start main.py not from the installation directory, an error occurs "FileNotFoundError: [Errno 2] No such file or directory: 'config.yaml'"
To Reproduce
Install the python virtual environment in /opt/USBmon/
Download the source codes and unzip them into a folder /opt/USBMon/turing-smart-screen-3.5.0/
Install the necessary libraries in the virtual environment.
Make a configuration of your screen and save it.
Run the main.py script and make sure everything is working: /opt/USBMon/bin/python3 /opt/USBMon/turing-smart-screen-3.5.0/main.py (Screenshot1)
Open new terminal.
Try to run the main script from the home directory: /opt/USBMon/bin/python3 /opt/USBMon/turing-smart-screen-3.5.0/main.py (Screenshot2)
Expected behavior
I expected to see the theme display on the USB screen.
Screenshots / photos of the Turing screen
Environment:
Smart screen model XuanFang 3.5, COM port: /dev/ttyACM0
Additional context
There has already been such a problem, but it has been closed without a solution. My task is to launch the screen from the startup script, which, of course, is not in the installation directory of your program. Let me know if you need more information.
The text was updated successfully, but these errors were encountered:
Hi @allexmail
It is a known issue that I didn't have time to fix, you can check #358
For now you have to run main.py inside the code folder because the config.yaml is seeked inside the current folder
I hope to fix it in a future version
When trying to start main.py not from the installation directory, an error occurs "FileNotFoundError: [Errno 2] No such file or directory: 'config.yaml'"
To Reproduce
Expected behavior
I expected to see the theme display on the USB screen.
Screenshots / photos of the Turing screen
Environment:
Additional context
There has already been such a problem, but it has been closed without a solution. My task is to launch the screen from the startup script, which, of course, is not in the installation directory of your program. Let me know if you need more information.
The text was updated successfully, but these errors were encountered: