-
-
Notifications
You must be signed in to change notification settings - Fork 267
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
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
- Revision of this project 3.0.5, main
- OS with version Ubuntu 24.04
- Python version Python 3.12.3 (main, Sep 11 2024, 14:17:37) [GCC 13.2.0]
- Hardware Intel CPU
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.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working