Jack477 / CommanderPi

Easy RaspberryPi4 GUI system managment
MIT License
188 stars 33 forks source link

NotADirectoryError: [Errno 20] Not a directory: '/home/pi/Desktop/commanderpi.desktop' #73

Open Botspot opened 11 months ago

Botspot commented 11 months ago
OS: Ubuntu 22.04.2 LTS
OS architecture: 64-bit
Last updated Pi-Apps on: 10/12/2023
Latest Pi-Apps version: 10/13/2023
Kernel: aarch64 5.15.0-1028-raspi
Device model: Raspberry Pi 400 Rev 1.1 
Cpu name: Cortex-A72
Ram size: 3.78 GB
Language: en_US.UTF-8

BEGINNING OF LOG FILE:
-----------------------
Downloading CommanderPi repository... Done
Making executable: src/start.sh
/home/pi/CommanderPi
[Desktop Entry]
Name=CommanderPi
Comment=System info and overclocking
Exec=/home/pi/CommanderPi/src/start.sh
Icon=/home/pi/CommanderPi/src/icons/Icon.png
Categories=Utility;
Version=1.0
Type=Application
Terminal=false
StartupNotify=true
Save desktop shortcut to /home/pi/Desktop/commanderpi.desktop
Traceback (most recent call last):
  File "/home/pi/CommanderPi/c_desktop.py", line 21, in <module>
    f = open(d_dir, "w")
NotADirectoryError: [Errno 20] Not a directory: '/home/pi/Desktop/commanderpi.desktop'
Could not install commanderpi!

This is a trimmed portion of an incoming error report from Pi-Apps. It does not appear to affect everybody. Any ideas what could be causing this error?

Also, @Jack477, there are a number of open and unanswered issues on this repo. Are you still maintaining CommanderPi? If not, I may be forced to remove it from Pi-Apps.

EnderRobber101 commented 1 month ago

hey! i had the same issue! just dont delete the original file so:

  1. copy repo
  2. run install.sh
  3. DON'T delete the repo The thing on the desktop is just an alias