Re: [Qgis-user] Problem installing Profile plugin

2012-11-19 Thread Etienne Tourigny
I have uploaded 3.5.2 version of profile tool, which fixes all issues
identified recently.  Should work on mac and linux with matplotlib 1.0
and 1.1.1

Etienne

On Tue, Nov 6, 2012 at 7:23 PM, JLancaster  wrote:
> matplotlib 1.1.1. I used the Kyngchaos installer.
>
> Thanks for your work on this. An essential tool for my work.
>
> JD
>
>
> Etienne Tourigny-3 wrote
>> uhh ...
>>
>> please, what is you matplotlib version?
>>
>> thanks
>> Etienne
>>
>> On Tue, Nov 6, 2012 at 7:03 PM, JD Lancaster <
>
>> jllancast@
>
>> > wrote:
 Hi,
 sorry for the delay... I have just uploaded version 0.5.0
 (profiletool) which fixes this issue, as well as 1.9 compatibility and
 other UI fixes.
 You need to enable Experimental plugins to get this new version -
 please test it and give me your feedback.
 Regards,
 Etuenne
>>>
>>>
>>> Hi there,
>>>
>>> I installed, ran, and received the following error (MACOSX 10.6.8, QGIS
>>> 1.8.0):
>>>
>>> An error has occured while executing Python code:
>>>
>>> Traceback (most recent call last):
>>>   File
>>> "/Users/jdlancaster/.qgis//python/plugins/profiletool/profileplugin.py",
>>> line 278, in changePlotLibrary
>>> self.wdg.addPlotWidget(self.plotlibrary)
>>>   File
>>> "/Users/jdlancaster/.qgis//python/plugins/profiletool/ui/ui_ptdockwidget.py",
>>> line 143, in addPlotWidget
>>> self.plotWdg = PlottingTool().changePlotWidget("Matplotlib",
>>> self.frame_for_plot)
>>>   File
>>> "/Users/jdlancaster/.qgis//python/plugins/profiletool/tools/plottingtool.py",
>>> line 82, in changePlotWidget
>>> fig = Figure( (1.0, 1.0), linewidth=0.0, subplotpars =
>>> figure.SubplotParams(left=0, bottom=0, right=1, top=1, wspace=0,
>>> hspace=0) )
>>> NameError: global name 'figure' is not defined
>>>
>>> Python version:
>>> 2.7.1 (r271:86832, Jul 31 2011, 19:30:53)
>>> [GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)]
>>>
>>>
>>> QGIS version:
>>> 1.8.0-Lisboa Lisboa,
>>>
>>> Python path:
>>> ['/Applications/QGIS.app/Contents/MacOS/../Resources/python',
>>> '/Users/jdlancaster/.qgis//python',
>>> '/Users/jdlancaster/.qgis//python/plugins',
>>> '/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins',
>>> '/Library/Frameworks/SQLite3.framework/Versions/3/Python/2.7',
>>> '/Library/Python/2.7/site-packages/numpy-override',
>>> '/Library/Frameworks/GDAL.framework/Versions/1.9/Python/2.7/site-packages',
>>> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip',
>>> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7',
>>> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin',
>>> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac',
>>> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages',
>>> '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python',
>>> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk',
>>> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old',
>>> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload',
>>> '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC',
>>> '/Library/Python/2.7/site-packages',
>>> '/Applications/QGIS.app/Contents/Resources/python/plugins/fTools/tools',
>>> '/Users/jdlancaster/Desktop']
>>>
>>>
>>> ___
>>> Qgis-user mailing list
>>>
>
>> Qgis-user@.osgeo
>
>>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>>
>> ___
>> Qgis-user mailing list
>
>> Qgis-user@.osgeo
>
>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
>
>
>
> --
> View this message in context: 
> http://osgeo-org.1560.n6.nabble.com/Problem-installing-Profile-plugin-tp5007211p5014391.html
> Sent from the Quantum GIS - User mailing list archive at Nabble.com.
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Problem installing Profile plugin

2012-11-14 Thread Guido Paliaga
Hi all,

I have the same problem: it works at first and then gives the error:

Errore durante l'esecuzione di codice Python:

Traceback (most recent call last):
  File "/Users/Guido/.qgis//python/plugins/profiletool/profileplugin.py",
line 278, in changePlotLibrary
self.wdg.addPlotWidget(self.plotlibrary)
  File
"/Users/Guido/.qgis//python/plugins/profiletool/ui/ui_ptdockwidget.py",
line 143, in addPlotWidget
self.plotWdg = PlottingTool().changePlotWidget("Matplotlib",
self.frame_for_plot)
  File
"/Users/Guido/.qgis//python/plugins/profiletool/tools/plottingtool.py",
line 82, in changePlotWidget
fig = Figure( (1.0, 1.0), linewidth=0.0, subplotpars =
figure.SubplotParams(left=0, bottom=0, right=1, top=1, wspace=0, hspace=0) )
NameError: global name 'figure' is not defined

