shaise / FreeCAD_FastenersWB

A workbench to add/attach various fasteners to parts
GNU General Public License v2.0
279 stars 85 forks source link

SyntaxWarning: invalid escape sequence '\d' #371

Closed sdifru closed 5 months ago

sdifru commented 5 months ago

Freecad shows this error /home/baskara/.local/share/FreeCAD/Mod/fasteners/./FastenersCmd.py:613: SyntaxWarning: invalid escape sequence '\d' if len(re.findall("[.]\d*$", val)) > 0:

Here's my freecad version:

OS: Arch Linux
Word size of FreeCAD: 64-bit
Version: 0.21.2.33771 (Git)
Build type: Release
Branch: makepkg
Python 3.12.3, Qt 6.7.0, Coin 4.0.2, Vtk 9.3.0, OCC 7.7.2
Installed mods: 
  * fasteners 0.5.20
shaise commented 5 months ago

please explain how to reproduce this error step by step.

sdifru commented 5 months ago

Its' gone now. I opened freecad and the errors showed in Report view panel. It showed right after I installed the plugin and restarted freecad. It seems like the problem is solved.