Opened 10 years ago
Closed 9 years ago
#44825 closed defect (fixed)
ngspice @26_0 "Can't open viewport for graphics" error on plot
Reported by: | ph.mignon@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.1 |
Keywords: | Cc: | jmaibaum@…, anddam (Andrea D'Amore) | |
Port: | ngspice |
Description (last modified by anddam (Andrea D'Amore))
While trying to perform any plot command (batch or interactive) in ngspice 26 - see § 17.5.43 in ngspice's manual -- the following error is shown:
Can't open viewport for graphics.
To reproduce download the attached simple.cir file and run ngspice simple.cir (leave the interpreter using quit, exit or ^D).
The output shown is similar to:
Circuit: * simplest circuit Doing analysis at TEMP = 27.000000 and TNOM = 27.000000 No. of Data Rows : 1 Can't open viewport for graphics. ngspice 2 ->
Attachments (1)
Change History (8)
comment:1 Changed 10 years ago by ph.mignon@…
comment:2 Changed 10 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|---|
Port: | ngspice added |
Resolution: | → invalid |
Status: | new → closed |
In the future, please use WikiFormatting and fill in the Port field.
You are going to have to give us more information to debug this. What is line 1 so I can try to reproduce this? How do you know this is not an upstream issue? Please re-open the ticket with more information because there is nothing obvious to act on here given that the port builds fine for me.
comment:3 Changed 10 years ago by jmaibaum@…
Resolution: | invalid |
---|---|
Status: | closed → reopened |
With ngspice @26_0 on Yosemite, I get the exact same error when trying to plot anything:
Circuit: *rc filter ac example ngspice 2 -> run Doing analysis at TEMP = 27.000000 and TNOM = 27.000000 Warning: v1: has no value, DC 0 assumed No. of Data Rows : 701 ngspice 2 -> plot db(v(out)) Can't open viewport for graphics.
I have not many ports installed now as I have just upgraded to Yosemite from Mountain Lion and chose to start with a clean MacPorts installation. However, the very same error occured before, on Mountain Lion, too. XCode and XQuartz 2.7.7 are both installed and up to date. The circuit loaded to test this was the first example netlist from http://www.ngspice.com (The simple RC filter that's in the text area).
There were no build errors when I installed ngspice.
If you need more information to debug just ask, I will try to gather them for you.
comment:6 Changed 9 years ago by anddam (Andrea D'Amore)
Description: | modified (diff) |
---|---|
Summary: | ngspice : Can't open viewport for graphics → ngspice @26_0 "Can't open viewport for graphics" error on plot |
Changed 9 years ago by anddam (Andrea D'Amore)
Attachment: | simple.cir added |
---|
comment:7 Changed 9 years ago by anddam (Andrea D'Amore)
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
ngspice 2 -> plot vcc
Can't open viewport for graphics.