[GH-ISSUE #1975] Installation failed: 'setCancelled' is not a function on line number: 279 #860

Closed
opened 2026-10-13 20:30:04 +00:00 by bsakaguchi · 1 comment
Owner

Originally created by @Antiarchitect on GitHub (Nov 7, 2025).
Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/1975

Describe the bug
Installation of AmneziaVPN_4.8.11.1_linux_x64.tar.zip has failed but 4.8.10 was successfull though.

To Reproduce
Steps to reproduce the behavior:

  1. Turn off previous version of Amnezia Client
  2. Run ./AmneziaVPN_Linux_Installer.bin -platform xcb
  3. Press OK in order to agree with old installation removal
  4. Authenticate via console
  5. See error below:
Exception while loading the component script ":/metadata/installer-config/controlscript_js.js": TypeError: Property 'setCancelled' of object QInstaller::PackageManagerCore(0x155431b0) is not a function on line number: 279

Expected behavior
Installation successfull

Log files
Attach log files to help explain your problem.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

cat /etc/os-release
NAME="Fedora Linux"
VERSION="42 (Adams)"
RELEASE_TYPE=stable
ID=fedora
VERSION_ID=42
VERSION_CODENAME=""
PLATFORM_ID="platform:f42"
PRETTY_NAME="Fedora Linux 42 (Adams)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:42"
DEFAULT_HOSTNAME="fedora"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f42/"
SUPPORT_URL="https://ask.fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=42
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=42
SUPPORT_END=2026-05-13
Linux somehost 6.17.7-200.fc42.x86_64 #1 SMP PREEMPT_DYNAMIC Sun Nov  2 17:43:34 UTC 2025 x86_64 GNU/Linux

Additional context
Wayland + sway 1.11

Originally created by @Antiarchitect on GitHub (Nov 7, 2025). Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/1975 **Describe the bug** Installation of AmneziaVPN_4.8.11.1_linux_x64.tar.zip has failed but 4.8.10 was successfull though. **To Reproduce** Steps to reproduce the behavior: 1. Turn off previous version of Amnezia Client 2. Run ./AmneziaVPN_Linux_Installer.bin -platform xcb 3. Press OK in order to agree with old installation removal 4. Authenticate via console 5. See error below: ``` Exception while loading the component script ":/metadata/installer-config/controlscript_js.js": TypeError: Property 'setCancelled' of object QInstaller::PackageManagerCore(0x155431b0) is not a function on line number: 279 ``` **Expected behavior** Installation successfull **Log files** Attach log files to help explain your problem. **Screenshots** If applicable, add screenshots to help explain your problem. **Desktop (please complete the following information):** ``` cat /etc/os-release NAME="Fedora Linux" VERSION="42 (Adams)" RELEASE_TYPE=stable ID=fedora VERSION_ID=42 VERSION_CODENAME="" PLATFORM_ID="platform:f42" PRETTY_NAME="Fedora Linux 42 (Adams)" ANSI_COLOR="0;38;2;60;110;180" LOGO=fedora-logo-icon CPE_NAME="cpe:/o:fedoraproject:fedora:42" DEFAULT_HOSTNAME="fedora" HOME_URL="https://fedoraproject.org/" DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f42/" SUPPORT_URL="https://ask.fedoraproject.org/" BUG_REPORT_URL="https://bugzilla.redhat.com/" REDHAT_BUGZILLA_PRODUCT="Fedora" REDHAT_BUGZILLA_PRODUCT_VERSION=42 REDHAT_SUPPORT_PRODUCT="Fedora" REDHAT_SUPPORT_PRODUCT_VERSION=42 SUPPORT_END=2026-05-13 ``` ``` Linux somehost 6.17.7-200.fc42.x86_64 #1 SMP PREEMPT_DYNAMIC Sun Nov 2 17:43:34 UTC 2025 x86_64 GNU/Linux ``` **Additional context** Wayland + sway 1.11
Author
Owner

@Antiarchitect commented on GitHub (Dec 10, 2025):

Closing as I've found a way to properly run the installer.

sudo QT_QPA_PLATFORM=xcb ./AmneziaVPN_Linux_Installer.bin

A bit of a warning -platform xcb flag causes the original error of this issue while QT_QPA_PLATFORM=xcb solves the problem.

<!-- gh-comment-id:3639353777 --> @Antiarchitect commented on GitHub (Dec 10, 2025): Closing as I've found a way to properly run the installer. ``` sudo QT_QPA_PLATFORM=xcb ./AmneziaVPN_Linux_Installer.bin ``` A bit of a warning `-platform xcb` flag causes the original error of this issue while `QT_QPA_PLATFORM=xcb` solves the problem.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amnezia-client#860
No description provided.