Bug 381555 - AppRun script missing quotes
Summary: AppRun script missing quotes
Status: CONFIRMED
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 5.2.0
Platform: Appimage Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-23 01:34 UTC by programmerjake
Modified: 2017-11-20 17:10 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description programmerjake 2017-06-23 01:34:09 UTC
The AppRun script in the root directory of the AppImage is missing double quotes in several places, one of the symptoms is if you have a file with spaces in the file name and try to open the file by running the AppImage with the file on the command line, then it splits the file name before trying to open it.

Example:
touch "/tmp/test file.txt"
./KDevelop-5.1.1-x86_64.AppImage "/tmp/test file.txt"

opens the nonexistent files "/tmp/test" and "file.txt"
Comment 1 Kevin Funk 2017-06-23 06:35:25 UTC
Confirmed.

@Simon: Is this is a bug in `AppImageKit/AppImageAssistant.AppDir/package`?
Comment 2 Francis Herne 2017-11-20 01:35:09 UTC
Still a problem with the 5.2.0 AppImage.
Comment 3 probono 2017-11-20 07:05:16 UTC
@Kevin: `AppImageKit/AppImageAssistant.AppDir/package` is not maintained anymore since we have switched to a completely different codebase since. Please check out the appimagetool and linuxdeployqt.
Comment 4 Sven Brauch 2017-11-20 12:17:21 UTC
Yeah, I'll have to do that eventually. I fixed the version of the AppImage repo a while ago since it did really weird things on build in newer versions (e.g. download source code of system libraries, compile them, and copy them over the system versions in /usr/lib). I'll happily check out the new code if this is gone.
Comment 5 probono 2017-11-20 17:10:55 UTC
Looks like you have ran into weird issues, please report such things at https://github.com/AppImage/AppImageKit/issues if you can. Our code should not do this. In any case, please have a look at https://github.com/probonopd/linuxdeployqt, too. By the way, the AppImage developers are at #AppImage on irc.freenode.net.