[Qgis-developer] Re: [Qgis-user] Re: Error with manageR (and python console)

Agustin Lobo alobolistas at gmail.com
Tue Oct 20 09:06:24 EDT 2009


rpy2 2.0.7

Agus

Carson Farmer wrote:
> Hi Agus,
>
> What version of rpy2 did the easy-install install?
>
> Carson
>
> On Tue, Oct 20, 2009 at 1:47 PM, Agustin Lobo <aloboaleu at gmail.com 
> <mailto:aloboaleu at gmail.com>> wrote:
>
>     Hi!
>
>     I've just installed R (2.8.1), python-dev, rpy2 (through easy-install)
>     and manageR (qgis 1.3.0) on ubuntu 9.04 jaunty and get this
>     error after issuing any wrong command in the manageR console, i.e.:
>     > a = 1?
>     Error: unexpected end of input in "a = 1?"
>
>     and a window opens with:
>
>     An error has occured while executing Python code:
>
>     Traceback (most recent call last):
>      File "build/bdist.linux-i686/egg/rpy2/rinterface/__init__.py",
>     line 108, in consoleFlush
>        sys.stdout.flush()
>     AttributeError: QgisOutputCatcher instance has no attribute 'flush'
>
>     Python version:
>     2.6.2 (release26-maint, Apr 19 2009, 02:11:59)
>
>     I get the same error if I run the rpy2 test mentioned in
>     http://rpy.sourceforge.net/rpy2/doc/html/overview.html#installation
>     in the qgis python console
>
>     import rpy2.tests
>     import unittest
>
>     # the verbosity level can be increased if needed
>     tr = unittest.TextTestRunner(verbosity = 1)
>     suite = rpy2.tests.suite()
>     tr.run(suite)
>
>
>     Any idea on how to fix this?
>     Apparently, the rpy2 installation went ok.
>
>     Agus
>     -- 
>     Dr. Agustin Lobo
>     Institut de Ciencies de la Terra "Jaume Almera" (CSIC)
>     LLuis Sole Sabaris s/n
>     08028 Barcelona
>     Spain
>     Tel. 34 934095410
>     Fax. 34 934110012
>     email: Agustin.Lobo at ija.csic.es <mailto:Agustin.Lobo at ija.csic.es>
>     http://www.ija.csic.es/gt/obster
>
>
>
>
> -- 
> Carson Farmer
> National Centre for Geocomputation
> John Hume Building,
> National University of Ireland, Maynooth,
> Maynooth,
> Co. Kildare,
> Ireland.
> www.carsonfarmer.com <http://www.carsonfarmer.com>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>   



More information about the Qgis-developer mailing list