GithubHelp home page GithubHelp logo

christerbeke / curathingibrowserplugin Goto Github PK

View Code? Open in Web Editor NEW
23.0 3.0 7.0 9.59 MB

A Cura plugin for browsing and importing 3D files for popular repositories.

Home Page: https://marketplace.ultimaker.com/app/cura/plugins/ChrisTerBekeAuthor/ThingiBrowser

License: MIT License

Python 77.57% QML 19.11% HTML 1.07% Shell 0.13% CMake 2.13%
cura thingiverse 3d-printing stl plugin myminifactory ultimaker

curathingibrowserplugin's Introduction

https://github-readme-stats.vercel.app

curathingibrowserplugin's People

Contributors

christerbeke avatar dependabot[bot] avatar namtabmai avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

curathingibrowserplugin's Issues

Chrashes on load

May be due to Thingiverse's redesign.

Thread 0x00001ac8 (most recent call first):
File "C:\Program Files\Ultimaker Cura 4.5\plugins\RemovableDriveOutputDevice\RemovableDrivePlugin.py", line 61 in _updateThread
File "threading.py", line 862 in run
File "threading.py", line 914 in _bootstrap_inner
File "threading.py", line 882 in _bootstrap

Thread 0x00003d54 (most recent call first):
File "threading.py", line 297 in wait
File "zeroconf_init_.py", line 2117 in wait
File "zeroconf_init_.py", line 1434 in run
File "threading.py", line 914 in _bootstrap_inner
File "threading.py", line 882 in _bootstrap

Thread 0x0000583c (most recent call first):
File "threading.py", line 297 in wait
File "threading.py", line 549 in wait
File "C:\Program Files\Ultimaker Cura 4.5\plugins\UM3NetworkPrinting\src\Network\ZeroConfClient.py", line 74 in _handleOnServiceChangedRequests
File "threading.py", line 862 in run
File "threading.py", line 914 in _bootstrap_inner
File "threading.py", line 882 in _bootstrap

Thread 0x000051e4 (most recent call first):
File "threading.py", line 297 in wait
File "zeroconf_init_.py", line 2117 in wait
File "zeroconf_init_.py", line 1262 in run
File "threading.py", line 914 in _bootstrap_inner
File "threading.py", line 882 in _bootstrap

Thread 0x0000085c (most recent call first):
File "zeroconf_init_.py", line 1183 in run
File "threading.py", line 914 in _bootstrap_inner
File "threading.py", line 882 in _bootstrap

Thread 0x00004bdc (most recent call first):
File "threading.py", line 297 in wait
File "C:\Users\Airdoo\AppData\Roaming\cura\4.5\plugins\OctoPrintPlugin\OctoPrintPlugin\python-zeroconf\zeroconf_init_.py", line 2163 in wait
File "C:\Users\Airdoo\AppData\Roaming\cura\4.5\plugins\OctoPrintPlugin\OctoPrintPlugin\python-zeroconf\zeroconf_init_.py", line 1464 in run
File "threading.py", line 914 in _bootstrap_inner
File "threading.py", line 882 in _bootstrap

Thread 0x00002d6c (most recent call first):
File "threading.py", line 297 in wait
File "C:\Users\Airdoo\AppData\Roaming\cura\4.5\plugins\OctoPrintPlugin\OctoPrintPlugin\python-zeroconf\zeroconf_init_.py", line 2163 in wait
File "C:\Users\Airdoo\AppData\Roaming\cura\4.5\plugins\OctoPrintPlugin\OctoPrintPlugin\python-zeroconf\zeroconf_init_.py", line 1283 in run
File "threading.py", line 914 in _bootstrap_inner
File "threading.py", line 882 in _bootstrap

Thread 0x00000db4 (most recent call first):
File "C:\Users\Airdoo\AppData\Roaming\cura\4.5\plugins\OctoPrintPlugin\OctoPrintPlugin\python-zeroconf\zeroconf_init_.py", line 1204 in run
File "threading.py", line 914 in _bootstrap_inner
File "threading.py", line 882 in _bootstrap

