Jaime van Kessel
d4c4b11927
Update the copy of the connect to cloud message
...
CURA-8601
2021-10-01 11:38:13 +02:00
Ghostkeeper
426e3064d2
Don't crash when material file can't be opened for sending to printer
...
It seems that due to the threaded nature, the limit to the number of open file handlers could be reached here. Or it could just be locked or something of course.
Fixes Sentry issue CURA-2V2.
2021-09-22 14:59:27 +02:00
Ghostkeeper
16c5fdd798
Code style: Spaces around binary operators
...
Contrbutes to issue CURA-8224.
2021-05-06 16:27:09 +02:00
Jaime van Kessel
b2b10f693d
Rate limit the sending of materials to networked ultimakers
...
Some ultimakers tend to choke if you try and send a lot of materials in one go.
Previously we would also always send the materials on the main thread, which would also make
the interface freeze a bit. That should no longer happen.
The implementation of this is not really great, but since this is a hotfix i've opted to change
as little as possible.
CURA-8224
2021-05-06 15:43:39 +02:00
Remco Burema
2b88a2dc87
Fix error log spam.
...
The code is clearly written to take into account that 'addresses' may be null. But not that the whole 'addresses' attribute may not exist. And then instead of printing one warning (Could not get information about XX) it instead printed a stacktrace and retried and printed a stacktrace and retried and printed a stacktrace and.... It ended up driving me a bit nuts when looking at the logs for unrelated reasons. So Ifinallay fixed it. Could end up as a speedup in some cases as well I suppose?
2021-02-26 21:56:33 +01:00
Ghostkeeper
cfccf94914
Don't use deprecated 'address' property of ServiceInfo
...
It's been replaced by 'addresses'. In the newest Zeroconf version, 'address' has been removed entirely.
Contributes to issue CURA-7501.
2020-10-30 17:45:58 +01:00
Ghostkeeper
13d0fbdea7
Don't attempt to send the empty material
...
We can't send it because sending it looks up the serialised form on disk, and there is no file for this one on disk.
Contributes to issue CURA-7501.
2020-10-16 14:32:00 +02:00
Jaime van Kessel
6f3298385f
Increase timeout time for the cluster output
...
We got reports that 10 seconds can cause connection to be lost
2020-08-25 16:07:46 +02:00
Nino van Hooff
89f0970a88
Remove trailing whitespace from Python files
2020-05-29 14:30:33 +02:00
Nino van Hooff
58ffc9dcae
Merge remote-tracking branch 'origin/master' into doxygen_to_restructuredtext_comments
...
# Conflicts:
# cura/API/__init__.py
# cura/Settings/CuraContainerRegistry.py
# cura/Settings/ExtruderManager.py
# plugins/PostProcessingPlugin/scripts/PauseAtHeight.py
# plugins/UM3NetworkPrinting/src/Cloud/CloudApiClient.py
# plugins/UM3NetworkPrinting/src/Cloud/ToolPathUploader.py
# plugins/UM3NetworkPrinting/src/Network/LocalClusterOutputDeviceManager.py
2020-05-28 17:31:24 +02:00
Nino van Hooff
eef347ed6c
Add an cloud unavailable icon to the active printer icon
...
CURA-7437
2020-05-20 17:20:40 +02:00
Nino van Hooff
5eb5ffd916
Convert doxygen to rst for UM3NetworkPrinting
2020-05-15 15:05:38 +02:00
Ghostkeeper
d9cdea9496
Don't crash when material file is missing
...
This could happen because a material is deleted right at that moment, since the SendMaterialJob is done on a separate thread.
Fixes Sentry issue CURA-JZ.
2020-04-23 11:10:52 +02:00
Jaime van Kessel
2e9dca71ce
Remove a number of unused imports
2020-04-10 13:58:10 +02:00
Lipu Fei
3ddc2466f8
Fix typing
2019-12-17 10:27:05 +01:00
Ghostkeeper
5ea60823f5
Don't crash if address is still none after getting info
...
This can happen (starting somewhere between zeroconf version 21.0 and 24.0).
Contributes to issue CURA-7032.
2019-12-13 10:54:27 +01:00
Ghostkeeper
e54ce8643b
Don't wrap str unnecessarily
...
Just an inefficiency that I found.
2019-12-13 10:44:48 +01:00
Jaime van Kessel
c2e6116983
Add names to all the threads
2019-11-01 16:20:42 +01:00
Jaime van Kessel
c5623a1364
Also catch ValueError when handling modelParsing from network
...
CURA-6855
2019-10-28 10:30:25 +01:00
ChrisTerBeke
8f46c02e5d
Fix MyPy issues
2019-10-25 12:35:03 +02:00
ChrisTerBeke
9a3ff527ac
Bring back the printer selection dialog for networked printers
2019-10-25 12:25:41 +02:00
Lipu Fei
5548c30616
Catch WinErrors for zeroconf
...
CURA-6855
2019-10-21 10:21:50 +02:00
Lipu Fei
750632ec41
Merge remote-tracking branch 'origin/master' into feature_intent
2019-10-02 12:52:37 +02:00
ChrisTerBeke
5f31551184
Fix checking for cases where machine creation failed
2019-10-01 19:41:02 +02:00
ChrisTerBeke
c3d846440d
Set some meta data before switching active stacks, fix manual added device pairing
2019-10-01 19:31:35 +02:00
Lipu Fei
96a9bcccbb
Merge remote-tracking branch 'origin/master' into feature_intent
2019-10-01 09:41:05 +02:00
ChrisTerBeke
9e54cc33ce
Move code
2019-09-27 20:50:46 +02:00
ChrisTerBeke
b18f9469bf
Select correct machine type connecting to output device
2019-09-27 20:39:57 +02:00
ChrisTerBeke
01e665a0d7
Partial revert of #6432 , actually fix refreshing configurations
2019-09-27 19:25:23 +02:00
ChrisTerBeke
93c1c88793
Only show cloud flow message when signed in and not cloud connected yet, fix machine configuration when using legacy network selection flow
2019-09-27 13:38:13 +02:00
Ghostkeeper
05de920c21
Once more with feeling
...
Sorry, I didn't see the other review comment until after I pushed the previous commit.
Contributes to issue CURA-6600.
2019-09-18 14:28:22 +02:00
Ghostkeeper
a3e9316f48
Rename all_root_materials to all_base_files
...
This naming is more consistent with the naming of the metadata entry and most of the other code.
Contributes to issue CURA-6600.
2019-09-18 14:27:04 +02:00
Diego Prado Gesto
bca68c6db0
Merge branch 'feature_intent' into feature_intent_container_tree
2019-09-13 09:02:51 +02:00
Ghostkeeper
b8ab04df4a
Correct type of logged item
2019-09-12 15:58:09 +02:00
Ghostkeeper
3a3aeb92a9
Log errors rather than printing them
...
This way we can debug them if a user sends us the logs.
2019-09-12 15:45:10 +02:00
Ghostkeeper
f6089ed627
Don't use material manager to get list of materials to send
...
The material manager is no longer populated so it wouldn't send any materials any more.
This is probably faster anyway since it doesn't need to go back to the container registry for every file.
Contributes to issue CURA-6600.
2019-09-11 15:43:35 +02:00
Diego Prado Gesto
b18565d9cf
Merge branch 'master' into feature_intent_container_tree
2019-09-10 11:08:21 +02:00
ChrisTerBeke
669fb39f40
Catch type errors when trying to populate models from API response
2019-09-09 10:44:17 +02:00
Ian Paschal
f517beba76
Fix typo
...
CS-171
2019-09-06 16:04:03 +02:00
Ian Paschal
e0194d8721
Extend found_machine_type_identifiers to include R2
...
CS-171
2019-09-06 16:03:48 +02:00
Ghostkeeper
82aa0492ea
Revert "CS-171 Add R2 support"
2019-09-06 14:00:04 +00:00
Ian Paschal
f49cf8dfd5
Fix typo
...
CS-171
2019-09-06 11:30:42 +02:00
Ian Paschal
7674905f1c
Extend found_machine_type_identifiers to include R2
...
CS-171
2019-09-06 11:23:28 +02:00
ChrisTerBeke
210843a7bb
Improve adding/connecting to output devices
2019-09-05 10:47:15 +02:00
ChrisTerBeke
4364d94423
Reduce logging and network activity during print job upload
2019-09-04 18:54:53 +02:00
Jaime van Kessel
f7d61e1e24
Merge branch 'feature_intent' of github.com:Ultimaker/Cura into feature_intent_container_tree
2019-08-29 16:31:44 +02:00
ChrisTerBeke
5ee6cd7e8f
Better handling of error response, not always show message
2019-08-28 22:39:25 +02:00
ChrisTerBeke
47237cda5f
Fix syncing materials via API, show nice message
2019-08-28 22:17:39 +02:00
ChrisTerBeke
9e6e9a4beb
Enable force override print job in local network, fix override button not enabled on older firmwares
2019-08-15 20:16:55 +02:00
ChrisTerBeke
fcd5a563e4
Use cluster_size property from zeroconf if available
2019-08-13 21:42:44 +02:00