Jnesselr / fusion-360-total-exporter

Need to export all of your fusion data in a bunch of formats? We've got you covered
287 stars 45 forks source link

Failed. Traceback attached. #2

Open wabmester opened 4 years ago

wabmester commented 4 years ago

total

Jnesselr commented 4 years ago

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.

wabmester commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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

Jnesselr commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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

image

Gnindit commented 4 years ago

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