Skip to content
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

[4.5.0] Cannot sync with marketplace #7426

Closed
automayt opened this issue Apr 6, 2020 · 17 comments
Closed

[4.5.0] Cannot sync with marketplace #7426

automayt opened this issue Apr 6, 2020 · 17 comments
Labels
Type: Bug The code does not produce the intended behavior.

Comments

@automayt
Copy link

automayt commented Apr 6, 2020

Application version
4.5.0

Platform
Windows 10

Printer
Ultimaker S5

Reproduction steps

  1. Clicked marketplace and browsed to PETG. This required login. Added to Cura.
  2. Restarted Cura, a popup mentioned needing to sync and restart Cura.
  3. Restarting Cura results in the popup occurring everytime and the PETG profile is not added.

Screenshot(s)
image
image
image

Actual results
Restarts just result in requiring another sync. Only going to marketplace and unsubscribing to the material will result in removing the "sync" popup.

Expected results
The material profile should be added without issue.

Log file

2020-04-06 01:36:29,668 - DEBUG - [MainThread] Toolbox.src.ButtSync.ButtPackageChecker._handlePackageDiscrepancies [90]: Discrepancy found between Butt subscribed packages and Cura installed packages
2020-04-06 01:36:33,768 - INFO - [MainThread] UM.TaskManagement.HttpRequestManager._onRequestFinished [369]: Request [d519dc7127eb4e4bb8a0e060ce76d7f1] finished.
2020-04-06 01:36:33,772 - DEBUG - [MainThread] UM.TaskManagement.HttpRequestManager._processNextRequestsInQueue [279]: No more requests to process, stop
2020-04-06 01:36:34,067 - INFO - [MainThread] UM.TaskManagement.HttpRequestManager._onRequestFinished [369]: Request [4370b26c3352428794a37209464091fc] finished.
2020-04-06 01:36:34,069 - DEBUG - [MainThread] UM.TaskManagement.HttpRequestManager._processNextRequestsInQueue [279]: No more requests to process, stop
2020-04-06 01:36:38,549 - DEBUG - [MainThread] cura.AutoSave._onTimeout [60]: Autosaving preferences, instances and profiles
2020-04-06 01:36:41,157 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [398]: file:///C:/Program Files/Ultimaker Cura 4.5/resources/qml/RoundedRectangle.qml:68: TypeError: Cannot read property of null
2020-04-06 01:36:42,517 - INFO - [MainThread] UM.TaskManagement.HttpRequestManager._processRequest [308]: Request [927bdf4a51bf464886a6d3e1f06174d1] started
2020-04-06 01:36:42,520 - DEBUG - [MainThread] UM.TaskManagement.HttpRequestManager._processNextRequestsInQueue [279]: No more requests to process, stop
2020-04-06 01:36:43,034 - INFO - [MainThread] UM.TaskManagement.HttpRequestManager._onRequestFinished [369]: Request [927bdf4a51bf464886a6d3e1f06174d1] finished.
2020-04-06 01:36:43,041 - DEBUG - [MainThread] UM.TaskManagement.HttpRequestManager._processNextRequestsInQueue [279]: No more requests to process, stop
2020-04-06 01:36:43,063 - DEBUG - [MainThread] UM.PackageManager.getPackageInfo [573]: Found potential package.json file '/package.json'
2020-04-06 01:36:43,066 - INFO - [MainThread] UM.PackageManager.installPackage [426]: Package [GenericPETG] version [1.0.1] is scheduled to be installed.
2020-04-06 01:36:43,073 - INFO - [MainThread] UM.PackageManager._saveManagementData [248]: Package management file C:\Users\jason\AppData\Roaming\cura\4.5\packages.json was saved
2020-04-06 01:36:43,077 - DEBUG - [MainThread] UM.Logger.debug [107]: Subscribing to GenericPETG
2020-04-06 01:36:43,092 - INFO - [MainThread] UM.TaskManagement.HttpRequestManager._processRequest [308]: Request [6997aebc108047fba3024a2c38694452] started
2020-04-06 01:36:43,094 - DEBUG - [MainThread] UM.TaskManagement.HttpRequestManager._processNextRequestsInQueue [279]: No more requests to process, stop
2020-04-06 01:36:43,347 - INFO - [MainThread] UM.TaskManagement.HttpRequestManager._onRequestFinished [369]: Request [6997aebc108047fba3024a2c38694452] finished.
2020-04-06 01:36:43,352 - DEBUG - [MainThread] UM.TaskManagement.HttpRequestManager._processNextRequestsInQueue [279]: No more requests to process, stop
2020-04-06 01:36:44,360 - DEBUG - [MainThread] UM.Qt.QtApplication.windowClosed [462]: Shutting down cura
2020-04-06 01:36:44,398 - DEBUG - [MainThread] CuraEngineBackend.CuraEngineBackend._terminate [292]: Attempting to kill the engine process
2020-04-06 01:36:44,399 - DEBUG - [MainThread] CuraEngineBackend.CuraEngineBackend._terminate [298]: Killing engine process
2020-04-06 01:36:44,400 - DEBUG - [MainThread] CuraEngineBackend.CuraEngineBackend._terminate [301]: Engine process is killed. Received return code 1
@automayt automayt added the Type: Bug The code does not produce the intended behavior. label Apr 6, 2020
@bberrevoets
Copy link

