deb2appimage
deb2appimage copied to clipboard
"Binary file not found at binarypath in json file"
I'm trying to make a dolphin file manager appimage. Here's my json:
{
"buildinfo": [
{
"prerun": [
"curl -sL http://archive.ubuntu.com/ubuntu/pool/universe/d/dolphin/dolphin_21.12.3-0ubuntu1_amd64.deb -o ~/.cache/dolphin_21.12.3-0ubuntu1_amd64.deb"
],
"name": "dolphin",
"version": "linux",
"deps": "baloo-kf5,kinit,kio,libc6,libdolphinvcs5,libgcc-s1,libkf5activities5,libkf5baloo5,libkf5baloowidgets5,libkf5bookmarks5,libkf5codecs5,libkf5completion5,libkf5configcore5,libkf5configgui5,libkf5configwidgets5,libkf5coreaddons5,libkf5crash5,libkf5dbusaddons5,libkf5filemetadata3,libkf5i18n5,libkf5iconthemes5,libkf5itemviews5,libkf5jobwidgets5,libkf5kcmutils5,libkf5kiocore5,libkf5kiofilewidgets5,libkf5kiogui5,libkf5kiowidgets5,libkf5newstuff5,libkf5notifications5,libkf5parts5,libkf5service-bin,libkf5service5,libkf5solid5,libkf5textwidgets5,libkf5widgetsaddons5,libkf5windowsystem5,libkf5xmlgui5,libkuserfeedbackcore1,libkuserfeedbackwidgets1,libpackagekitqt5-1,libphonon4qt5-4,libqt5core5a,libqt5dbus5,libqt5gui5,libqt5widgets5,libqt5xml5,libstdc++6,phonon4qt5,ffmpegthumbs,kdegraphics-thumbnailers,kimageformat-plugins,kio-extras,dolphin-plugins",
"repoarch": "amd64",
"distrorepo": "Ubuntu",
"repoversion": "jammy",
"binarypath": "/usr/bin/dolphin",
"desktoppath": "/usr/share/applications/org.kde.dolphin.desktop",
"iconpath": null,
"usewrapper": "true",
"postrun": [
null
]
}
],
"apprunconf": [
{
"setpath": "true",
"setlibpath": "true",
"setpythonpath": "false",
"setpythonhome": "false",
"setpythondontwritebytecode": "false",
"setxdgdatadirs": "false",
"setperllib": "false",
"setgsettingsschemadir": "false",
"setqtpluginpath": "false",
"exec": "/usr/bin/dolphin.wrapper"
}
],
"authors": [
{
"type": "Author",
"author": "parsecgaming",
"url": "https://parsecgaming.com"
},
{
"type": "AppImage Maintainer",
"author": "E5ten",
"url": "https://github.com/E5ten"
}
]
}
And here's my debug output around the point of error:
...
+ echo 'Preparing AppImage AppDir...'
Preparing AppImage AppDir...
+ prepareappdir
++ jq -r '.buildinfo[0].name' /home/haruka/.cache/deb2appimage/build.json
+ APP_NAME=dolphin
++ jq -r '.buildinfo[0].binarypath' /home/haruka/.cache/deb2appimage/build.json
+ BINARY_PATH=/./usr/bin/dolphin
++ jq -r '.buildinfo[0].desktoppath' /home/haruka/.cache/deb2appimage/build.json
+ DESKTOP_PATH=/usr/share/applications/org.kde.dolphin.desktop
++ jq -r '.buildinfo[0].iconpath' /home/haruka/.cache/deb2appimage/build.json
+ ICON_PATH=null
++ jq -r '.buildinfo[0].usewrapper' /home/haruka/.cache/deb2appimage/build.json
+ USE_WRAPPER=true
+ '[' dolphin = null ']'
+ '[' '!' -f /home/haruka/.cache/deb2appimage/AppDir/usr/bin/dolphin ']'
+ d2aexit 2 'Binary file not found at binarypath in json file'
+ case $1 in
+ '[' '!' '' = TRUE ']'
+ echo 'Input Error!'
Input Error!
+ echo 'Binary file not found at binarypath in json file'
Binary file not found at binarypath in json file
+ '[' -n '' ']'
+ echo 'Exit code 2'
Exit code 2
+ rm -rf /home/haruka/.cache/deb2appimage/AppDir /home/haruka/.cache/deb2appimage/build.json /home/haruka/.cache/deb2appimage/debs /home/haruka/.cache/deb2appimage/other
+ exit 2
I'm not sure what the 'proper' path is supposed to be, though!
It's also very frustrating that the .cache state isn't preserved, because after trying a few different changes, ubuntu appears to have throttled me. I can't download the whole list of dependencies anymore; I get a generic downloading error from curl. It'd be nice to save and reuse files from .cache even if only during --debug.