Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
eabase opened this issue Sep 20, 2019 · 1 comment
Open

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

eabase opened this issue Sep 20, 2019 · 1 comment

Comments

@eabase
Copy link

eabase commented Sep 20, 2019

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
Copy link
Owner

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.

iysheng added a commit to iysheng/pcad2kicad that referenced this issue Nov 23, 2022
2. Fix rd: command not found under Linux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants