DCBIA-OrthoLab / SlicerAutomatedDentalTools

A 3D Slicer extension to use AMASSS, ALI-CBCT and ALI-IOS
Other
86 stars 26 forks source link

BUG : fix error loading module #50

Closed GaelleLeroux closed 1 year ago

GaelleLeroux commented 1 year ago

@allemangD Hi David !

I tried to use AutoMatrix on my macbook like a normal user and I found that the module is not loading. The error is :

File "/Applications/Slicer.app/Contents/Extensions-31938/SlicerAutomatedDentalTools/lib/Slicer-5.4/qt-scripted-modules/AutoMatrix.py", line 19, in import Methode.General_tools as gt ModuleNotFoundError: No module named 'Methode.General_tools' [Qt] loadSourceAsModule - Failed to load file "/Applications/Slicer.app/Contents/Extensions-31938/SlicerAutomatedDentalTools/lib/Slicer-5.4/qt-scripted-modules/AutoMatrix.py" as module "AutoMatrix" ! [Qt] Fail to instantiate module "AutoMatrix"

I tried to change my code as Jeanne did to make it work. I think it will work but I can't test it because it was already working on my computer before. Can you tell me if I the bug is fixed ? If it's not can you help me ?