Public bug reported:

Binary package hint: oregano

On edgy:

[EMAIL PROTECTED]:~$ 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:

[EMAIL PROTECTED]:~$ 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:

[EMAIL PROTECTED]:~$ 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.

** Affects: oregano (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
Oregano fails to launch gnucap
https://launchpad.net/bugs/74604

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to