Thread 0x00001980 (most recent call first):
File "C:\Program Files\Ultimaker Cura 4.5\plugins\USBPrinting\USBPrinterOutputDeviceManager.py", line 86 in _updateThread
File "threading.py", line 862 in run
File "threading.py", line 914 in _bootstrap_inner
File "threading.py", line 882 in _bootstrap

Thread 0x00001a00 (most recent call first):
File "X:\4.5-msi\build\inst\lib\python3.5\site-packages\UM\Backend\Backend.py", line 152 in _storeStderrToLogThread
File "threading.py", line 862 in run
File "threading.py", line 914 in _bootstrap_inner
File "threading.py", line 882 in _bootstrap

Thread 0x00001acc (most recent call first):
File "X:\4.5-msi\build\inst\lib\python3.5\site-packages\UM\Backend\Backend.py", line 140 in _storeOutputToLogThread
File "threading.py", line 862 in run
File "threading.py", line 914 in _bootstrap_inner
File "threading.py", line 882 in _bootstrap

Thread 0x00001b88 (most recent call first):
File "threading.py", line 293 in wait
File "threading.py", line 424 in acquire
File "X:\4.5-msi\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 86 in _nextJob
File "X:\4.5-msi\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 112 in run
File "threading.py", line 914 in _bootstrap_inner
File "threading.py", line 882 in _bootstrap

Thread 0x00005c28 (most recent call first):
File "threading.py", line 293 in wait
File "threading.py", line 424 in acquire
File "X:\4.5-msi\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 86 in _nextJob
File "X:\4.5-msi\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 112 in run
File "threading.py", line 914 in _bootstrap_inner
File "threading.py", line 882 in _bootstrap

Thread 0x00005e3c (most recent call first):
File "threading.py", line 293 in wait
File "threading.py", line 424 in acquire
File "X:\4.5-msi\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 86 in _nextJob
File "X:\4.5-msi\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 112 in run
File "threading.py", line 914 in _bootstrap_inner
File "threading.py", line 882 in _bootstrap

Thread 0x00003270 (most recent call first):
File "threading.py", line 293 in wait
File "threading.py", line 424 in acquire
File "X:\4.5-msi\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 86 in _nextJob
File "X:\4.5-msi\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 112 in run
File "threading.py", line 914 in _bootstrap_inner
File "threading.py", line 882 in _bootstrap

Thread 0x00003320 (most recent call first):
File "threading.py", line 293 in wait
File "threading.py", line 424 in acquire
File "X:\4.5-msi\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 86 in _nextJob
File "X:\4.5-msi\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 112 in run
File "threading.py", line 914 in _bootstrap_inner
File "threading.py", line 882 in _bootstrap

Thread 0x000043a0 (most recent call first):
File "threading.py", line 293 in wait
File "threading.py", line 424 in acquire
File "X:\4.5-msi\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 86 in _nextJob
File "X:\4.5-msi\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 112 in run
File "threading.py", line 914 in _bootstrap_inner
File "threading.py", line 882 in _bootstrap

Thread 0x0000168c (most recent call first):
File "threading.py", line 293 in wait
File "threading.py", line 424 in acquire
File "X:\4.5-msi\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 86 in _nextJob
File "X:\4.5-msi\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 112 in run
File "threading.py", line 914 in _bootstrap_inner
File "threading.py", line 882 in _bootstrap

Thread 0x000040c0 (most recent call first):
File "threading.py", line 293 in wait
File "threading.py", line 424 in acquire
File "X:\4.5-msi\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 86 in _nextJob
File "X:\4.5-msi\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 112 in run
File "threading.py", line 914 in _bootstrap_inner
File "threading.py", line 882 in _bootstrap

Thread 0x000045ac (most recent call first):
File "threading.py", line 293 in wait
File "threading.py", line 424 in acquire
File "X:\4.5-msi\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 86 in _nextJob
File "X:\4.5-msi\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 112 in run
File "threading.py", line 914 in _bootstrap_inner
File "threading.py", line 882 in _bootstrap

Thread 0x00005c48 (most recent call first):
File "threading.py", line 293 in wait
File "threading.py", line 424 in acquire
File "X:\4.5-msi\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 86 in _nextJob
File "X:\4.5-msi\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 112 in run
File "threading.py", line 914 in _bootstrap_inner
File "threading.py", line 882 in _bootstrap

