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

Attempting install, pi-apps will not exec from Start menu & returns errors via command-line installation #2584

Closed
3 tasks done
dgately opened this issue Apr 26, 2024 · 5 comments
Labels
User Error Issue is due to user error and not a bug with pi-apps

Comments

@dgately
Copy link

dgately commented Apr 26, 2024

Confirmations

What happened?

Installed pi-apps as per https://pi-apps.io/install

Description

Executing install of pi-apps (in Terminal) results in several errors such as:

cat: /home/pi/pi-apps/data/update-status/updatable-apps: No such file or directory
cat: /home/pi/pi-apps/data/update-status/updatable-files: No such file or directory

Output of install attempt in Terminal:
pi-apps attempt.txt

pi-apps does appear in the Start/Accessories menu, but does not execute

Tried many times, installing, uninstalling,manula vs auto install,but same results.

What are your system specs (run the following command in your terminal)?

$ ~/pi-apps/api get_device_info
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
OS: Debian GNU/Linux 12 (bookworm)
OS architecture: 64-bit
Last updated Pi-Apps on: 04/26/2024
Latest Pi-Apps version: 04/25/2024
Kernel: aarch64 6.6.20+rpt-rpi-2712
Device model: Raspberry Pi 5 Model B Rev 1.0
SOC identifier: bcm2712
Cpu name: Cortex-A76
Ram size: 4.04 GB
Raspberry Pi OS image version: 2024-03-15
Language: en_US.UTF-8

(Recommended) Error log? Terminal output? Debug messages?

pi@RPi5a:~ $ git clone https://github.com/Botspot/pi-apps && ~/pi-apps/install
Cloning into 'pi-apps'...
remote: Enumerating objects: 29122, done.
remote: Counting objects: 100% (3935/3935), done.
remote: Compressing objects: 100% (855/855), done.
remote: Total 29122 (delta 3301), reused 3548 (delta 3067), pack-reused 25187
Receiving objects: 100% (29122/29122), 29.35 MiB | 6.36 MiB/s, done.
Resolving deltas: 100% (19273/19273), done.
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
Hit:4 http://archive.raspberrypi.com/debian bookworm InRelease
Reading package lists... Done             
Building dependency tree... Done
Reading state information... Done
51 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reinstalling Pi-Apps...
Creating menu button...
Creating Settings menu button...
Creating autostarted updater...
Preloading app list...
Installation complete. Pi-Apps can be launched from the start menu or by running the command 'pi-apps'.
pi@RPi5a:~ $ pi-apps
    ▅▅▅▅▅                                                          
 ▂▂▂▂▂▂▂▂▂▂▂                                                       
 ▌  ▄ ▄ ▄  ▐   █▀▀◣ ▄    ◢▀▀◣                                      
 ▌  ▄ ▄ ▄  ▐   █▄▄◤ ▄ ▄▄ █▄▄█ █▀▀◣ █▀▀◣ ◢━━━                       
 ▌  ▄ ▄ ▄  ▐   █    █    █  █ █▄▄◤ █▄▄◤ ▄▄▄◤                       
 ◥▃▃▃▃▃▃▃▃▃◤                  █    █                               
                                                                   
                                                                   
runonce(): '  dependencies='yad curl wget aria2 lsb-release software-properties-common apt-utils apt-transport-https gnupg imagemagick bc librsvg2-bin locales shellcheck git wmctrl xdotool x11-utils rsync unzip debsums libgtk3-perl'
  # Install dependencies if necessary
  if ! dpkg -s $dependencies >/dev/null 2>&1; then
    sudo_popup apt install $dependencies -y -f --no-install-recommends
  fi' succeeded. Added to list.
runonce(): '  if ! is_supported_system >/dev/null;then
    text="YOUR SYSTEM IS UNSUPPORTED:
$(is_supported_system)

Pi-Apps will disable the sending of any error reports until you have resolved the issue above.
Your mileage may vary with using Pi-Apps in this state. Expect the majority of apps to be broken."

    yadflags=(--class Pi-Apps --name "Pi-Apps" --window-icon="${DIRECTORY}/icons/logo.png" --title="Pi-Apps")
    userinput_func "$text" "Ok"
  fi
  true' succeeded. Added to list.

Updater mode: set-status

Checking for online changes... Cloning into 'pi-apps'...
Authorization required, but no authorization protocol specified

Can't open display :0
Authorization required, but no authorization protocol specified

