[AniMov] hr plugin error under windows and Ubuntu 9.04

Giovanni Manghi giovanni.manghi at gmail.com
Tue Nov 10 21:45:34 CET 2009


Hi Anne,

thanks for the quick answer, I'm pretty sure I have installed the
"shapefiles" package, in any case 'll try the patch and I'll give you
feedback.

thanks!




On Tue, Nov 10, 2009 at 8:36 PM, Anne Ghisla <a.ghisla at gmail.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Giovanni Manghi ha scritto:
>> Hi Anne!
>>
>> many thanks for the new version of your plugin
>>
>> I was giving it a try after a long and after having received your
>> message about the update.
>>
>> Actually I'm getting the same error (see below) under windows
>> (qgis-dev via osgeo4w) and under Ubuntu 9.04. Under Ubuntu 9.10 it
>> seems to work fine.
>
> Hi Giovanni,
>
> sorry for the unclear error, it most probably comes from a missing R
> package, likely shapefiles used by NNCH and not by the other methods.
> The function I wrote for checking packages fails in raising an error,
> you can patch it right now by modifying line 179
>
> MissingPackageMessage + i + ', '
>
> in
>
> MissingPackageMessage = MissingPackageMessage + i + ', '
>
> sorry I can't do it right now but I wouldn't have access to the repo
> until next week. For sure, next week I'll upload the patched version for
> upgrade by Plugin Installer.
>
> all the best,
> Anne
>
>> thanks in advance
>>
>> ciao!
>>
>> -- Giovanni --
>>
>>
>> --------------------------------
>>
>> An error has occured while executing Python code:
>>
>> Traceback (most recent call last):
>>   File "C:/Documents and
>> Settings/Gio/.qgis//python/plugins\HomeRange_plugin\HRplugin_dialog.py",
>> line 76, in
>>     QObject.connect(self.buttonBox, SIGNAL("accepted()"), lambda
>> mth=mth: self.run(mth))
>>   File "C:/Documents and
>> Settings/Gio/.qgis//python/plugins\HomeRange_plugin\HRplugin_dialog.py",
>> line 184, in run
>>     output = rwrapper.Rcall(geomData, opt)
>>   File "C:/Documents and
>> Settings/Gio/.qgis//python/plugins\HomeRange_plugin\HRplugin_dialog.py",
>> line 257, in Rcall
>>     QMessageBox.information(self, "Home range analysis", "R error")
>> TypeError: argument 1 of QMessageBox.information() has an invalid type
>>
>> Python version:
>> 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]
>>
>> Python path: ['C:/OSGeo4W/apps/qgis-dev/./python', 'C:/Documents and
>> Settings/Gio/.qgis//python/plugins',
>> 'C:/OSGeo4W/apps/qgis-dev/./python/plugins',
>> 'C:\\OSGeo4W\\apps\\gdal-16\\pymod', 'C:\\Documents and
>> Settings\\Gio\\Desktop', 'C:\\OSGeo4W\\bin\\python25.zip',
>> 'C:\\OSGeo4W\\apps\\Python25\\DLLs',
>> 'C:\\OSGeo4W\\apps\\Python25\\lib',
>> 'C:\\OSGeo4W\\apps\\Python25\\lib\\plat-win',
>> 'C:\\OSGeo4W\\apps\\Python25\\lib\\lib-tk',
>> 'C:\\OSGeo4W\\apps\\qgis-dev\\bin', 'C:\\OSGeo4W\\apps\\Python25',
>> 'C:\\OSGeo4W\\apps\\Python25\\lib\\site-packages',
>> 'C:\\OSGeo4W\\apps\\Python25\\lib\\site-packages\\win32',
>> 'C:\\OSGeo4W\\apps\\Python25\\lib\\site-packages\\win32\\lib',
>> 'C:\\OSGeo4W\\apps\\Python25\\lib\\site-packages\\Pythonwin',
>> 'C:\\OSGeo4W\\apps\\Python25\\lib\\site-packages\\wx-2.8-msw-unicode',
>> 'C:\\OSGeo4W\\apps\\qgis-dev\\python\\plugins\\fTools\\tools',
>> '/usr/share/qgis/python']
>>
>> --------------------------------
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAkr5ztwACgkQzZ3g4YwFFgYsZACfUJBQxle94dEpV53eUSfIPmON
> TPkAn0wU7RLzE+doFwRClKdl39ZujdpA
> =6s+p
> -----END PGP SIGNATURE-----
>


More information about the AniMov mailing list