# First time use with problem

**URL:** <https://forum.fritzing.org/t/first-time-use-with-problem/23747>\
**Category:** beginners\
**Created:** [May 28, 2024, 2:11pm UTC](https://forum.fritzing.org/t/first-time-use-with-problem/23747 "2024-05-28T14:11:17Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![lacoutardes](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/l/e5b9ba/32.png) [@lacoutardes](https://forum.fritzing.org/u/lacoutardes)\
**Post date:** [May 28, 2024, 2:11pm UTC](https://forum.fritzing.org/t/first-time-use-with-problem/23747/1 "2024-05-28T14:11:17Z")

</div>

HI just install 1.0.2 version of Fritzing and when I try simulated I have this message : Fritzing caught an exeption from simulationButton in event 3: bad function call, and Fritzing closed.

Windows 10

A+ Daniel

---

<div class="post-metadata">

**Author:** ![vanepp](https://forum.fritzing.org/user_avatar/forum.fritzing.org/vanepp/32/4426_2.png) [@vanepp](https://forum.fritzing.org/u/vanepp)\
**Post date:** [May 28, 2024, 2:14pm UTC](https://forum.fritzing.org/t/first-time-use-with-problem/23747/2 "2024-05-28T14:14:30Z")

</div>

You would likely need to upload the sketch you were using (the .fzz file, upload is 7th icon from the left in the reply menu) for the simulation to see if someone else can reproduce it. That also means the sequence of commands you used to start the simulation.

Peter

---

<div class="post-metadata">

**Author:** ![fai](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/f/87869e/32.png) [@fai](https://forum.fritzing.org/u/fai)\
**Post date:** [May 28, 2024, 10:15pm UTC](https://forum.fritzing.org/t/first-time-use-with-problem/23747/3 "2024-05-28T22:15:29Z")

</div>

Are you in macOS? If so, what version?  
Do the simulation examples work?

---

<div class="post-metadata">

**Author:** ![DebianFanatic](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/d/b487fb/32.png) [@DebianFanatic](https://forum.fritzing.org/u/DebianFanatic)\
**Post date:** [August 21, 2024, 8:46pm UTC](https://forum.fritzing.org/t/first-time-use-with-problem/23747/4 "2024-08-21T20:46:15Z")

</div>

I, too, am getting this error.

I just installed Fritzing on my Debian 12+ (Bookworm/Sid) Dell laptop with “sudo aptitude install fritzing”, fired it up, and opened _File | Open Example | Simulator | Basic Circuits | LED_, and when I click on “Simulation” from the “Breadboard” or the “Schematic” tab, the above-mentioned error pops up. Dismissing the error pop-up also causes Fritzing to close (crash?) after about 3 or 5 seconds.

---

<div class="post-metadata">

**Author:** ![DebianFanatic](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/d/b487fb/32.png) [@DebianFanatic](https://forum.fritzing.org/u/DebianFanatic)\
**Post date:** [August 21, 2024, 8:48pm UTC](https://forum.fritzing.org/t/first-time-use-with-problem/23747/5 "2024-08-21T20:48:22Z")

</div>

kent@westk-9463:~$ fritzing --version  
Fritzing 1.0.1rc.2024-03-31.debian/1.0.1-1+b4  
kent@westk-9463:~$ fritzing  
libpng warning: iCCP: known incorrect sRGB profile  
libpng warning: iCCP: known incorrect sRGB profile  
qt.qpa.wayland: setGrabPopup called with a parent, QtWaylandClient::QWaylandXdgSurface(0x557fbff109b0) which does not match the current topmost grabbing popup, QtWaylandClient::QWaylandXdgSurface(0x557fbb1305c0) According to the xdg-shell protocol, this is not allowed. The wayland QPA plugin is currently handling it by setting the parent to the topmost grabbing popup. Note, however, that this may cause positioning errors and popups closing unxpectedly because xdg-shell mandate that child popups close before parents  
libpng warning: iCCP: known incorrect sRGB profile  
libpng warning: iCCP: known incorrect sRGB profile  
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()  
Netlist: Simulator Netlist  
VCC1 2 0 DC 3V  
R1 1 2 35  
DLED1 1 0 LED\_GENERIC

\*Typ RED,GREEN,YELLOW,AMBER GaAs LED: Vf=2.1V Vr=4V If=40mA trr=3uS  
.MODEL LED\_GENERIC D (IS=93.1P RS=42M N=4.61 BV=4 IBV=10U CJO=2.97P VJ=.75 M=.333 TT=4.32U)

.options savecurrents  
.OP  
\*.TRAN 1ms 100ms

- .AC DEC 100 100 1MEG  
.END  
Running command(remcirc):  
Running m\_simulator-\>command(‘reset’):

* * *

Running LoadNetlist:  
“notify QToolButton 3”  
Aborted (core dumped)  
kent@westk-9463:~$

* * *

I will try with X11 and Cinnamon instead of Wayland/Plasma/KDE.

---

<div class="post-metadata">

**Author:** ![DebianFanatic](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/d/b487fb/32.png) [@DebianFanatic](https://forum.fritzing.org/u/DebianFanatic)\
**Post date:** [August 21, 2024, 9:02pm UTC](https://forum.fritzing.org/t/first-time-use-with-problem/23747/6 "2024-08-21T21:02:43Z")

</div>

Same error with X11/Cinnamon and with X11/Gnome.

On Cinnamon/X11:

kent@westk-9463:~$ fritzing  
libpng warning: iCCP: known incorrect sRGB profile  
libpng warning: iCCP: known incorrect sRGB profile  
libpng warning: iCCP: known incorrect sRGB profile  
libpng warning: iCCP: known incorrect sRGB profile  
Netlist: Simulator Netlist  
DLED1 1 0 LED\_GENERIC  
R1 1 2 35  
VCC1 2 0 DC 3V

\*Typ RED,GREEN,YELLOW,AMBER GaAs LED: Vf=2.1V Vr=4V If=40mA trr=3uS  
.MODEL LED\_GENERIC D (IS=93.1P RS=42M N=4.61 BV=4 IBV=10U CJO=2.97P VJ=.75 M=.333 TT=4.32U)

.options savecurrents  
.OP  
\*.TRAN 1ms 100ms

- .AC DEC 100 100 1MEG  
.END  
Running command(remcirc):  
Running m\_simulator-\>command(‘reset’):

* * *

Running LoadNetlist:  
“notify QToolButton 3”  
Aborted (core dumped)  
kent@westk-9463:~$

* * *

On Cinnamon/X11, I also tried the “Button” and the “How to Use a Multimeter” sims with the same pop-up error.

---

<div class="post-metadata">

**Author:** ![vanepp](https://forum.fritzing.org/user_avatar/forum.fritzing.org/vanepp/32/4426_2.png) [@vanepp](https://forum.fritzing.org/u/vanepp)\
**Post date:** [August 21, 2024, 9:14pm UTC](https://forum.fritzing.org/t/first-time-use-with-problem/23747/7 "2024-08-21T21:14:07Z")

</div>

Older Fritzing version (although that shouldn’t necessarily matter) I’d advise downloading the appimage from [Fritzing.org](http://Fritzing.org) (which will be Fritzing 1.0.3, the latest version) and try that.

Peter

---

<div class="post-metadata">

**Author:** ![fai](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/f/87869e/32.png) [@fai](https://forum.fritzing.org/u/fai)\
**Post date:** [August 22, 2024, 10:32pm UTC](https://forum.fritzing.org/t/first-time-use-with-problem/23747/8 "2024-08-22T22:32:05Z")

</div>

This seems to indicate that there is an exception thrown. Most likely is a problem when calling ngspice, which is a shared library that we use to simulate the circuits. I think that there is an error in that build (e.g., wrong version of ngspice or nspice not found). The examples should work. Are you using the official build? If not, I would contact the packagers and report the error.

---

<div class="post-metadata">

**Author:** ![vanepp](https://forum.fritzing.org/user_avatar/forum.fritzing.org/vanepp/32/4426_2.png) [@vanepp](https://forum.fritzing.org/u/vanepp)\
**Post date:** [August 25, 2024, 4:55pm UTC](https://forum.fritzing.org/t/first-time-use-with-problem/23747/10 "2024-08-25T16:55:35Z")

</div>

Good advise, but he is using an OS repository with an older (and possibly misconfigured) installation, so he needs to get the repository updated which may not be easy.

Peter

---

<div class="post-metadata">

**Author:** ![DebianFanatic](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/d/b487fb/32.png) [@DebianFanatic](https://forum.fritzing.org/u/DebianFanatic)\
**Post date:** [August 27, 2024, 1:38pm UTC](https://forum.fritzing.org/t/first-time-use-with-problem/23747/11 "2024-08-27T13:38:22Z")

</div>

Yes, vanepp, my Debian repository does have an older version.

So I thought I’d give your suggestion a try. I went to [https://fritzing.org](https://fritzing.org), then the Download menu item, which asked me to “Pay & Download”. I do not want to pay for a product that may or may not work, and that I may or may not use.

So I tried [https://github.com](https://github.com), and searched for “fritzing”, and get a " Whoa there! You have exceeded a secondary rate limit." page.

I have no idea what that means, but I’m guessing it thinks I’ve been using github all morning or something (I haven’t).

That was with Firefox (129.0.2 64-bit). So I gave Chromium a try. That gets me somewhere.

So I go into “fritzing/fritzing-app”, and then click on the green “Code” button, and select “Download ZIP”. I download it into a temporary directory on my Debian box, and cd into that directory and “unzip fritzing-app-develop.zip”, which creates a fritzing-app-develop directory, into which I cd.

There, the “INSTALL.txt” file says that in order to start Fritzing, “try ./Fritzing in your shell window”. So without changing directories, I try “./Fritzing”. There is no such file. So do an “ls”, and find that there is a “Fritzing.sh”. So I try that (“/.Fritzing.sh”), and get “./Fritzing.sh: 17: /home/westk/OneDrive/projects/C/FRITZING/fritzing-app-develop/lib/Fritzing: not found”.

So I “less Fritzing.sh” to see if maybe I can make sense of the file, and it’s simple enough to see that it’s expecting a “lib” directory, apparently in the current directory? But there is no “lib” directory in this current directory. So I edit the “Fritzing.sh” file, adding an ‘echo "dirname = $dirname’ line just after dirname gets set, and rerun the script, and get this output:

westk@westkent:~/OneDrive/projects/C/FRITZING/fritzing-app-develop$ ./Fritzing.sh  
dirname = /home/westk/OneDrive/projects/C/FRITZING/fritzing-app-develop  
./Fritzing.sh: 18: /home/westk/OneDrive/projects/C/FRITZING/fritzing-app-develop/lib/Fritzing: not found  
westk@westkent:~/OneDrive/projects/C/FRITZING/fritzing-app-develop$

(which makes me realize the dirname was already spelled out in the error message, duh).

So it seems that the program’s “INSTALL.txt” file is wrong, and/or its startup script is wrong, or something.

At any rate, I can’t run the Debian version because of the original error message, and I can’t run the most recent official version (assuming the one on github is the most recent official version) because it doesn’t work as it says it should work.

---

<div class="post-metadata">

**Author:** ![fai](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/f/87869e/32.png) [@fai](https://forum.fritzing.org/u/fai)\
**Post date:** [August 27, 2024, 2:18pm UTC](https://forum.fritzing.org/t/first-time-use-with-problem/23747/12 "2024-08-27T14:18:18Z")

</div>

You have downloaded the source code from GitHub. You need to compile it, which is a complex process if you are not a developer.  
I would report the error to the debian packagers as they could fix it.

---

<div class="post-metadata">

**Author:** ![DebianFanatic](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/d/b487fb/32.png) [@DebianFanatic](https://forum.fritzing.org/u/DebianFanatic)\
**Post date:** [August 27, 2024, 7:41pm UTC](https://forum.fritzing.org/t/first-time-use-with-problem/23747/13 "2024-08-27T19:41:26Z")

</div>

Since the same error is happening for a Windows 10 user (see first post in this thread), it seems unlikely to be related to the OS on which the program is running.

But as you suggest, I’ll consider making a Debian bug report against the Fritzing package.

---

<div class="post-metadata">

**Author:** ![fai](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/f/87869e/32.png) [@fai](https://forum.fritzing.org/u/fai)\
**Post date:** [August 27, 2024, 7:51pm UTC](https://forum.fritzing.org/t/first-time-use-with-problem/23747/14 "2024-08-27T19:51:47Z")

</div>

In the first message, we do not know if it was a official Fritzing release or if he used the examples.  
I would ask other Debian users or packagers if they can reproduce your error.

---

<div class="post-metadata">

**Author:** ![vanepp](https://forum.fritzing.org/user_avatar/forum.fritzing.org/vanepp/32/4426_2.png) [@vanepp](https://forum.fritzing.org/u/vanepp)\
**Post date:** [August 27, 2024, 8:21pm UTC](https://forum.fritzing.org/t/first-time-use-with-problem/23747/15 "2024-08-27T20:21:01Z")

</div>

For me on Win10 with Fritzing 1.0.3 the simulator example works fine with no complaints.

 ![capture](https://forum.fritzing.org/uploads/default/original/3X/2/1/21cceea11a478b0d13f13a46892b3992e0b1eb49.jpeg)

simulate

 ![capture1](https://forum.fritzing.org/uploads/default/original/3X/f/d/fda000b184f9948ac313b099e5aae2b92d5c1908.jpeg)

The same is true on Mint 21.3 using the Fritzing 1.0.3 appimage (I didn’t try the version in the repository and used the multimeter example rather than the LED) indicating the problem is vary likely in the distribution. There have been problems in the past (years ago …) where the parts repository was not updated when the code was. That may (or may not) be the problem here.

Peter
