0
Error while opening python plotting Editor. Please look at console for details

No such file or directory: '/home/bhargav/eSim-Workspace/decoder/plot_data_i.txt'

[ERROR]: Exception Message :local variable 'alli' referenced before assignment

[ERROR]: Exception Message : [Errno 2] No such file or directory: '/home/bhargav/eSim-Workspace/decoder/plot_data_v.txt'

Here is my cir file

* EESchema Netlist Version 1.1 (Spice format) creation date: Sun 24 Feb 2019 07:27:43 PM IST

* To exclude a component from the Spice Netlist add [Spice_Netlist_Enabled] user FIELD set to: N
* To reorder the component spice node sequence add [Spice_Node_Sequence] user FIELD and define sequence: 2,1,0

* Sheet Name: /
X1 GND Net-_C1-Pad1_ Net-_R3-Pad2_ Net-_R1-Pad2_ Net-_C2-Pad1_ Net-_C1-Pad1_ Net-_R1-Pad1_ Net-_R1-Pad2_ LM555
C2 Net-_C2-Pad1_ GND C
C1 Net-_C1-Pad1_ GND C
R1 Net-_R1-Pad1_ Net-_R1-Pad2_ R
R2 Net-_R1-Pad1_ Net-_C1-Pad1_ R
R3 Net-_R3-Pad1_ Net-_R3-Pad2_ R
v1 Net-_R1-Pad2_ GND DC
U8 Net-_U12-Pad6_ Net-_U10-Pad2_ Net-_U10-Pad3_ Net-_U10-Pad3_ Net-_U14-Pad1_ Net-_U13-Pad2_ d_dff
U9 Net-_U14-Pad1_ Net-_U10-Pad2_ Net-_U10-Pad3_ Net-_U10-Pad3_ Net-_U15-Pad1_ Net-_U14-Pad2_ d_dff
U10 Net-_U10-Pad1_ Net-_U10-Pad2_ Net-_U10-Pad3_ Net-_U10-Pad3_ Net-_U10-Pad5_ Net-_U10-Pad6_ d_dff
U11 Net-_U10-Pad5_ Net-_U10-Pad2_ Net-_U10-Pad3_ Net-_U10-Pad3_ Net-_U11-Pad5_ Net-_U11-Pad6_ d_dff
U12 Net-_U11-Pad5_ Net-_U10-Pad2_ Net-_U10-Pad3_ Net-_U10-Pad3_ Net-_U12-Pad5_ Net-_U12-Pad6_ d_dff
U13 Net-_U12-Pad6_ Net-_U13-Pad2_ Net-_U13-Pad3_ d_nand
U23 Net-_U13-Pad3_ OUT1 d_buffer
D1 GND OUT1 LED
U33 OUT1 plot_v1
U14 Net-_U14-Pad1_ Net-_U14-Pad2_ Net-_U14-Pad3_ d_nand
U24 Net-_U14-Pad3_ OUT2 d_buffer
D2 GND OUT2 LED
U34 OUT2 plot_v1
U15 Net-_U15-Pad1_ Net-_U10-Pad6_ Net-_U15-Pad3_ d_nand
U25 Net-_U15-Pad3_ OUT3 d_buffer
D3 GND OUT3 LED
U35 OUT3 plot_v1
U16 Net-_U10-Pad5_ Net-_U11-Pad6_ Net-_U16-Pad3_ d_nand
U26 Net-_U16-Pad3_ OUT4 d_buffer
D4 GND OUT4 LED
U36 OUT4 plot_v1
U17 Net-_U11-Pad5_ Net-_U12-Pad6_ Net-_U17-Pad3_ d_nand
U27 Net-_U17-Pad3_ OUT5 d_buffer
D5 GND OUT5 LED
U37 OUT5 plot_v1
U18 Net-_U12-Pad5_ Net-_U14-Pad1_ Net-_U18-Pad3_ d_nand
U28 Net-_U18-Pad3_ OUT6 d_buffer
D6 GND OUT6 LED
U38 OUT6 plot_v1
U19 Net-_U13-Pad2_ Net-_U15-Pad1_ Net-_U19-Pad3_ d_nand
U29 Net-_U19-Pad3_ OUT7 d_buffer
D7 GND OUT7 LED
U39 OUT7 plot_v1
U20 Net-_U14-Pad2_ Net-_U10-Pad5_ Net-_U20-Pad3_ d_nand
U30 Net-_U20-Pad3_ OUT8 d_buffer
D8 GND OUT8 LED
U40 OUT8 plot_v1
U21 Net-_U10-Pad6_ Net-_U11-Pad5_ Net-_U21-Pad3_ d_nand
U31 Net-_U21-Pad3_ OUT9 d_buffer
D9 GND OUT9 LED
U41 OUT9 plot_v1
U22 Net-_U11-Pad6_ Net-_U12-Pad5_ Net-_U22-Pad3_ d_nand
U32 Net-_U22-Pad3_ OUT10 d_buffer
D10 GND OUT10 LED
U42 OUT10 plot_v1
U5 Net-_U13-Pad2_ Net-_U10-Pad6_ Net-_U5-Pad3_ d_nand
U7 Net-_U14-Pad2_ Net-_U5-Pad3_ Net-_U10-Pad1_ d_nor
U6 GND Net-_U10-Pad3_ d_inverter
U1 Net-_R3-Pad1_ Net-_U1-Pad2_ d_inverter
U2 GND Net-_U2-Pad2_ d_inverter
U4 Net-_U1-Pad2_ Net-_U2-Pad2_ Net-_U10-Pad2_ d_nor

