Closed Itai-Nelken closed 3 years ago
How you install it? With just ./install.sh
?
Same here, I used Eta Prime's tutorial https://www.youtube.com/watch?v=97ZaWYjsZdQ, HOWEVER I am running Kali on my Pi 4 so maybe this doesn't work for Kali pi 4 or maybe there's a certain way I need to open it up that I don't know about. I am pretty new to Linux so I'm sure it is maybe something I am not doing right.
Hmm so you are on Kali, type this in terminal sudo python3 ${HOME}/CommanderPi/src/main.py ${HOME}
Then tell me what do you see.
`
@Jack477
How you install it? With just
./install.sh
?
Yes.
This error says that it can't find config.txt
file, do you have /boot/config.txt
?
Hmm so you are on Kali, type this in terminal
sudo python3 ${HOME}/CommanderPi/src/main.py ${HOME}
Then tell me what do you see. `
Exist and read
30.9
Total: 29.16
Used: 8.63
Free: 19.26
/boot/config.txt
/bi
/s
: 1:
/bi
/s
: 1:
/bin/sh: 1:
/root/CommanderPi/src
File is exist!
Traceback (most recent call last):
File "/root/CommanderPi/src/main.py", line 22, in
@daemonsneverstop you have installed CommanderPI on /root
, you should do it at /home/pi
. Don't use it as root.
@daemonsneverstop you have installed CommanderPI on
/root
, you should do it at/home/pi
. Don't use it as root.
Okay so I deleted everything and tried it again as kali not root, I downloaded the zip file and it is saved to /home/kali/CommanderPi-master/ , I run the commands to make it executable and install and everything seemed fine, the desktop icon appears with a lock on the side of it and when I click on it nothing happens, I ran the command you mentioned before and this is what it shows now,
"python3: can't open file '/home/kali/CommanderPi/src/main.py': [Errno 2] No such file or directory"
Thanks for you help so far though
In '/home/kali' try renaming the folder 'CommanderPi-master' to 'CommanderPi'
I reinstalled and everything is working again. Maybe the error happens when using git clone, but when downloading from the Google drive link, the after renaming the directory to CommanderPi everything works.
Won't start on a clean install of TwisterOS 1.9.1, so I reinstalled but I still get the same error. log.txt
commanderpi won't start from menu or desktop shortcut, so I reinstalled, and then the desktop shortcut was owned by 'root' so I opened the file manager as root and changed it, but it still won't run. I tried running start.sh from the terminal and I got some errors:
Traceback (most recent call last): File "/home/pi/CommanderPi/src/main.py", line 9, in
import gui as g
File "/home/pi/CommanderPi/src/gui.py", line 4, in
import resources as rs
File "/home/pi/CommanderPi/src/resources.py", line 188, in
f = open(config_path)
FileNotFoundError: [Errno 2] No such file or directory: ''