Versione Python:
2.7.2 (default, Jun 20 2012, 16:23:33)
[GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)]


Versione di QGIS:
1.8.0-Lisboa Lisboa,

Percorso Python: ['/Users/Guido/.qgis//python/plugins/sextante_taudem',
'/Applications/QGIS.app/Contents/MacOS/../Resources/python',
'/Users/Guido/.qgis//python', '/Users/Guido/.qgis//python/plugins',
'/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins',
'/Library/Frameworks/SQLite3.framework/Versions/3/Python/2.7',
'/Library/Python/2.7/site-packages/numpy-override',
'/Library/Frameworks/GDAL.framework/Versions/1.9/Python/2.7/site-packages',
'/Library/Frameworks/cairo.framework/Versions/1/Python/2.7',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages',
'/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload',
'/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC',
'/Library/Python/2.7/site-packages',
'/Library/Python/2.7/site-packages/PIL',
'/Applications/QGIS.app/Contents/Resources/python/plugins/fTools/tools',
'/Users/Guido/Documents/Progetti/In itinere/Oman/IBRI/Progetti GIS']


Thanks,

Guido



2012/11/13 Etienne Tourigny 

> ok, I just wanted to know which file/line, because there are a few
> places where 'figure()' is called.  Thanks
>
> On Tue, Nov 13, 2012 at 2:22 PM, William Kyngesburye
>  wrote:
> > The error is now the same as Pedro's:
> >
> > ...
> > NameError: global name 'figure' is not defined
> >
> > I can poke around later and see if I can get a case where it works
> again...
> >
> > On Nov 13, 2012, at 10:11 AM, Etienne Tourigny wrote:
> >
> >> 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
> >>  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
> 
> >
> >
> > -
> > William Kyngesburye 
> > http://www.kyngchaos.com/
> >
> > Earth: "Mostly harmless"
> >
> > - revised entry in the HitchHiker's Guide to the Galaxy
> >
> >
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>



-- 
---
Dott. Geol. Guido Paliaga, PhD
Mobile +39 335 6901747
Skypeid: gpaliaga
gpali...@gmail.com
pali...@geologiliguria.it
Posta certificata: gpali...@epap.sicurezzapostale.it
www.edizioniilpiviere.com
www.guidopaliaga.com


Think before you print: Rispetta l'ambiente: se non ti è necessario, non
stampare questa mail.

Le informazioni contenute nella presente comunicazione e i relativi
allegati possono essere riservate e sono, comunque,

Re: [Qgis-user] Problem installing Profile plugin

2012-11-13 Thread Etienne Tourigny
ok, I just wanted to know which file/line, because there are a few
places where 'figure()' is called.  Thanks

On Tue, Nov 13, 2012 at 2:22 PM, William Kyngesburye
 wrote:
> The error is now the same as Pedro's:
>
> ...
> NameError: global name 'figure' is not defined
>
> I can poke around later and see if I can get a case where it works again...
>
> On Nov 13, 2012, at 10:11 AM, Etienne Tourigny wrote:
>
>> 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
>>  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

>
>
> -
> William Kyngesburye 
> http://www.kyngchaos.com/
>
> Earth: "Mostly harmless"
>
> - revised entry in the HitchHiker's Guide to the Galaxy
>
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Problem installing Profile plugin

2012-11-13 Thread William Kyngesburye
The error is now the same as Pedro's:

...
NameError: global name 'figure' is not defined

I can poke around later and see if I can get a case where it works again...

On Nov 13, 2012, at 10:11 AM, Etienne Tourigny wrote:

> 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
>  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
>>> 


-
William Kyngesburye 
http://www.kyngchaos.com/

Earth: "Mostly harmless"

- revised entry in the HitchHiker's Guide to the Galaxy


___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Problem installing Profile plugin

2012-11-13 Thread Etienne Tourigny
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
 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
>>>  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 
 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
>>> Qgis-user@lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>> -
>> William Kyngesburye 
>> http://www.kyngchaos.com/
>>
>> "I ache, therefore I am.  Or in my case - I am, therefore I ache."
>>
>> - Marvin
>>
>>
>> ___
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
> -
> William Kyngesburye 
> 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."
>
>  "And it might give 'em all stomach ulcers."
>
> - Tarzan, on war
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Problem installing Profile plugin

2012-11-13 Thread William Kyngesburye
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
>>  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 
>>> 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
>> Qgis-user@lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-user
> 
> -
> William Kyngesburye 
> http://www.kyngchaos.com/
> 
> "I ache, therefore I am.  Or in my case - I am, therefore I ache."
> 
> - Marvin
> 
> 
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user

-
William Kyngesburye 
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."

 "And it might give 'em all stomach ulcers."

- Tarzan, on war

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Problem installing Profile plugin