Thread 0x000011d4 (most recent call first):
File "threading.py", line 293 in wait
File "threading.py", line 424 in acquire
File "X:\4.5-msi\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 86 in _nextJob
File "X:\4.5-msi\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 112 in run
File "threading.py", line 914 in _bootstrap_inner
File "threading.py", line 882 in _bootstrap

Thread 0x00005ee8 (most recent call first):
File "threading.py", line 293 in wait
File "threading.py", line 424 in acquire
File "X:\4.5-msi\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 86 in _nextJob
File "X:\4.5-msi\build\inst\lib\python3.5\site-packages\UM\JobQueue.py", line 112 in run
File "threading.py", line 914 in _bootstrap_inner
File "threading.py", line 882 in _bootstrap

Current thread 0x00003198 (most recent call first):
File "X:\4.5-msi\build\inst\lib\python3.5\site-packages\cura\CrashHandler.py", line 380 in _logInfoWidget
File "X:\4.5-msi\build\inst\lib\python3.5\site-packages\cura\CrashHandler.py", line 180 in createDialog
File "X:\4.5-msi\build\inst\lib\python3.5\site-packages\cura\CrashHandler.py", line 86 in init
File "X:\4.5-msi\build\inst\bin\cura_app.py", line 150 in exceptHook
File "X:\4.5-msi\build\inst\lib\python3.5\site-packages\UM\Qt\QtApplication.py", line 370 in exec

File "X:\4.5-msi\build\inst\lib\python3.5\site-packages\cura\CuraApplication.py", line 823 in run
File "X:\4.5-msi\build\inst\bin\cura_app.py", line 214 in
File "Console.py", line 24 in
File "", line 634 in _load_backward_compatible
File "", line 664 in _load_unlocked
File "", line 957 in _find_and_load_unlocked
File "", line 968 in _find_and_load
File "startup.py", line 12 in
File "", line 634 in _load_backward_compatible
File "", line 664 in _load_unlocked
File "", line 957 in _find_and_load_unlocked
File "", line 968 in _find_and_load

Packaged .qmlc and __pycache__ files

This plug-in comes with pre-packaged QMLC files. These files are not usable, since the QMLC file is a mmap of the memory used by the QML items. This is different between operating systems and Qt versions.

It also comes with a __pycache__ folder for cached Python compiled classes. However this cache is made with Python 3.6 rather than Python 3.5 that Cura is shipped with.

Maybe it's better to remove these cached files from the distribution?

Search by full thingiverse URL

Hey there,
this might go against the idea of the plugin but I hope you can make this little change happen :)

I often browse Thingiverse in my full-blown browser, get links from friends, or stumble over something randomly. I then like to use your plugin to easily load the model into Cura. Sadly "searching" for the full URL isn't supported, reduced to the thing ID it works:

  • Search for https://www.thingiverse.com/thing:6052088 -> API error
  • Search for 6052088 -> Success.

Could you please support full-URL search? Merci!

Cura crashes with empty data-set

Found a bug that seems to occur when thingiverse returns an empty dataset.

Steps to recreate:

  1. Open Thingiverse extension
  2. Select search field, press enter key
  3. Cura crashes due to JSON error:
    \ThingiverseService.py", line 155, in _onSearchFinished self._things.extend(things) TypeError: 'JSONObject' object is not iterable

Cura Version: 4.1.0
ThingiBrowser Version: 1.1.1
Platform: Windows 10 10.0.17763
Qt version: 5.10.0

EnhancedComboBox component does not support Qt 5.14

When I do Extensions->ThingiBrowser->Open, the ThingiBrowser dialog does not open (nothing happens). This is with Cura 4.5.0 and ThingiBrowser 2.0.0. Prior to the 2.0.0 update and Thingiverse redesign, it was working fine.

The console shows following:

