Skip to content

Commit 9ce1252

Browse files
committed
the linux build produced an AppImage without kivy:
user@disp6152:~/Downloads/artifacts0$ ./helloWorld.AppImage Traceback (most recent call last): File "/tmp/.mount_helloWxxC0Dh/opt/src/main.py", line 4, in <module> from kivy.config import Config ModuleNotFoundError: No module named 'kivy' user@disp6152:~/Downloads/artifacts0$ Checking the job output, it hit permission issues early on. Huh, in gitlab I think I was root, but I'll add `sudo` and see if the next build works. Run build/linux/buildAppImage.sh build/linux/buildAppImage.sh shell: /bin/bash --noprofile --norc -e -o pipefail {0} + PYTHON_PATH=/usr/bin/python3.7 + apt-get update Reading package lists... E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied) E: Unable to lock directory /var/lib/apt/lists/ W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied) W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied) + apt-get -y install python3.7 python3-pip wget rsync fuse E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied) E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
1 parent 975b699 commit 9ce1252

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

.github/workflows/build.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,21 @@ on:
99

1010
jobs:
1111

12-
# linux:
13-
# runs-on: ubuntu-latest
14-
#
15-
# steps:
16-
# - uses: docker://debian:buster-slim
17-
# - uses: actions/checkout@v2
18-
#
19-
# - name: Execute script to build linux AppImage
20-
# run: "build/linux/buildAppImage.sh"
21-
# shell: bash
22-
#
23-
# - uses: actions/upload-artifact@v2
24-
# with:
25-
# name: Linux AppImage (x86_64)
26-
# path: dist/
12+
linux:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: docker://debian:buster-slim
17+
- uses: actions/checkout@v2
18+
19+
- name: Execute script to build linux AppImage
20+
run: "build/linux/buildAppImage.sh"
21+
shell: bash
22+
23+
- uses: actions/upload-artifact@v2
24+
with:
25+
name: Linux AppImage (x86_64)
26+
path: dist/
2727

2828
windows:
2929
runs-on: windows-latest

build/linux/buildAppImage.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ PYTHON_PATH='/usr/bin/python3.7'
2626
###################
2727

2828
# install os-level depends
29-
apt-get update; apt-get -y install python3.7 python3-pip wget rsync fuse
29+
sudo apt-get update; sudo apt-get -y install python3.7 python3-pip wget rsync fuse
3030

3131
# setup a virtualenv to isolate our app's python depends
3232
${PYTHON_PATH} -m pip install --upgrade --user pip setuptools virtualenv

0 commit comments

Comments
 (0)