2012-11-13 Thread William Kyngesburye
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
>  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 
>> 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
> Qgis-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user

-
William Kyngesburye 
http://www.kyngchaos.com/

"I ache, therefore I am.  Or in my case - I am, therefore I ache."

- Marvin


___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Problem installing Profile plugin

2012-11-13 Thread Etienne Tourigny
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
 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 
> 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
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Problem installing Profile plugin

2012-11-12 Thread William Kyngesburye
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 
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
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Problem installing Profile plugin

2012-11-12 Thread Pedro Venâncio
>> I tested with polylines from external files, not with polylines created by 
>> qgis, not sure where the problem lies.

I've also tried it with shapefiles created in gvSIG, and the same happens.


>> yes, sorry I didn't specify

Ok, done!

Thanks Etienne!


Best regards,
Pedro

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Problem installing Profile plugin

2012-11-12 Thread Etienne Tourigny
On Mon, Nov 12, 2012 at 7:18 PM, Pedro Venâncio
 wrote:
> Hi Etienne,
>
>>> Does this happen just with a 2-point polyline (when initially created)? How 
>>> about if you first create (and save) a 3-point polyline before using the 
>>> plugin?
>
> It's the same, the plugin can not create the profile for the last segment of 
> a polyline (if the polyline has only one segment, then it creates nothing).

I tested with polylines from external files, not with polylines
created by qgis, not sure where the problem lies.

>
> Should I fill the tickets in http://hub.qgis.org/projects/profiletool/issues ?

yes, sorry I didn't specify

>
> Thanks!
>
>
> Regards,
> Pedro
>
>
>
>
>
> - Original Message -
> From: Etienne Tourigny
>
> On Sun, Nov 11, 2012 at 7:54 PM, Pedro Venâncio
>  wrote:
>> Hi Etienne,
>>
>> I'm also having some problems with the Profile Plugin. I'm using Linux 
>> (Xubuntu) and QGIS master.
>>
>> The first problem is this with matplotlib (I'm also using matplotlib 
>> 1.1.1~rc1):
>>
>> Traceback (most recent call last):
>>   File "/home/pedro/.qgis//python/plugins/profiletool/profileplugin.py", 
>> line 278, in changePlotLibrary
>> self.wdg.addPlotWidget(self.plotlibrary)
>>   File 
>> "/home/pedro/.qgis//python/plugins/profiletool/ui/ui_ptdockwidget.py", line 
>> 143, in addPlotWidget
>> self.plotWdg = PlottingTool().changePlotWidget("Matplotlib", 
>> self.frame_for_plot)
>>   File 
>> "/home/pedro/.qgis//python/plugins/profiletool/tools/plottingtool.py", line 
>> 82, in changePlotWidget
>> fig = Figure( (1.0, 1.0), linewidth=0.0, subplotpars = 
>> figure.SubplotParams(left=0, bottom=0, right=1, top=1, wspace=0, hspace=0) )
>> NameError: global name 'figure' is not defined
>
> 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.
> Unless someone has a fix for this...
>
>>
>>
>> Using Qwt5 it works, but with some problems.
>>
>> On one hand, if I close the Profile Plugin before closing QGIS, the button 
>> in Plugins toolbar remains "clicked", and when closing QGIS, it shows this 
>> error:
>>
>> Error while unloading plugin profiletool
>> Traceback (most recent call last):
>>   File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 237, in 
>> unloadPlugin
>> plugins[packageName].unload()
>>   File "/home/pedro/.qgis//python/plugins/profiletool/profileplugin.py", 
>> line 80, in unload
>> self.wdg.close()
>> RuntimeError: underlying C/C++ object has been deleted
>
> probably a problem in plugin unloading.  Please file a bug report.
>
>>
>>
>>
>> In use, the Plugin displays a strange behavior.
>> Using the Selection "Temporary polyline" option, everything works fine.
>> However, with the Selection "Selected polyline" option, if the polyline has 
>> only 2 points (start and end), it does not create the profile. If I add 
>> another point, the Plugin only creates the profile for the first segment. If 
>> I create a fourth point, it just creates a profile for the first and second 
>> segments. And so on.
>
> Does this happen just with a 2-point polyline (when initially
> created)? How about if you first create (and save) a 3-point polyline
> before using the plugin?
>
> Please file another bug report for this issue.
>
>>
>> I leave a screencast showing these problems: http://goo.gl/0tMwk
>>
>>
>>
>> Thanks!
>>
>> Best regards,
>> Pedro Venâncio
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Problem installing Profile plugin

2012-11-12 Thread Pedro Venâncio
Hi Etienne,

>> Does this happen just with a 2-point polyline (when initially created)? How 
>> about if you first create (and save) a 3-point polyline before using the 
>> plugin?

It's the same, the plugin can not create the profile for the last segment of a 
polyline (if the polyline has only one segment, then it creates nothing).

