fritzing / fritzing-app

Fritzing desktop application
http://fritzing.org
Other
4.04k stars 835 forks source link

Error (Bad Function Call) #4176

Closed cwison56 closed 1 month ago

cwison56 commented 1 month ago

Current error_ Fritzing caught an exception from simulationButton in event 3: bad_function_call.

screenshot image

All files crash when given command to simulate and program then exit/close

Build: Fritzing 1.0.1

Operating System: Linux OS - Ubuntu 24.01 1 LTS

Steps to reproduce:

Expected Behavior

Run simulator without crashing

KjellMorgenstern commented 1 month ago

Please try our latest official version, Fritzing 1.0.3 from https://fritzing.org .

cwison56 commented 1 month ago

Thanks for the suggestion.


From: Kjell @.> Sent: Tuesday, September 24, 2024 9:44 AM To: fritzing/fritzing-app @.> Cc: cwison56 @.>; Author @.> Subject: Re: [fritzing/fritzing-app] Error (Bad Function Call) (Issue #4176)

Please try our latest official version, Fritzing 1.0.3 from https://fritzing.org .

— Reply to this email directly, view it on GitHubhttps://github.com/fritzing/fritzing-app/issues/4176#issuecomment-2371321579, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BLRPDT24EUHUJLFDGYQAAQTZYFUEXAVCNFSM6AAAAABOYI77T6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZRGMZDCNJXHE. You are receiving this because you authored the thread.Message ID: @.***>

cwison56 commented 1 month ago

Now, Fritizing 1.0.3 is running, why won't it run the simulation? When I press simulate button nothing happens! Help.

failiz commented 1 month ago

Try one of the examples of the simulator. Examples->simulator. The simulator is quite basic at the moment. See it's current capabilities here: https://blog.fritzing.org/2022/06/27/Simulating-Circuits-with-Fritzing

cwison56 commented 1 month ago

Thanks for the information. I have reviewed some of the tutorials only to find "sim" doesn't run/operate beyond its basic programming as you stated. Thank you.

failiz commented 1 month ago

From 1.0.3, you can try transitory simulations if you start Fritzing from the command line with the -d argument. If you do that, you can try these examples: https://github.com/fritzing/fritzing-app/tree/develop/sketches/core/Simulator/EN/trans

cwison56 commented 1 month ago

I'm trying build a smart robot car using Uno, L298n, HC 05, with servo for ultrasonic sensor. I will just manually test all components to learn these Arduino programming. Thank you for your suggestions and ideas.