You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been trying to get the GUI demo working on my computer (MacOS 10.15.5 and FreeCAD v0.18.4) and it looks like PySide has transitioned to PySide2 for versions of Python beyond 3.4 (I'm running 3.6.7). However, it looks like the two are not easily interchangeable and the macro debugging features in FreeCAD are not working for me. Please let me know how I can extract a more helpful error message, but the only feedback I'm getting from FreeCAD is that when I try to run the macro, a traceback shows up at the bottom of the window but gets cut off before I can see any actually useful information.
The reason I'm suspecting PySide as a culprit is because when I try to run the macro from the terminal, I get an exception about not being able to find the PySide module, which I can't have for the version of Python I'm using. I would continue to debug in this way, but eventually I'd need the FreeCADGui module, and I haven't found how to install it outside of the FreeCAD environment (if that even makes sense to try).
If there's any additional information I can provide to help, please let me know. Thanks!
The text was updated successfully, but these errors were encountered:
Hello,
GUI is intended to work only under FreeCAD - it uses FreeCAD libraries and modules, so that it will hardly run outside. For obtaining more detailed error message go to FreeCAD View -> Panels -> Report View
@fandaL thank you for the direction, it was a mistake on my end. I was just looking at example 4 and missed the line about opening the FreeCAD file, so I didn't have freecad_input.FCStd open when I was trying to run the macro. I'd assumed (incorrectly, of course) that I'd be able to select the data to work on in the macro itself, not that I'd already need it open. Might I suggest coding in an alert message if there's no active document? Apparently noobs like me need the help 😅
I have added test so that if active document is empty, new is created and warning message is printed in the report view instead of obtaining an error. 66f27f8
Hello,
I've been trying to get the GUI demo working on my computer (MacOS 10.15.5 and FreeCAD v0.18.4) and it looks like PySide has transitioned to PySide2 for versions of Python beyond 3.4 (I'm running 3.6.7). However, it looks like the two are not easily interchangeable and the macro debugging features in FreeCAD are not working for me. Please let me know how I can extract a more helpful error message, but the only feedback I'm getting from FreeCAD is that when I try to run the macro, a traceback shows up at the bottom of the window but gets cut off before I can see any actually useful information.
The reason I'm suspecting PySide as a culprit is because when I try to run the macro from the terminal, I get an exception about not being able to find the PySide module, which I can't have for the version of Python I'm using. I would continue to debug in this way, but eventually I'd need the FreeCADGui module, and I haven't found how to install it outside of the FreeCAD environment (if that even makes sense to try).
If there's any additional information I can provide to help, please let me know. Thanks!
The text was updated successfully, but these errors were encountered: