Il giorno gio, 03/09/2009 alle 16.56 +0530, Swapnil Chaudhari ha
scritto:
> Dear Anne, 
> Thanks for the reply. I uninstalled everything including QGIS and
> installed QGIS 1.2, rpy, numpy thr OSGeo and R in same drive. It did
> first give error but after giving the path variable it started without
> any problem. 
> It is working. 

Hi Swapnil,

_that's_ good news! Enjoy QGIS 1.2 as well - it brings lot of new useful
features.
 
> Thanks a ton :)
> Cheers

Well, credits go mainly to OSGeo4W packaging! it makes a lot easier to
install GIS tools on Windows.

We can consider to fill a ticket on its Trac [0] about the problems
raised by using several drives, as you experienced. I don't know if it
will be easy to fix this issue, but it can be valuable information for
other users. 
That's open source: ask for help, search and receive info, and share
solutions ;)

all the best,
Anne

[0] http://trac.osgeo.org/osgeo4w/report/1?sort=ticket&asc=0

> On Tue, Aug 25, 2009 at 10:48 PM, Anne Ghisla <[email protected]>
> wrote:
>         -----BEGIN PGP SIGNED MESSAGE-----
>         Hash: SHA1
>         
>         Swapnil Chaudhari ha scritto:
>         > Hi Anne,
>         
>         > Thanks for your immediate reply. I had given the path to the
>         bin
>         > folder which was in E drive (Apparently my C drive is
>         populated with
>         > many of the other programs so I usually load new
>         installation in E
>         > drive).
>         
>         
>         This may be the point. I'll ask you to install all software
>         involved
>         with HR plugin, i.e. QGIS (with bundled python and rpy) and R,
>         on the
>         same drive, even if some windows users reported me that all
>         programs are
>         in registry, even if on different drives (but they were
>         standalone apps,
>         so they are probably offtopic). However, I can't get why rpy
>         misses
>         installed R even it variables specify absolute paths.
>         
>         I hope this will solve the issue, and apologies for not being
>         sure on
>         what to do on Windows, as I know it too little :S
>         
>         hope this helps and best regards,
>         Anne
>         
>         
>         
>         > However , following your suggestion I reinstall the R
>         packages
>         > in C drive ( 2.8.0 and 2.9.1) gave the new path in PATH as
>         well as in
>         > RHOME, pooled the ade4, adehabitat, sp, rgdal etc in the
>         individual R
>         > packages.
>         >
>         > After doing all this when I start QGIS I get the very same
>         error message. i.e.,
>         > Couldn't load plugin "HomeRange_plugin" from ['E:/Program
>         > Files/Quantum GIS/./python', 'C:/Documents and
>         > Settings/swapnilc/.qgis//python/plugins', 'E:/Program
>         Files/Quantum
>         > GIS/./python/plugins', 'C:\Program Files\ArcGIS\bin', 'E:
>         \Program
>         > Files\Quantum GIS\bin\python25.zip', '', 'E:\Program Files
>         \Quantum
>         > GIS\bin', 'C:\Documents and
>         > Settings\swapnilc\.qgis\python\plugins\fTools\tools',
>         > '~/.qgis/python']
>         >
>         > Traceback (most recent call last):
>         >   File "", line 2, in
>         >   File "C:/Documents and
>         > Settings/swapnilc/.qgis//python/plugins\HomeRange_plugin
>         \__init__.py",
>         > line 37, in
>         >     from HRplugin_main import HRPlugin
>         >   File "C:/Documents and
>         > Settings/swapnilc/.qgis//python/plugins\HomeRange_plugin
>         \HRplugin_main.py",
>         > line 37, in
>         >     from HRplugin_dialog import Dialog
>         >   File "C:/Documents and
>         > Settings/swapnilc/.qgis//python/plugins\HomeRange_plugin
>         \HRplugin_dialog.py",
>         > line 43, in
>         >     import rpy2.robjects as robjects
>         >   File "E:/Program Files/Quantum
>         > GIS/./python\rpy2\robjects\__init__.py", line 12, in
>         >     import rpy2.rinterface as rinterface
>         >   File "E:/Program Files/Quantum
>         > GIS/./python\rpy2\rinterface\__init__.py", line 22, in
>         >     "This might be because R.exe is nowhere in your Path.")
>         > RuntimeError: Unable to determine R version from the
>         registery.Calling
>         > the command 'R RHOME' does not return anything.
>         > This might be because R.exe is nowhere in your Path.
>         >
>         > Python version:
>         > 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit
>         (Intel)]
>         >
>         > Python path:['E:/Program Files/Quantum GIS/./python',
>         'C:/Documents
>         > and Settings/swapnilc/.qgis//python/plugins', 'E:/Program
>         > Files/Quantum GIS/./python/plugins', 'C:\\Program Files\
>         \ArcGIS\\bin',
>         > 'E:\\Program Files\\Quantum GIS\\bin\\python25.zip', '', 'E:
>         \\Program
>         > Files\\Quantum GIS\\bin', 'C:\\Documents and
>         > Settings\\swapnilc\\.qgis\\python\\plugins\\fTools\\tools',
>         > '~/.qgis/python']
>         >
>         >
>         > I tried the other suggestion as well i.e. in Python console
>         in QGIS
>         > plugins but that also gave the same error. i.e.,
>         >
>         >
>         >>>> import rpy2.robjects as robjects
>         > exceptions.RuntimeError: Unable to determine R version from
>         the
>         > registery.Calling the command 'R RHOME' does not return
>         anything. This
>         > might be because R.exe is nowhere in your Path.
>         >>>> import rpy2.rinterface as rinterface
>         > exceptions.RuntimeError: Unable to determine R version from
>         the
>         > registery.Calling the command 'R RHOME' does not return
>         anything. This
>         > might be because R.exe is nowhere in your Path.
>         >
>         > :)
>         >
>         > I wonder whats going wrong with all this....!
>         >
>         > Your help is highly appreciated.
>         > Thanks in advanced.
>         >
>         > Best,
>         > Swapnil
>         >
>         >
>         > On Sun, Aug 23, 2009 at 7:35 PM, Anne Ghisla
>         <[email protected]> wrote:
>         
>         
>         > Swapnil Chaudhari ha scritto:
>         >>>> Hi Anne,
>         >>>> Thanks for developing Home Range Plugin. It seems very
>         impressive and really
>         >>>> useful in wildlife research.
>         >>>> I have been trying to load it on my system according to
>         the guidlines given
>         >>>> on home range wiki. I'm working on QGIS 1.0.2 standalone
>         on MS windows OS.
>         >>>>
>         >>>> I have installed R 2.7.2, 2.8.0, and 2.9.1 along with
>         adehabitat, ade4, sp,
>         >>>> and rgdal. I also pulled the numpy, rpy2, and pywin32
>         dependencies from
>         >>>> OSGeo. After doing this when I start QGIS, it gives
>         following error.
>         >>>>
>         >>>> Couldn't load plugin "HomeRange_plugin" from ['E:/Program
>         Files/Quantum
>         > [...]
>         >>>> Traceback (most recent call last):
>         > [...]
>         >>>>    import rpy2.rinterface as rinterface
>         >>>>  File "E:/Program Files/Quantum GIS/./python\rpy2
>         \rinterface\__init__.py",
>         >>>> line 22, in
>         >>>>    "This might be because R.exe is nowhere in your
>         Path.")
>         >>>> RuntimeError: Unable to determine R version from the
>         registery.Calling the
>         >>>> command 'R RHOME' does not return anything.
>         >>>> This might be because R.exe is nowhere in your Path.
>         >>>>
>         >>>> I tried adding path of R.exe in Enviornment variable
>         setting for MS win
>         >>>> systems. Still the error remains unsolved.
>         >>>> I would kindly request you to help.
>         > Hi Swapnil,
>         >
>         > the error is quite common if you modify R installation after
>         installing
>         > rpy2. Does PATH variable point to R installation, in
>         particular to its
>         > bin folder, like this one: C:\Programs\R\R-2.8.0\bin ?
>         >
>         > If this not solves the problem, you can try to use directly
>         rpy2 in the
>         > Python console provided by QGIS (into Plugins menu) and type
>         >
>         > import rpy2.robjects as robjects
>         > import rpy2.rinterface as rinterface
>         >
>         > and report errors, if any.
>         >
>         > What puzzles me is the E: in QGIS installation path - but I
>         don't know
>         > if it's a problem.
>         >
>         > Hope this helps and best regards,
>         > Anne
>         >
>         >>>> Best,
>         >>>>
>         >>>> Swapnil
>         -----BEGIN PGP SIGNATURE-----
>         Version: GnuPG v1.4.9 (MingW32)
>         Comment: Using GnuPG with Mozilla -
>         http://enigmail.mozdev.org/
>         
>         
>         iEYEARECAAYFAkqUHPYACgkQzZ3g4YwFFgYqUACdEKO
>         +71ACKKQId/NTtPWn7bke
>         WbIAoJz3WcwbPPhwpN9WeBggcbL4RYBP
>         =CafS
>         -----END PGP SIGNATURE-----
> 

Attachment: signature.asc
Description: Questa รจ una parte del messaggio firmata digitalmente

_______________________________________________
AniMov mailing list
[email protected]
http://lists.faunalia.it/cgi-bin/mailman/listinfo/animov

Reply via email to