Should I fill the tickets in http://hub.qgis.org/projects/profiletool/issues ?

Thanks!


Regards,
Pedro





- Original Message -
From: Etienne Tourigny 

On Sun, Nov 11, 2012 at 7:54 PM, Pedro Venâncio
 wrote:
> Hi Etienne,
>
> I'm also having some problems with the Profile Plugin. I'm using Linux 
> (Xubuntu) and QGIS master.
>
> The first problem is this with matplotlib (I'm also using matplotlib 
> 1.1.1~rc1):
>
> Traceback (most recent call last):
>   File "/home/pedro/.qgis//python/plugins/profiletool/profileplugin.py", line 
>278, in changePlotLibrary
>     self.wdg.addPlotWidget(self.plotlibrary)
>   File "/home/pedro/.qgis//python/plugins/profiletool/ui/ui_ptdockwidget.py", 
>line 143, in addPlotWidget
>     self.plotWdg = PlottingTool().changePlotWidget("Matplotlib", 
>self.frame_for_plot)
>   File "/home/pedro/.qgis//python/plugins/profiletool/tools/plottingtool.py", 
>line 82, in changePlotWidget
>     fig = Figure( (1.0, 1.0), linewidth=0.0, subplotpars = 
>figure.SubplotParams(left=0, bottom=0, right=1, top=1, wspace=0, hspace=0) )
> NameError: global name 'figure' is not defined

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.
Unless someone has a fix for this...

>
>
> Using Qwt5 it works, but with some problems.
>
> On one hand, if I close the Profile Plugin before closing QGIS, the button in 
> Plugins toolbar remains "clicked", and when closing QGIS, it shows this error:
>
> Error while unloading plugin profiletool
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 237, in 
>unloadPlugin
>     plugins[packageName].unload()
>   File "/home/pedro/.qgis//python/plugins/profiletool/profileplugin.py", line 
>80, in unload
>     self.wdg.close()
> RuntimeError: underlying C/C++ object has been deleted

probably a problem in plugin unloading.  Please file a bug report.

>
>
>
> In use, the Plugin displays a strange behavior.
> Using the Selection "Temporary polyline" option, everything works fine.
> However, with the Selection "Selected polyline" option, if the polyline has 
> only 2 points (start and end), it does not create the profile. If I add 
> another point, the Plugin only creates the profile for the first segment. If 
> I create a fourth point, it just creates a profile for the first and second 
> segments. And so on.

Does this happen just with a 2-point polyline (when initially
created)? How about if you first create (and save) a 3-point polyline
before using the plugin?

Please file another bug report for this issue.

>
> I leave a screencast showing these problems: http://goo.gl/0tMwk
>
>
>
> Thanks!
>
> Best regards,
> Pedro Venâncio

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Problem installing Profile plugin

2012-11-12 Thread Etienne Tourigny
On Sun, Nov 11, 2012 at 7:54 PM, Pedro Venâncio
 wrote:
> Hi Etienne,
>
> I'm also having some problems with the Profile Plugin. I'm using Linux 
> (Xubuntu) and QGIS master.
>
> The first problem is this with matplotlib (I'm also using matplotlib 
> 1.1.1~rc1):
>
> Traceback (most recent call last):
>   File "/home/pedro/.qgis//python/plugins/profiletool/profileplugin.py", line 
> 278, in changePlotLibrary
> self.wdg.addPlotWidget(self.plotlibrary)
>   File "/home/pedro/.qgis//python/plugins/profiletool/ui/ui_ptdockwidget.py", 
> line 143, in addPlotWidget
> self.plotWdg = PlottingTool().changePlotWidget("Matplotlib", 
> self.frame_for_plot)
>   File "/home/pedro/.qgis//python/plugins/profiletool/tools/plottingtool.py", 
> line 82, in changePlotWidget
> fig = Figure( (1.0, 1.0), linewidth=0.0, subplotpars = 
> figure.SubplotParams(left=0, bottom=0, right=1, top=1, wspace=0, hspace=0) )
> NameError: global name 'figure' is not defined

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.
Unless someone has a fix for this...

>
>
> Using Qwt5 it works, but with some problems.
>
> On one hand, if I close the Profile Plugin before closing QGIS, the button in 
> Plugins toolbar remains "clicked", and when closing QGIS, it shows this error:
>
> Error while unloading plugin profiletool
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 237, in 
> unloadPlugin
> plugins[packageName].unload()
>   File "/home/pedro/.qgis//python/plugins/profiletool/profileplugin.py", line 
> 80, in unload
> self.wdg.close()
> RuntimeError: underlying C/C++ object has been deleted

probably a problem in plugin unloading.  Please file a bug report.

>
>
>
> In use, the Plugin displays a strange behavior.
> Using the Selection "Temporary polyline" option, everything works fine.
> However, with the Selection "Selected polyline" option, if the polyline has 
> only 2 points (start and end), it does not create the profile. If I add 
> another point, the Plugin only creates the profile for the first segment. If 
> I create a fourth point, it just creates a profile for the first and second 
> segments. And so on.

Does this happen just with a 2-point polyline (when initially
created)? How about if you first create (and save) a 3-point polyline
before using the plugin?

Please file another bug report for this issue.

>
> I leave a screencast showing these problems: http://goo.gl/0tMwk
>
>
>
> Thanks!
>
> Best regards,
> Pedro Venâncio
>
>
>
>
>
>
>
> - Original Message -
> From: JLancaster
>
>
> matplotlib 1.1.1. I used the Kyngchaos installer.
>
> Thanks for your work on this. An essential tool for my work.
>
> JD
>
>
> Etienne Tourigny-3 wrote
>> uhh ...
>>
>> please, what is you matplotlib version?
>>
>> thanks
>> Etienne
>>
>> On Tue, Nov 6, 2012 at 7:03 PM, JD Lancaster <
>
>> jllancast@
>
>> > wrote:
 Hi,
 sorry for the delay... I have just uploaded version 0.5.0
 (profiletool) which fixes this issue, as well as 1.9 compatibility and
 other UI fixes.
 You need to enable Experimental plugins to get this new version -
 please test it and give me your feedback.
 Regards,
 Etuenne
>
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Problem installing Profile plugin

2012-11-11 Thread Pedro Venâncio
Hi Etienne,

I'm also having some problems with the Profile Plugin. I'm using Linux 
(Xubuntu) and QGIS master.

The first problem is this with matplotlib (I'm also using matplotlib 1.1.1~rc1):

Traceback (most recent call last):
  File "/home/pedro/.qgis//python/plugins/profiletool/profileplugin.py", line 
278, in changePlotLibrary
    self.wdg.addPlotWidget(self.plotlibrary)
  File "/home/pedro/.qgis//python/plugins/profiletool/ui/ui_ptdockwidget.py", 
line 143, in addPlotWidget
    self.plotWdg = PlottingTool().changePlotWidget("Matplotlib", 
self.frame_for_plot)
  File "/home/pedro/.qgis//python/plugins/profiletool/tools/plottingtool.py", 
line 82, in changePlotWidget
    fig = Figure( (1.0, 1.0), linewidth=0.0, subplotpars = 
figure.SubplotParams(left=0, bottom=0, right=1, top=1, wspace=0, hspace=0) )
NameError: global name 'figure' is not defined


Using Qwt5 it works, but with some problems.

On one hand, if I close the Profile Plugin before closing QGIS, the button in 
Plugins toolbar remains "clicked", and when closing QGIS, it shows this error:

Error while unloading plugin profiletool
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 237, in 
unloadPlugin
    plugins[packageName].unload()
  File "/home/pedro/.qgis//python/plugins/profiletool/profileplugin.py", line 
80, in unload
    self.wdg.close()
RuntimeError: underlying C/C++ object has been deleted



In use, the Plugin displays a strange behavior.
Using the Selection "Temporary polyline" option, everything works fine.
However, with the Selection "Selected polyline" option, if the polyline has 
only 2 points (start and end), it does not create the profile. If I add another 
point, the Plugin only creates the profile for the first segment. If I create a 
fourth point, it just creates a profile for the first and second segments. And 
so on.

I leave a screencast showing these problems: http://goo.gl/0tMwk 



Thanks!

Best regards,
Pedro Venâncio







- Original Message -
From: JLancaster 


matplotlib 1.1.1. I used the Kyngchaos installer. 

Thanks for your work on this. An essential tool for my work. 

JD


Etienne Tourigny-3 wrote
> uhh ...
> 
> please, what is you matplotlib version?
> 
> thanks
> Etienne
> 
> On Tue, Nov 6, 2012 at 7:03 PM, JD Lancaster <

> jllancast@

> > wrote:
>>> Hi,
>>> sorry for the delay... I have just uploaded version 0.5.0
>>> (profiletool) which fixes this issue, as well as 1.9 compatibility and
>>> other UI fixes.
>>> You need to enable Experimental plugins to get this new version -
>>> please test it and give me your feedback.
>>> Regards,
>>> Etuenne

http://lists.osgeo.org/mailman/listinfo/qgis-user

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Problem installing Profile plugin

2012-11-06 Thread JLancaster
matplotlib 1.1.1. I used the Kyngchaos installer. 

Thanks for your work on this. An essential tool for my work. 

JD


Etienne Tourigny-3 wrote
> uhh ...
> 
> please, what is you matplotlib version?
> 
> thanks
> Etienne
> 
> On Tue, Nov 6, 2012 at 7:03 PM, JD Lancaster <

> jllancast@

> > wrote:
>>> Hi,
>>> sorry for the delay... I have just uploaded version 0.5.0
>>> (profiletool) which fixes this issue, as well as 1.9 compatibility and
>>> other UI fixes.
>>> You need to enable Experimental plugins to get this new version -
>>> please test it and give me your feedback.
>>> Regards,
>>> Etuenne
>>
>>
>> Hi there,
>>
>> I installed, ran, and received the following error (MACOSX 10.6.8, QGIS
>> 1.8.0):
>>
>> An error has occured while executing Python code:
>>
>> Traceback (most recent call last):
>>   File
>> "/Users/jdlancaster/.qgis//python/plugins/profiletool/profileplugin.py",
>> line 278, in changePlotLibrary
>> self.wdg.addPlotWidget(self.plotlibrary)
>>   File
>> "/Users/jdlancaster/.qgis//python/plugins/profiletool/ui/ui_ptdockwidget.py",
>> line 143, in addPlotWidget
>> self.plotWdg = PlottingTool().changePlotWidget("Matplotlib",
>> self.frame_for_plot)
>>   File
>> "/Users/jdlancaster/.qgis//python/plugins/profiletool/tools/plottingtool.py",
>> line 82, in changePlotWidget
>> fig = Figure( (1.0, 1.0), linewidth=0.0, subplotpars =
>> figure.SubplotParams(left=0, bottom=0, right=1, top=1, wspace=0,
>> hspace=0) )
>> NameError: global name 'figure' is not defined
>>
>> Python version:
>> 2.7.1 (r271:86832, Jul 31 2011, 19:30:53)
>> [GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)]
>>
>>
>> QGIS version:
>> 1.8.0-Lisboa Lisboa,
>>
>> Python path:
>> ['/Applications/QGIS.app/Contents/MacOS/../Resources/python',
>> '/Users/jdlancaster/.qgis//python',
>> '/Users/jdlancaster/.qgis//python/plugins',
>> '/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins',
>> '/Library/Frameworks/SQLite3.framework/Versions/3/Python/2.7',
>> '/Library/Python/2.7/site-packages/numpy-override',
>> '/Library/Frameworks/GDAL.framework/Versions/1.9/Python/2.7/site-packages',
>> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip',
>> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7',
>> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin',
>> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac',
>> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages',
>> '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python',
>> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk',
>> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old',
>> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload',
>> '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC',
>> '/Library/Python/2.7/site-packages',
>> '/Applications/QGIS.app/Contents/Resources/python/plugins/fTools/tools',
>> '/Users/jdlancaster/Desktop']
>>
>>
>> ___
>> Qgis-user mailing list
>> 

> Qgis-user@.osgeo

>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>
> ___
> Qgis-user mailing list

> Qgis-user@.osgeo

> http://lists.osgeo.org/mailman/listinfo/qgis-user





--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Problem-installing-Profile-plugin-tp5007211p5014391.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Problem installing Profile plugin

2012-11-06 Thread Etienne Tourigny
uhh ...

please, what is you matplotlib version?

thanks
Etienne

On Tue, Nov 6, 2012 at 7:03 PM, JD Lancaster  wrote:
>> Hi,
>> sorry for the delay... I have just uploaded version 0.5.0
>> (profiletool) which fixes this issue, as well as 1.9 compatibility and
>> other UI fixes.
>> You need to enable Experimental plugins to get this new version -
>> please test it and give me your feedback.
>> Regards,
>> Etuenne
>
>
> Hi there,
>
> I installed, ran, and received the following error (MACOSX 10.6.8, QGIS
> 1.8.0):
>
> An error has occured while executing Python code:
>
> Traceback (most recent call last):
>   File
> "/Users/jdlancaster/.qgis//python/plugins/profiletool/profileplugin.py",
> line 278, in changePlotLibrary
> self.wdg.addPlotWidget(self.plotlibrary)
>   File
> "/Users/jdlancaster/.qgis//python/plugins/profiletool/ui/ui_ptdockwidget.py",
> line 143, in addPlotWidget
> self.plotWdg = PlottingTool().changePlotWidget("Matplotlib",
> self.frame_for_plot)
>   File
> "/Users/jdlancaster/.qgis//python/plugins/profiletool/tools/plottingtool.py",
> line 82, in changePlotWidget
> fig = Figure( (1.0, 1.0), linewidth=0.0, subplotpars =
> figure.SubplotParams(left=0, bottom=0, right=1, top=1, wspace=0, hspace=0) )
> NameError: global name 'figure' is not defined
>
> Python version:
> 2.7.1 (r271:86832, Jul 31 2011, 19:30:53)
> [GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)]
>
>
> QGIS version:
> 1.8.0-Lisboa Lisboa,
>
> Python path: ['/Applications/QGIS.app/Contents/MacOS/../Resources/python',
> '/Users/jdlancaster/.qgis//python',
> '/Users/jdlancaster/.qgis//python/plugins',
> '/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins',
> '/Library/Frameworks/SQLite3.framework/Versions/3/Python/2.7',
> '/Library/Python/2.7/site-packages/numpy-override',
> '/Library/Frameworks/GDAL.framework/Versions/1.9/Python/2.7/site-packages',
> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip',
> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7',
> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin',
> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac',
> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages',
> '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python',
> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk',
> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old',
> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload',
> '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC',
> '/Library/Python/2.7/site-packages',
> '/Applications/QGIS.app/Contents/Resources/python/plugins/fTools/tools',
> '/Users/jdlancaster/Desktop']
>
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Problem installing Profile plugin