QQmlComponent: Component is not ready
2020-04-29 16:48:55,679 - ERROR - [MainThread] UM.Qt.QtApplication.createQmlComponent [559]: file:///home/denns/.local/share/cura/4.5/plugins/ThingiBrowser/ThingiBrowser/views/Thingiverse.qml:33:5: Type ThingiMain unavailable
2020-04-29 16:48:55,679 - ERROR - [MainThread] UM.Qt.QtApplication.createQmlComponent [559]: file:///home/denns/.local/share/cura/4.5/plugins/ThingiBrowser/ThingiBrowser/views/ThingiMain.qml:15:5: Type ThingiHeader unavailable
2020-04-29 16:48:55,680 - ERROR - [MainThread] UM.Qt.QtApplication.createQmlComponent [559]: file:///home/denns/.local/share/cura/4.5/plugins/ThingiBrowser/ThingiBrowser/views/ThingiHeader.qml:12:5: Type ServiceSelector unavailable
2020-04-29 16:48:55,680 - ERROR - [MainThread] UM.Qt.QtApplication.createQmlComponent [559]: file:///home/denns/.local/share/cura/4.5/plugins/ThingiBrowser/ThingiBrowser/views/ServiceSelector.qml:4:1: Type EnhancedComboBox unavailable
2020-04-29 16:48:55,681 - ERROR - [MainThread] UM.Qt.QtApplication.createQmlComponent [559]: file:///home/denns/.local/share/cura/4.5/plugins/ThingiBrowser/ThingiBrowser/views/EnhancedComboBox.qml:9:5: Cannot override FINAL property
2020-04-29 16:48:55,681 - WARNING - [MainThread] UM.Qt.Bindings.ExtensionModel.subMenuTriggered [58]: Exception: Failed to activate the menu item
2020-04-29 16:48:55,682 - WARNING - [MainThread] UM.Qt.Bindings.ExtensionModel.subMenuTriggered [58]: Traceback (most recent call last):
2020-04-29 16:48:55,683 - WARNING - [MainThread] UM.Qt.Bindings.ExtensionModel.subMenuTriggered [58]:   File "/usr/lib/python3.8/site-packages/UM/Qt/Bindings/ExtensionModel.py", line 54, in subMenuTriggered
2020-04-29 16:48:55,683 - WARNING - [MainThread] UM.Qt.Bindings.ExtensionModel.subMenuTriggered [58]:     item["extension"].activateMenuItem(option_name)
2020-04-29 16:48:55,684 - WARNING - [MainThread] UM.Qt.Bindings.ExtensionModel.subMenuTriggered [58]:   File "/usr/lib/python3.8/site-packages/UM/Extension.py", line 38, in activateMenuItem
2020-04-29 16:48:55,684 - WARNING - [MainThread] UM.Qt.Bindings.ExtensionModel.subMenuTriggered [58]:     self._menu_function_dict[name]()
2020-04-29 16:48:55,684 - WARNING - [MainThread] UM.Qt.Bindings.ExtensionModel.subMenuTriggered [58]:   File "/home/denns/.local/share/cura/4.5/plugins/ThingiBrowser/ThingiBrowser/ThingiBrowser/ThingiBrowserExtension.py", line 44, in showMainWindow
2020-04-29 16:48:55,685 - WARNING - [MainThread] UM.Qt.Bindings.ExtensionModel.subMenuTriggered [58]:     self._main_dialog = self._createComponent("Thingiverse.qml")
2020-04-29 16:48:55,685 - WARNING - [MainThread] UM.Qt.Bindings.ExtensionModel.subMenuTriggered [58]:   File "/home/denns/.local/share/cura/4.5/plugins/ThingiBrowser/ThingiBrowser/ThingiBrowser/ThingiBrowserExtension.py", line 84, in _createComponent
2020-04-29 16:48:55,685 - WARNING - [MainThread] UM.Qt.Bindings.ExtensionModel.subMenuTriggered [58]:     raise Exception("Failed to create Thingiverse dialog")
2020-04-29 16:48:55,686 - WARNING - [MainThread] UM.Qt.Bindings.ExtensionModel.subMenuTriggered [58]: Exception: Failed to create Thingiverse dialog

feature search type

Thingiverse offers different search sorting(well sort of see below). It would seem necessary for this extension to be able to display all models in a set requires the user be able to select which search type to perform i.e relevant, popular, text, # of makes, newest.

This could be accomplished by setting ?sort=popular or some other value in the requested URL.

An example I noticed is try to search for a very popular model the "Hairy Lion" by primoz using the default sort method of "relevant" does not return the model. However, if you search using popular as the sorting you get the model.

