It may be the call to changePlotWidget() which might not have happened
the first time. Please post error message to the related bug report

http://hub.qgis.org/issues/6678

thanks
Etienne

On Tue, Nov 13, 2012 at 1:38 PM, William Kyngesburye
<[email protected]> wrote:
> Oh rats!  Now I get the missing figure error every time - looks like it only 
> worked the first time after I installed the profiletool plugin.
>
> On Nov 13, 2012, at 9:26 AM, William Kyngesburye wrote:
>
>> I just tried a simple profile, no problems with matplotlib 1.1.1 while QGIS 
>> is running, but there was an error when quitting:
>>
>> Error while unloading plugin profiletool
>>
>> Traceback (most recent call last):
>>  File 
>> "/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py", 
>> line 213, in unloadPlugin
>>    plugins[packageName].unload()
>>  File "/Users/kyngchaos/.qgis//python/plugins/profiletool/profileplugin.py", 
>> line 80, in unload
>>    self.wdg.close()
>> RuntimeError: wrapped C/C++ object of %S has been deleted
>>
>> On Nov 13, 2012, at 7:44 AM, Etienne Tourigny wrote:
>>
>>> Hi,
>>>
>>> I will try to look into this and support 1.0 as well as 1.1.
>>>
>>> Does anyone have a link explaining differences between matplotlib 1.0
>>> and 1.1 ? I had many issues with this when trying to make improvements
>>> to the identify plugin.
>>>
>>> Etienne
>>>
>>> On Mon, Nov 12, 2012 at 10:52 PM, William Kyngesburye
>>> <[email protected]> wrote:
>>>> On Nov 12, 2012, at 11:32 AM, Etienne Tourigny wrote:
>>>>
>>>>> I think this is due to major differences between 1.0 and 1.1 - I'll
>>>>> try to look into this and probably just disable the matplotlib version
>>>>> unless it's 1.0.
>>>>>
>>>>
>>>> That would not be good for OS X (the non-functioning PyQwt on OS X was a 
>>>> big reason for adding matplotlib option to the Profile plugin).  I package 
>>>> matplotlib 1.1 for OS X, this would mean I would have to drop back to 
>>>> packaging 1.0.
>>>>
>>>> the matplotlib 1.0 binaries available from the developers are for the 
>>>> python.org installation of Python, not the system python, and are not 
>>>> 64bit, as far as I can tell.
>>>>
>>>> -----
>>>> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
>>>> http://www.kyngchaos.com/
>>>>
>>>> "Oh, look, I seem to have fallen down a deep, dark hole.  Now what does 
>>>> that remind me of?  Ah, yes - life."
>>>>
>>>> - Marvin
>>>>
>>>>
>>> _______________________________________________
>>> Qgis-user mailing list
>>> [email protected]
>>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>> -----
>> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
>> http://www.kyngchaos.com/
>>
>> "I ache, therefore I am.  Or in my case - I am, therefore I ache."
>>
>> - Marvin
>>
>>
>> _______________________________________________
>> Qgis-user mailing list
>> [email protected]
>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
> -----
> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
> http://www.kyngchaos.com/
>
> "We are at war with them. Neither in hatred nor revenge and with no 
> particular pleasure I shall kill every ___ I can until the war is over. That 
> is my duty."
>
> "Don't you even hate 'em?"
>
> "What good would it do if I did? If all the many millions of people of the 
> allied nations devoted an entire year exclusively to hating the ____ it 
> wouldn't kill one ___ nor shorten the war one day."
>
> <Ha, ha> "And it might give 'em all stomach ulcers."
>
> - Tarzan, on war
>
_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to