2012-11-06 Thread JD Lancaster
>
> Hi,
> sorry for the delay... I have just uploaded version 0.5.0
> (profiletool) which fixes this issue, as well as 1.9 compatibility and
> other UI fixes.
> You need to enable Experimental plugins to get this new version -
> please test it and give me your feedback.
> Regards,
> Etuenne


Hi there,

I installed, ran, and received the following error (MACOSX 10.6.8, QGIS
1.8.0):

An error has occured while executing Python code:

Traceback (most recent call last):
  File
"/Users/jdlancaster/.qgis//python/plugins/profiletool/profileplugin.py",
line 278, in changePlotLibrary
self.wdg.addPlotWidget(self.plotlibrary)
  File
"/Users/jdlancaster/.qgis//python/plugins/profiletool/ui/ui_ptdockwidget.py",
line 143, in addPlotWidget
self.plotWdg = PlottingTool().changePlotWidget("Matplotlib",
self.frame_for_plot)
  File
"/Users/jdlancaster/.qgis//python/plugins/profiletool/tools/plottingtool.py",
line 82, in changePlotWidget
fig = Figure( (1.0, 1.0), linewidth=0.0, subplotpars =
figure.SubplotParams(left=0, bottom=0, right=1, top=1, wspace=0, hspace=0) )
NameError: global name 'figure' is not defined

Python version:
2.7.1 (r271:86832, Jul 31 2011, 19:30:53)
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)]


QGIS version:
1.8.0-Lisboa Lisboa,

Python path: ['/Applications/QGIS.app/Contents/MacOS/../Resources/python',
'/Users/jdlancaster/.qgis//python',
'/Users/jdlancaster/.qgis//python/plugins',
'/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins',
'/Library/Frameworks/SQLite3.framework/Versions/3/Python/2.7',
'/Library/Python/2.7/site-packages/numpy-override',
'/Library/Frameworks/GDAL.framework/Versions/1.9/Python/2.7/site-packages',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages',
'/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload',
'/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC',
'/Library/Python/2.7/site-packages',
'/Applications/QGIS.app/Contents/Resources/python/plugins/fTools/tools',
'/Users/jdlancaster/Desktop']
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Problem installing Profile plugin

2012-11-05 Thread Etienne Tourigny
Hi,

sorry for the delay... I have just uploaded version 0.5.0
(profiletool) which fixes this issue, as well as 1.9 compatibility and
other UI fixes.

You need to enable Experimental plugins to get this new version -
please test it and give me your feedback.

Regards,
Etuenne

On Wed, Oct 10, 2012 at 5:44 PM, Guido Paliaga  wrote:
> Thanks so much!
>
> Guido
>
>
> 2012/10/9 Etienne Tourigny 
>>
>> On Tue, Oct 9, 2012 at 1:07 AM, Andre Joost 
>> wrote:
>> > Am 09.10.2012 02:23, schrieb William Kyngesburye:
>> >
>> >> Profile tool is a plugin affected by an incompatibility of PyQwt5
>> >> with recent PyQt versions.  It needs to be fixed to use another
>> >> graphing toolbox like Matplotlib.  Until then it will be broken in
>> >> the current QGIS.
>> >>
>>
>> Profile tool DOES support matplotlib - although perhaps it fails when
>> pyqwt is not found.  See attached screenshot, using matplotlib for the
>> plot.
>>
>> I'll try to fix this by the end of the weekend.
>>
>> >
>> >
>> > It also does not work on Qgis Master under Windows, but still works with
>> > 1.8.0 there.
>> > The author has promised me to rewrite the tool.
>>
>> activity is very low, original author does not have any time to
>> dedicate on this.  I am working on some UI and functionality
>> improvements,  but I don't have he time to rewrite the tool.
>>
>> >
>> > Greetings,
>> > André Joost
>> >
>> >
>> > ___
>> > Qgis-user mailing list
>> > Qgis-user@lists.osgeo.org
>> > http://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>> ___
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>
>
>
> --
> ---
> Dott. Geol. Guido Paliaga, PhD
> Mobile +39 335 6901747
> Skypeid: gpaliaga
> gpali...@gmail.com
> pali...@geologiliguria.it
> Posta certificata: gpali...@epap.sicurezzapostale.it
> www.edizioniilpiviere.com
> www.guidopaliaga.com
>
> 
> Think before you print: Rispetta l'ambiente: se non ti è necessario, non
> stampare questa mail.
>
> Le informazioni contenute nella presente comunicazione e i relativi allegati
> possono essere riservate e sono, comunque, destinate esclusivamente alle
> persone o alla Società sopraindicati. La diffusione, distribuzione e/o
> copiatura del documento trasmesso da parte di qualsiasi soggetto diverso dal
> destinatario è proibita, sia ai sensi dell’art. 616 c.p. , che ai sensi del
> D.Lgs. n. 196/2003. Se avete ricevuto questo messaggio per errore, vi
> preghiamo di distruggerlo e di informarci immediatamente  inviando un
> messaggio all’indirizzo e-mail gpali...@gmail.com
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Problem installing Profile plugin

