30350n / pcb2blender

KiCad to Blender 3D model workflow
GNU General Public License v3.0
521 stars 11 forks source link

Exception after re-exporting: FileExistsError: [WinError 183] Cannot create a file when that file already exists #67

Closed wilhelmzeuschner closed 2 months ago

wilhelmzeuschner commented 2 months ago

I exported a PCB once, into the wrong folder. On the second try, I also realized that at first I forgot to add the TL and BR text items and I picked the correct folder.

Now I get this error: FileExistsError: [WinError 183] Cannot create a file when that file already exists image

I went into the temporary folder to find this: image

I deleted all the temp files and did another export. Now it worked fine.

Then I tried to export again and got the same error again. So I guess the error is not related to the missing TL and BR text, nor the fact I re-exported to different paths.

30350n commented 2 months ago

Thanks for the report! Should be fixed with 01e49f5.

You do not need the "TL and BR text items" if you are only exporting a single PCB btw.