Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] Uranium (and therefore cura) is broken with Python 3.12
@ 2023-10-21  4:22 oldlaptop
  2023-10-21 15:35 ` destructatron
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: oldlaptop @ 2023-10-21  4:22 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2183 bytes --]

New issue by oldlaptop on void-packages repository

https://github.com/void-linux/void-packages/issues/46808

Description:
### Is this a new report?

Yes

### System Info

Void 6.5.7_1 x86_64-musl AuthenticAMD notuptodate rrFFFFFF

### Package(s) Affected

Uranium-4.13.1_3 cura-4.13.1_3

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

_No response_

### Expected behaviour

cura should (presumably) launch.

### Actual behaviour

cura fails to launch with the following traceback:
```
$ cura
Traceback (most recent call last):
  File "/usr/bin/cura", line 27, in <module>
    from cura.CrashHandler import CrashHandler
  File "/usr/lib/python3.12/site-packages/cura/CrashHandler.py", line 29, in <module>
    from UM.Application import Application
  File "/usr/lib/python3.12/site-packages/UM/Application.py", line 9, in <module>
    from UM.Controller import Controller
  File "/usr/lib/python3.12/site-packages/UM/Controller.py", line 4, in <module>https://github.com/Ultimaker/Uranium/issues/765
    from UM.Scene.Scene import Scene
  File "/usr/lib/python3.12/site-packages/UM/Scene/Scene.py", line 13, in <module>
    from UM.Mesh.ReadMeshJob import ReadMeshJob  # To reload a mesh when its file was changed.
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/UM/Mesh/ReadMeshJob.py", line 8, in <module>
    from UM.FileHandler.ReadFileJob import ReadFileJob
  File "/usr/lib/python3.12/site-packages/UM/FileHandler/ReadFileJob.py", line 5, in <module>
    from UM.FileHandler.FileHandler import FileHandler
  File "/usr/lib/python3.12/site-packages/UM/FileHandler/FileHandler.py", line 12, in <module>
    from UM.PluginRegistry import PluginRegistry
  File "/usr/lib/python3.12/site-packages/UM/PluginRegistry.py", line 4, in <module>
    import imp
ModuleNotFoundError: No module named 'imp'
```

The `imp` module was [removed in Python 3.12](https://docs.python.org/3.12/whatsnew/3.12.html#imp). It doesn't appear upstream has [fixed this yet](https://github.com/Ultimaker/Uranium/issues/765).

### Steps to reproduce

Install cura and attempt to launch it.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-11-03 21:59 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-21  4:22 [ISSUE] Uranium (and therefore cura) is broken with Python 3.12 oldlaptop
2023-10-21 15:35 ` destructatron
2023-10-21 16:09 ` oldlaptop
2023-10-27 11:57 ` Vinfall
2023-11-03 16:22 ` zlice
2023-11-03 17:16 ` zlice
2023-11-03 17:22 ` zlice
2023-11-03 21:59 ` zlice

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).