[SOLVED] Add-on Manager Crashes in 0.18; Works fine in 0.17

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!
Post Reply
cflin
Posts: 56
Joined: Sun May 14, 2017 10:21 pm

[SOLVED] Add-on Manager Crashes in 0.18; Works fine in 0.17

Post by cflin »

In the latest version of 0.18, the add-on manager crashes with the following error:

Running the Python command 'Std_AddonMgr' failed:
Traceback (most recent call last):
File "/usr/lib/freecad-daily/Mod/AddonManager/AddonManagerGui.py", line 10, in Activated
import AddonManager
File "/usr/lib/freecad-daily/Mod/AddonManager/AddonManager.py", line 54, in <module>
from addonmanager_macro import Macro
File "/usr/lib/freecad-daily/Mod/AddonManager/addonmanager_macro.py", line 28, in <module>
from freecad import app

cannot import name app


The add-on manager works fine in 0.17, and, in fact, I used 0.17 to update maui's StepUp, which then worked fine in 0.18.

Details about my FC installation:

OS: Ubuntu 16.04.5 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15058 (Git)
Build type: Release
Branch: master
Hash: 2af5a983a299974bc5776cf450b540f33fb466fb
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)


This problem started some time during the past week or so.
Last edited by cflin on Sat Nov 03, 2018 1:25 am, edited 1 time in total.
User avatar
yorik
Founder
Posts: 13640
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: Add-on Manager Crashes in 0.18; Works fine in 0.17

Post by yorik »

This is now fixed in git commit 57726db4
cflin
Posts: 56
Joined: Sun May 14, 2017 10:21 pm

Re: Add-on Manager Crashes in 0.18; Works fine in 0.17

Post by cflin »

I can confirm that the issue has been corrected after yesterday's update of FC0.18. Thank you for your hard work!
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Add-on Manager Crashes in 0.18; Works fine in 0.17

Post by Kunda1 »

Please mark this thread as [Solved] (by changing the title of the first post of this thread). Thanks.
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
cflin
Posts: 56
Joined: Sun May 14, 2017 10:21 pm

Re: [SOLVED] Add-on Manager Crashes in 0.18; Works fine in 0.17

Post by cflin »

@Kunda1: Shouldn't the string "[SOLVED]" also show up in the title in the subsequent responses to my original post?
chrisb
Veteran
Posts: 53938
Joined: Tue Mar 17, 2015 9:14 am

Re: [SOLVED] Add-on Manager Crashes in 0.18; Works fine in 0.17

Post by chrisb »

cflin wrote: Sat Nov 03, 2018 1:34 am @Kunda1: Shouldn't the string "[SOLVED]" also show up in the title in the subsequent responses to my original post?
No it doesn't, because follow-ups can change their subject. In the list of topics the first subject is listed.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Post Reply