[Qgis-user] Home range analysis not working in QGIS 1.7.4 xWin

Elena Mezzini elena.mezzini at gmail.com
Mon Feb 27 07:33:20 PST 2012


Hi Giovanni,

I think I will choose another solution:
move to Linux ;)
Thank you a lot for your helpfulness!!! And thank you to the developer who
did all the work on rpy2!

Elena

2012/2/27 Giovanni Manghi <giovanni.manghi at faunalia.pt>

> Hi Elena,
>
> I explained this problem in the past days to other users.
>
> QGIS under Windows had finally an update of its python version, now
> stands at 2.7
>
> So the python libraries that QGIS uses now have to be compiled against
> python 2.7
>
> Unfortunately the RPY2 developer/mantainer is not going to make a
> updated Windows/python 2.7 binary (unless someone will support this
> work), meaning that starting from QGIS 1.7.4 the R based plugins
> (ManageR, Home Range, SDA4PP) are not working anymore under Windows.
>
> The solutions (beside using QGIS 1.7.3)?
>
> support the above plugins developers to find a workaround (if exist)
> that do not uses rpy2
>
> support the developer of rpy2: he said that if supported financially he
> will create new binaries, as long fix bugs and create a version for R 64
> bits.
>
> Cheers
>
> -- Giovanni --
>
>
>
>
>
> On Mon, 2012-02-27 at 13:36 +0100, Elena Mezzini wrote:
> > Hi all,
> >
> >
> > I've upgraded QGS to 1.7.4 in Windows 7. I'm trying to use "Home range
> > analysis" plugin. It worked in 1.7.3 doing a great work in installing
> > R an rpy2, but now is not working anymore.
> > So, I have: QGIS 1.7.4, R 2.11.1, rpy2 2.0.3-1, rpy 1.0.3-1 in Windows
> > 7.
> > This is the report of the problem:
> >
> >
> > An error has occured while executing Python code:
> >
> > Traceback (most recent call last):
> >   File "C:/Users/SailerU/.qgis/python/plugins\manageR\plugin.py", line
> > 61, in run
> >     MainWindow(self.iface, self.version,isConsole=True,
> > isStandalone=False).show()
> >   File "C:/Users/SailerU/.qgis/python/plugins\manageR\manageR.py",
> > line 3608, in __init__
> >     self.editor.append(welcomeString(self.version, isStandalone))
> >   File "C:/Users/SailerU/.qgis/python/plugins\manageR\manageR.py",
> > line 122, in welcomeString
> >     string.append("Currently running %s\n" %
> > robjects.r.version[12][0])
> > NameError: global name 'robjects' is not defined
> >
> > Python version:
> > 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)]
> >
> >
> > QGIS version:
> > 1.7.4-Wroclaw Wroclaw, 411aff6
> >
> > Python path: ['C:/OSGeo4W/apps/qgis/./python',
> > 'C:/Users/SailerU/.qgis/python',
> > 'C:/Users/SailerU/.qgis/python/plugins',
> > 'C:/OSGeo4W/apps/qgis/./python/plugins', 'C:\\OSGeo4W\\bin\
> > \python27.zip', 'C:\\OSGeo4W\\apps\\Python27\\DLLs', 'C:\\OSGeo4W\
> > \apps\\Python27\\lib', 'C:\\OSGeo4W\\apps\\Python27\\lib\\plat-win',
> > 'C:\\OSGeo4W\\apps\\Python27\\lib\\lib-tk', 'C:\\OSGeo4W\\apps\\qgis\
> > \bin', 'C:\\OSGeo4W\\apps\\Python27', 'C:\\OSGeo4W\\apps\\Python27\
> > \lib\\site-packages', 'C:\\OSGeo4W\\apps\\Python27\\lib\\site-packages
> > \\PIL', 'C:\\OSGeo4W\\apps\\Python27\\lib\\site-packages\\win32', 'C:\
> > \OSGeo4W\\apps\\Python27\\lib\\site-packages\\win32\\lib', 'C:\
> > \OSGeo4W\\apps\\Python27\\lib\\site-packages\\Pythonwin', 'C:\\OSGeo4W
> > \\apps\\Python27\\lib\\site-packages\\wx-2.8-msw-unicode', 'C:\\Users\
> > \SailerU\\.qgis\\python\\plugins\\fTools\\tools']
> >
> >
> >
> >
> >
> >
> > Hope that someone could help me..
> >
> >
> > Thank you!
> >
> >
> > Elena
> >
> > Dott.ssa Elena Mezzini
> > Bologna University - Faculty of Agriculture
> > DCA- Dipartimento di Colture Arboree -
> > Department of Fruit Tree and Woody Plant Sciences
> > Viale Fanin, 46
> > 40127 Bologna Italy
> > Phone: +39 051 2096458
> > Fax: +39 051 2096401
> > Mobile: +39 333 6637890 Skype: elena.mezzini
> >
> >
> > _______________________________________________
> > Qgis-user mailing list
> > Qgis-user at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20120227/32cb0154/attachment.html>


More information about the Qgis-user mailing list