Error on generating Linux client #109

Open
opened 2025-07-23 04:51:22 +08:00 by Generator20 · 2 comments
Generator20 commented 2025-07-23 04:51:22 +08:00 (Migrated from github.com)

First of all, thank you for developing this great tool.

I have successfully generate macOS and Windows clients with this tool, both of which work fine, but I encountered an error while generating the Linux version.

This is part of the error while building the x86_64 version:
On 'Build appimage package' stage:

INFO:root:Downloading: https://github.com/AppImageCrafters/AppRun/releases/download/v2.0.0/libapprun_hooks-Release-x86_64.so
INFO:root:Deploying libapprun_hooks.so (x86_64) to "/home/runner/work/DigiRD/DigiRD/appimage/AppDir/lib/x86_64/libapprun_hooks.so"
INFO:root:Downloading: https://github.com/AppImageCrafters/AppRun/releases/download/v2.0.0/AppRun-Release-x86_64
INFO:main:Running desktop entry setup
INFO:root:Looking app icon at: /home/runner/work/DigiRD/DigiRD/appimage/AppDir/usr/share/icons
INFO:root:Setting AppDir: /home/runner/work/DigiRD/DigiRD/appimage/AppDir/usr/share/icons/hicolor/scalable/apps/rustdesk.svg to rustdesk.svg
WARNING:root:Unable to locate the application desktop entry: rustdesk.desktop
INFO:main:Running deploy record generation
INFO:root:Writing deploy record to: .bundle.yml
INFO:main:Running AppImage creation
INFO:root:Downloading: https://github.com/AppImage/AppImageKit/releases/download/continuous/runtime-x86_64
Traceback (most recent call last):
File "/tmp/.mount_appimareq58w/usr/bin/appimage-builder", line 8, in
sys.exit(main())
File "/tmp/.mount_appimareq58w/usr/lib/python3.8/site-packages/appimagebuilder/main.py", line 50, in main
invoker.execute(commands)
File "/tmp/.mount_appimareq58w/usr/lib/python3.8/site-packages/appimagebuilder/invoker.py", line 29, in execute
command()
File "/tmp/.mount_appimareq58w/usr/lib/python3.8/site-packages/appimagebuilder/commands/create_appimage.py", line 27, in call
self.primer.prime()
File "/tmp/.mount_appimareq58w/usr/lib/python3.8/site-packages/appimagebuilder/modules/prime/appimage_primer.py", line 43, in prime
self._get_appimage_kit_runtime()
File "/tmp/.mount_appimareq58w/usr/lib/python3.8/site-packages/appimagebuilder/modules/prime/appimage_primer.py", line 101, in _get_appimage_kit_runtime
request.urlretrieve(url, self.carrier_path)
File "/tmp/.mount_appimareq58w/usr/lib/python3.8/urllib/request.py", line 247, in urlretrieve
with contextlib.closing(urlopen(url, data)) as fp:
File "/tmp/.mount_appimareq58w/usr/lib/python3.8/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/tmp/.mount_appimareq58w/usr/lib/python3.8/urllib/request.py", line 531, in open
response = meth(req, response)
File "/tmp/.mount_appimareq58w/usr/lib/python3.8/urllib/request.py", line 640, in http_response
response = self.parent.error(
File "/tmp/.mount_appimareq58w/usr/lib/python3.8/urllib/request.py", line 569, in error
return self._call_chain(*args)
File "/tmp/.mount_appimareq58w/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain
result = func(*args)
File "/tmp/.mount_appimareq58w/usr/lib/python3.8/urllib/request.py", line 649, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found
Error: Process completed with exit code 1.

And this is for arch64 version:
On 'Build appimage package' stage:

INFO:root:Downloading: https://github.com/AppImageCrafters/AppRun/releases/download/v2.0.0/libapprun_hooks-Release-aarch64.so
INFO:root:Deploying libapprun_hooks.so (aarch64) to "/home/runner/work/DigiRD/DigiRD/appimage/AppDir/lib/aarch64/libapprun_hooks.so"
INFO:root:Downloading: https://github.com/AppImageCrafters/AppRun/releases/download/v2.0.0/AppRun-Release-aarch64
INFO:main:Running desktop entry setup
INFO:root:Looking app icon at: /home/runner/work/DigiRD/DigiRD/appimage/AppDir/usr/share/icons
INFO:root:Setting AppDir: /home/runner/work/DigiRD/DigiRD/appimage/AppDir/usr/share/icons/hicolor/scalable/apps/rustdesk.svg to rustdesk.svg
WARNING:root:Unable to locate the application desktop entry: rustdesk.desktop
INFO:main:Running deploy record generation
INFO:root:Writing deploy record to: .bundle.yml
INFO:main:Running AppImage creation
INFO:root:Downloading: https://github.com/AppImage/AppImageKit/releases/download/continuous/runtime-aarch64
Traceback (most recent call last):
File "/tmp/.mount_appimadVJ4kU/usr/bin/appimage-builder", line 8, in
sys.exit(main())
File "/tmp/.mount_appimadVJ4kU/usr/lib/python3.8/site-packages/appimagebuilder/main.py", line 50, in main
invoker.execute(commands)
File "/tmp/.mount_appimadVJ4kU/usr/lib/python3.8/site-packages/appimagebuilder/invoker.py", line 29, in execute
command()
File "/tmp/.mount_appimadVJ4kU/usr/lib/python3.8/site-packages/appimagebuilder/commands/create_appimage.py", line 27, in call
self.primer.prime()
File "/tmp/.mount_appimadVJ4kU/usr/lib/python3.8/site-packages/appimagebuilder/modules/prime/appimage_primer.py", line 43, in prime
self._get_appimage_kit_runtime()
File "/tmp/.mount_appimadVJ4kU/usr/lib/python3.8/site-packages/appimagebuilder/modules/prime/appimage_primer.py", line 101, in _get_appimage_kit_runtime
request.urlretrieve(url, self.carrier_path)
File "/tmp/.mount_appimadVJ4kU/usr/lib/python3.8/urllib/request.py", line 247, in urlretrieve
with contextlib.closing(urlopen(url, data)) as fp:
File "/tmp/.mount_appimadVJ4kU/usr/lib/python3.8/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/tmp/.mount_appimadVJ4kU/usr/lib/python3.8/urllib/request.py", line 531, in open
response = meth(req, response)
File "/tmp/.mount_appimadVJ4kU/usr/lib/python3.8/urllib/request.py", line 640, in http_response
response = self.parent.error(
File "/tmp/.mount_appimadVJ4kU/usr/lib/python3.8/urllib/request.py", line 569, in error
return self._call_chain(*args)
File "/tmp/.mount_appimadVJ4kU/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain
result = func(*args)
File "/tmp/.mount_appimadVJ4kU/usr/lib/python3.8/urllib/request.py", line 649, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found
Error: Process completed with exit code 1.

First of all, thank you for developing this great tool. I have successfully generate macOS and Windows clients with this tool, both of which work fine, but I encountered an error while generating the Linux version. This is part of the error while building the x86_64 version: On 'Build appimage package' stage: > INFO:root:Downloading: https://github.com/AppImageCrafters/AppRun/releases/download/v2.0.0/libapprun_hooks-Release-x86_64.so > INFO:root:Deploying libapprun_hooks.so (x86_64) to "/home/runner/work/DigiRD/DigiRD/appimage/AppDir/lib/x86_64/libapprun_hooks.so" > INFO:root:Downloading: https://github.com/AppImageCrafters/AppRun/releases/download/v2.0.0/AppRun-Release-x86_64 > INFO:main:Running desktop entry setup > INFO:root:Looking app icon at: /home/runner/work/DigiRD/DigiRD/appimage/AppDir/usr/share/icons > INFO:root:Setting AppDir: /home/runner/work/DigiRD/DigiRD/appimage/AppDir/usr/share/icons/hicolor/scalable/apps/rustdesk.svg to rustdesk.svg > WARNING:root:Unable to locate the application desktop entry: rustdesk.desktop > INFO:main:Running deploy record generation > INFO:root:Writing deploy record to: .bundle.yml > INFO:main:Running AppImage creation > INFO:root:Downloading: https://github.com/AppImage/AppImageKit/releases/download/continuous/runtime-x86_64 > Traceback (most recent call last): > File "/tmp/.mount_appimareq58w/usr/bin/appimage-builder", line 8, in <module> > sys.exit(__main__()) > File "/tmp/.mount_appimareq58w/usr/lib/python3.8/site-packages/appimagebuilder/__main__.py", line 50, in __main__ > invoker.execute(commands) > File "/tmp/.mount_appimareq58w/usr/lib/python3.8/site-packages/appimagebuilder/invoker.py", line 29, in execute > command() > File "/tmp/.mount_appimareq58w/usr/lib/python3.8/site-packages/appimagebuilder/commands/create_appimage.py", line 27, in __call__ > self.primer.prime() > File "/tmp/.mount_appimareq58w/usr/lib/python3.8/site-packages/appimagebuilder/modules/prime/appimage_primer.py", line 43, in prime > self._get_appimage_kit_runtime() > File "/tmp/.mount_appimareq58w/usr/lib/python3.8/site-packages/appimagebuilder/modules/prime/appimage_primer.py", line 101, in _get_appimage_kit_runtime > request.urlretrieve(url, self.carrier_path) > File "/tmp/.mount_appimareq58w/usr/lib/python3.8/urllib/request.py", line 247, in urlretrieve > with contextlib.closing(urlopen(url, data)) as fp: > File "/tmp/.mount_appimareq58w/usr/lib/python3.8/urllib/request.py", line 222, in urlopen > return opener.open(url, data, timeout) > File "/tmp/.mount_appimareq58w/usr/lib/python3.8/urllib/request.py", line 531, in open > response = meth(req, response) > File "/tmp/.mount_appimareq58w/usr/lib/python3.8/urllib/request.py", line 640, in http_response > response = self.parent.error( > File "/tmp/.mount_appimareq58w/usr/lib/python3.8/urllib/request.py", line 569, in error > return self._call_chain(*args) > File "/tmp/.mount_appimareq58w/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain > result = func(*args) > File "/tmp/.mount_appimareq58w/usr/lib/python3.8/urllib/request.py", line 649, in http_error_default > raise HTTPError(req.full_url, code, msg, hdrs, fp) > urllib.error.HTTPError: HTTP Error 404: Not Found > Error: Process completed with exit code 1. And this is for arch64 version: On 'Build appimage package' stage: > INFO:root:Downloading: https://github.com/AppImageCrafters/AppRun/releases/download/v2.0.0/libapprun_hooks-Release-aarch64.so > INFO:root:Deploying libapprun_hooks.so (aarch64) to "/home/runner/work/DigiRD/DigiRD/appimage/AppDir/lib/aarch64/libapprun_hooks.so" > INFO:root:Downloading: https://github.com/AppImageCrafters/AppRun/releases/download/v2.0.0/AppRun-Release-aarch64 > INFO:main:Running desktop entry setup > INFO:root:Looking app icon at: /home/runner/work/DigiRD/DigiRD/appimage/AppDir/usr/share/icons > INFO:root:Setting AppDir: /home/runner/work/DigiRD/DigiRD/appimage/AppDir/usr/share/icons/hicolor/scalable/apps/rustdesk.svg to rustdesk.svg > WARNING:root:Unable to locate the application desktop entry: rustdesk.desktop > INFO:main:Running deploy record generation > INFO:root:Writing deploy record to: .bundle.yml > INFO:main:Running AppImage creation > INFO:root:Downloading: https://github.com/AppImage/AppImageKit/releases/download/continuous/runtime-aarch64 > Traceback (most recent call last): > File "/tmp/.mount_appimadVJ4kU/usr/bin/appimage-builder", line 8, in <module> > sys.exit(__main__()) > File "/tmp/.mount_appimadVJ4kU/usr/lib/python3.8/site-packages/appimagebuilder/__main__.py", line 50, in __main__ > invoker.execute(commands) > File "/tmp/.mount_appimadVJ4kU/usr/lib/python3.8/site-packages/appimagebuilder/invoker.py", line 29, in execute > command() > File "/tmp/.mount_appimadVJ4kU/usr/lib/python3.8/site-packages/appimagebuilder/commands/create_appimage.py", line 27, in __call__ > self.primer.prime() > File "/tmp/.mount_appimadVJ4kU/usr/lib/python3.8/site-packages/appimagebuilder/modules/prime/appimage_primer.py", line 43, in prime > self._get_appimage_kit_runtime() > File "/tmp/.mount_appimadVJ4kU/usr/lib/python3.8/site-packages/appimagebuilder/modules/prime/appimage_primer.py", line 101, in _get_appimage_kit_runtime > request.urlretrieve(url, self.carrier_path) > File "/tmp/.mount_appimadVJ4kU/usr/lib/python3.8/urllib/request.py", line 247, in urlretrieve > with contextlib.closing(urlopen(url, data)) as fp: > File "/tmp/.mount_appimadVJ4kU/usr/lib/python3.8/urllib/request.py", line 222, in urlopen > return opener.open(url, data, timeout) > File "/tmp/.mount_appimadVJ4kU/usr/lib/python3.8/urllib/request.py", line 531, in open > response = meth(req, response) > File "/tmp/.mount_appimadVJ4kU/usr/lib/python3.8/urllib/request.py", line 640, in http_response > response = self.parent.error( > File "/tmp/.mount_appimadVJ4kU/usr/lib/python3.8/urllib/request.py", line 569, in error > return self._call_chain(*args) > File "/tmp/.mount_appimadVJ4kU/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain > result = func(*args) > File "/tmp/.mount_appimadVJ4kU/usr/lib/python3.8/urllib/request.py", line 649, in http_error_default > raise HTTPError(req.full_url, code, msg, hdrs, fp) > urllib.error.HTTPError: HTTP Error 404: Not Found > Error: Process completed with exit code 1.
HUANMVP commented 2025-07-23 08:46:17 +08:00 (Migrated from github.com)

AppImageKit update file name from appimagetool-x86_64.AppImage to obsolete-appimagetool-x86_64.AppImage, and AppImageBuilder-1.1.0 use old tool and runtime. I guess that the reason.

AppImageKit issue

AppImageKit update file name from **appimagetool-x86_64.AppImage** to **obsolete-appimagetool-x86_64.AppImage**, and AppImageBuilder-1.1.0 use old tool and runtime. I guess that the reason. [AppImageKit issue](https://github.com/AppImage/AppImageKit/issues/1395)
probonopd commented 2025-07-23 23:28:14 +08:00 (Migrated from github.com)

The reason is that you are using a very old and obsolete appimagetool. Please use the new one instead: https://github.com/AppImage/appimagetool/releases/tag/continuous

The reason is that you are using a very old and obsolete appimagetool. Please use the new one instead: https://github.com/AppImage/appimagetool/releases/tag/continuous
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: 3344/rdgen#109