aws / aws/amazon-q-developer-cli

bug: Amazon Q AppImage errors: undefined symbols and file watcher failures

Open
#2,009 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
2k
Forks
439
PR merge metrics
No merged PRs in 30d

Description

### Checks

- [x] I have searched [github.com/aws/amazon-q-developer-cli/issues](https://github.com/aws/amazon-q-developer-cli/issues?q=) and there are no duplicates of my issue

### Operating system

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

### Expected behaviour

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

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

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"]

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.

### Actual behaviour

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.

### Steps to reproduce

Reproduction Steps
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

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

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)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.