-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inkcut does not start on Kubuntu 20.04 LTS #309
Comments
I had similar issues on RPI 4 8GB with latest Ubuntu 64 bit desktop and with latest Raspberry Pi 32 bit OS. I had this working on a headless Pi 3 B with Raspbian (created about a year ago) it still works. Something has changed. |
Yes! But it must not be only a matter of inkcut. I assume it has something to do with pathes and python versions. The missing file (sip) is there in different places and I think inkcut does not find the right one. But I am not python and QT expert enough to solve the issue myself. |
I tried manually installing python 3.9 buy i still couldn't get qtconsole installed without errors. |
If I try to import in python3 console the result is:
So sip can be imported but not from PyQt5. Any idea? |
I think I figured this out. Fresh install of Ubuntu on RPI4. The install process that worked for me was: sudo apt update I also added the .local/bin to the path so the inkcut command would work: (note use your username instead of jrp) |
Update: Didn't work on Raspberry Pi OS. Didn't work on Ubuntu 20.10. Did work on Ubuntu 21.04. Unfortunately, 21.04 uses Wayland and that didn't work with the Raspberry Pi Element 14 7-inch touchscreen. |
Tried solution on Ubuntu 20.04. It doesn't work. |
Same problem on Debian 10. |
Hi, same problem on Ubuntu 20.04 and same workaround as explained by @veego. Thanks! |
Unfortunatly it does not work here:
And the disadvantage of changing the pyqt5 lib to a lower version is, that some other modules will not work anymore. e.g. freecad module draft stops by not finding the right qt-version. |
Has this been fixed... trying to install on raspbian (latest) running on RPi 4 with 2GB. Have tried all the potential solutions here... but with no success pi@piBCNC:~/Downloads/inkcut-2.1.3 $ inkcut 2021-06-17 04:01:15,224 | CRITICAL | inkcut | Sorry, an error prevented Inkcut from startingThis is either a bug or a required library may be missing on your system. As always you can request help on the forums at https://inkcut.org. First try to restart the application. If the error persists you can try clearing the saved settings in /home/pi/.config/inkcut and restart the application again. If that still doesn't work please report a new issue at https://github.com/codelv/inkcut with the following error: plugin = manifest.factory() File "/home/pi/.local/lib/python3.7/site-packages/inkcut/preview/manifest.enaml", line 24, in plugin_factory from .plugin import PreviewPlugin File "/home/pi/.local/lib/python3.7/site-packages/inkcut/preview/plugin.py", line 12, in import pyqtgraph as pg File "/home/pi/.local/lib/python3.7/site-packages/pyqtgraph/__init__.py", line 13, in from .Qt import QtGui, mkQApp File "/home/pi/.local/lib/python3.7/site-packages/pyqtgraph/Qt.py", line 137, in from PyQt5 import QtGui, QtCore, QtWidgets, sip, uic ImportError: cannot import name 'sip' from 'PyQt5' (/usr/lib/python3/dist-packages/PyQt5/__init__.py) and include the logs from /home/pi/.config/inkcut/logs. Traceback (most recent call last): |
I found a solution to the problem! You need to edit the file: ~/.local/lib/python3.7/site-packages/pyqtgraph/Qt.py and install package sip if needed I don't know English well I write through a translator |
Same issue here on Mint 20.2 XFCE Using the older version of Qt works, but not sure if it'll affect anything else yet. |
|
Good Morning,
Inkcut does not start after updating to Kubuntu 20.04 LTS.
Error:
Looks like the same issue as in ##305
crash.txt is empty,
Here is inkcut.txt from the logs:
Any ideas to get it working?
Regards Stefan
The text was updated successfully, but these errors were encountered: