-
Notifications
You must be signed in to change notification settings - Fork 2
AddonManager: Unable to install the Python deps and erroneuously reports it successfully installed addon/workbench #39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@chennes FYI |
I think what you're seeing is that |
Thanks! I will crosscheck this resolution and give you a feedback. I use the latest weekly builds. |
@chennes according to the feedback above it seems extending the timeout wasn't enough to fix the issue and also noted that AddonManager reports installing successfully even though it bailed on installing all 3rd party deps. |
@raindropsfromsky @luzpaz the merge of the fix was after weekly build 40077 was produced therefore it won't be available until Friday night/Saturday morning. |
Oh shoot, my bad. |
If you can reproduce please ask to re-open. |
@raindropsfromsky the fix is in revision 40090 and currently the latest weekly is at r40077. New build will be triggered tomorrow. |
Even if the modification works, we need a positive confirmation that there is a good safety margin in the timings. Do you want me to report any logs? |
BTW the added wait time does not deal with the other issues I reported:
Both problems need to be resolved. Do you want me to replicate the bug twice (so that each problem can be addressed separately)? |
I suggest waiting until the version you are testing includes FreeCAD/FreeCAD@fbb1225, which includes some additional code for ensuring that if a dependency fails to install, the Addon Manager does not continue to install the addon itself (unless you tell it to do so, of course). |
Workaround: After the successful installation of networkx, I installed the SheetMetal workbench without any hiccup. |
If you're reproducing the bug please add the full About info to your post. It helps us avoid misunderstandings. |
Sorry, a newbie mistake :-((, here it is:
|
Glad I asked. Fix is in r40090, see #39 |
Sorry, not fixed.
Steps to reproduce:
Manual solution:
|
Two of three problems discussed in this issue is now resolved. I am using Version: 1.1.0dev.40122 on Windows 11 build 26100. I removed SheetMetal, restarted FC, and then installed SheetMetal again. I deliberately did not respond immediately. The SheetMetal installation took a very long time, and finally the Networkx got installed successfully. After that, it went on to install SheetMetal successfully. IINW the other problems are still pending.
BTW, I tried to test what happens if I click No to Networkx. Logically FC should install SheetMetal, but at the end report that the dependency was not installed at user request, and so the unfolded will not work as expected. To test this scenario, I uninstalled SheetMetal. I restarted FC and then installed SheetMetal. Thus, I could not test what happens when the user does not allow installation of Networkx. |
I don't understand what you mean here by "without user input" -- it sounds from your description like it asked for the input it needed, got it, and then installed. Which input did it fail to ask for? |
Is there an existing issue for this?
Problem description
Addon manager is unable to install the Networkx Python dependency for the Sheet Metal addon
I had raised this issue with the GitHub for Sheet Metal addon, but the developer has confirmed that this bug is with the Addon Manager.
Full version info
Subproject(s) affected?
None
Anything else?
Since that URL chronicles my entire conversation with the developer, I am just leaving the link here. All details can be checked there, including the logic for considering that the bug is with Addon Manager, and not the addon.
Code of Conduct
The text was updated successfully, but these errors were encountered: