Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#59323 - [cura] TypeError: unable to convert a C++ 'QVariantMap' instance to a Python object

Attached to Project: Community Packages
Opened by M. Greyson Christoforo (greyltc) - Friday, 13 July 2018, 09:38 GMT
Last edited by Antonio Rojas (arojas) - Friday, 13 July 2018, 17:19 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Cura won't start. The GUI shows the following error:
TypeError: unable to convert a C++ 'QVariantMap' instance to a Python object

Additional info:
* package version: 3.3.1
* Qt version 5.8.0
* PyQT version: 5.8


Steps to reproduce:
Try to run cura

Logs:
Thread 0x00007febaaffd700 (most recent call first):
File "/usr/lib/python3.6/site-packages/UM/Backend/Backend.py", line 155 in _storeStderrToLogThread
File "/usr/lib/python3.6/threading.py", line 864 in run
File "/usr/lib/python3.6/threading.py", line 916 in _bootstrap_inner
File "/usr/lib/python3.6/threading.py", line 884 in _bootstrap

Thread 0x00007febab7fe700 (most recent call first):
File "/usr/lib/python3.6/site-packages/UM/Backend/Backend.py", line 147 in _storeOutputToLogThread
File "/usr/lib/python3.6/threading.py", line 864 in run
File "/usr/lib/python3.6/threading.py", line 916 in _bootstrap_inner
File "/usr/lib/python3.6/threading.py", line 884 in _bootstrap

Thread 0x00007febc4d24700 (most recent call first):
File "/usr/lib/cura/plugins/USBPrinting/USBPrinterOutputDeviceManager.py", line 66 in _updateThread
File "/usr/lib/python3.6/threading.py", line 864 in run
File "/usr/lib/python3.6/threading.py", line 916 in _bootstrap_inner
File "/usr/lib/python3.6/threading.py", line 884 in _bootstrap

Thread 0x00007febc572b700 (most recent call first):
File "/usr/lib/cura/plugins/RemovableDriveOutputDevice/RemovableDrivePlugin.py", line 61 in _updateThread
File "/usr/lib/python3.6/threading.py", line 864 in run
File "/usr/lib/python3.6/threading.py", line 916 in _bootstrap_inner
File "/usr/lib/python3.6/threading.py", line 884 in _bootstrap

Thread 0x00007febc6ffd700 (most recent call first):
File "/usr/lib/python3.6/threading.py", line 295 in wait
File "/usr/lib/python3.6/threading.py", line 426 in acquire
File "/usr/lib/python3.6/site-packages/UM/JobQueue.py", line 86 in _nextJob
File "/usr/lib/python3.6/site-packages/UM/JobQueue.py", line 116 in run
File "/usr/lib/python3.6/threading.py", line 916 in _bootstrap_inner
File "/usr/lib/python3.6/threading.py", line 884 in _bootstrap

Thread 0x00007febc77fe700 (most recent call first):
File "/usr/lib/python3.6/threading.py", line 295 in wait
File "/usr/lib/python3.6/threading.py", line 426 in acquire
File "/usr/lib/python3.6/site-packages/UM/JobQueue.py", line 86 in _nextJob
File "/usr/lib/python3.6/site-packages/UM/JobQueue.py", line 116 in run
File "/usr/lib/python3.6/threading.py", line 916 in _bootstrap_inner
File "/usr/lib/python3.6/threading.py", line 884 in _bootstrap

Thread 0x00007febc7fff700 (most recent call first):
File "/usr/lib/python3.6/threading.py", line 295 in wait
File "/usr/lib/python3.6/threading.py", line 426 in acquire
File "/usr/lib/python3.6/site-packages/UM/JobQueue.py", line 86 in _nextJob
File "/usr/lib/python3.6/site-packages/UM/JobQueue.py", line 116 in run
File "/usr/lib/python3.6/threading.py", line 916 in _bootstrap_inner
File "/usr/lib/python3.6/threading.py", line 884 in _bootstrap

Thread 0x00007febd4a58700 (most recent call first):
File "/usr/lib/python3.6/threading.py", line 295 in wait
File "/usr/lib/python3.6/threading.py", line 426 in acquire
File "/usr/lib/python3.6/site-packages/UM/JobQueue.py", line 86 in _nextJob
File "/usr/lib/python3.6/site-packages/UM/JobQueue.py", line 116 in run
File "/usr/lib/python3.6/threading.py", line 916 in _bootstrap_inner
File "/usr/lib/python3.6/threading.py", line 884 in _bootstrap

Thread 0x00007febd5259700 (most recent call first):
File "/usr/lib/python3.6/threading.py", line 295 in wait
File "/usr/lib/python3.6/threading.py", line 426 in acquire
File "/usr/lib/python3.6/site-packages/UM/JobQueue.py", line 86 in _nextJob
File "/usr/lib/python3.6/site-packages/UM/JobQueue.py", line 116 in run
File "/usr/lib/python3.6/threading.py", line 916 in _bootstrap_inner
File "/usr/lib/python3.6/threading.py", line 884 in _bootstrap

