Forwarding to AniMove list. ---------------- Forwarded message ------------------------------------
Ben, I'm sorry I haven't solved rpy2 problems at the moment; moreover I thank you for using the plugin. The line that stopped working in rpy2 is the one that subsets the data dataframe in order to pick up the mock attribute dataframe. (at line 332 in head revision, r.unique() command). I plan to do this in pure Python instead of RPy. Your friend seem to have solved this problem, as the error you posted involves the code some lines further. I'll be glad to have a look to the modified code and possibly include it in trunk. If Paolo has given you access to Trac, please have a look at opened tickets. There is already a ticket about this problem, feel free to add comments. Many thanks in advance for feedback and happy new year, Anne Ghisla -------- Messaggio Originale -------- Oggetto: RE: QGIS plugin bug Data: Sun, 4 Jan 2009 17:04:48 -0500 Da: Hirsch, Ben <[email protected]> A: <[email protected]> Paolo, Thanks. I had already installed the rpy module. A friend here at the research station managed to get the program to load, but only after several hours of work, downloading win32 Python extensions, and rewriting/changing the Python source code. Even though the program will now load into QGIS, it is still not functional. We are now getting this error message: Traceback (most recent call last): File "C:/Program Files/Quantum GIS\./python/plugins\HomeRange_plugin\plugin.py", line 217, in run shapefileslist = self.Rcall(geomData) File "C:/Program Files/Quantum GIS\./python/plugins\HomeRange_plugin\plugin.py", line 343, in Rcall return shapefiles UnboundLocalError: local variable 'shapefiles' referenced before assignment Python version: 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)] Python path:['C:/Program Files/Quantum GIS\\./python', 'C:/Documents and Settings/M/.qgis//python/plugins', 'C:/Program Files/Quantum GIS\\./python/plugins', 'C:\\Program Files\\Quantum GIS\\python25.zip', 'C:\\Python25\\Lib', 'C:\\Python25\\DLLs', 'C:\\Python25\\Lib\\lib-tk', 'C:\\Program Files\\Quantum GIS', 'C:\\Python25', 'C:\\Python25\\lib\\site-packages', 'C:\\Python25\\lib\\site-packages\\win32', 'C:\\Python25\\lib\\site-packages\\win32\\lib', 'C:\\Python25\\lib\\site-packages\\Pythonwin'] _______________________________________________ AniMov mailing list [email protected] http://www.faunalia.com/cgi-bin/mailman/listinfo/animov