https://www.thingiverse.com/thing:2007221

I let Thingiverse know of this issue but no idea if they will fix it or not.

Causes crash on Cura 4

When i try to start it in Cura 4.0.0, it opens up a new window and then crashes the program to the desktop, without any further notice.

Download history

I'd find the ability to go back and find old models I've downloaded very handy. I'm currently trying to find a model I printed a long time ago and since I used ThingiBrowser instead of downloading the stl from my browser, I'm having trouble finding it again. Please add history functionality.

Crashes Cura on new Thingiverse

Attempting to open the ThingiBrowser plugin since the Thingiverse update causes the following error:

Traceback (most recent call last): File "C:\Users\William\AppData\Roaming\cura\4.5\plugins\ThingiBrowser\ThingiBrowser\thingiverse\ThingiverseApiClient.py", line 135, in parse on_finished(result) File "C:\Users\William\AppData\Roaming\cura\4.5\plugins\ThingiBrowser\ThingiBrowser\thingiverse\ThingiverseService.py", line 326, in _onQueryFinished self._things.extend(things) TypeError: 'JSONObject' object is not iterable

Plugin does not open when Qt 5.11+ is installed

Ultimaker Cura - 4.8.0
Ubuntu - 20.04
Thingibrowser - 2.2.0

I am unable to open any of the dialogues in this plugin using the above versions. I am new to the Cura ecosystem so I might be missing something. Reinstalling and toggling the plugin on or off do not change the behavior.

Starting Cura from a terminal and trying this yeilds the following log:

Browse dialogue

QQmlComponent: Component is not ready
2020-12-06 14:32:32,000 - ERROR - [MainThread] UM.Qt.QtApplication.createQmlComponent [578]: file:///home/routhinator/snap/cura-slicer/23/.local/share/cura/4.8/plugins/ThingiBrowser/ThingiBrowser/views/Thingiverse.qml:33:5: Type ThingiMain unavailable
2020-12-06 14:32:32,001 - ERROR - [MainThread] UM.Qt.QtApplication.createQmlComponent [578]: file:///home/routhinator/snap/cura-slicer/23/.local/share/cura/4.8/plugins/ThingiBrowser/ThingiBrowser/views/ThingiMain.qml:15:5: Type ThingiHeader unavailable
2020-12-06 14:32:32,002 - ERROR - [MainThread] UM.Qt.QtApplication.createQmlComponent [578]: file:///home/routhinator/snap/cura-slicer/23/.local/share/cura/4.8/plugins/ThingiBrowser/ThingiBrowser/views/ThingiHeader.qml:12:5: Type ServiceSelector unavailable
2020-12-06 14:32:32,002 - ERROR - [MainThread] UM.Qt.QtApplication.createQmlComponent [578]: file:///home/routhinator/snap/cura-slicer/23/.local/share/cura/4.8/plugins/ThingiBrowser/ThingiBrowser/views/ServiceSelector.qml:4:1: Type EnhancedComboBox unavailable
2020-12-06 14:32:32,002 - ERROR - [MainThread] UM.Qt.QtApplication.createQmlComponent [578]: file:///home/routhinator/snap/cura-slicer/23/.local/share/cura/4.8/plugins/ThingiBrowser/ThingiBrowser/views/EnhancedComboBox.qml:11:5: Cannot override FINAL property

Settings dialogue

QQmlComponent: Component is not ready
2020-12-06 14:32:47,054 - ERROR - [MainThread] UM.Qt.QtApplication.createQmlComponent [578]: file:///home/routhinator/snap/cura-slicer/23/.local/share/cura/4.8/plugins/ThingiBrowser/ThingiBrowser/views/ThingiSettings.qml:41:13: Type ThingiSettingsItem unavailable
2020-12-06 14:32:47,055 - ERROR - [MainThread] UM.Qt.QtApplication.createQmlComponent [578]: file:///home/routhinator/snap/cura-slicer/23/.local/share/cura/4.8/plugins/ThingiBrowser/ThingiBrowser/views/ThingiSettingsItem.qml:60:5: Type EnhancedComboBox unavailable
2020-12-06 14:32:47,055 - ERROR - [MainThread] UM.Qt.QtApplication.createQmlComponent [578]: file:///home/routhinator/snap/cura-slicer/23/.local/share/cura/4.8/plugins/ThingiBrowser/ThingiBrowser/views/EnhancedComboBox.qml:11:5: Cannot override FINAL property

