Oregano fails to launch gnucap

Bug #74604 reported by Elie De Brauwer
2
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=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ 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=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ 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("/usr/bin/gnucap", ["/usr/bin/gnucap", "gnucap", "/tmp/oregvO0WJL"], [/* 31 vars */]) = 0

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/run-gnucap.sh
#!/bin/bash

/usr/bin/gnucap -b $2

When you select this shellscript in oregano instead of the real gnucap binary the simulation will work.

Revision history for this message
Aanjhan Ranganathan (aanjhan) wrote :

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.

Revision history for this message
Daniel T Chen (crimsun) wrote :

Expired given newer versions.

Changed in oregano:
status: New → Won't Fix
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.