.end


eSim 24-02-19, 7:59 p.m. KatakamBhargav
0

What is the value of V1 you are assigning?

24-02-19, 10:12 p.m. Saurabhb17
5v

24-02-19, 11:50 p.m. KatakamBhargav
Please assign the values for all the components. You need to add the led.lib file.

25-02-19, 4:51 p.m. Gloria
Also, you need to add lm555 lib file. You can find the lib file here: https://github.com/FOSSEE/eSim-Examples/tree/master/AstableMultivibratorIC555

25-02-19, 4:53 p.m. Gloria
I am getting the same error for every circuit that I did.
I am sending my RC cir file to it

* /home/bhargav/eSim-Workspace/rc/rc.cir

* EESchema Netlist Version 1.1 (Spice format) creation date: Mon 25 Feb 2019 10:59:41 PM IST

* To exclude a component from the Spice Netlist add [Spice_Netlist_Enabled] user FIELD set to: N
* To reorder the component spice node sequence add [Spice_Node_Sequence] user FIELD and define sequence: 2,1,0

* Sheet Name: /
C1  out GND 1u       
R1  out in 1k       
v1  in GND sine       
U1  in plot_v1       
U2  out plot_v1       

.end

25-02-19, 11:05 p.m. KatakamBhargav
Where can I find led.lib file to add it?

25-02-19, 11:07 p.m. KatakamBhargav
You'll find led file under eSim-1.1.2/src/deviceModelLibrary. This is to be added when you do kicadtongspice conversion. Please watch the spoken tutorial to understand better -> https://spoken-tutorial.org/watch/eSim/Schematic+Creation+and+Simulation/English

25-02-19, 11:15 p.m. Saurabhb17
In this path there is only D.lib,ZenerD1N750.lib,PowerDiode.lib .I can't able to find led.lib file

25-02-19, 11:45 p.m. KatakamBhargav
Upload a led spice file using device modeling or you can use the D.lib file as a substitute. Spoken tutorial for device modeling - > https://spoken-tutorial.org/watch/eSim/Device%2BModel%2Bcreation%2Band%2BSimulation/English/

26-02-19, 12:02 a.m. Saurabhb17
You can also use the "Upload option" under the device library. Visit the analog site, choose "Led.lib" or any spice file of led. Copy on desktop/or any drive. Click on the Upload button. The lib file will be saved in "esim-1,1,2>>Src>>devicemodellibrary>>userlibraries".
or just change the parameters in already existing libraries template. You can refer the "Device model creation script" available on fellowship page or see this: https://docs.google.com/document/d/1YoR-pu0SkKrobNmA8o1wyCXqph4o-f7y0jhjwl7aUmc/edit?usp=sharing

26-02-19, 11:22 a.m. Gloria
 I am getting the same error for every circuit. plot_data_i.txt and plot_data_v.txt are not created.


26-02-19, 12:14 p.m. KatakamBhargav
Please email the snapshots at contact-esim@fossee.in

26-02-19, 12:23 p.m. Saurabhb17
Thank you for your reply.
I will send the photos to the mail.

26-02-19, 1:07 p.m. KatakamBhargav
Please send the your software zip file to the email id:bharghavkatakam8@gmail.com


26-02-19, 2:47 p.m. KatakamBhargav
Download the software for your preference of OS from https://esim.fossee.in/downloads

26-02-19, 2:49 p.m. Saurabhb17

Login to add comment


Log-in to answer to this question.