GUI fails to launch due to Python 3.10 changes

Bug #1983208 reported by lazytownfan
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
torbrowser-launcher (Ubuntu)
New
Undecided
Unassigned

Bug Description

1) Ubuntu release: 22.04 LTS

2) Package version: 0.3.3-6ubuntu1

3) I expected `torbrowser-launcher` to open normally.

4) `torbrowser-launcher` fails to launch.

When I run `$ torbrowser-launcher` in a terminal emulator, I get the following in stdout:

```
Tor Browser Launcher
By Micah Lee, licensed under MIT
version 0.3.3
https://github.com/micahflee/torbrowser-launcher
Downloading Tor Browser for the first time.
Downloading https://aus1.torproject.org/torbrowser/update_3/release/Linux_x86_64-gcc3/x/en-US
Traceback (most recent call last):
  File "/usr/bin/torbrowser-launcher", line 30, in <module>
    torbrowser_launcher.main()
  File "/usr/lib/python3/dist-packages/torbrowser_launcher/__init__.py", line 98, in main
    gui.move(
TypeError: arguments did not match any overloaded call:
  move(self, QPoint): argument 1 has unexpected type 'float'
  move(self, int, int): argument 1 has unexpected type 'float'
```

Apparently, a GUI component expects an integer but instead receives a float. This causes Tor Browser to fail to launch. Apparently this has been brought about due to a change in Python 3.10.

This has been known since late April 2022 on [Ask Ubuntu](https://askubuntu.com/questions/1404606/tor-browser-not-launching-on-ubuntu-22-04) and early March in upstream [GitHub](https://github.com/micahflee/torbrowser-launcher/issues/628). However, since it seems upstream GitHub doesn't directly manage the Ubuntu packaging (correct me if I'm wrong), this issue has persisted.
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: pop:GNOME
DistroRelease: Pop!_OS 22.04
Package: torbrowser-launcher 0.3.3-6ubuntu1 [origin: Ubuntu]
PackageArchitecture: amd64
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
Tags: jammy third-party-packages
Uname: Linux 5.18.10-76051810-generic x86_64
UnreportableReason: This does not seem to be an official Pop!_OS package. Please retry after updating the indexes of available packages, if that does not work then remove related third party packages and try again.
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm lpadmin sudo
_MarkForUpload: True

Revision history for this message
lotuspsychje (lotuspsychje) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command only once, as it will automatically gather debugging information, in a terminal:
apport-collect 1983208

When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

Revision history for this message
lazytownfan (lazytownfan) wrote : Dependencies.txt

apport information

tags: added: apport-collected jammy third-party-packages
description: updated
Revision history for this message
lazytownfan (lazytownfan) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
lazytownfan (lazytownfan) wrote :

I also found another reference to this bug in a podcast. During the times of 2:15-3:27, Michael Bazzell of IntelTechniques and the Privacy, Security, and OSINT Show podcast mentions this bug in Episode 269 of his podcast: https://inteltechniques.com/blog/2022/07/08/the-privacy-security-osint-show-episode-269/

This episode was recorded on July 8, 2022 and discussed in the context of an Ubuntu VM.

Please let me know if there's anything else I can do to help the process.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.