xtoolbox / pcad2kicad

Convert Altium Designer and PCAD library to KiCad
MIT License
118 stars 38 forks source link

Conversion error: FileHeader: No such file or directory #6

Open eabase opened 5 years ago

eabase commented 5 years ago

I get:

$ lua53.exe ad2kicad.lua ../ag35.schlib ag35
Der Befehl "7z" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
../ag35/FileHeader: No such file or directory
C:\mybin\lua53.exe: .\ad_lib.lua:143: attempt to get length of a nil value (local 'blocks')
stack traceback:
        .\ad_lib.lua:143: in upvalue 'parse_Header'
        .\ad_lib.lua:922: in function 'parse_schlib'
        .\ad_lib.lua:945: in function 'convert_schlib'
        ad2kicad.lua:95: in main chunk
        [C]: in ?

PS. 7z is installed and found, so I have no idea what that complaint is about!

xtoolbox commented 5 years ago

it seems after extract the ag35.schlib file, there is no fileheader exist. You can extract the ag35.schlib with 7z, then check the fileheader is exist or not. If the fileheader is not exist, maybe the schlib format is not support, you can try to convert it to an old version.