Ubuntu don't install all the files required

Asked by eld1e6o

Binary package hint: oregano

After installing Oregano, all the files required aren't copied to his directory and when I try to simulate i get an error (as example: can't open /usr/share/oregano/models/OP37.model, No such file or directory or can't open /usr/share/oregano/models/LM741.model, No such file or directory)

locate LM741: no results

cd /usr/share/oregano/models/
ls
12AX7A.model 1N750.model NPN.model TLC555.model
1N4148.model DiodeBridge.model PNP.model UA741.model

I get this results when i launch from the console:

(oregano:7863): XML-CRITICAL **: Input is not proper UTF-8, indicate encoding !
Bytes: 0xA0 0xA0 0xA0 0xA0

** (oregano:7863): WARNING **: Library '/usr/share/oregano/libraries/power.oreglib' not well formed!

Greetings!

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu oregano Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

This question was originally filed as bug #247935.

Revision history for this message
Cesare Tirabassi (norsetto) said :
#1

This is not a bug but a question.
The Ubuntu oregano package only include few models, all those which are included in the upstream tarball.
Any additional model has to be added by the user.
Oregano models are in spice format and are therefore widely available, for instance this site gives a list of SPICE models available for free on the web:

http://homepages.which.net/~paul.hills/Circuits/Spice/ModelIndex.html

Revision history for this message
eld1e6o (eld1e6o) said :
#2

First... Very thanks for the link!

Mmm i think.. it's a bug because I can select the component from the program and it try to use the file... The component is unabled and the program search this file by default in the program folder :-S

If it isn't the configuration is bad and I can use the program after install (it's a basic model)

Greetings! (sorry if my english ins't very good)

Revision history for this message
Cesare Tirabassi (norsetto) said :
#3

Unless there are suitably licensed models which can be shipped with the package, there is nothing anyone can do about it.
For instance, look at the lm741 model from national, it says in it:

* Legal Notice: This material is intended for free software support.
* The file may be copied, and distributed; however, reselling the
* material is illegal

So, it cannot be included upstream (program is licensed GPL which is not compliant with that restriction) and we cannot include it in our distro for the same reason.

The only alternative is that we cripple the package so that only those models which are shipped are shown, which I don't think anyone would be happy with.

Revision history for this message
madrivereric (madrivereric) said :
#4

The issue is that the model name in the part doesn't match the file names in the directory:

The directory has UA741.model but the part is calling for LM741.model.

Similar issue with the 555 timer part/model.

Can be fixed by many different ways:
  * changing file name to match the missing model (mv UA741.model LM741.model)
  * copying file to new file with missing name (cp UA741.model LM741.model)
  * edit part library file XML so it refers to supplied file...

Can you help with this problem?

Provide an answer of your own, or ask eld1e6o for more information if necessary.

To post a message you must log in.