pcb

PCB - no message when file not found

Bug #903709 reported by VaclavPe
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gEDA
Invalid
Undecided
Unassigned
pcb
New
Undecided
Unassigned

Bug Description

I tried two following scenarios:
- start PCB, menu File-Import Schematic-choose .SCH file
   - black window flashes, nothing happens
   - in the Message Window, message below appears:
      "Can't add rat lines because no netlist is loaded."

What happened ? Why is my SCH not imported correctly ? Can I see more messages in the log ?

I load .PCB from "schem2pcb" converter:
- start PCB, menu File-Load Layout
- :ExecuteFile(file.cmd)
   - nothing happens, no message in the log

Why did it nothing ? How can I know where is the problem ? I want to know what went wrong.

Testing platform - PCB v20110918, Windows XP

Tags: windows pcb
Revision history for this message
DJ Delorie (djdelorie) wrote :

Because of the way mingw works, printed messages are lost from the sub-programs. To diagnose this, open a command window and type (assuming you've also installed the gschem/gaf package):

  gnetlist -g pcbfwd whatever.sch > junk.txt

Then, junk.txt should have the messages. It's likely you'll need to either (1) set one or more environment variables related to guile, or (2) create zero-length config files as needed to aovid a file-detection bug in that version of libgeda. See http://www.delorie.com/pcb/geda-windows/ for some more installation notes.

Revision history for this message
Peter TB Brett (peter-b) wrote :

> (2) create zero-length config files as needed to aovid a file-detection bug
> in that version of libgeda.

If you're using the latest nightly geda-gaf build you shouldn't experience that problem (I think I've fixed it).

Revision history for this message
VaclavPe (vaclavpe) wrote :

I run the command you had recommended. junk.txt contains following line:
Loading schematic [D:\V\projekty\PCB\whatever.sch]

But in CMD, I see following
Failed to read pcbfwd scm file [d:\sw\gEDA\share\gEDA\scheme\gnet-pcbfwd.scm]
Backtrace:
In current input:
   1: 0* (pcbfwd "output.net")

<unnamed port>:1:1: In expression (pcbfwd "output.net"):
<unnamed port>:1:1: Unbound variable: pcbfwd

And gnet-pcbfwd.scm is indeed missing.

I downloaded geda-gaf-1.7.1.tar.gz from seul.org but there is no such file gnet-pcbfwd.scm

Where can I get it ?

Are there geda-gaf nightly builds for Windows anywhere?

Revision history for this message
Peter TB Brett (peter-b) wrote :

Bug 700311 strikes again!

Revision history for this message
Peter TB Brett (peter-b) wrote :

This doesn't look like a gEDA/gaf bug. If it turns out to be a bug in gEDA/gaf, please re-open.

Changed in geda:
status: New → Invalid
Revision history for this message
VaclavPe (vaclavpe) wrote :

OK, my mistake, it should be PCB bug. I thought that bugs for all GEDA components were here. I will fill the bug report for PCB.

Revision history for this message
DJ Delorie (djdelorie) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.