View Issue Details

IDProjectCategoryView StatusLast Update
0004004FreeCADBugpublic2019-06-12 14:30
ReportermhabakukAssigned To 
Status newResolutionopen 
Product Version0.18 
Target VersionFixed in Version 
Summary0004004: Skripts funktionieren nicht mehr unter 0.18
DescriptionSkripts wie ScreMaker oder Bolts funktionieren nicht mehr unter Version 0.18, jedoch auf gleichem Gerät noch unter 0.17.

Es kommt folgende Fehlermeldung (exemplarisch)

Traceback (most recent call last):
  File "G:/delta/knuth.V2/AppData/Roaming/FreeCAD/Macro/start_bolts.FCMacro", line 1, in <module>
    import BOLTS
  File "G:\delta\knuth.V2\AppData\Roaming\FreeCAD\Mod\BOLTSFC\BOLTS\", line 40, in <module>
    from .gui import freecad_bolts as boltsgui
  File "G:\delta\knuth.V2\AppData\Roaming\FreeCAD\Mod\BOLTSFC\BOLTS\gui\", line 29, in <module>
    Ui_BoltsWidget,QBoltsWidget = uic.loadUiType(join(bolts_path,'bolts_widget.ui'))
<class 'SyntaxError'>: Missing parentheses in call to 'exec' (<string>, line 15)

Manchmal, leider nicht immer, entbugt ein Neutippen der Zeile den Code - leider nicht komplett sondern bestenfalls abschnittsweise.
Steps To Reproduceim og. Fall einfach das Macro start_bolts.FCMacro nach Anleitung ausführen
TagsNo tags attached.



2019-06-07 16:29

developer   ~0013161

Maybe a new rule something like "(7) Write ticket in english" should be added in the yellow banner. ;-) Even if this ticket also tends to prove that yellow banner isn't read... :-/


2019-06-12 14:30

administrator   ~0013187

The issue should be addressed to the addon maintainer as BOLTS is not official part of FreeCAD. Nevertheless, the problem is caused because FreeCAD v0.17 uses Python2 which BOLTS apparently does too but your FreeCAD v0.18 obviously uses Python3.

Two things you can try:
1. Get FreeCAD v0.18 that uses Python2 -- but this is not a long-term solution as for the next release Python2 won't be supported any more
2. Ask the maintainer of the BOLTS addon to port it to Python3

Issue History

Date Modified Username Field Change
2019-06-06 06:34 mhabakuk New Issue
2019-06-07 16:29 openBrain Note Added: 0013161
2019-06-12 14:30 wmayer Note Added: 0013187