dubstar-04 / FeedsAndSpeeds

FreeCAD Feed and Speeds Calculator
GNU Lesser General Public License v2.1
30 stars 8 forks source link

Error with 0.22.0dev.35456 Development versions #50

Open JohnOCFII opened 10 months ago

JohnOCFII commented 10 months ago

This might be related to the re-work of the Materials system, but wanted to log it in case you hadn't seen it:

20:17:34  Traceback (most recent call last):
20:17:34    File "/home/osh/.local/share/FreeCAD/Mod/FeedsAndSpeeds/./PathFeedsAndSpeedsGui.py", line 290, in Show
20:17:34      panel = FeedSpeedPanel()
20:17:35    File "/home/osh/.local/share/FreeCAD/Mod/FeedsAndSpeeds/./PathFeedsAndSpeedsGui.py", line 35, in __init__
20:17:35      self.load_materials()
20:17:35    File "/home/osh/.local/share/FreeCAD/Mod/FeedsAndSpeeds/./PathFeedsAndSpeedsGui.py", line 79, in load_materials
20:17:35      material_card = read(os.path.join(material_dir, file))
20:17:35    File "/tmp/.mount_FreeCAen6314/usr/Mod/Material/importFCMat.py", line 103, in read
20:17:35      material = materialManager.getMaterialByPath(filename)
20:17:35  LookupError: Material not found

This happens on both macOS Sonoma and Debian Bookworm. Debian details below:

OS: Debian GNU/Linux 12 (bookworm) (GNOME/gnome)
Word size of FreeCAD: 64-bit
Version: 0.22.0dev.35456 (Git) AppImage
Build type: Release
Branch: main
Hash: c91a35961f7ef42f1b64eb11ca963d6fbc0b42da
Python 3.10.13, Qt 5.15.8, Coin 4.0.2, Vtk 9.2.6, OCC 7.6.3
Locale: English/United States (en_US)
Installed mods: 
  * FeedsAndSpeeds 0.5.0