Comment # 9 on bug 1157504 from
Thanks, I ended up patching Cura to get around the issue, but ran in to further
issues with materials not working properly and ran out of time to debug so I
switched to the AppImage.

Here's the change I made:

diff --git a/cura/API/Account.py b/cura/API/Account.py
index 15bccb71e..c81e9a31a 100644
--- a/cura/API/Account.py
+++ b/cura/API/Account.py
@@ -258,7 +258,7 @@ class Account(QObject):

         user_profile = self._authorization_service.getUserProfile()
         if not user_profile:
-            return None
+            return {}
         return user_profile.__dict__

     @pyqtProperty(str, notify=lastSyncDateTimeChanged)

This does of course break the API docs which says it returns "None if no user
is logged in otherwise the logged in  user as a dict containing containing
user_id, username and profile_image_url", but it seems like PyQt5 does not
actually support converting None to a QVariantMap.


There are other hits for @pyqtProperty("QVariantMap", ...) so they may also
have similar issues, though I did not hit any other crashes.


You are receiving this mail because: