Skip to content

Amazon Q AppImage errors: undefined symbols and file watcher failures #9533

Closed
@evgenijkostin

Description

@evgenijkostin

Describe the bug

When launching Amazon Q AppImage on Ubuntu Linux 24.04, multiple errors appear:

  1. GVFS module errors:
    /usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so: undefined symbol: g_task_set_static_name
    Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so

  2. File watcher errors:
    ERROR fig_desktop::file_watcher: 74: failed to watch midway dir err=No such file or directory (os error 2) about ["/home/DN120776KEM1/.midway"]

  3. Authentication errors:
    ERROR fig_desktop::protocol::spec: 123: Failed to load auth err=unknown variant Pkce, expected DeviceCode or PKCE at line 1 column 636

These errors appear consistently on startup, although the application seems to function afterward.

Regression Issue

  • Select this option if this issue appears to be a regression.

Expected Behavior

Amazon Q AppImage should start without these errors and properly load all required modules and dependencies.

Current Behavior

Multiple errors related to GVFS modules, file watching, and authentication appear during startup. The application starts but with
these error messages in the console.

Reproduction Steps

  1. Install Amazon Q AppImage without root privileges:

bash
mkdir -p ~/Install/amazon-q
cd ~/Install/amazon-q
curl --proto '=https' --tlsv1.2 -sSf https://desktop-release.q.us-east-1.amazonaws.com/latest/amazon-q.appimage -o amazon-q.appimage
chmod +x amazon-q.appimage

  1. Launch the AppImage:
    bash
    ./amazon-q.appimage

  2. Observe the errors in the console output

Possible Solution

The GVFS errors suggest missing or incompatible libraries. Installing libfuse2 might help:
bash
sudo apt-get install libfuse2

Additional Information/Context

• Operating System: Ubuntu Linux 24.04
• Installation method: Non-root user installation using AppImage
• Update method: Using a custom script to fetch the latest version

In our organization, I don't have root privileges and need to request administrator assistance for any sudo commands. To minimize
these requests, I only asked once for the installation of libfuse2 (sudo apt-get install libfuse2), and then set up a non-root
installation method for Amazon Q using AppImage. This allows me to update the application independently without requiring
administrator intervention for each update.

Despite these errors, the application generally works, but these messages appear consistently on every launch.

The errors about undefined symbols suggest a potential mismatch between the GVFS libraries bundled with the AppImage and those on
the system. The midway directory error might be related to AWS authentication mechanisms.

CLI version used

Amazon Q AppImage (latest version)

Environment details (OS name and version, etc.)

Ubuntu Linux 24.04 Non-root user in corporate environment Using AppImage installation method

Metadata

Metadata

Labels

bugThis issue is a bug.p3This is a minor priority issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions