[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.
cflin
Posts: 50
Joined: Sun May 14, 2017 10:21 pm

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

Postby cflin » Sat Oct 27, 2018 11:47 pm

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
Site Admin
Posts: 11570
Joined: Tue Feb 17, 2009 9:16 pm
Location: São Paulo, Brazil
Contact:

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

Postby yorik » Sun Oct 28, 2018 2:05 am

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

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

Postby cflin » Mon Oct 29, 2018 4:10 pm

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
Posts: 5909
Joined: Thu Jan 05, 2017 9:03 pm

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

Postby Kunda1 » Tue Oct 30, 2018 12:18 am

Please mark this thread as [Solved] (by changing the title of the first post of this thread). Thanks.
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
cflin
Posts: 50
Joined: Sun May 14, 2017 10:21 pm

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

Postby cflin » 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?
chrisb
Posts: 19469
Joined: Tue Mar 17, 2015 9:14 am

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

Postby chrisb » Sat Nov 03, 2018 6:31 am

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.