Mail Archives: geda-help/2013/12/19/02:30:12
--f46d043c0816ebe35604edde1f82
Content-Type: text/plain; charset=ISO-8859-1
I was able to workaround the problem for the moment by nuking everything
contained in NetList()(). I could not find a corresponding bug report on
launchpad, though at the moment I'm somewhat uncertain about the actual
cause / source of the problem. The following facts contradict the
explanation you suggest :
* PCB was working fine until some moment in time.
* PCB saved, exited, gsch2pcb run which generated (in my case)
x-smu.pcb.bak8
* New x-smu.pcb fails to open. However, x-smu.pcb.bak8 _also_ fails to
open, suggesting the problem precedes gsch2pcb
* On removing NetList()(...), x-smu.pcb opens fine.
* Load Netlist from file doesn't cause a crash.
* Saving the file now, exiting, and reopening the file does not cause a
crash. This implies that the new netlist that gnetlist made isn't
inherently bad.
I'm therefore hesitant to claim that the fault lies in CreateNewNet() and
the names coming from the schematic. If I had to guess I would say it was
pcb that for some reason saved a corrupted version of the file the first
time around.
I can provide the corresponding pcb files to you off-list if you like. I've
kept copies of the ones that cause a crash atleast.
Thanks
Shashank
On Thu, Dec 19, 2013 at 11:38 AM, DJ Delorie <dj AT delorie DOT com> wrote:
>
> Looks like CreateNewNet() has a hardcoded limit of 63 characters for
> net names, but doesn't check the length coming from the schematic.
> Did you add or rename a net using a long name? Or are you using
> heirarchy?
>
> (and yes, please add a bug report to launchpad if there isn't one already)
>
--
Chintalagiri Shashank
Indian Institute of Technology, Kanpur
http://blog.chintal.in
--f46d043c0816ebe35604edde1f82
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div><div><div><div><div><div><div><div><div><div>I was ab=
le to workaround the problem for the moment by nuking everything contained =
in NetList()(). I could not find a corresponding bug report on launchpad, t=
hough at the moment I'm somewhat uncertain about the actual cause / sou=
rce of the problem. The following facts contradict the explanation you sugg=
est :<br>
<br></div>* PCB was working fine until some moment in time.<br></div>* PCB =
saved, exited, gsch2pcb run which generated (in my case) x-smu.pcb.bak8<br>=
</div>* New x-smu.pcb fails to open. However, x-smu.pcb.bak8 _also_ fails t=
o open, suggesting the problem precedes gsch2pcb<br>
</div>* On removing NetList()(...), x-smu.pcb opens fine.<br></div>* Load N=
etlist from file doesn't cause a crash.<br></div>* Saving the file now,=
exiting, and reopening the file does not cause a crash. This implies that =
the new netlist that gnetlist made isn't inherently bad.<br>
<br></div>I'm therefore hesitant to claim that the fault lies in Create=
NewNet() and the names coming from the schematic. If I had to guess I would=
say it was pcb that for some reason saved a corrupted version of the file =
the first time around.<br>
<br></div>I can provide the corresponding pcb files to you off-list if you =
like. I've kept copies of the ones that cause a crash atleast.<br><br><=
/div>Thanks<br></div>Shashank<br></div><div class=3D"gmail_extra"><br><br>
<div class=3D"gmail_quote">On Thu, Dec 19, 2013 at 11:38 AM, DJ Delorie <sp=
an dir=3D"ltr"><<a href=3D"mailto:dj AT delorie DOT com" target=3D"_blank">dj AT d=
elorie.com</a>></span> wrote:<br><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Looks like CreateNewNet() has a hardcoded limit of 63 characters for<br>
net names, but doesn't check the length coming from the schematic.<br>
Did you add or rename a net using a long name? =A0Or are you using<br>
heirarchy?<br>
<br>
(and yes, please add a bug report to launchpad if there isn't one alrea=
dy)<br>
</blockquote></div><br><br clear=3D"all"><br>-- <br><br>Chintalagiri Shasha=
nk<br>Indian Institute of Technology, Kanpur<br><br><a href=3D"http://blog.=
chintal.in" target=3D"_blank">http://blog.chintal.in</a><br><br>
</div>
--f46d043c0816ebe35604edde1f82--
- Raw text -