<br><div class="gmail_quote">On Mon, Jul 26, 2010 at 4:23 PM, Lionel Roubeyrie <span dir="ltr"><<a href="mailto:lionel.roubeyrie@gmail.com">lionel.roubeyrie@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

For the message, effectively the Python plugin installer normally<br>
catches the error, then what about the first Herman problem<br>
"ImportError: No module named owslib.etree"?<br></blockquote><div>I looked at source code and yes, it's a little slip in the code.<br><br>I'm going to write in dev-ML to inform all devs to correct their <br>

plugins which throw errors when there are unfulfilled dependencies.<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Is it possible to think about having a small dialog for each plugin in<br>
the installer where plugins devs could set some more detailled<br>
description and maybe the dependencies?</blockquote><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> </blockquote><div></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


My 2 cents<br></blockquote><div>Why don't you explain your idea in dev-ML?  ;)<br>I think could be valued.<br><br>Cheers.<br> 
</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div class="h5">
2010/7/26 Giuseppe Sucameli <<a href="mailto:brush.tyler@gmail.com">brush.tyler@gmail.com</a>>:<br>
> Hi Lionel,<br>
><br>
> On Mon, Jul 26, 2010 at 1:43 PM, Lionel Roubeyrie<br>
> <<a href="mailto:lionel.roubeyrie@gmail.com">lionel.roubeyrie@gmail.com</a>> wrote:<br>
>><br>
>> Hi all,<br>
>> it's not an abnormal plugin fonctionnality but a standard error<br>
>> message saying there's some python unsatisfied dependencies, like you<br>
>> can read at the end of the error message or from the shell :<br>
>> "ImportError: No module named matplotlib.pyplot". Just have to install<br>
>> matplotlib and all will be ok.<br>
><br>
> AFAIK normally that exception is intecepted by the Python Plugin Installer<br>
> that shows the unsatisfied dependencies.<br>
><br>
> Did you try what happens with other plugins?<br>
> AFAICS no error message is shown by the other plugins with<br>
> unfulfilled dependencies.<br>
><br>
>> After that, when I was young I learned<br>
>> a basic rule of life saying if I want an information, I have to<br>
>> correctly ask the question and not so optionnaly be civilized with an<br>
>> simple "hello". Didn't see that in the first post...<br>
><br>
> I agree, but it's better to avoid unnecessary polemics.<br>
><br>
> Shortly before starting this thread, Herman write another thread<br>
> titled "what happens?.." that starts:<br>
> "hi tim and qgis users".<br>
><br>
> So I think that it's only a blunder, nobody would start a thread<br>
> without subject and greeting.<br>
><br>
> Cheers.<br>
><br>
> 2010/7/26 Giuseppe Sucameli <<a href="mailto:brush.tyler@gmail.com">brush.tyler@gmail.com</a>>:<br>
>><br>
>> > Hi Noli,<br>
>> ><br>
>> > the Python Plugin Installer shows the unsatisfied dependencies yet.<br>
>> ><br>
>> > After the error message you should see the "Error loading plugin"<br>
>> > dialog which says to you there are unfulfilled dependencies.<br>
>> ><br>
>> > Instead it's strange to see the error message!<br>
>> > Trying to install other plugin with unsatisfied dependencies I don't<br>
>> > see it, but the "error loading plugin" dialog only.<br>
>> ><br>
>> > So it's an abnormal plugin behaviour.<br>
>> ><br>
>> > Cheers.<br>
>> ><br>
>><br>
>> 2010/7/26 Giuseppe Sucameli <<a href="mailto:brush.tyler@gmail.com">brush.tyler@gmail.com</a>>:<br>
>> > Hi Noli,<br>
>> ><br>
>> > the Python Plugin Installer shows the unsatisfied dependencies yet.<br>
>> ><br>
>> > After the error message you should see the "Error loading plugin"<br>
>> > dialog which says to you there are unfulfilled dependencies.<br>
>> ><br>
>> > Instead it's strange to see the error message!<br>
>> > Trying to install other plugin with unsatisfied dependencies I don't<br>
>> > see it, but the "error loading plugin" dialog only.<br>
>> ><br>
>> > So it's an abnormal plugin behaviour.<br>
>> ><br>
>> > Cheers.<br>
>> ><br>
>> > On Mon, Jul 26, 2010 at 3:08 AM, Noli Sicad <<a href="mailto:nsicad@gmail.com">nsicad@gmail.com</a>> wrote:<br>
>> >><br>
>> >> I think this problem is very typical problem for plugins with<br>
>> >> dependencies with other python packages.<br>
>> >><br>
>> >> It would have been better if plugins would show the dependecies<br>
>> >> message so user could download and install the package.<br>
>> >><br>
>> >> In this case, just tell the user to download and install the matplotlib<br>
>> >> package.<br>
>> >><br>
>> >> <a href="http://matplotlib.sourceforge.net/users/installing.html" target="_blank">http://matplotlib.sourceforge.net/users/installing.html</a><br>
>> >><br>
>> >> Noli<br>
>> >><br>
>> >><br>
>> >><br>
>> >> On 7/26/10, Carson Farmer <<a href="mailto:carson.farmer@gmail.com">carson.farmer@gmail.com</a>> wrote:<br>
>> >> > Except that will remove all plugins! What you probably really want<br>
>> >> > is:<br>
>> >> ><br>
>> >> > rm -rf /Users/hermanpalaquium/.qgis/python/plugins/contour<br>
>> >> ><br>
>> >> > Which will only remove the contour plugin, which is failing to load<br>
>> >> > because matplotlib isn't installed...<br>
>> >> > I think you can also do this from the Python plugin installer by<br>
>> >> > selecting to remove the plugin?<br>
>> >> ><br>
>> >> > Carson<br>
>> >> ><br>
>> >> >> Traceback (most recent call last):<br>
>> >> >>   File<br>
>> >> >><br>
>> >> >><br>
>> >> >> "/Applications/Qgis.app/Contents/MacOS/../Resources/python/qgis/utils.py",<br>
>> >> >> line 119, in loadPlugin<br>
>> >> >>     __import__(packageName)<br>
>> >> >>   File<br>
>> >> >> "/Users/hermanpalaquium/.qgis//python/plugins/contour/__init__.py",<br>
>> >> >> line 28, in<br>
>> >> >>     from contour import Contour<br>
>> >> >>   File<br>
>> >> >> "/Users/hermanpalaquium/.qgis//python/plugins/contour/contour.py",<br>
>> >> >> line 38, in<br>
>> >> >>     import matplotlib.pyplot as plt<br>
>> >> >> ImportError: No module named matplotlib.pyplot<br>
>> >> ><br>
>> >> > --<br>
>> >> > Carson J. Q. Farmer<br>
>> >> > ISSP Doctoral Fellow<br>
>> >> > National Centre for Geocomputation<br>
>> >> > National University of Ireland, Maynooth,<br>
>> >> > <a href="http://www.carsonfarmer.com/" target="_blank">http://www.carsonfarmer.com/</a><br>
>> >> > _______________________________________________<br>
>> >> > Qgis-user mailing list<br>
>> >> > <a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
>> >> > <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
>> >> ><br>
>> >> _______________________________________________<br>
>> >> Qgis-user mailing list<br>
>> >> <a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
>> >> <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
>> ><br>
>> ><br>
>> ><br>
>> > --<br>
>> > Giuseppe Sucameli<br>
>> ><br>
>> > _______________________________________________<br>
>> > Qgis-user mailing list<br>
>> > <a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
>> > <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
>> ><br>
>> ><br>
>><br>
>><br>
>><br>
>> --<br>
>> Lionel Roubeyrie<br>
>> <a href="mailto:lionel.roubeyrie@gmail.com">lionel.roubeyrie@gmail.com</a><br>
>> <a href="http://youarealegend.blogspot.com" target="_blank">http://youarealegend.blogspot.com</a><br>
><br>
><br>
><br>
> --<br>
> Giuseppe Sucameli<br>
><br>
<br>
<br>
<br>
</div></div>--<br>
<div><div></div><div class="h5">Lionel Roubeyrie<br>
<a href="mailto:lionel.roubeyrie@gmail.com">lionel.roubeyrie@gmail.com</a><br>
<a href="http://youarealegend.blogspot.com" target="_blank">http://youarealegend.blogspot.com</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Giuseppe Sucameli<br>