tmontaigu / CloudCompare-PythonRuntime

Python plugin for CloudCompare
55 stars 15 forks source link

CloudCompare crashes when running Python script in the 'Python Editor' #126

Open donish-getstand opened 3 weeks ago

donish-getstand commented 3 weeks ago

When running the example script from the CloudCompare documentation, the whole program crashes/exits right when I am about to import my data. Also, when I run the PythonREPLy and input the simplest of commands (e.g. test=1+1) the whole program crashes/exits.

Oddly, enough when I save the sample script to test file (test.py) and run it using the CloudCompare's Python File Runner it runs perfectly!

Any ideas about how I could go about solving this issue?

I'm running the latest CloudCompare (2.13.2 [MacOS 64bit], Compiled with Qt 5.15.8) on MacOS 15.0.1 (24A348).

tmontaigu commented 3 weeks ago

Do you have some backtrace of the crash ? Did you compile the plugin and CC yourself .

donish-getstand commented 3 weeks ago

Unfortunatley, there are no error messages and the whole program just closes/crashes abruptly which makes it difficult for me to debug as well.

I installed the CloudCompare with Python plugin from the website.