This forum has been archived. All content is frozen. Please use KDE Discuss instead.

python3-sip is missing in usb-creator-kde dependances

Tags: None
(comma "," separated)
lefebvre
Registered Member
Posts
3
Karma
0
aegir@aegir-system:~$ usb-creator-kde
Traceback (most recent call last):
File "/usr/bin/usb-creator-kde", line 21, in <module>
import sip
ModuleNotFoundError: No module named 'sip'
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 153, in apport_excepthook
with os.fdopen(os.open(pr_filename,
FileNotFoundError: [Errno 2] No such file or directory: '/var/crash/_usr_bin_usb-creator-kde.1000.crash'

Original exception was:
Traceback (most recent call last):
File "/usr/bin/usb-creator-kde", line 21, in <module>
import sip
ModuleNotFoundError: No module named 'sip'



aegir@aegir-system:~$ cat /etc/lsb-release
DISTRIB_ID=neon
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="KDE neon User - Plasma 25th Anniversary Edition"
aegir@aegir-system:~$


Fixed with manually installed python3-sip
User avatar
claydoh
Registered Member
Posts
1170
Karma
9
OS
Since this is a Kubuntu/Ubuntu package, including its deps, this is happening due to the package not having an explicit dependency on python3-sip, as it is preinstalled on Kubuntu, and this sip package is a dependency of stock Kubuntu things things not installed on a standard Plasma or Neon.
Probably something related to Ubuntu's apport, and/or their Software Sources tool.

tl;dr this is sort of a very minor Ubuntu package 'bug' , but only from the perspective of a non-Ubuntu/Kubuntu user.
So there is nothing Neon can do to 'fix' this, and is unlikely to be "fixed' in Ubuntu, as is is not a bug, from their standpoint.


claydoh, proud to be a member of KDE forums since 2008-Oct, and KDE user since 2001
wolftune
Registered Member
Posts
41
Karma
0
It would be helpful if the error mentioned "python3-sip" and not just "sip"

I know there's no way to easily manage this issue within the program since it has more to do with the packaging names. So, I don't have a solution, just noting another layer of the problem.

Code: Select all
$ usb-creator-kde
Traceback (most recent call last):
  File "/usr/bin/usb-creator-kde", line 21, in <module>
    import sip
ModuleNotFoundError: No module named 'sip'
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 153, in apport_excepthook
    with os.fdopen(os.open(pr_filename,
FileNotFoundError: [Errno 2] No such file or directory: '/var/crash/_usr_bin_usb-creator-kde.1000.crash'

Original exception was:
Traceback (most recent call last):
  File "/usr/bin/usb-creator-kde", line 21, in <module>
    import sip
ModuleNotFoundError: No module named 'sip'


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], lockheed, mesutakcan, mickae, Sogou [Bot]