Unable to load Gerber file
Just upgraded from version 8.99 to 8.991 since I could not save project file. But in version 8.991 I can’t open a gerber file at all, see console dump:
Tried to restart application and totally uninstall and new install didn’t help either.
Hope I am doing something wrong.
FlatCAM 8.991 - Type >help< to get started
[WARNING_NOTCL] Found old default preferences files. Please reboot the application to update.
Gerber processing. Parsing 7373 lines.
[ERROR] Gerber Parser ERROR
Gerber Line #1412 Gerber Line Content: G37*
KeyError('size'):
[ERROR_NOTCL] Object is not Gerber file or empty. Aborting object creation.
[ERROR_NOTCL] Open Gerber failed. Probable not a Gerber file.
[WARNING_NOTCL] Preferences edited but not saved.
[success] Imported Defaults from: C:/Users/zal/AppData/Roaming/FlatCAM/preferences_20200112_215548.FlatConfig
[success] Preferences saved.
Gerber processing. Parsing 7373 lines.
[ERROR] Gerber Parser ERROR
Gerber Line #1412 Gerber Line Content: G37*
KeyError('size'):
[ERROR_NOTCL] Object is not Gerber file or empty. Aborting object creation.
[ERROR_NOTCL] Open Gerber failed. Probable not a Gerber file.
Gerber processing. Parsing 4712 lines.
[ERROR] Gerber Parser ERROR
Gerber Line #878 Gerber Line Content: G37*
KeyError('size'):
[ERROR_NOTCL] Object is not Gerber file or empty. Aborting object creation.
[ERROR_NOTCL] Open Gerber failed. Probable not a Gerber file.
Comments (11)
-
-
reporter Hi Marius,
Please find the attached gerber files. .Top and .Bot are not readable but .drl and .outline are loading and ploting fine
-
Nothing is attached … You could edit the issue and add the file.
-
reporter - attached Sender_flat.Top
- attached Sender_flat.Drl
- attached Sender_flat.Bot
- attached Sender_flat.Outline
-
reporter Hi Marius,
Do you see them now?
BR
Zulfqar
-
Yeap. Which one you tried to load and posted the text above?
-
reporter Here is the screen shot
-
reporter Hi again,
.Top and .Bot are not readable but .drl and .outline are loading and ploting fine
-
It was a simple thing to solve once I saw where it is the issue.
I made some changes recently and that was creating the problem.Sometime I feel like at circus juggling balls, you change things here you break them there … Besides that was important since I own a license of Circuit Studio and it will not do to not be able to load the Gerber’s for it.
-
reporter Hi Marius,
That was a quick, juggling balls is like story of my life :)
Thanks, I will wait for 8.992 release .
BR
Zulfqar
-
- changed status to resolved
Fixed. The fix will be available in version 8.992 when published.
- Log in to comment
Hi Zulfqar,
Can you please post the offending Gerber file?
Thanks!