0
python plotting window does not open up (On latest build of eSim)

I installed the latest version of eSim from master branch in github. In this version python plotting window does not open up upon clicking the simulate button. But ngspice window and plot commands work well. What could be the issue with python plot?


eSim 26-06-16, 7:57 p.m. kavyamanohar
0
Hi,

Can you please check the exact error on terminal. To get the exact error please run the eSim from command line.
27-06-16, 12:05 p.m. fahim


0
\r\n\r\n\r\n\r\n\r\n\r\n\r\n
\r\nkavya@kavyam ~$ esim\r\n
Starting eSim......\r\n
Function : Create workspace\r\n
Function : Open Project\r\n
Function: Validating Open Project Information\r\n
true
X Error: BadWindow (invalid Window parameter) 3\r\n
 Major opcode: 20 (X_GetProperty)\r\n
 Resource id:  0x640005d\r\n
Argument to ngspice command :  /home/kavya/eSim-Workspace/Inverting_Amplifier/Inverting_Amplifier.cir.out\r\n
Traceback (most recent call last):\r\n
 File "Application.py", line 250, in open_ngspice\r\n
   self.obj_Mainview.obj_dockarea.ngspiceEditor(self.projDir)\r\n
 File "/home/kavya/kavyadev/eSim/src/frontEnd/DockArea.py", line 166, in ngspiceEditor\r\n
   self.obj_appconfig.dock_dict[self.obj_appconfig.current_project['ProjectName']].append(dock['NgSpice-'+str(count)])\r\n
KeyError: '/home/kavya/eSim-Workspace/Inverting_Amplifier'\r\n

I opened an existing project 'Inverting_Amplifier'. and ran simulate button. The terminal log is as above. ngspice command prompt appeared (See Figure). But python plotting window is not seen.

\r\n


\r\n\r\n\r\n
27-06-16, 7:27 p.m. kavyamanohar


0
When the following source code is edited so that ngspice plot was opened after python plotting window, the above problem was solved. I got both python and ngspice plotting windows.
https://github.com/FOSSEE/eSim/blob/master/src/frontEnd/Application.py#L252
07-08-16, 7:39 p.m. kavyamanohar
hey @kavyamanohar i cannot get what you say..
let me clearly understand. the above exact problem i get.
ngspice open but no python plot.

how to get python plot...???

26-01-18, 12:09 p.m. sounndarrajan.v
hey @kavyamanohar i cannot get what you say..
let me clearly understand. the above exact problem i get.
ngspice open but no python plot.

how to get python plot...???

26-01-18, 12:09 p.m. sounndarrajan.v

Login to add comment


Log-in to answer to this question.