2012-10-10 Thread Guido Paliaga
Thanks so much!

Guido


2012/10/9 Etienne Tourigny 

> On Tue, Oct 9, 2012 at 1:07 AM, Andre Joost 
> wrote:
> > Am 09.10.2012 02:23, schrieb William Kyngesburye:
> >
> >> Profile tool is a plugin affected by an incompatibility of PyQwt5
> >> with recent PyQt versions.  It needs to be fixed to use another
> >> graphing toolbox like Matplotlib.  Until then it will be broken in
> >> the current QGIS.
> >>
>
> Profile tool DOES support matplotlib - although perhaps it fails when
> pyqwt is not found.  See attached screenshot, using matplotlib for the
> plot.
>
> I'll try to fix this by the end of the weekend.
>
> >
> >
> > It also does not work on Qgis Master under Windows, but still works with
> > 1.8.0 there.
> > The author has promised me to rewrite the tool.
>
> activity is very low, original author does not have any time to
> dedicate on this.  I am working on some UI and functionality
> improvements,  but I don't have he time to rewrite the tool.
>
> >
> > Greetings,
> > André Joost
> >
> >
> > ___
> > Qgis-user mailing list
> > Qgis-user@lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/qgis-user
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
>


-- 
---
Dott. Geol. Guido Paliaga, PhD
Mobile +39 335 6901747
Skypeid: gpaliaga
gpali...@gmail.com
pali...@geologiliguria.it
Posta certificata: gpali...@epap.sicurezzapostale.it
www.edizioniilpiviere.com
www.guidopaliaga.com


Think before you print: Rispetta l'ambiente: se non ti è necessario, non
stampare questa mail.

Le informazioni contenute nella presente comunicazione e i relativi
allegati possono essere riservate e sono, comunque, destinate
esclusivamente alle persone o alla Società sopraindicati. La diffusione,
distribuzione e/o copiatura del documento trasmesso da parte di qualsiasi
soggetto diverso dal destinatario è proibita, sia ai sensi dell’art. 616
c.p. , che ai sensi del D.Lgs. n. 196/2003. Se avete ricevuto questo
messaggio per errore, vi preghiamo di distruggerlo e di informarci
immediatamente  inviando un messaggio all’indirizzo e-mail
gpali...@gmail.com
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Problem installing Profile plugin

2012-10-08 Thread Andre Joost

Am 09.10.2012 02:23, schrieb William Kyngesburye:

Profile tool is a plugin affected by an incompatibility of PyQwt5
with recent PyQt versions.  It needs to be fixed to use another
graphing toolbox like Matplotlib.  Until then it will be broken in
the current QGIS.




It also does not work on Qgis Master under Windows, but still works with 
1.8.0 there.

The author has promised me to rewrite the tool.

Greetings,
André Joost

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Problem installing Profile plugin

2012-10-08 Thread William Kyngesburye
Profile tool is a plugin affected by an incompatibility of PyQwt5 with recent 
PyQt versions.  It needs to be fixed to use another graphing toolbox like 
Matplotlib.  Until then it will be broken in the current QGIS.

On Oct 8, 2012, at 11:41 AM, Guido Paliaga wrote:

> Dear All,
> 
> I can't install the Profile from line nor Profile tool receiving respectively 
> the error: lacks in Python module "Shapely.wkb" and lacks in Python module 
> "Qwt5".
> I'm using Qgis 1.8 under MacOs 10.6 and I installed all the frameworks and 
> dependancies suggested in KyngChaos.
> 
> Someone could help me, please?
> 
> Thanks a lot,
> 
> Guido
> 
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user

-
William Kyngesburye 
http://www.kyngchaos.com/

"I ache, therefore I am.  Or in my case - I am, therefore I ache."

- Marvin


___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] Problem installing Profile plugin

2012-10-08 Thread Guido Paliaga
Dear All,

I can't install the Profile from line nor Profile tool receiving
respectively the error: lacks in Python module "Shapely.wkb" and lacks in
Python module "Qwt5".
I'm using Qgis 1.8 under MacOs 10.6 and I installed all the frameworks and
dependancies suggested in KyngChaos.

Someone could help me, please?

Thanks a lot,

Guido
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user