mnesarco / freecad_extman Goto Github PK
View Code? Open in Web Editor NEWNew Generation Extension Manager for FreeCAD
License: GNU Lesser General Public License v2.1
New Generation Extension Manager for FreeCAD
License: GNU Lesser General Public License v2.1
In @dubstar-04's repo: https://github.com/dubstar-04/FreeCAD_Turning_Addon we see that there is a liblathe submodule. Does Extension Manager pull submodules? I don't think the default Addon Manager does, right ?
The README.md should have a Usage section explaining that once the Extension Manager is installed, restart FC and then activate it from the Workbench dropdown menu.
Hi,
When I download ExtMan and restart FreeCAD, I am getting following error:
During initialization the error No module named 'PySide2.QtWebEngineCore' occurred in freecad.extman
--------------------------------------------------------------------------------
Traceback (most recent call last):
File "<string>", line 145, in InitApplications
File "C:\Program Files\FreeCAD 0.18\bin\lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "C:\Program Files\FreeCAD 0.18\Mod\ExtMan\freecad\extman\init_gui.py", line 26, in <module>
from freecad.extman.gui.browser import install_router, start_browser
File "C:\Program Files\FreeCAD 0.18\Mod\ExtMan\freecad\extman\gui\browser.py", line 28, in <module>
from freecad.extman.gui.webview import WebView
File "C:\Program Files\FreeCAD 0.18\Mod\ExtMan\freecad\extman\gui\webview.py", line 30, in <module>
from PySide2.QtWebEngineCore import QWebEngineUrlSchemeHandler
ModuleNotFoundError: No module named 'PySide2.QtWebEngineCore'
--------------------------------------------------------------------------------
I installed with pip install . --no-deps
and see missing resources. Maybe you need to include them in MANIFEST.in
. Not sure if the manifest.ini
is for the same purpose.
Cannot find icon: /home/lo/miniconda3/envs/freecad/lib/python3.8/site-packages/Resources/icons/ExtManWorkbench.svg
FileNotFoundError: [Errno 2] Datei oder Verzeichnis nicht gefunden: '/home/lo/miniconda3/envs/freecad/lib/python3.8/site-packages/Resources/html/index.html'
When FreeCAD is started the Report view shows:
11:08:32 During initialization the error "cannot import name 'QtWebChannel' from 'PySide2' (/usr/lib/python3/dist-packages/PySide2/__init__.py)" occurred in freecad.extman 11:08:32 -------------------------------------------------------------------------------- 11:08:32 Traceback (most recent call last): File "<string>", line 156, in InitApplications File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1014, in _gcd_import File "<frozen importlib._bootstrap>", line 991, in _find_and_load File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 671, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 783, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "/home/mac/.FreeCAD/Mod/ExtMan/freecad/extman/init_gui.py", line 26, in <module> from freecad.extman.gui.browser import install_router, start_browser File "/home/mac/.FreeCAD/Mod/ExtMan/freecad/extman/gui/browser.py", line 28, in <module> from freecad.extman.gui.webview import WebView File "/home/mac/.FreeCAD/Mod/ExtMan/freecad/extman/gui/webview.py", line 29, in <module> from PySide2 import QtWebChannel ImportError: cannot import name 'QtWebChannel' from 'PySide2' (/usr/lib/python3/dist-packages/PySide2/__init__.py) 11:08:32 --------------------------------------------------------------------------------
Thank you for working on this!
So...unable able to test ExtMan using the AppImage. I followed the installation instructions for git and restarted. When I ran the Addon Manager it showed the current one and not your ExtMan.
When starting the AppIMage from the CLI, I see a peculiar warning though that I'm not used to (thought it may be related):
Tried to run Gui::Application::initApplication() twice!
My About info:
OS: Manjaro Linux (XFCE/xfce)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.21329 (Git) AppImage
Build type: Release
Branch: master
Hash: 2330eef823b32ac412d839031cc174353a76b013
Python version: 3.8.2
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: English/United States (en_US)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.