erichVK5 / inkscape2pcb

Inkscape extension scripts allowing export of inkscape paths to pcb-rnd layouts (.lht) and gEDA PCB footprints (.fp)
GNU General Public License v2.0
13 stars 2 forks source link

Error when saving #5

Open AbdElhalim12 opened 1 year ago

AbdElhalim12 commented 1 year ago

I got this error after I try to save either lht or fb format

Traceback (most recent call last): File "geda_pcb_output.py", line 114, in MyEffect().run() File "C:\Program Files\Inkscape\share\inkscape\extensions\inkex\base.py", line 123, in run self.save_raw(self.effect()) File "geda_pcb_output.py", line 110, in effect self.process_group(doc) File "geda_pcb_output.py", line 87, in process_group if child.is_visible(): File "C:\Program Files\Inkscape\share\inkscape\extensions\inkex\elements_base.py", line 147, in getattr raise AttributeError("Can't find attribute {}.{}".format(self.typename, name)) AttributeError: Can't find attribute Layer.is_visible

erichVK5 commented 1 year ago

Thanks for the bug report.

Which version of inkscape are you using?

I have tested on 0.9x and 1.1.

I will try to duplicate your error, and feel free to provide an example inkscape file for failed export.

Cheers,

Erich