Closed Jegoni closed 3 years ago
Type this in terminal sudo python3 ${HOME}/CommanderPi/src/main.py ${HOME}
Tell me what you see then
I got no such file in the directory. I am having the same problem
I got: Creating config... Here is app-1 Version 0.7.2 Country code is: country HU: DFS-ETSI 68.8 Total: 29.01 Used: 18.93 Free: 8.58 2.1GHz Can't find RaspberryPi config file!
Traceback (most recent call last):
File "/home/pi/CommanderPi/src/main.py", line 9, in
What is your config.txt file path?
/media/pi/boot/config.txt
Strange path, what OS are you using? I have added this path to CommanderPi, download new version and try https://drive.google.com/file/d/12Lo9WWjix-88N6P-C8aeISUYX_xOlcKg/view?usp=sharing
I am using Raspberry os 32-bit but with berryboot. And I think it messed it up.
Strange path, what OS are you using?
I have added this path to CommanderPi, download new version and try https://drive.google.com/file/d/12Lo9WWjix-88N6P-C8aeISUYX_xOlcKg/view?usp=sharing
This doesn't work too, but no problem because from berryboot I can change the config file. But thank you.
I have a potential fix for this issue. If you look in your start.sh file, you should see a little '>' after the second ${HOME}. After getting the same error message as above, I looked inside the shell script and noticed the odd character. I didn't understand why it was there, so I tried removing it, and then the program started normally.
The old start.sh looks like this:
#!/bin/sh sudo python3 %{HOME}/CommanderPi/src/main.py ${HOME}> /var/log/commanderpi.log
And your new start.sh would look like this:
#!/bin/sh sudo python3 %{HOME}/CommanderPi/src/main.py ${HOME} /var/log/commanderpi.log
Does anyone know why the '>' is there, or am I going crazy? The second arg should just point to your home directory anyway.
thanks @arthertz
@arthertz this '>' is for create log file if program has crashed.
@Jack477 my commander pi wont open two i have the latest version and it just loads and never opens up
@Jack477 Is it possible there is a platform-specific reason why that would cause a problem? I am certain that removing it fixed my issue. I wonder if there is a more portable way to do the same thing.
I checked that, problem was >
because this operator need sudo permissions to create file at /var/log/
. On my Pi I was have a setup permissions for that. Removed that. Now it works. I'm sorry, use new download version and reinstall is needed.
Awesome! I love your program, thank you for fixing this so quickly.
Hello! I installed it I can see the icons, no error code but when I try to start it, it does't start. Just loading, but nothing happens.