Can't open display :0
/home/pi/pi-apps/gui: line 196: [: -le: unary operator expected
/home/pi/pi-apps/gui: line 196: [: -le: unary operator expected
pipe is /tmp/tmp.FGHiQDvpVm
detailspid is /tmp/tmp.wKyVAYubG4
tail: warning: --retry only effective for the initial open
Authorization required, but no authorization protocol specified


(Pi-Apps:36804): Gtk-WARNING **: 19:44:36.565: cannot open display: :0
pi@RPi5a:~ $ remote: Enumerating objects: 1968, done.
remote: Counting objects: 100% (1968/1968), done.
remote: Compressing objects: 100% (1603/1603), done.
Timestamps don't match
Generating list for ''...
Finished preload for ''
Preload-daemon running...
remote: Total 1968 (delta 106), reused 1570 (delta 90), pack-reused 0
Receiving objects: 100% (1968/1968), 3.24 MiB | 4.08 MiB/s, done.
Resolving deltas: 100% (106/106), done.
Done
Scanning apps... Done
Scanning files... Done
cat: /home/pi/pi-apps/data/update-status/updatable-apps: No such file or directory
cat: /home/pi/pi-apps/data/update-status/updatable-files: No such file or directory
skipped stopping the gui
runonce(): '    if [[ "$GUI_FORMAT_VERSION" != 2 ]]; then
      pkill gui && ( "${DIRECTORY}/gui" & )
      echo "stopped the GUI"
    else
      echo "skipped stopping the gui"
    fi' succeeded. Added to list.
done


=========================  AND ======================

runonce(): '  dependencies='yad curl wget aria2 lsb-release software-properties-common apt-utils apt-transport-https gnupg imagemagick bc librsvg2-bin locales shellcheck git wmctrl xdotool x11-utils rsync unzip debsums libgtk3-perl'
  # Install dependencies if necessary
  if ! dpkg -s $dependencies >/dev/null 2>&1; then
    sudo_popup apt install $dependencies -y -f --no-install-recommends
  fi' succeeded. Added to list.
runonce(): '  if ! is_supported_system >/dev/null;then
    text="YOUR SYSTEM IS UNSUPPORTED:
$(is_supported_system)

Pi-Apps will disable the sending of any error reports until you have resolved the issue above.
Your mileage may vary with using Pi-Apps in this state. Expect the majority of apps to be broken."

    yadflags=(--class Pi-Apps --name "Pi-Apps" --window-icon="${DIRECTORY}/icons/logo.png" --title="Pi-Apps")
    userinput_func "$text" "Ok"
  fi
  true' succeeded. Added to list.

Updater mode: set-status

Checking for online changes... Cloning into 'pi-apps'...
Authorization required, but no authorization protocol specified

Can't open display :0
Authorization required, but no authorization protocol specified

Can't open display :0
/home/pi/pi-apps/gui: line 196: [: -le: unary operator expected
/home/pi/pi-apps/gui: line 196: [: -le: unary operator expected
pipe is /tmp/tmp.VlqolyeV4j
detailspid is /tmp/tmp.slROZdEOFs
tail: warning: --retry only effective for the initial open
Authorization required, but no authorization protocol specified


(Pi-Apps:77634): Gtk-WARNING **: 20:03:38.232: cannot open display: :0
pi@RPi5a:~/pi-apps $ Timestamps match.
Reading list file for ''...
Preload-daemon skipped; nothing was changed
remote: Enumerating objects: 1968, done.
remote: Counting objects: 100% (1968/1968), done.
remote: Compressing objects: 100% (1603/1603), done.
remote: Total 1968 (delta 106), reused 1570 (delta 90), pack-reused 0
Receiving objects: 100% (1968/1968), 3.24 MiB | 490.00 KiB/s, done.
Resolving deltas: 100% (106/106), done.
Done
Scanning apps... Done
Scanning files... Done
cat: /home/pi/pi-apps/data/update-status/updatable-apps: No such file or directory
cat: /home/pi/pi-apps/data/update-status/updatable-files: No such file or directory
skipped stopping the gui
runonce(): '    if [[ "$GUI_FORMAT_VERSION" != 2 ]]; then
      pkill gui && ( "${DIRECTORY}/gui" & )
      echo "stopped the GUI"
    else
      echo "skipped stopping the gui"
    fi' succeeded. Added to list.
@dgately dgately added the bug Something isn't working label Apr 26, 2024
Copy link
Contributor

Hello there 👋
Thanks for submitting your first issue to the Pi-Apps project! We'll try to get back to you as soon as possible.
In the meantime, we encourage you join our Discord server, where you can ask any questions you might have.

Please respond as soon as possible if a Pi-Apps maintainer requests more information from you. Stale issues will be closed after a lengthy period of time with no response.

@Botspot
Copy link
Owner

Botspot commented Apr 26, 2024

These seem to be the errors that matter:

Can't open display :0
/home/pi/pi-apps/gui: line 196: [: -le: unary operator expected
(Pi-Apps:36804): Gtk-WARNING **: 19:44:36.565: cannot open display: :0
Authorization required, but no authorization protocol specified

What kind of display setup are you using? Did you uninstall X11 or make any weird changes to your graphics settings?

@theofficialgman theofficialgman added User Error Issue is due to user error and not a bug with pi-apps and removed bug Something isn't working labels Apr 26, 2024
@theofficialgman
Copy link
Collaborator

Are you running via some sort of network display (eg: vnc) or is this on a graphical desktop on the actual HDMI output of your Pi5?

@theofficialgman
Copy link
Collaborator

This issue will be closed soon due to lack of response.
We cannot help you if you do not help by answering our questions.

@theofficialgman theofficialgman closed this as not planned Won't fix, can't repro, duplicate, stale May 8, 2024
@Botspot
Copy link
Owner

Botspot commented May 25, 2024

I just encountered this today after running several varieties of nested wayland instances. I think this issue can be encountered on systems without a functional XWayland.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
User Error Issue is due to user error and not a bug with pi-apps
Projects
None yet
Development

No branches or pull requests

3 participants