Thread 0x00007febd5a5a700 (most recent call first):
File "/usr/lib/python3.6/threading.py", line 295 in wait
File "/usr/lib/python3.6/threading.py", line 426 in acquire
File "/usr/lib/python3.6/site-packages/UM/JobQueue.py", line 86 in _nextJob
File "/usr/lib/python3.6/site-packages/UM/JobQueue.py", line 116 in run
File "/usr/lib/python3.6/threading.py", line 916 in _bootstrap_inner
File "/usr/lib/python3.6/threading.py", line 884 in _bootstrap

Thread 0x00007febd625b700 (most recent call first):
File "/usr/lib/python3.6/socket.py", line 713 in create_connection
File "/usr/lib/python3.6/http/client.py", line 936 in connect
File "/usr/lib/python3.6/http/client.py", line 964 in send
File "/usr/lib/python3.6/http/client.py", line 1026 in _send_output
File "/usr/lib/python3.6/http/client.py", line 1234 in endheaders
File "/usr/lib/python3.6/http/client.py", line 1285 in _send_request
File "/usr/lib/python3.6/http/client.py", line 1239 in request
File "/usr/lib/python3.6/urllib/request.py", line 1318 in do_open
File "/usr/lib/python3.6/urllib/request.py", line 1346 in http_open
File "/usr/lib/python3.6/urllib/request.py", line 504 in _call_chain
File "/usr/lib/python3.6/urllib/request.py", line 544 in _open
File "/usr/lib/python3.6/urllib/request.py", line 526 in open
File "/usr/lib/python3.6/urllib/request.py", line 223 in urlopen
File "/usr/lib/cura/plugins/FirmwareUpdateChecker/FirmwareUpdateCheckerJob.py", line 36 in run
File "/usr/lib/python3.6/site-packages/UM/JobQueue.py", line 125 in run
File "/usr/lib/python3.6/threading.py", line 916 in _bootstrap_inner
File "/usr/lib/python3.6/threading.py", line 884 in _bootstrap

Thread 0x00007febd6a5c700 (most recent call first):
File "/usr/lib/python3.6/threading.py", line 295 in wait
File "/usr/lib/python3.6/threading.py", line 426 in acquire
File "/usr/lib/python3.6/site-packages/UM/JobQueue.py", line 86 in _nextJob
File "/usr/lib/python3.6/site-packages/UM/JobQueue.py", line 116 in run
File "/usr/lib/python3.6/threading.py", line 916 in _bootstrap_inner
File "/usr/lib/python3.6/threading.py", line 884 in _bootstrap

Current thread 0x00007fec27795540 (most recent call first):
File "/usr/lib/python3.6/site-packages/cura/CrashHandler.py", line 364 in _logInfoWidget
File "/usr/lib/python3.6/site-packages/cura/CrashHandler.py", line 214 in _createDialog
File "/usr/lib/python3.6/site-packages/cura/CrashHandler.py", line 82 in __init__
File "/usr/bin/cura", line 101 in exceptHook
File "/usr/lib/python3.6/site-packages/UM/Qt/QtApplication.py", line 246 in initializeEngine
File "/usr/lib/python3.6/site-packages/cura/CuraApplication.py", line 765 in runWithGUI
File "/usr/lib/python3.6/site-packages/cura/CuraApplication.py", line 687 in run
File "/usr/bin/cura", line 141 in <module>
This task depends upon

Closed by  Antonio Rojas (arojas)
Friday, 13 July 2018, 17:19 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Using unsupported packages
Comment by Antonio Rojas (arojas) - Friday, 13 July 2018, 09:40 GMT
* Qt version 5.8.0
* PyQT version: 5.8

If this is true, your system is horribly outdated.
Comment by M. Greyson Christoforo (greyltc) - Friday, 13 July 2018, 16:53 GMT
Those are what the bug report window is reporting.

My system has:
```
$ pacman -Q qt5-base
qt5-base 5.11.1-1
$ pacman -Q pyqt5-common
pyqt5-common 5.11.2-1

```
It's a mystery to me why cura is reporting those versions.
Comment by Antonio Rojas (arojas) - Friday, 13 July 2018, 17:08 GMT
post the output of

python -c "import PyQt5; from PyQt5.QtCore import QT_VERSION_STR; print(QT_VERSION_STR); print (PyQt5.__file__)"
Comment by M. Greyson Christoforo (greyltc) - Friday, 13 July 2018, 17:12 GMT
$ python -c "import PyQt5; from PyQt5.QtCore import QT_VERSION_STR; print(QT_VERSION_STR); print (PyQt5.__file__)"
5.8.0
/usr/lib/python3.6/site-packages/PyQt5/__init__.py
Comment by Antonio Rojas (arojas) - Friday, 13 July 2018, 17:14 GMT
pacman -Qkk python-pyqt5
Comment by M. Greyson Christoforo (greyltc) - Friday, 13 July 2018, 17:16 GMT
$ pacman -Qkk python-pyqt5
python-pyqt5-hotfix: 139 total files, 0 altered files

Ohhh :-)

Loading...