Oregano fails to launch gnucap
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oregano (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: oregano
On edgy:
edb@lapedb:~$ dpkg -l oregano
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Description
+++-===
ii oregano 0.50.1-2 tool for schematical capture of electronic circuits
First one should not that version 0.50 is outdated and has been replaced with version 0.60 released 30 september 2006.
I encountered the following. When I create a simple circuit and want to run analysis on it using the gnucap engine:
edb@lapedb:~$ dpkg -l gnucap
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Description
+++-===
ii gnucap 0.34-5 GNU Circuit Analysis package
I configure everything correctly, select the gnucap engine, select the binary... the simulation still fails. An strace shows the following:
execve(
Somehow oregano tries to execute:
/usr/bin/gnucap gnucap /tmp/oregVO0WJL
Quoting man gnucap:
NAME
gnucap - GNU Circuit Analysis Package
SYNOPSIS
gnucap [-b filename] [-i filename]
Anyhow this doesn't work. A simple workaround (apart from fixing the code, probably this will be fixed in the new release already, but until it goes upstream it's possible to use this workaround):
I created a shellscript:
edb@lapedb:~$ cat /usr/bin/
#!/bin/bash
/usr/bin/gnucap -b $2
When you select this shellscript in oregano instead of the real gnucap binary the simulation will work.
Hardy has 0.69.0 version of Oregano and it would be great if you could upload a sample schematic with which you got this bug. Also it would be great if you could try and let us know whether you still observe the bug in Hardy?
Thanks for helping us make Ubuntu better.