Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Botspot opened this issue Oct 14, 2023 · 1 comment

Comments

@Botspot
Copy link
Contributor

Botspot commented Oct 14, 2023

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.

@Botspot Botspot changed the title Folder error NotADirectoryError: [Errno 20] Not a directory: '/home/pi/Desktop/commanderpi.desktop' Oct 14, 2023
@EnderRobber101
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants