Skip to content

Wrong parsing of an application name containing "." (a dot) leads to a non-working AppImage #289

Closed
@Fr3nchK1ss

Description

@Fr3nchK1ss

Steps to reproduce:

  1. Create an AppDir containing usr/bin/my_application_2.0_linux64 and usr/share/applications/my_application.desktop
    => my_application_2.0_linux64 is actually the name of the executable.

  2. Run the following command line in a shell:
    ./linuxdeployqt-continuous-x86_64.AppImage AppDir/usr/share/applications/my_application.desktop -appimage -bundle-non-qt-libs -verbose=2

  • You will notice that the AppDir was filled properly

  • The AppImage was created without error

  • But AppDir/AppRun is a symlink to AppDir/bin/my_application2

> ls -la AppDir
21 May  7 23:09 AppRun -> usr/bin/my_application2

that is to say the application name was truncated at the dot (parsing error). Trying to run the AppImage yields the following message :
execv error: No such file or directory

Work around

Rename the application binary file without any dot, for example my_application_2_linux64

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions