kiri: Not working again on windows

Hey @leoheck

I had a colleague install kdiff and it wasn’t working for him. So I tried wit ha fresh install for myself and it is no longer working for me. Have you changed any of the installation repos by chance? The schematics work just fine but as soon as I look at a PCB it is blank and this is the error I got.

   plotpcb -o "/home/jordan/lcd-conn-expansion/kidiff/src/2d62ea3/" -q "/home/jordan/lcd-conn-expansion/kidiff/src/2d62ea3/expansion.kicad_pcb"
/mnt/c/Users/Stanley/Desktop/ELEC/KiCad-Diff/plotpcb: line 2: $'\r': command not found
/mnt/c/Users/Stanley/Desktop/ELEC/KiCad-Diff/plotpcb: line 5: $'\r': command not found
/mnt/c/Users/Stanley/Desktop/ELEC/KiCad-Diff/plotpcb: line 6: syntax error near unexpected token `$'\r''
'mnt/c/Users/Stanley/Desktop/ELEC/KiCad-Diff/plotpcb: line 6: `readlink_osx()
   plotpcb -o "/home/jordan/lcd-conn-expansion/kidiff/src/d9d214e/" -q "/home/jordan/lcd-conn-expansion/kidiff/src/d9d214e/expansion.kicad_pcb"
/mnt/c/Users/Stanley/Desktop/ELEC/KiCad-Diff/plotpcb: line 2: $'\r': command not found
/mnt/c/Users/Stanley/Desktop/ELEC/KiCad-Diff/plotpcb: line 5: $'\r': command not found
/mnt/c/Users/Stanley/Desktop/ELEC/KiCad-Diff/plotpcb: line 6: syntax error near unexpected token `$'\r''
'mnt/c/Users/Stanley/Desktop/ELEC/KiCad-Diff/plotpcb: line 6: `readlink_osx()

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 35 (18 by maintainers)

Most upvoted comments

So it seems I have fixed the line endings issue. I also think I have found the source of the file not being found. I have replaced the .opam folder with a working build that I have locally. (./install.sh does not seem to work currently with recent builds). I ran all the other installation packages and it seems to be working in a fresh install. I will do further testing soon on separate machines.