question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

plotPCB return empty

See original GitHub issue

Hi,

I tried to run the updated source files however it failed on get data from plotPCB.

Commit1 d07d4f3 	 Improved batt tabs pads;
Commit2 35b0361 	 Minor improvement
2020-03-16 15:51:50 2020-03-16 14:30:19
Generating .svg files
#THIS IS A PRINT OF THE COMMAND
/usr/local/bin/plotPCB.py /home/ze/development/pcb/Plots/d07d4f/pcb.kicad_pcb /home/ze/development/pcb/Plots/d07d4f [] []
Traceback (most recent call last):
  File "../KiCad-Diff/kidiff_gui.py", line 1549, in <module>
    svgDir1, svgDir2, boardDims1, boardDims2 = makeSVG(d1, d2, prjctName, prjctPath)
  File "../KiCad-Diff/kidiff_gui.py", line 1140, in makeSVG
    return (d1, d2, plotDims1[0], plotDims2[0])
IndexError: list index out of range

Running plotPCB

/usr/local/bin/plotPCB.py /home/ze/development/pcb/Plots/d07d4f/pcb.kicad_pcb /home/ze/development/pcb/Plots/d07d4f 
Traceback (most recent call last):
  File "/usr/local/bin/plotPCB.py", line 16, in <module>
    file = open('/tmp/svg/layers', 'r')
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/svg/layers'

it failed to read a layers file however looking into Kicaddiff_gui.py I can’t see where this file is created.

Thank you

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:16 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
Gasman2014commented, Jun 28, 2021

Think this should be fixed so I’m closing this. Please reopen if there are still issues with the latest version.

0reactions
leoheckcommented, Jun 18, 2021

@metropt this is a pretty old issue. Could you check if it can be closed? Thank you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What's the problem with my code , that returns empty plot?
A couple of things, but nothing major. First, plot() needs some kind of graph to plot, in this case I chose bar (...
Read more >
Why plot returns empty in this example?
My question is: Why first example above does not produce a plot? I know it has to do with how 's' and 't',...
Read more >
KiCad-Diff - Bountysource
plotPCB return empty $ 0 ... Created 2 years ago in Gasman2014/KiCad-Diff with 13 comments. Hi,. I tried to run the updated source...
Read more >
User Manual - Oracle Help Center
search criteria fields empty and click Search. ... NOTE: To return to the default view, select Default View. Specifying a View Point.
Read more >
KleineBre's Electro stuff
Nothing happened for a while, but the itch remained. ... Wouldn't it be great if I could just plot PCB layouts straight onto...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found