Closed ElPatoNoEsTu closed 4 months ago
I finaly figured out that this was caused by a "Backup-Folder" in my C:\Users\xxxxxxxx\AppData\Roaming\FreeCAD\Mod\ Folder. It seems that somewhen ( might be years ago ) these backups of some addons were made, but I never noticed them before.
I finaly figured out that this was caused by a "Backup-Folder" in my C:\Users\xxxxxxxx\AppData\Roaming\FreeCAD\Mod\ Folder. It seems that somewhen ( might be years ago ) these backups of some addons were made, but I never noticed them before.
Is there an existing issue for this?
Version
0.20 (Release)
Full version info
Subproject(s) affected?
None
Problem description
Via Addon Manager installed Freecad Gears failed to "load".
10:00:05 During initialization the error "cannot import name 'app' from 'freecad' (C:\Users\xxxxxxxx\AppData\Roaming\FreeCAD\Mod\Assembly3.backup1701122976.354356.\freecad__init__.py)" occurred in freecad.gears 10:00:05 -------------------------------------------------------------------------------- 10:00:05 Traceback (most recent call last): File "", line 231, in InitApplications
File "C:\Temp\FreeCAD-Link-Stable-Win-x86_64-py3.11-20240407\bin\Lib\importlib__init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1147, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "C:\Users\xxxxxxxx\AppData\Roaming\FreeCAD\Mod\freecad.gears.\freecad\gears\init_gui.py", line 21, in
from freecad import app
ImportError: cannot import name 'app' from 'freecad' (C:\Users\xxxxxxxx\AppData\Roaming\FreeCAD\Mod\Assembly3.backup1701122976.354356.\freecad\ init__.py)
10:00:05 --------------------------------------------------------------------------------
Anything else?
All suggestions are welcome.
Code of Conduct