altium2kicad icon indicating copy to clipboard operation
altium2kicad copied to clipboard

Error loading board. IO_ERROR: Maximum line length exceeded from richio.cpp : ReadLine() : line 235

Open sabiha1233 opened this issue 7 years ago • 6 comments

Hi, I have converted a altium design file to kicad using altium2kikcad by following the video .When I tried to open the converted board file I got "Error loading board. IO_ERROR: Maximum line length exceeded from richio.cpp : ReadLine() : line 235". I found a discussion related to this error. In this link, the suggested solution is to remove the unnecessary data to make long lines shorter in kicad_pcb file. My file(Please find the attached file) has 27223 and I have no idea which lines to make shorter. Please help me in this regard. board.zip

Thank You.

sabiha1233 avatar Feb 28 '18 05:02 sabiha1233

Please open the file convertpcb.pl , there is on line 39 the command $annotate=1; please change that to $annotate=0; then run it again. I will try to fix this problem permanently soon.

thesourcerer8 avatar Feb 28 '18 05:02 thesourcerer8

I have added linebreaks in the new version of convertpcb.pl, please try this new version, and tell me whether it solves your problem.

thesourcerer8 avatar Feb 28 '18 09:02 thesourcerer8

Hi, I tried both (Changing $annotate=1 to $annotate=0 and downloaded the new version) but both failed to open the converted file. I am attaching the output I got in terminal while the convertpcb.pl is running. And when i tried to open the file I got error "PcbDoc.kicad_pcb', line x: '=' expected." Please help me in this regard. screenshot from 2018-03-03 10-21-12-iloveimg-cropped screenshot from 2018-03-03 10-21-30-iloveimg-cropped screenshot from 2018-03-03 10-21-38-iloveimg-cropped screenshot from 2018-03-03 10-21-47-iloveimg-cropped screenshot from 2018-03-03 10-24-56-iloveimg-cropped

sabiha1233 avatar Mar 03 '18 05:03 sabiha1233

Hi,I have tried solutions you provided and updated the status. Please check and help me to solve the issue

sabiha1233 avatar Mar 06 '18 03:03 sabiha1233

Can you please provide the original .pcbdoc file?

thesourcerer8 avatar Mar 16 '18 13:03 thesourcerer8

I have changed the default behaviour to not do the annoations anymore, could you please try again, and if it doesn't work, can you please send me the original .pcbdoc file?

thesourcerer8 avatar Jun 05 '18 18:06 thesourcerer8