-
Notifications
You must be signed in to change notification settings - Fork 93
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
unsupported operand type(s) for *: 'NoneType' and 'float' #458
Comments
What version of the solution are you using? We did add a fix to this for the new version (2.1.0) released a few weeks ago. |
I use a Version: v2.1.0, but i have the same issue. |
I use a Version: v2.0.3. |
So it looks like the fix released in v2.1.0 only partially fixed this bug. We will have to investigate what other edge cases are causing the problem. I have noticed that it is more likely to occur if multiple resources have been deleted from the canvas before export. |
I've made a little more progress and I think (?) the bug is here https://github.com/aws-solutions/workload-discovery-on-aws/blob/main/source/backend/functions/drawio/main.py#L188-L189. If the order of the incoming JSON results in a child being before a parent, that child never gets added to the
|
we are using v2.1.3 and also experiencing this, is there any updates on this issue? |
@JacobReynolds is correct and so is the fix posted. I have tidied up the lambda function a bit and added steps on how to patch in this comment. |
This was fixed in v2.1.6. |
I am currently having problems when exporting a diagram to Drawio I get the following error:
unsupported operand type(s) for *: 'NoneType' and 'float'
And I have not been able to find the origin of said err
The text was updated successfully, but these errors were encountered: