[jammy] spyder does not start because of kite install widget
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
spyder (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
On clean install, python3-spyder crashes on startup. This is caused by a float variable which should be an integer in file /usr/lib/
There are multiple images created in the script, and all of them are scaled. The scaling factors are floats, thus the size parameters are floats, and the pyqt backend crashes from this.
Example from line 56:
image_height = image.height() * 0.5
should be changed to
image_height = int(image.height() * 0.5)
This has to be done in lines 56, 57, 142, 143, 243, 244, then we're good to go and the ide starts up.
I would have commited a fix to a file, if the code was stored in a common repository, but I'm not sure where the plugin source code originates from as it is not part of the regular spyder repo at github (https:/
Nonetheless, I hope you guys can patch it as necessary.
Yours sincerely,
Gereon
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: python3-spyder 4.2.1+dfsg1-3 [modified: usr/lib/
ProcVersionSign
Uname: Linux 5.15.0-27-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu82
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Sun May 8 20:41:01 2022
InstallationDate: Installed on 2022-05-08 (0 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
PackageArchitec
SourcePackage: spyder
UpgradeStatus: No upgrade log present (probably fresh install)
summary: |
- spyder does not start in jelly because of kite install widget + spyder does not start in jammy because of kite install widget |
I confirm this bug exists, the workaround is pretty easy you have to (int) the returned values in several files, patch following soon... hint from: https:/ /github. com/spyder- ide/spyder/ pull/16574