maybe the cache files need to live in tmp/ then ? or we have a routine in the addon manager that clear the cache files when removing extman...?
Extension Manager (ExtMan)
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: Extension Manager
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Re: Extension Manager
The problem with /tmp is that it gets removed on system restarts and the cache contains a lot of files, so i prefer to keep it on a more stable location. If there is a way to instruct the AddnonManager to do additional cleanups on Addons uninstalls i will use that. But there is no such functionality as far as i know.
Re: Extension Manager
https://github.com/FreeCAD/FreeCAD-addons/issues/189mnesarco wrote: ↑Sun Feb 21, 2021 3:04 am The problem with /tmp is that it gets removed on system restarts and the cache contains a lot of files, so i prefer to keep it on a more stable location. If there is a way to instruct the AddnonManager to do additional cleanups on Addons uninstalls i will use that. But there is no such functionality as far as i know.
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Re: Extension Manager (ExtMan)
The Extension Manager stopped working for me. I'm not able to install anything via this workbench anymore. I've tried to install the Macro_FCBmpImport for example. I've got:
It works like a charm if I'm using the Addon manager.
Did I do something wrong or is something broken?
Code: Select all
Install error
This macro must be downloaded from this link:
https://gist.githubusercontent.com/mwganson/ea7aa4dcb79d7492caa24e8970967174/raw/1fe247b5b93e5084866a69754854d9caedca1f09/FCBmpImport.FCMacro|FCBmpImport.FCMacro
Copy the link, download it and install it manually or follow instructions from the external resource
Did I do something wrong or is something broken?
Code: Select all
OS: Ubuntu 20.04.3 LTS (ubuntu:GNOME/ubuntu)
Word size of FreeCAD: 64-bit
Version: 0.20.25943 (Git) AppImage
Build type: Release
Branch: master
Hash: a65464b722a846bd2999aa2fecdff1132b15b297
Python version: 3.9.7
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.2
Locale: English/United States (en_US)
Regards / Viele Grüße
Max
Max
Re: Extension Manager (ExtMan)
Possibly something to do with:
I don't know whether this appeared before as it's so long since I used ExtMan.
Edit: Xpost, I've raised it with Kurt in https://forum.freecadweb.org/viewtopic. ... 82#p540982
Code: Select all
09:25:45 [ExtMan] https://wiki.freecadweb.org/api.php?action=query&prop=revisions&titles=Macros_recipes&rvslots=%2A&rvprop=content&formatversion=2&format=json [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1125)
Edit: Xpost, I've raised it with Kurt in https://forum.freecadweb.org/viewtopic. ... 82#p540982
Re: Extension Manager (ExtMan)
Installing things from the wiki is quite fragile, sometimes a minimal change in the wiki page format leads to changes in the AddonManager / ExtMan, the thing is that AddonManager is actively maintained by the FreeCAD maintainers while ExtMan does not. I do not have time to fix that now or to actively maintain ExtMan, it would be great to recibe pull requests I think not too many people uses ExtMan actually but I think I can merge this kind of probably small fixes.M4x wrote: ↑Tue Oct 19, 2021 8:05 am The Extension Manager stopped working for me. I'm not able to install anything via this workbench anymore. I've tried to install the Macro_FCBmpImport for example. I've got:
It works like a charm if I'm using the Addon manager.Code: Select all
Install error This macro must be downloaded from this link: https://gist.githubusercontent.com/mwganson/ea7aa4dcb79d7492caa24e8970967174/raw/1fe247b5b93e5084866a69754854d9caedca1f09/FCBmpImport.FCMacro|FCBmpImport.FCMacro Copy the link, download it and install it manually or follow instructions from the external resource
Did I do something wrong or is something broken?
ExtMan maintains a local cache at
Code: Select all
.FreeCAD/ExtManCache
ExtMan was a proof of concept of a modern Extension Manager, but there are some structural problems related to extensions metadata, so eventually I decided that it is not worth the pain to maintain it on fragile protocols like the wiki one. So what I recommend is to use AddonManager until a real alternative arrives.
Cheers,
Frank.
Re: Extension Manager (ExtMan)
Too bad, I really like it. Thank you very much for your fast and detailed reply.
Regards / Viele Grüße
Max
Max
Re: Extension Manager (ExtMan)
I should also note that I'm making significant structural changes to the Add-on Manager right now, to support the new Metadata format. So bug reports and feature suggestions are welcome. Once the under-the-hood stuff is done, I hope to take inspiration from @mnesarco's work with ExtMan to make some user-facing changes as well.