review-tools.updates-available crashes with python exception
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
review-tools |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
$ review-
Traceback (most recent call last):
File "/snap/
import reviewtools.
File "/snap/
from reviewtools.common import (
File "/snap/
import magic
ModuleNotFoundE
We may need to set PYTHONPATH directly since this package is already staged (python3-magic)
ProblemType: Bug
DistroRelease: Ubuntu 23.04
ProcVersionSign
Uname: Linux 6.2.0-20-generic x86_64
NonfreeKernelMo
ApportVersion: 2.26.1-0ubuntu2
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Wed May 31 16:02:23 2023
InstallationDate: Installed on 2021-08-03 (666 days ago)
InstallationMedia: Ubuntu 21.10 "Impish Indri" - Alpha amd64 (20210802)
Snap: review-tools 0.48+20230530-
SnapChanges:
ID Status Spawn Ready Summary
2711 Done 2023-05-
2717 Done 2023-05-
SnapConnections:
Interface Plug Slot Notes
home review-tools:home :home manual
mount-observe review-
network review-
SnapSource: review-tools
UpgradeStatus: Upgraded to lunar on 2023-01-27 (123 days ago)
Related branches
- Emilia Torino: Approve
- Paulo Flabiano Smorigo: Pending requested
-
Diff: 12 lines (+1/-0)1 file modifiedsnapcraft.yaml (+1/-0)
Changed in review-tools: | |
status: | New → Fix Committed |
Manually specifying PYTHONPATH to point within the snap appears to get it working:
$ PYTHONPATH= /snap/review- tools/current/ usr/lib/ python3/ dist-packages/ review- tools.updates- available
ERROR: Must specify --snap or --store-db