You are not logged in.

#1 2018-07-19 17:15:07

FoxKyong
Member
Registered: 2017-03-13
Posts: 3

[SOLVED] Cura can't run after upgrade to 3.4.1

After upgrading Cura to 3.4.1 it can't run. I got this error:

ImportError: cannot import name 'Application'

Original exception was:
Traceback (most recent call last):
  File "/usr/bin/cura", line 131, in <module>
    import Arcus #@UnusedImport
RuntimeError: the sip module implements API v12.0 to v12.4 but the Arcus module requires API v12.5

I got some error with missing sip after installing 3.3.1 which I solved by installing sip with pip. Now it looks like it wants newer API from sip but I have the latest sip installed. So I don't know what is the problem now. I have sip 4.19.8 and PyQt5-sip 4.19.12 which should be the latest available versions.


Solution:
Package 'python-sip' is also needed for run the app (not working with sip installed via pip). It is missing as a dependency and already reported as a bug so it should be installed automatically soon and now it is just needed to install the package 'python-sip' manually.

Last edited by FoxKyong (2018-07-19 20:54:32)

Offline

#2 2018-07-19 17:18:50

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] Cura can't run after upgrade to 3.4.1

Don't mix packages installed by pacman and pip: that is a partial upgrade and is unsupported: https://wiki.archlinux.org/index.php/Sy … nsupported

Paste the full output of `pacman -Syu`.



Moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2018-07-19 20:19:27

FoxKyong
Member
Registered: 2017-03-13
Posts: 3

Re: [SOLVED] Cura can't run after upgrade to 3.4.1

There is nothing important when running 'pacman -Syu'. It just upgraded normally and it says that there is nothing to do. I installed sip with pip because this dependency is missing for Cura package. There is only 'python-sip-pyqt5" as dependency but not 'python-sip' and since 'python-sip' is older than I installed it with pip to have the latest version.

I just tried uninstall pip version of sip and install 'python-sip' and it is working. So thank you for pointing me to try it from repository. So the problem is that it is missing as dependency for Cura package. Should I create a bug report for it?

The package is:
https://www.archlinux.org/packages/comm … 6_64/cura/

And the missing dependencies there is 'python-sip' without which Cura won't start complaining about missing sip.

Last edited by FoxKyong (2018-07-19 20:20:36)

Offline

#4 2018-07-19 20:20:37

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] Cura can't run after upgrade to 3.4.1

Yes, if the package won't run without that dependency, it is a bug.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB