FS#73327 - [cura] Unable to multiply objects

Attached to Project: Community Packages
Opened by Moabit (Moabit) - Monday, 10 January 2022, 23:24 GMT
Last edited by Jelle van der Waa (jelly) - Thursday, 10 March 2022, 08:13 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jelle van der Waa (jelly)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description: When attempting to multiply objects, nothing happens

Additional info:
* package version(s): cura 4.12.1-1
* config and/or log files etc.

2022-01-09 00:39:16,087 - ERROR - [JobQueueWorker [3]] UM.JobQueue.run [135]: Exception: Job <cura.MultiplyObjectsJob.MultiplyObjectsJob object at 0x7fa0416ebd00> caused an exception on worker JobQueueWorker [3]
2022-01-09 00:39:16,087 - ERROR - [JobQueueWorker [3]] UM.JobQueue.run [135]: Traceback (most recent call last):
2022-01-09 00:39:16,087 - ERROR - [JobQueueWorker [3]] UM.JobQueue.run [135]: File "/usr/lib/python3.10/site-packages/UM/JobQueue.py", line 133, in run
2022-01-09 00:39:16,087 - ERROR - [JobQueueWorker [3]] UM.JobQueue.run [135]: job.run()
2022-01-09 00:39:16,087 - ERROR - [JobQueueWorker [3]] UM.JobQueue.run [135]: File "/usr/lib/python3.10/site-packages/cura/MultiplyObjectsJob.py", line 79, in run
2022-01-09 00:39:16,088 - ERROR - [JobQueueWorker [3]] UM.JobQueue.run [135]: group_operation, not_fit_count = createGroupOperationForArrange(nodes,
2022-01-09 00:39:16,088 - ERROR - [JobQueueWorker [3]] UM.JobQueue.run [135]: File "/usr/lib/python3.10/site-packages/cura/Arranging/Nest2DArrange.py", line 119, in createGroupOperationForArrange
2022-01-09 00:39:16,088 - ERROR - [JobQueueWorker [3]] UM.JobQueue.run [135]: found_solution_for_all, node_items = findNodePlacement(nodes_to_arrange, build_volume, fixed_nodes, factor)
2022-01-09 00:39:16,088 - ERROR - [JobQueueWorker [3]] UM.JobQueue.run [135]: File "/usr/lib/python3.10/site-packages/cura/Arranging/Nest2DArrange.py", line 94, in findNodePlacement
2022-01-09 00:39:16,088 - ERROR - [JobQueueWorker [3]] UM.JobQueue.run [135]: converted_points.append(Point(point[0] * factor, point[1] * factor))
2022-01-09 00:39:16,088 - ERROR - [JobQueueWorker [3]] UM.JobQueue.run [135]: TypeError: Point(): arguments did not match any overloaded call:
2022-01-09 00:39:16,088 - ERROR - [JobQueueWorker [3]] UM.JobQueue.run [135]: overload 1: argument 1 has unexpected type 'numpy.float64'
2022-01-09 00:39:16,088 - ERROR - [JobQueueWorker [3]] UM.JobQueue.run [135]: overload 2: argument 1 has unexpected type 'numpy.float64'

* link to upstream bug report, if any: there are multiple logs and more information in the [upstream issue](https://github.com/Ultimaker/Cura/issues/11218)

The AUR [appimage](https://aur.archlinux.org/packages/cura-appimage-bin/) works perfectly, but cura from the official repos fails. Upstream blames the packaging.

Steps to reproduce:
1. Open a file.
2. Right click on object.
3. Select "Multiply Selected".
4. Nothing happens.
This task depends upon

Closed by  Jelle van der Waa (jelly)
Thursday, 10 March 2022, 08:13 GMT
Reason for closing:  Deferred
Additional comments about closing:  Should be fixed upstream in 4.13
Comment by Moabit (Moabit) - Monday, 17 January 2022, 12:45 GMT
Temporary fix proposed by [upstream](https://github.com/Ultimaker/Cura/issues/11218#issuecomment-1014399836):

> The Arch maintainer may want to apply the Nest2DArranger changes as a patch for the meanwhile.

Loading...