[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: Empty netlist file!



Steven,

I created a .sch file, '~/gaf/myprojects/avr_projects/avr_device1 
folder/avr_device1.sch' and ran gsch2pcb on it.

Here is the command line output when I try to load the netlist file 
'~/gaf/myprojects/avr_projects/avr_device1 folder/avr_device1.net' into 
'~/gaf/myprojects/avr_projects/avr_device1 folder/avr_device1.pcb':

...
Action: Load(Netlist)
Load:  Calling LoadFrom(Netlist, 
/home/dfro/gaf/myprojects/avr_projects/avr_device1 folder/avr_device1.net)
Action: 
LoadFrom(Netlist,/home/dfro/gaf/myprojects/avr_projects/avr_device1 
folder/avr_device1.net)
EvaluateFilename:
         Template: cat %f
         Path: (null)
         Filename: /home/dfro/gaf/myprojects/avr_projects/avr_device1 
folder/avr_device1.net
         Parameter: (null)
EvaluateFilename: cat /home/dfro/gaf/myprojects/avr_projects/avr_device1 
folder/avr_device1.net
cat: /home/dfro/gaf/myprojects/avr_projects/avr_device1: No such file or 
directory
cat: folder/avr_device1.net: No such file or directory

The last two lines seem to indicate that the program is getting confused 
by the space in the file's immediate directory. The 'EvaluateFilename:' 
line does not seem to be confused, though.

Thanks,

Dave




Steven Michalske wrote:

> this is odd,
> 
> i just tried to make a test case with a path with a space in it
> 
> it loaded the netlist file just fine
> 
> 
> dave,  could you please make the directory structure you have before  
> and run pcb in verbose mode
> 
> $ pcb --verbose  <your file name here>
> 
> i care about the lines like this
> 
> Load:  Calling LoadFrom(Netlist, /Users/hardkrash/Desktop/Projects/ 
> Boards/AnalogPower Amp/pcb_AnalogPowerAmp.net)
> Action: LoadFrom(Netlist,/Users/hardkrash/Desktop/Projects/Boards/ 
> AnalogPower Amp/pcb_AnalogPowerAmp.net)
> 
> Steve
> 
> On Jul 6, 2007, at 1:30 PM, John Doty wrote:
> 
> 
>>On Jul 6, 2007, at 2:19 PM, David Kerber wrote:
>>
>>
>>>There's no reason to worry about quotes in a folder name; they're
>>>illegal in
>>>file and path names in all versions of windows,
>>
>>Yes, but they're perfectly OK on Mac and Unix. There's no universal
>>delimiter to tell a program where a pathname ends in a string
>>containing more than just the pathname. Space is commonly used as a
>>delimiter, so it is best to avoid it in names.
>>
>>
>>>as are slashes,
>>>back-slashes, and a few other characters that I can't recall at the
>>>moment.
>>>
>>>
>>>
>>>>-----Original Message-----
>>>>From: geda-user-bounces@xxxxxxxxxxxxxx
>>>>[mailto:geda-user-bounces@xxxxxxxxxxxxxx] On Behalf Of DJ Delorie
>>>>Sent: Friday, July 06, 2007 4:13 PM
>>>>To: geda-user@xxxxxxxxxxxxxx
>>>>Subject: Re: gEDA-user: Empty netlist file!
>>>>
>>>>
>>>>
>>>>>Should I have known not to put a space in my directory
>>>>
>>>>names? Is this
>>>>
>>>>>something that can be fixed in 'pcb' easily or is it not
>>>>
>>>>worth fixing?
>>>>
>>>>>A lot of the folders on my Mac and linux box have spaces in
>>>>
>>>>them and
>>>>
>>>>>programs seem to be able to find them.
>>>>
>>>>Most unix users know to avoid spaces in file names, but Mac
>>>>and Windows users seem to not avoid them.  It *should* be a
>>>>simple matter of proper quoting in various places, but then
>>>>you'd want to be able to have directory names with quotes in
>>>>them, etc.
>>>>
>>>>
>>>>_______________________________________________
>>>>geda-user mailing list
>>>>geda-user@xxxxxxxxxxxxxx
>>>>http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
>>>>
>>>
>>>
>>>
>>>
>>>_______________________________________________
>>>geda-user mailing list
>>>geda-user@xxxxxxxxxxxxxx
>>>http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
>>
>>John Doty              Noqsi Aerospace, Ltd.
>>http://www.noqsi.com/
>>jpd@xxxxxxxxx
>>
>>
>>
>>
>>_______________________________________________
>>geda-user mailing list
>>geda-user@xxxxxxxxxxxxxx
>>http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
> 
> 
> 
> 
> _______________________________________________
> geda-user mailing list
> geda-user@xxxxxxxxxxxxxx
> http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
> 
> 
> 


_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user