Hello,
Almost the same here:
Windows 10
Cura 4.5.0
Generic PETG
Ultimaker 3

But removing it from the marketplace in the webbrowser, does not get rid of the loop it is in.
It keeps asking to sync and restart the whole time to install the material.

@Ghostkeeper
Copy link
Collaborator

I tried to reproduce this issue. My account has several plug-ins attached and one material. It asked to sync those when I logged in. After I restarted it had installed these plug-ins. And it didn't ask to sync again.

The log says that it scheduled the package to be installed upon next reboot. So far it looks like it's going well. But apparently something goes awry when it actually needs to install the package.

@Ghostkeeper
Copy link
Collaborator

Oh, I see it now! It happens with materials that are already distributed by default with the release of Cura. Like the Generic materials or the Ultimaker materials.

@Ghostkeeper
Copy link
Collaborator

Apparently our testers had already found this as well. We're looking into a workaround here such as preventing you from adding these to your account, or pre-adding them to the account and then ignoring them in the syncing.

@PapaBalein
Copy link

Yup, I just got this as well. There doesnt seem to be any way of using the Tough PLA material (Ultimaker or Generic) as Cura seems to think it's installed, but it's not a viewable option when choosing the material. When I log into my account online, it seems to suggest it's not installed either, so when i choose to install it, I observe the same loop the OP mentions.

@Ghostkeeper
Copy link
Collaborator

Ghostkeeper commented Apr 28, 2020

but it's not a viewable option when choosing the material.

It should be an option, at least if your printer uses 2.85mm filaments.

This issue is still in our backlog. We might also see a fix coming from the Ultimaker web services team, rather than in Cura.

@PapaBalein
Copy link

PapaBalein commented Apr 29, 2020 via email

@Ghostkeeper
Copy link
Collaborator

Ghostkeeper commented Apr 29, 2020

No, I believe you. We could be running into a bug here, or maybe there's something weird in your current printer. A project file would be more useful than a screenshot. Though maybe a screenshot would help as well if I'm misunderstanding which list of profiles is empty exactly. I'm thinking it's the materials list in the drop down in the drop down in the middle of the top bar.

@PapaBalein
Copy link

PapaBalein commented May 5, 2020 via email

@PapaBalein
Copy link

PapaBalein commented May 5, 2020 via email

@Ghostkeeper
Copy link
Collaborator

Tough PLA is indeed explicitly hidden for the Ultimaker 2+. See the following line in the Ultimaker 2+ definition:

"exclude_materials": ["generic_hips", "generic_petg", "generic_bam", "ultimaker_bam", "generic_pva", "ultimaker_pva", "generic_tough_pla", "ultimaker_tough_pla_black", "ultimaker_tough_pla_green", "ultimaker_tough_pla_red", "ultimaker_tough_pla_white", "generic_cffcpe", "generic_cffpa", "generic_gffcpe", "generic_gffpa", "structur3d_dap100silicone" ],

This is because the Ultimaker 2+ firmware doesn't have a profile for Tough PLA, which needs different printing temperatures. Cura cannot set the printing temperatures for the Ultimaker 2+ due to the g-code flavour.

You have a different issue than the original reporter here then, because that was reported for the UMS5.

@PapaBalein
Copy link

PapaBalein commented May 7, 2020 via email

@Ghostkeeper
Copy link
Collaborator

Ghostkeeper commented May 11, 2020

Yeah you're basically getting the same problem then, because the sync with the marketplace has nothing to do with which printer you're using. Installing it while you are using an UM2+ vs. installing it while you are using an UMS5 has the same issue.

I think the Ultimaker site is wrong on that one. There are profiles for TPLA that I added myself to the UM2+ firmware, but that version of the firmware never got released. If you were to download a firmware update now it will not have it. Cura also doesn't have it.

@PapaBalein
Copy link

PapaBalein commented May 11, 2020 via email

@semiconducted
Copy link

Apparently our testers had already found this as well. We're looking into a workaround here such as preventing you from adding these to your account, or pre-adding them to the account and then ignoring them in the syncing.

Same on macOS 10.15.4
across Ultimaker Cura 4.5.0, 4.6.0, & 4.6.1

  • tried complete uninstall, restarted computer, reinstall
  • tried adding "Full Disk Access" in macOS security preferences
  • explicitly added "allow incoming connections" to macOS firewall rules to both 4.5.0 and 4.6.0 as per instructions from tech support
  • happens on 2 different wifi networks and also via Verizon mobile tether, so doubtful that has anything to do with it.
  • Issue has apparently been cross referenced with "Internal ref CURA-7425"

Hope this helps!

Log:
cura.log

@Ghostkeeper
Copy link
Collaborator

This is now fixed in Cura 4.7 as per this change: #7707

Thanks for the report! That really helps to iron out the kinks.

@PapaBalein
Copy link

PapaBalein commented May 15, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug The code does not produce the intended behavior.
Projects
None yet
Development

No branches or pull requests

5 participants