Cant find

Can't find the plug-in, I see it at the cura market place, but as soon as I log in it disappears and shows as "The given author does not exist."

User Passwort

Hi, how can i get my password in to the Thingiverse acc to see my likes in thingiverse?

Search no longer working

Hi,

Thank you for this wonderful plugin for Cura.

Just upgraded to version 2.1.0 and now it is no longer possible to search. When entering anything in the search box and pressing search shows no result. The spinner in the bottom of the window just keeps spinning. Is there anything I can do to get more log output to help out with this issue?

Cura 4.6.1 Linux
Thingibrowser 2.1.0

Starting plugin, crashes Cura

Starting today, every time I open the thingiverse plugin, it crashes Cura. I have been using Cura 4.5 and this plugin for a few weeks without issue.. Could this be related to the Thingiverse site looking a bit different?

Curious if others see this behavior too.

Thingiverse Driver Not Authenticating

It would seem that the Thingiverse driver is returning with a 502 Server Login Exception error when attempting to get My Likes/Makes/Collections/Things

2020-05-15 18:31:39,936 - WARNING - [MainThread] UM.Logger.warning [128]: API returned with status 502 and body []

Prepare next release

  • Bump version number in plugin.json.
  • Upload to Ultimaker Marketplace contributor portal to build .curapackage.
  • Create new release on GitHub and attach .curapackage file to it.
  • Spread the news on community.ultimaker.com.

no .curapackage file

Alternatively you can download the .curapackage file from one of the GitHub releases and drag this into Cura.
This information seems to be wrong, because no .curapackage file exists on git.

Log in Using Google

It seems that login using Google account is not supported as there is on Facebook login option

Cannot Load Model

Some models fail to load on the build plate. The wheel keeps spinning forever and I have to uninstall the extension to continue. I can't figure out which models work

Crashes Cura when Thingiverse is down for maintenance.

Cura Version: 4.1.0
ThingiBrowser version: 1.1.2 (Found in plugins.json due to being unable to open Cura)
Platform: Windows-10-10.0.17134
QT version: 5.10.0
PyQt version: 5.10
OpenGL: Not yet initialized

Caused by attempting to start Cura while Thingiverse is down for maintenance, as seen here:
image

image

Error traceback is as follows:

Traceback (most recent call last):
  File "C:\Users\*username*\AppData\Roaming\cura\4.1\plugins\ThingiBrowser\ThingiBrowser\thingiverse\ThingiverseApiClient.py", line 136, in parse
    return on_failed(JSONObject(response))
  File "C:\Users\*username*\AppData\Roaming\cura\4.1\plugins\ThingiBrowser\ThingiBrowser\thingiverse\ThingiverseService.py", line 175, in _onRequestFailed
    mb.setText("Thingiverse return an error: {}.".format(error.error if error else "Unknown"))
AttributeError: 'JSONObject' object has no attribute 'error'

Cura starts as expected if I manually remove the ThingiBrowser plugin from the Cura plugins folder, narrowing the crash down to this plugin.

Unable to log into Thingiverse from plugin

I used to be able to use this without issue but now when I load the plugin, latest version, I get the following alert: "Thingiverse indicated that you need to sign in. Please sign into your Thingiverse account and try again." I see no way to trigger a Thingiverse login anywhere. I can log into MyMiniFactory but not Thingiverse. I have tried logging in through my browser but that doesn't work either. I used to be able to just use the plugin without logging in but now it fails to show me anything but that alert.

Version of Plugin: 2.2.1
Version of Cura: 4.11.0

Add a MyMiniFactory Driver?

I was thinking that we could extract the current ThingiBrowser code into a driver and then add a MyMiniFactory driver to be able to bring in files from that site as well. What are you thoughts on adding that here vs just creating a new plugin for Cura? They both have Users with Things that can be Likes, in Collections, or Makes so the structure is similar enough that I think we could just go the route of a source selection and a driver that determines the view selection options.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.