Extension Manager (ExtMan)

Here's the place for discussion related to coding in FreeCAD, C++ or Python. Design, interfaces and structures.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
mnesarco
Posts: 446
Joined: Thu Mar 26, 2020 8:52 pm

Re: Extension Manager

Post by mnesarco »

HI Friends,
I have fixed some small bugs and added an Uninstall option. Feedback is welcome.

phpBB [video]


Cheers,

Frank.
User avatar
HakanSeven12
Veteran
Posts: 1481
Joined: Wed Feb 06, 2019 10:30 pm

Re: Extension Manager

Post by HakanSeven12 »

When we see it in official release? :)
User avatar
mnesarco
Posts: 446
Joined: Thu Mar 26, 2020 8:52 pm

Re: Extension Manager

Post by mnesarco »

HakanSeven12 wrote: Thu Jan 21, 2021 5:19 am When we see it in official release? :)
What do you mean by official release? It was published on github from the very beginning.
User avatar
HakanSeven12
Veteran
Posts: 1481
Joined: Wed Feb 06, 2019 10:30 pm

Re: Extension Manager

Post by HakanSeven12 »

I mean when we can see extension manager in freecad official releases.
User avatar
mnesarco
Posts: 446
Joined: Thu Mar 26, 2020 8:52 pm

Re: Extension Manager

Post by mnesarco »

HakanSeven12 wrote: Thu Jan 21, 2021 1:06 pm I mean when we can see extension manager in freecad official releases.
I don't know if it will be included by default. Few people has used it enough to consider it a stable alternative to the AddOn-Manager. I suppose that if enough people like it, it will be more chance to the Core team to consider including it.
drmacro
Veteran
Posts: 8862
Joined: Sun Mar 02, 2014 4:35 pm

Re: Extension Manager

Post by drmacro »

I noted this in your thread on Facebook. but I figured this is a better place...and I will open an issue on github.

After the git clone when I start FC:

Code: Select all

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  --------------------------------------------------------------------------------
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
User avatar
mnesarco
Posts: 446
Joined: Thu Mar 26, 2020 8:52 pm

Re: Extension Manager

Post by mnesarco »

drmacro wrote: Thu Jan 21, 2021 4:10 pm ...
It requires:
* FreeCAD 0.19_pre+
* Python3
* The AppImage provides everything, but if you are using a system installed version, you will probably need to install some python dependencies (Listed in setup.py)

Code: Select all

python3-pyside2.qtwebchannel
python3-pyside2.qtnetwork
python3-pyside2.qtwebenginecore
python3-pyside2.qtwebenginewidgets
drmacro
Veteran
Posts: 8862
Joined: Sun Mar 02, 2014 4:35 pm

Re: Extension Manager

Post by drmacro »

Sorry, for all the chatter.

I got those installed and all is good.

Looks like a better way for people to access addons.
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
User avatar
mnesarco
Posts: 446
Joined: Thu Mar 26, 2020 8:52 pm

Re: Extension Manager

Post by mnesarco »

drmacro wrote: Thu Jan 21, 2021 4:36 pm Sorry, for all the chatter.
No problem, that's the idea to get feedback from real users to improve.
User avatar
Chris_G
Veteran
Posts: 2578
Joined: Tue Dec 31, 2013 4:10 pm
Location: France
Contact:

Re: Extension Manager

Post by Chris_G »

Hi,
This extension manager is great !
I have added a manifest.ini file to Curves WB.
One bug I have : if I close ExtMan window tab, switch to another WB, then activate back ExtMan WB, I only get an empty window tab.

Code: Select all

OS: Manjaro Linux (KDE//usr/share/xsessions/plasma)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.23709 (Git)
Build type: Release
Branch: master
Hash: 625502bb4770e8bb0d3f4eb5e2150fa353c8c7fb
Python version: 3.9.1
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.0
Locale: French/France (fr_FR)
Post Reply