Skip to content

Error when calling Swoop.EagleFile #13

@yenyi

Description

@yenyi

Hi,

When calling Swoop.EagleFile, it shows the following error message.
My python version is 2.7.15 and OS is Win10.
Thanks!

File "eagle2bookshelf2012.py", line 280, in run_conversion
brd = Swoop.EagleFile.from_file(brd_file)
File "C:\Users\Yen-Yi\AppData\Local\Programs\Python\Python27\lib\site-packages\Swoop\Swoop.py", line 1222, in from_file
n = cls.from_stream(cls.get_board_file_type(), f, bestEffort, DRUFile, pickle)
File "C:\Users\Yen-Yi\AppData\Local\Programs\Python\Python27\lib\site-packages\Swoop\Swoop.py", line 1184, in from_stream
ef.DRUFile = DRU.DRUFile(s)
File "C:\Users\Yen-Yi\AppData\Local\Programs\Python\Python27\lib\site-packages\Swoop\DRU.py", line 20, in init
self.open(stream, filename=filename);
File "C:\Users\Yen-Yi\AppData\Local\Programs\Python\Python27\lib\site-packages\Swoop\DRU.py", line 43, in open
assert m is not None, "Unknown value format in '{}': {}".format(filename,values[i])
AssertionError: Unknown value format in 'None': 0.035mm

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions