Skip to content
This repository has been archived by the owner on Apr 30, 2024. It is now read-only.

Failed. Traceback attached. #2

Open
wabmester opened this issue Sep 18, 2020 · 11 comments
Open

Failed. Traceback attached. #2

wabmester opened this issue Sep 18, 2020 · 11 comments
Labels
bug Something isn't working

Comments

@wabmester
Copy link

total

@Jnesselr
Copy link
Owner

Well. That's weird. Luckily it's on the root component so it shouldn't be too hard to track down. You should have also seen an error message starting with "Failed while working on " and then the design it was working on. If you look at that design's root component, can you answer some questions (see below). It looks like that line is part of the exception trace which is a bit suspect. If you didn't get that popup message, then you might have to figure out the design it was working on manually. It writes things out in alphabetical order, so that should help.

Questions:

  1. Does it have sub components?
  2. Does it have mesh bodies?
  3. Does it have normal bodies?
  4. Can you activate the root component, go to "File" > "Export" and export it as an STL file?
  5. Can you upload a screenshot of the expanded view of that component just in case there's something I haven't thought of by these other questions?

My current thoughts are to ignore failures like this, but I don't want to not export something. But that error is Fusion telling me that it couldn't even parse the bodies at all.

@Jnesselr Jnesselr added the bug Something isn't working label Sep 18, 2020
@wabmester
Copy link
Author

wabmester commented Sep 18, 2020

Ran it again to see which design it was working on. Turns out it was the first project (of 48), but the 2nd time I ran it, it made it through that project w/o error. Now it seems hung on project 2. BTW, that first project was a simple design -- maybe just an SVG, but I have to wait till Fusion is responsive again before I can check.

@Jnesselr
Copy link
Owner

Interesting. I wonder if there's an issue with supporting projects with no bodies or components at all. I wouldn't think there would be, but... yeah it's weird. If you run it again, does it get hung on project 2 or move on to project 3.

@wabmester
Copy link
Author

2nd project not actually a hang. I'm watching timestamps, and it's still updating files. Just a huge assembly, I guess.

@Jnesselr
Copy link
Owner

Oh, gotcha. Still weird that it skipped the first one though. It should overwrite everything every time currently. It is very annoying to have to have things open and active to export them this way. I tried doing it in a background thread and I just couldn't get it to work at all in a script like that.

@wabmester
Copy link
Author

wabmester commented Sep 18, 2020

I had a couple more failures. Let me know if you prefer separate issues. First gave me a design name but no other information about the error. 2nd gave me a traceback (filename too long).
traceback robot

@Jnesselr
Copy link
Owner

That traceback is what I thought #4 was referring to, but I guess it might be different. My comment there should help address that issue.

In general, I prefer new issue reports. It makes it easier to keep up with stuff.

@bratwiz
Copy link

bratwiz commented Sep 19, 2020

Since time is of the essence in getting stuff transferred out of F360. How about adding a quick switch to tell the script to just log it and keep going. Then it could at least get the bulk of it done and there'll be a presumably smaller log of items to deal with manually?

@Jnesselr
Copy link
Owner

Since time is of the essence in getting stuff transferred out of F360. How about adding a quick switch to tell the script to just log it and keep going. Then it could at least get the bulk of it done and there'll be a presumably smaller log of items to deal with manually?

Yep, that's my current work in progress.

@Gnindit
Copy link

Gnindit commented Sep 21, 2020

This looks like the same error as in the first picture. I get them now and then while exporting.

image

@Gnindit
Copy link

Gnindit commented Sep 21, 2020

I now checked the part from above in Fusion. And it is very strange. There is no Body in it so that is probably why there is an error.
And the body that is missing should not be there so no problem (at least in this design). Maybe I deleted it in CAD and Fusion failed to delete the container that the body is in.

image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants