Skip to content

Empty line * causing parsing error #363

@Argmaster

Description

@Argmaster

I got same error message when I parse a GBS file.

here is my code:


from pygerber.gerberx3.api.v2 import FileTypeEnum, GerberFile

parsed_file = GerberFile.from_file(

    "./80600_50_6-ISS1/80600_50_6-ISS1_bott_resist.GBS",

    file_type=FileTypeEnum.INFER_FROM_ATTRIBUTES

).parse()

print(parsed_file.get_info())

print(parsed_file.get_file_type())

here I attach my gerber zip file:

80600_50_6-ISS1.zip

please advise how to solve it.

Thanks,

Lily

80600_50_6-ISS1.zip

Originally posted by @lily-PHP in #361

Metadata

Metadata

Assignees

No one assigned

    Labels

    compatibilityRequest for compatibility with some other tool / library versionhelp wantedExtra attention is needed

    Projects

    Status

    Todo

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions