Addon Manager Dependency Update

This subforum is specifically to discuss packaging issues on different platforms (windows, mac, linux), and using different packaging systems (conda, etc...)
User avatar
chennes
Veteran
Posts: 3904
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

Re: Addon Manager Dependency Update

Post by chennes »

drmacro wrote: Thu Feb 17, 2022 12:37 pm Apologies if this is the wrong thread...
This one works, I'm subscribed to it so I'll see your posts. That's been on my "to investigate" list for a while, I'll bump up the priority.
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
falviani
Posts: 253
Joined: Tue May 07, 2019 8:49 pm

Re: Addon Manager Dependency Update

Post by falviani »

Hi Chris,

Not behind any kind of proxy. Pulled the latest and built, but the same error has occurred.

-Frank
User avatar
chennes
Veteran
Posts: 3904
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

Re: Addon Manager Dependency Update

Post by chennes »

Is it failing right away, or do you see the "Checking for connection" dialog for some time?
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Addon Manager Dependency Update

Post by Kunda1 »

Having an issue loading dependencies for InventorLoader
I'm not sure if it is because the package.xml is pointing to the wrong default branch (https://github.com/jmplonka/InventorLoader/pull/55/) or what..but 3rd party deps aren't being installed.

1. Run Addon Manager
2. Choose InventorLoader
3. Click 'Install'
4. Dialog letting me know what 3rd party dependencies are needed and if I want FC to grab them. I press 'Yes'
Result: Dialog box "Installing dependencies" with a cancel button
Output in the CLI

Code: Select all

Addon Manager internal error: lost metadata for package sheetmetal
Addon Manager internal error: lost metadata for package sheetmetal
Addon Manager internal error: lost metadata for package sheetmetal
Addon Manager internal error: lost metadata for package sheetmetal
Addon Manager internal error: lost metadata for package sheetmetal
Addon Manager internal error: lost metadata for package sheetmetal
Noneb'pip 22.0.3 from /snap/freecad-ppd/161/lib/python3.8/site-packages/pip (python 3.8)\n'pip 22.0.3 from /snap/freecad-ppd/161/lib/python3.8/site-packages/pip (python 3.8)
Traceback (most recent call last):
  File "/snap/freecad-ppd/161/usr/Mod/AddonManager/addonmanager_workers.py", line 1326, in run
    self.emit.failure(
AttributeError: 'builtin_function_or_method' object has no attribute 'failure'

Code: Select all

OS: Ubuntu Core 20 (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.20.27571 (Git)
Build type: Release
Branch: master
Hash: 0bbc253ddee6801770c78e011c5201b7c2c36080
Python 3.8.10, Qt 5.15.3, Coin 4.0.0, OCC 7.5.2
Locale: English/United States (en_US)
Installed mods: 
  * ToolbarStyle
  * stickframe
  * sheetmetal 0.2.49
  * Behave-Dark-Colors 0.0.1
  * Curves 0.3.0
  * Ship
  * BIM 2021.12.0
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
User avatar
chennes
Veteran
Posts: 3904
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

Re: Addon Manager Dependency Update

Post by chennes »

falviani wrote: Thu Feb 17, 2022 4:44 pm Hi Chris,

Not behind any kind of proxy. Pulled the latest and built, but the same error has occurred.

-Frank
I'd be curious to know if git commit f28278dca5ffeb5928799f3356b6a9aed0c38d20 resolves the issue for you.
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
User avatar
chennes
Veteran
Posts: 3904
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

Re: Addon Manager Dependency Update

Post by chennes »

Kunda1 wrote: Thu Feb 17, 2022 5:05 pm Having an issue loading dependencies for InventorLoader
It's a bug in the error-handling code, fixed now in git commit 03fa2f398.
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
drmacro
Veteran
Posts: 8974
Joined: Sun Mar 02, 2014 4:35 pm

Re: Addon Manager Dependency Update

Post by drmacro »

chennes wrote: Fri Feb 18, 2022 2:48 pm
Kunda1 wrote: Thu Feb 17, 2022 5:05 pm Having an issue loading dependencies for InventorLoader
It's a bug in the error-handling code, fixed now in git commit 03fa2f398.
Just pulled and built, seems fixed:

OS: Debian GNU/Linux 10 (buster) (XFCE/lightdm-xsession)
Word size of FreeCAD: 64-bit
Version: 0.20.27635 (Git)
Build type: Release
Branch: master
Hash: 39603258210d24f09aef1fe96271f6c6ca595f5a
Python 3.7.3, Qt 5.11.3, Coin 4.0.0a, OCC 7.3.0
Locale: English/UnitedStates (en_US)
Installed mods:
* kicadStepUpMod 10.10.4
* Manipulator
* DynamicData 2.32.0
* fasteners 0.3.38
* fcgear
* Defeaturing
* Assembly4 0.11.9
* OpticsWorkbench 1.0.7
* workfeature-macro
* sheetmetal 0.2.49
* A2plus 0.4.54b
* CurvedShapes 1.0.0
* Curves 0.3.0
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
falviani
Posts: 253
Joined: Tue May 07, 2019 8:49 pm

Re: Addon Manager Dependency Update

Post by falviani »

Hi Chris,

Still having the same isues connecting to GitHub. My firewall doesn't block it and I can see it in FireFox, as shown below:
Github_screenshot_18Feb22.png
Github_screenshot_18Feb22.png (101.64 KiB) Viewed 1405 times
I have no idea what's happening. I did a pull this morning and updated the OS, just in case. Just out of curiosity, how are you connecting to GitHub?

-Frank
User avatar
chennes
Veteran
Posts: 3904
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

Re: Addon Manager Dependency Update

Post by chennes »

falviani wrote: Fri Feb 18, 2022 5:03 pm I did a pull this morning
I don't know what timezone you are in: did that pull include git commit f28278dca5ffeb5928799f3356b6a9aed0c38d20?
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
falviani
Posts: 253
Joined: Tue May 07, 2019 8:49 pm

Re: Addon Manager Dependency Update

Post by falviani »

Hi Chris,

Fair ambiguity observation: I'm in the Central Time Zone, outside Chicago.
I just did a pull (1:30 CST) and rebuild, and checked to see that the referenced git change is included. No change.
The weekly build is just fine and brings up the addon manager as expected. So it must be something about my build configuration :( The stats from that are:

Code: Select all

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.20.25645 (Git)
Build type: Release
Branch: master
Hash: 37d9757399b4c2ec30318eb88d7cd7c508246345
Python version: 3.8.6+
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.0
Locale: English/United States (en_US)
Post Reply