|
From: Jose M. C. <jos...@ho...> - 2014-04-12 17:00:47
|
Hello: Recently I have sent an e-mail, talking about a problem with the SPICE netlists in this new version of QUCS. I told you that the problem arose when I tried to simulate one circuit that I designed with the previous version 0.0.17.3 of QUCS. This design can be analysed in the 0.0.17.3 version with no problem. When I start the simulation, in the window that always pops up informing about the process, says: "Creating netlist". And, at the same time, another window pops up (the label of this windows is "Information") saying "Converting SPICE file /media/ ... /NXP_BFR520.cir"In this second window there is only one option (one button in the window) for closing it: "Abort". The simulation remains frozen waiting for this conversion. But no matter how long you wait, nothing happens.Eventually, when you are tired of waiting and you press "Abort" in the second window, in the first one, in the text filed of "Errors and Warnings" appears this message:"/usr/local/bin/qucsator: error while loading shared libraries: libqucs.so.0: cannot open shared object file: No such file or directory" After that I tried to determine if the problem was in the file. So I went into the netlist SPICE component where I had imported the spice netlist. I double clicked on the component and it appeared an error message window saying: "/usr/local/bin/qucsconv: error while loading shared libraries: libqucs.so.0: cannot open shared object file: No such file or directory" At this point, it was clear that something was happening with this file. I tried to find it, and I did it in the route: /usr/local/lib.Some time ago, I had a similar problem with other program, and the solution was to copy the file in /usr/local/lib to /usr/lib. In fact, I copied all the "lib" files related to qucs in this folder. There were four files named "libqucs_something_" and I decided to copy all of them to /usr/lib. After doing that, the situation has changed. When I analyse the circuit containing the netlist SPICE component, the same two windows that I have mentioned before, pop up and the simulation stops like before. But when I press "abort" in the second window, in the "Errors and Warnings" field of the first window says:"line 65: syntax error, unexpected '.', expecting EndSub" It seems that there is some error in the netlist that I am working with. The strangest thing of all of that stuff, is that the ".cir" file only has 54 lines ... I have counted them using the QUCS editor. You can see it by yourselves. The ".cir" file is the following. * PACKAGE : SOT23 DIE MODEL : BFR520 * 1: COLLECTOR; 2: BASE; 3: EMITTER; RB 2 0 1MEG RC 1 0 1MEG RE 3 0 1MEG Q1 6 5 7 BFR520 *---------------------- * SOT23 parasitic model *---------------------- Lb 4 5 .4n Le 7 8 .83n L1 2 4 .35n L2 1 6 .17n L3 3 8 .35n Ccb 4 6 71f Cbe 4 8 2f Cce 6 8 71f * * PHILIPS SEMICONDUCTORS Version: 1.0 * Filename: BFR520.PRM Date: Feb 1992 * .MODEL BFR520 NPN + IS = 1.01677E-015 + BF = 2.20182E+002 + NF = 1.00065E+000 + VAF = 4.80619E+001 + IKF = 5.10042E-001 + ISE = 2.83095E-013 + NE = 2.03568E+000 + BR = 1.00714E+002 + NR = 9.88109E-001 + VAR = 1.69288E+000 + IKR = 2.35262E-003 + ISC = 2.44898E-017 + NC = 1.02256E+000 + RB = 1.00000E+001 + IRB = 1.00000E-006 + RBM = 1.00000E+001 + RE = 7.75349E-001 + RC = 2.21000E+000 + EG = 1.11000E+000 + XTI = 3.00000E+000 + CJE = 1.24548E-012 + VJE = 6.00000E-001 + MJE = 2.58153E-001 + TF = 8.61625E-012 + XTF = 6.78866E+000 + VTF = 1.41469E+000 + ITF = 1.10365E-001 + PTF = 4.50197E+001 + CJC = 4.47646E-013 + VJC = 1.89234E-001 .END Can anybody give me a hint about the solution of this problem? |
|
From: Guilherme B. T. <gui...@gm...> - 2014-04-12 20:03:29
|
Hi Jose, Your spice model seems to work for me. Using 0.0.17. A few comments in-line below. On 4/12/14, 7:00 PM, Jose Manuel Campelo wrote: > Hello: > Recently I have sent an e-mail, talking about a problem with the SPICE netlists in this new version of QUCS. I told you that the problem arose when I tried to simulate one circuit that I designed with the previous version 0.0.17.3 of QUCS. This design can be analysed in the 0.0.17.3 version with no problem. I am wondering where did you get this version from. The last stable release is 0.0.17, where does the extra .3 comes from? > When I start the simulation, in the window that always pops up informing about the process, says: "Creating netlist". And, at the same time, another window pops up (the label of this windows is "Information") saying "Converting SPICE file /media/ ... /NXP_BFR520.cir"In this second window there is only one option (one button in the window) for closing it: "Abort". > The simulation remains frozen waiting for this conversion. But no matter how long you wait, nothing happens.Eventually, when you are tired of waiting and you press "Abort" in the second window, in the first one, in the text filed of "Errors and Warnings" appears this message:"/usr/local/bin/qucsator: error while loading shared libraries: libqucs.so.0: cannot open shared object file: No such file or directory" > After that I tried to determine if the problem was in the file. So I went into the netlist SPICE component where I had imported the spice netlist. I double clicked on the component and it appeared an error message window saying: > "/usr/local/bin/qucsconv: error while loading shared libraries: libqucs.so.0: cannot open shared object file: No such file or directory" How did you install Qucs? It seems that there are issues with the search path for libraries. Did you compile from source? Did you run `sudo ldconfig` and restarted? > At this point, it was clear that something was happening with this file. I tried to find it, and I did it in the route: /usr/local/lib.Some time ago, I had a similar problem with other program, and the solution was to copy the file in /usr/local/lib to /usr/lib. > In fact, I copied all the "lib" files related to qucs in this folder. There were four files named "libqucs_something_" and I decided to copy all of them to /usr/lib. Copying libraries might help temporarily, but usually it creates more issues and do not solve the problem on its source. > After doing that, the situation has changed. When I analyse the circuit containing the netlist SPICE component, the same two windows that I have mentioned before, pop up and the simulation stops like before. But when I press "abort" in the second window, in the "Errors and Warnings" field of the first window says:"line 65: syntax error, unexpected '.', expecting EndSub" This error message is likely form the `netlist.txt` located on your `~/.qucs` directory. Not from the spice .cir file. > It seems that there is some error in the netlist that I am working with. The strangest thing of all of that stuff, is that the ".cir" file only has 54 lines ... I have counted them using the QUCS editor. You can see it by yourselves. The ".cir" file is the following. > <snip> First of all, you can check whether `qucsator` is able to translate the spice file. Try: `qucsconf -h` `qucsconv -if spice -of qucs -i NXP_BFR520.cir` As I said, it seems to work on my side. Here is a small project with a DC and transient simulations: https://www.dropbox.com/s/8gjed0ghk2hdwh2/spice_BFR520.qucs You can find some instructions about using Spice and Qucs in here: http://qucs.sourceforge.net/docs/tutorial/spicetoqucs.pdf > Can anybody give me a hint about the solution of this problem? > I think your Qucs installation is broken. I suggest you to cleanup and reinstall it. Regards, Guilherme |
|
From: Guilherme B. T. <gui...@gm...> - 2014-04-14 17:08:38
|
Hi Jose, Indeed the latest master is getting stuck as you described. I am looking into it. For some reason I understood you had issues with 0.0.17... Regards, Guilherme On 4/14/14, 4:17 PM, Jose Manuel Campelo wrote: > Hello Guilherme: > > Thank you very much for your answers. Let me, please, comment your > answers: > > /*1.- Your spice model seems to work for me. Using 0.0.17.*/ > > Yes, that is my case too. In the verstion 0.0.17 this netlist works > perfectly. > > */2.- I am wondering where did you get this version from. > The last stable release is 0.0.17, where does the extra .3 comes from?/* > > It is my mistake. I meant 0.0.17-3. Each time I have refered 0.0.17.3 > I meant 0.0.17-3. It is in the web site: > https://launchpad.net/~qucs/+archive/qucs/ > <https://launchpad.net/%7Equcs/+archive/qucs/> > > > /*3.- How did you install Qucs? It seems that there are issues with the search path for libraries. Did you compile from source?*/ > > I clone the git repository : git://git.code.sf.net/p/qucs/git qucs-git > > > I followed all the instructions step by stetp; from the package > information to the end. > > Everything seemed to work OK and after the process, I had installed > the 0.0.18 version on my system. I did it last Saturday 12th of April. > > It is now available the “Load Verilog-A module” which is the thing I > am interested the most now. > > > */4-Did you run `sudo ldconfig` and restarted?/* > > No I did not. > > > */5.- Copying libraries might help temporarily, but usually it creates more issues and do not solve the problem on its source./* > > > Yes, this is also my understanding. I was just checking options trying > to advance. But it is true, that this is only a patch, not a solution. > > > */6.- "line 65: syntax error, unexpected '.', expecting EndSub" > This error message is likely form the `netlist.txt` located on your > `~/.qucs` directory. Not from the spice .cir file./* > > Yes I understand. This was my guess too. > > > */7.- First of all, you can check whether `qucsator` is able to translate the spice file. Try: > `qucsconf -h` > `qucsconv -if spice -of qucs -i NXP_BFR520.cir`/* > > I did it. In the folder where I have the files. The first command > `qucsconf -h` produces no effect. The system does not find the command. > > But the second command, seems to work. The text obtained is the following: > > > # converted Qucs netlist processed at Mon Apr 14 14:54:27 2014 > > > # > > # * PACKAGE : SOT23 DIE MODEL : BFR520 > > # > > > # .MODEL:BFR520 NPN (IS=1.01677E-015 BF=2.20182E+002 NF=1.00065E+000 > VAF=4.80619E+001 IKF=5.10042E-001 ISE=2.83095E-013 NE=2.03568E+000 > BR=1.00714E+002 NR=9.88109E-001 VAR=1.69288E+000 IKR=2.35262E-003 > ISC=2.44898E-017 NC=1.02256E+000 RB=1.00000E+001 IRB=1.00000E-006 > RBM=1.00000E+001 RE=7.75349E-001 RC=2.21000E+000 EG=1.11000E+000 > XTI=3.00000E+000 CJE=1.24548E-012 VJE=6.00000E-001 MJE=2.58153E-001 > TF=8.61625E-012 XTF=6.78866E+000 VTF=1.41469E+000 ITF=1.10365E-001 > PTF=4.50197E+001 CJC=4.47646E-013 VJC=1.89234E-001) > > C:CCE _net6 _net8 C="71f" > > C:CBE _net4 _net8 C="2f" > > C:CCB _net4 _net6 C="71f" > > L:L3 _net3 _net8 L="0.35n" > > L:L2 _net1 _net6 L="0.17n" > > L:L1 _net2 _net4 L="0.35n" > > L:LE _net7 _net8 L="0.83n" > > L:LB _net4 _net5 L="0.4n" > > BJT:Q1 _net5 _net6 _net7 gnd Type="npn" Is="1.01677e-15" Bf="220.182" > Nf="1.00065" Vaf="48.0619" Ikf="0.510042" Ise="2.83095e-13" > Ne="2.03568" Br="100.714" Nr="0.988109" Var="1.69288" Ikr="0.00235262" > Isc="2.44898e-17" Nc="1.02256" Rb="10" Irb="1e-06" Rbm="10" > Re="0.775349" Rc="2.21" Eg="1.11" Xti="3" Cje="1.24548e-12" Vje="0.6" > Mje="0.258153" Tf="8.61625e-12" Xtf="6.78866" Vtf="1.41469" > Itf="0.110365" Ptf="45.0197" Cjc="4.47646e-13" Vjc="0.189234" > Mjc="0.33" Xcjc="1" Cjs="0" Vjs="0.75" Mjs="0" Fc="0.5" Tr="0" > > R:RE _net3 gnd R="1M" > > R:RC _net1 gnd R="1M" > > R:RB _net2 gnd R="1M" > > > ### TOPLEVEL NODELIST BEGIN > > # _net8 > > # gnd > > # _net4 > > # _net5 > > # _net6 > > # _net7 > > # _net1 > > # _net2 > > # _net3 > > ### TOPLEVEL NODELIST END > > > ### SPICE OUTPUT NODELIST BEGIN > > ### SPICE OUTPUT NODELIST END > > > > */8.- As I said, it seems to work on my side. > Here is a small project with a DC and transient simulations:/* > _https://www.dropbox.com/s/8gjed0ghk2hdwh2/spice_BFR520.qucs_ > > I have downloaded the project that you shared with me in droopbox. I > ran it and it happened the same issue with the netlist. > > I want to remark that I ran this project in the 0.0.18 version that I > have installed from the git repository. > > > */9.- I think your Qucs installation is broken. I suggest you to cleanup and reinstall it./* > > I will do it just after sending you this e-mail. I will let you know. > > > Thank you very much indeed. It is very kind of your side answering all > this stuff. > > Thank you and best regards. > > > > > > > Date: Sat, 12 Apr 2014 22:03:18 +0200 > > From: gui...@gm... > > To: quc...@li... > > Subject: Re: [Qucs-help] Problem with SPICE Netlist in Qucs > 0.0.18.130703. More information > > > > Hi Jose, > > > > Your spice model seems to work for me. Using 0.0.17. > > > > A few comments in-line below. > > > > On 4/12/14, 7:00 PM, Jose Manuel Campelo wrote: > > > Hello: > > > Recently I have sent an e-mail, talking about a problem with the > SPICE netlists in this new version of QUCS. I told you that the > problem arose when I tried to simulate one circuit that I designed > with the previous version 0.0.17.3 of QUCS. This design can be > analysed in the 0.0.17.3 version with no problem. > > > > I am wondering where did you get this version from. > > The last stable release is 0.0.17, where does the extra .3 comes from? > > > > > When I start the simulation, in the window that always pops up > informing about the process, says: "Creating netlist". And, at the > same time, another window pops up (the label of this windows is > "Information") saying "Converting SPICE file /media/ ... > /NXP_BFR520.cir"In this second window there is only one option (one > button in the window) for closing it: "Abort". > > > The simulation remains frozen waiting for this conversion. But no > matter how long you wait, nothing happens.Eventually, when you are > tired of waiting and you press "Abort" in the second window, in the > first one, in the text filed of "Errors and Warnings" appears this > message:"/usr/local/bin/qucsator: error while loading shared > libraries: libqucs.so.0: cannot open shared object file: No such file > or directory" > > > After that I tried to determine if the problem was in the file. So > I went into the netlist SPICE component where I had imported the spice > netlist. I double clicked on the component and it appeared an error > message window saying: > > > "/usr/local/bin/qucsconv: error while loading shared libraries: > libqucs.so.0: cannot open shared object file: No such file or directory" > > > > How did you install Qucs? It seems that there are issues with the > search > > path for libraries. Did you compile from source? Did you run `sudo > > ldconfig` and restarted? > > > > > At this point, it was clear that something was happening with this > file. I tried to find it, and I did it in the route: > /usr/local/lib.Some time ago, I had a similar problem with other > program, and the solution was to copy the file in /usr/local/lib to > /usr/lib. > > > In fact, I copied all the "lib" files related to qucs in this > folder. There were four files named "libqucs_something_" and I decided > to copy all of them to /usr/lib. > > > > Copying libraries might help temporarily, but usually it creates more > > issues and do not solve the problem on its source. > > > > > After doing that, the situation has changed. When I analyse the > circuit containing the netlist SPICE component, the same two windows > that I have mentioned before, pop up and the simulation stops like > before. But when I press "abort" in the second window, in the "Errors > and Warnings" field of the first window says:"line 65: syntax error, > unexpected '.', expecting EndSub" > > > > This error message is likely form the `netlist.txt` located on your > > `~/.qucs` directory. Not from the spice .cir file. > > > > > It seems that there is some error in the netlist that I am working > with. The strangest thing of all of that stuff, is that the ".cir" > file only has 54 lines ... I have counted them using the QUCS editor. > You can see it by yourselves. The ".cir" file is the following. > > > > > <snip> > > > > First of all, you can check whether `qucsator` is able to translate the > > spice file. Try: > > `qucsconf -h` > > `qucsconv -if spice -of qucs -i NXP_BFR520.cir` > > > > As I said, it seems to work on my side. > > Here is a small project with a DC and transient simulations: > > https://www.dropbox.com/s/8gjed0ghk2hdwh2/spice_BFR520.qucs > > > > You can find some instructions about using Spice and Qucs in here: > > http://qucs.sourceforge.net/docs/tutorial/spicetoqucs.pdf > > > > > Can anybody give me a hint about the solution of this problem? > > > > > > > I think your Qucs installation is broken. I suggest you to cleanup and > > reinstall it. > > > > Regards, > > Guilherme > > > > > ------------------------------------------------------------------------------ > > Put Bad Developers to Shame > > Dominate Development with Jenkins Continuous Integration > > Continuously Automate Build, Test & Deployment > > Start a new project now. Try Jenkins in the cloud. > > http://p.sf.net/sfu/13600_Cloudbees > > _______________________________________________ > > Qucs-help mailing list > > Quc...@li... > > https://lists.sourceforge.net/lists/listinfo/qucs-help |
|
From: Guilherme B. T. <gui...@gm...> - 2014-04-14 18:48:02
|
Hi Jose, There was a bug. Sorry for the inconvenience. We are updating Qucs... sometimes we also introduce bugs. The code that invokes `qucsconv` was not able to read back its output. Creating a netlist with a blank in it... Hence the errors you saw. Please either download a new repository snapshot [1] or clone the repository if you want to `git pull` fixes in the future [2]. Only `qucs` was modified. If you `cd qucs` and follow as you did already... it should work. Please let me know if it works on your side. Regards, Guilherme [1] https://sourceforge.net/p/qucs/git/ci/master/tarball [2] https://github.com/Qucs/qucs/wiki/Build-Linux On 4/14/14, 6:52 PM, Jose Manuel Campelo wrote: > Hello again Guilherme: > > Just a few comments after removing all traces of qucs in my system. > I have used the following set of commands to clean all the qucs stuff: > > */sudo apt-get remove --auto-remove qucs/* > */sudo apt-get purge qucs/* > > After those commands I have re-installed QUCS using the sources from > the git repository. > The commands were exactly the following: > > Install Perl modules for ADMS. Configure cpan, no waiting for user input. > > |(echo y;echo o conf prerequisites_policy follow;echo o conf commit)| sudo cpan > sudo cpan -i XML::LibXML > sudo cpan -f GD > | > > Compile qucs: > > |cd qucs > ./autogen.sh > ./configure --enable-maintainer-mode > make > sudo make install > | > > Compile qucs-core: > > |cd qucs-core > ./bootstrap.sh > ./configure --enable-maintainer-mode > make > sudo make install| > After doing that I have used "sudo ldconfig" as you told me in your > last e-mail. > > And after re-booting the computer, the results were exactly the same. > The simulation remains frozen waiting for something, and after > pressing the "Abort" button the error message: > "line 17: syntax error, unexpected '.', expecting EndSub" > > After that, I have tried one last thing. I removed again all trace of > qucs and I have installed QUCS version 0.0.18140124-1 form the > repository. > The idea is the following: if this problem is just a question of an > error during the set up process, if I install QUCS from the > reopository using the package manager Synapitc this installation > problem should disappear. > So I have done it. I have included the repository in the list, and I > have install it using Synaptic. > > But unfortunately, the results are the same. > > I don't know what else to do. Believe me, I do not want you to waste > your time. > Thank you very much for your time. > Best regards. > > > Date: Sat, 12 Apr 2014 22:03:18 +0200 > > From: gui...@gm... > > To: quc...@li... > > Subject: Re: [Qucs-help] Problem with SPICE Netlist in Qucs > 0.0.18.130703. More information > > > > Hi Jose, > > > > Your spice model seems to work for me. Using 0.0.17. > > > > A few comments in-line below. > > > > On 4/12/14, 7:00 PM, Jose Manuel Campelo wrote: > > > Hello: > > > Recently I have sent an e-mail, talking about a problem with the > SPICE netlists in this new version of QUCS. I told you that the > problem arose when I tried to simulate one circuit that I designed > with the previous version 0.0.17.3 of QUCS. This design can be > analysed in the 0.0.17.3 version with no problem. > > > > I am wondering where did you get this version from. > > The last stable release is 0.0.17, where does the extra .3 comes from? > > > > > When I start the simulation, in the window that always pops up > informing about the process, says: "Creating netlist". And, at the > same time, another window pops up (the label of this windows is > "Information") saying "Converting SPICE file /media/ ... > /NXP_BFR520.cir"In this second window there is only one option (one > button in the window) for closing it: "Abort". > > > The simulation remains frozen waiting for this conversion. But no > matter how long you wait, nothing happens.Eventually, when you are > tired of waiting and you press "Abort" in the second window, in the > first one, in the text filed of "Errors and Warnings" appears this > message:"/usr/local/bin/qucsator: error while loading shared > libraries: libqucs.so.0: cannot open shared object file: No such file > or directory" > > > After that I tried to determine if the problem was in the file. So > I went into the netlist SPICE component where I had imported the spice > netlist. I double clicked on the component and it appeared an error > message window saying: > > > "/usr/local/bin/qucsconv: error while loading shared libraries: > libqucs.so.0: cannot open shared object file: No such file or directory" > > > > How did you install Qucs? It seems that there are issues with the > search > > path for libraries. Did you compile from source? Did you run `sudo > > ldconfig` and restarted? > > > > > At this point, it was clear that something was happening with this > file. I tried to find it, and I did it in the route: > /usr/local/lib.Some time ago, I had a similar problem with other > program, and the solution was to copy the file in /usr/local/lib to > /usr/lib. > > > In fact, I copied all the "lib" files related to qucs in this > folder. There were four files named "libqucs_something_" and I decided > to copy all of them to /usr/lib. > > > > Copying libraries might help temporarily, but usually it creates more > > issues and do not solve the problem on its source. > > > > > After doing that, the situation has changed. When I analyse the > circuit containing the netlist SPICE component, the same two windows > that I have mentioned before, pop up and the simulation stops like > before. But when I press "abort" in the second window, in the "Errors > and Warnings" field of the first window says:"line 65: syntax error, > unexpected '.', expecting EndSub" > > > > This error message is likely form the `netlist.txt` located on your > > `~/.qucs` directory. Not from the spice .cir file. > > > > > It seems that there is some error in the netlist that I am working > with. The strangest thing of all of that stuff, is that the ".cir" > file only has 54 lines ... I have counted them using the QUCS editor. > You can see it by yourselves. The ".cir" file is the following. > > > > > <snip> > > > > First of all, you can check whether `qucsator` is able to translate the > > spice file. Try: > > `qucsconf -h` > > `qucsconv -if spice -of qucs -i NXP_BFR520.cir` > > > > As I said, it seems to work on my side. > > Here is a small project with a DC and transient simulations: > > https://www.dropbox.com/s/8gjed0ghk2hdwh2/spice_BFR520.qucs > > > > You can find some instructions about using Spice and Qucs in here: > > http://qucs.sourceforge.net/docs/tutorial/spicetoqucs.pdf > > > > > Can anybody give me a hint about the solution of this problem? > > > > > > > I think your Qucs installation is broken. I suggest you to cleanup and > > reinstall it. > > > > Regards, > > Guilherme > > > > > ------------------------------------------------------------------------------ > > Put Bad Developers to Shame > > Dominate Development with Jenkins Continuous Integration > > Continuously Automate Build, Test & Deployment > > Start a new project now. Try Jenkins in the cloud. > > http://p.sf.net/sfu/13600_Cloudbees > > _______________________________________________ > > Qucs-help mailing list > > Quc...@li... > > https://lists.sourceforge.net/lists/listinfo/qucs-help |
|
From: Guilherme B. T. <gui...@gm...> - 2014-04-14 22:07:57
|
Hi Jose, Thank you for reporting! On Windows, depending on how you installed it might be necessary to add a QUCSDIR to your environment variables, or set it on the CMD console before launching Qucs from there. See http://sourceforge.net/p/qucs/bugs/140/ Regards, Guilherme On 4/14/14, 10:22 PM, Jose Manuel Campelo wrote: > Hello Guilherme: > > I am glad of helping. Believe me. I am really, really glad. > Of course I understand that this is a beta version that needs to be > tested. And that is exactly my intention. > It was becoming somehow frustrating because it seemed it was only a > problem in my side. > > I have been testing this issue in the Windows version, this version > 0.0.18, and it happens the same. What is true, is that in the Windows > version the error message concerns the qucsconv module. > > The error message is "C:/Program Files/Qucs/bin/qucsconv can not be > executed" > > I am going to test this fix of the bug in the git repository, and I > will let you know the result. > > Thank you very much for all your effort and dedication and for all the > time that you have taken to answer my questions. > Best regards. > > > ------------------------------------------------------------------------ > Date: Mon, 14 Apr 2014 20:47:51 +0200 > From: gui...@gm... > To: jos...@ho...; quc...@li... > Subject: Re: [Qucs-help] Problem with SPICE Netlist in Qucs > 0.0.18.130703. More information > > Hi Jose, > > There was a bug. Sorry for the inconvenience. > > We are updating Qucs... sometimes we also introduce bugs. > The code that invokes `qucsconv` was not able to read back its output. > Creating a netlist with a blank in it... Hence the errors you saw. > > Please either download a new repository snapshot [1] or clone the > repository if you want to `git pull` fixes in the future [2]. > > Only `qucs` was modified. If you `cd qucs` and follow as you did > already... it should work. > > Please let me know if it works on your side. > > Regards, > Guilherme > > [1] https://sourceforge.net/p/qucs/git/ci/master/tarball > [2] https://github.com/Qucs/qucs/wiki/Build-Linux > > On 4/14/14, 6:52 PM, Jose Manuel Campelo wrote: > > Hello again Guilherme: > > Just a few comments after removing all traces of qucs in my system. > I have used the following set of commands to clean all the qucs stuff: > > */sudo apt-get remove --auto-remove qucs/* > */sudo apt-get purge qucs/* > > After those commands I have re-installed QUCS using the sources > from the git repository. > The commands were exactly the following: > > Install Perl modules for ADMS. Configure cpan, no waiting for user > input. > > |(echo y;echo o conf prerequisites_policy follow;echo o conf commit)| sudo cpan > sudo cpan -i XML::LibXML > sudo cpan -f GD > | > > Compile qucs: > > |cd qucs > ./autogen.sh > ./configure --enable-maintainer-mode > make > sudo make install > | > > Compile qucs-core: > > |cd qucs-core > ./bootstrap.sh > ./configure --enable-maintainer-mode > make > sudo make install| > > After doing that I have used "sudo ldconfig" as you told me in > your last e-mail. > > And after re-booting the computer, the results were exactly the same. > The simulation remains frozen waiting for something, and after > pressing the "Abort" button the error message: > "line 17: syntax error, unexpected '.', expecting EndSub" > > After that, I have tried one last thing. I removed again all trace > of qucs and I have installed QUCS version 0.0.18140124-1 form the > repository. > The idea is the following: if this problem is just a question of > an error during the set up process, if I install QUCS from the > reopository using the package manager Synapitc this installation > problem should disappear. > So I have done it. I have included the repository in the list, and > I have install it using Synaptic. > > But unfortunately, the results are the same. > > I don't know what else to do. Believe me, I do not want you to > waste your time. > Thank you very much for your time. > Best regards. > > > Date: Sat, 12 Apr 2014 22:03:18 +0200 > > From: gui...@gm... <mailto:gui...@gm...> > > To: quc...@li... > <mailto:quc...@li...> > > Subject: Re: [Qucs-help] Problem with SPICE Netlist in Qucs > 0.0.18.130703. More information > > > > Hi Jose, > > > > Your spice model seems to work for me. Using 0.0.17. > > > > A few comments in-line below. > > > > On 4/12/14, 7:00 PM, Jose Manuel Campelo wrote: > > > Hello: > > > Recently I have sent an e-mail, talking about a problem with > the SPICE netlists in this new version of QUCS. I told you that > the problem arose when I tried to simulate one circuit that I > designed with the previous version 0.0.17.3 of QUCS. This design > can be analysed in the 0.0.17.3 version with no problem. > > > > I am wondering where did you get this version from. > > The last stable release is 0.0.17, where does the extra .3 comes > from? > > > > > When I start the simulation, in the window that always pops up > informing about the process, says: "Creating netlist". And, at the > same time, another window pops up (the label of this windows is > "Information") saying "Converting SPICE file /media/ ... > /NXP_BFR520.cir"In this second window there is only one option > (one button in the window) for closing it: "Abort". > > > The simulation remains frozen waiting for this conversion. But > no matter how long you wait, nothing happens.Eventually, when you > are tired of waiting and you press "Abort" in the second window, > in the first one, in the text filed of "Errors and Warnings" > appears this message:"/usr/local/bin/qucsator: error while loading > shared libraries: libqucs.so.0: cannot open shared object file: No > such file or directory" > > > After that I tried to determine if the problem was in the > file. So I went into the netlist SPICE component where I had > imported the spice netlist. I double clicked on the component and > it appeared an error message window saying: > > > "/usr/local/bin/qucsconv: error while loading shared > libraries: libqucs.so.0: cannot open shared object file: No such > file or directory" > > > > How did you install Qucs? It seems that there are issues with > the search > > path for libraries. Did you compile from source? Did you run `sudo > > ldconfig` and restarted? > > > > > At this point, it was clear that something was happening with > this file. I tried to find it, and I did it in the route: > /usr/local/lib.Some time ago, I had a similar problem with other > program, and the solution was to copy the file in /usr/local/lib > to /usr/lib. > > > In fact, I copied all the "lib" files related to qucs in this > folder. There were four files named "libqucs_something_" and I > decided to copy all of them to /usr/lib. > > > > Copying libraries might help temporarily, but usually it creates > more > > issues and do not solve the problem on its source. > > > > > After doing that, the situation has changed. When I analyse > the circuit containing the netlist SPICE component, the same two > windows that I have mentioned before, pop up and the simulation > stops like before. But when I press "abort" in the second window, > in the "Errors and Warnings" field of the first window says:"line > 65: syntax error, unexpected '.', expecting EndSub" > > > > This error message is likely form the `netlist.txt` located on your > > `~/.qucs` directory. Not from the spice .cir file. > > > > > It seems that there is some error in the netlist that I am > working with. The strangest thing of all of that stuff, is that > the ".cir" file only has 54 lines ... I have counted them using > the QUCS editor. You can see it by yourselves. The ".cir" file is > the following. > > > > > <snip> > > > > First of all, you can check whether `qucsator` is able to > translate the > > spice file. Try: > > `qucsconf -h` > > `qucsconv -if spice -of qucs -i NXP_BFR520.cir` > > > > As I said, it seems to work on my side. > > Here is a small project with a DC and transient simulations: > > https://www.dropbox.com/s/8gjed0ghk2hdwh2/spice_BFR520.qucs > > > > You can find some instructions about using Spice and Qucs in here: > > http://qucs.sourceforge.net/docs/tutorial/spicetoqucs.pdf > > > > > Can anybody give me a hint about the solution of this problem? > > > > > > > I think your Qucs installation is broken. I suggest you to > cleanup and > > reinstall it. > > > > Regards, > > Guilherme > > > > > ------------------------------------------------------------------------------ > > Put Bad Developers to Shame > > Dominate Development with Jenkins Continuous Integration > > Continuously Automate Build, Test & Deployment > > Start a new project now. Try Jenkins in the cloud. > > http://p.sf.net/sfu/13600_Cloudbees > > _______________________________________________ > > Qucs-help mailing list > > Quc...@li... > <mailto:Quc...@li...> > > https://lists.sourceforge.net/lists/listinfo/qucs-help > > |