hmmm, this must be a function that was added with Qt4.5... sorry about that! I'll try to implement this without that function...
you may consider upgrading to Qt4.5, as I suspect this is also why you were having trouble with the xml reader as well... I will let you know where I get with this asap. Carson On Mon, Aug 24, 2009 at 4:46 PM, Rainer M Krug <[email protected]> wrote: > On Mon, Aug 24, 2009 at 4:41 PM, Carson Farmer<[email protected]> > wrote: > > Hi Rainer, > >> > >> Hi > >> > >> I tried to use manageR again, but I get that dreaded > >> "'QXmlStreamReader' is not defined" error (see below). This was raised > >> already a few times, but I did niot find a fix. Is there any progress? > >> > > > > There is progress yes... I have removed it as a dependency in the newer > > version of manageR. This newer version will be totally reworked, and will > be > > released in the next few weeks (probably). Unfortunately, it still needs > > work, so I won't be able to release it right away. In the mean time, try > > changing line 8 of your 'config.ini' file from 'auto_completion: > > commands.xml' to 'auto_completion: None'. This file is located in your > > manageR folder: > > /home/username/.qgis/python/plugins/manageR. You won't have > autocompletion > > enabled, but if you can live without that for a while, you'll be able to > use > > manageR without problems (hopefully ;-p). > > Thanks Carson > > I am looking forward to the new version. The modification in the ini > file improved it - I can start manageR - but as soon as I type > anything, I get the following error: > > An error has occured while executing Python code: > > Traceback (most recent call last): > File "/home/rkrug/.qgis//python/plugins/manageR/QConsole.py", line > 142, in keyPressEvent > if not self.isCursorInEditionZone(): > File "/home/rkrug/.qgis//python/plugins/manageR/QConsole.py", line > 385, in isCursorInEditionZone > block = self.document().lastBlock() > AttributeError: lastBlock > > Python version: > 2.5.2 (r252:60911, Jul 22 2009, 15:52:25) > [GCC 4.2.4 (Ubuntu 4.2.4-1ubuntu3)] > > Python path:['/usr/share/qgis/python', > '/home/rkrug/.qgis//python/plugins', '/usr/share/qgis/python/plugins', > '/usr/lib/python25.zip', '/usr/lib/python2.5', > '/usr/lib/python2.5/plat-linux2', '/usr/lib/python2.5/lib-tk', > '/usr/lib/python2.5/lib-dynload', > '/usr/local/lib/python2.5/site-packages', > '/usr/lib/python2.5/site-packages', > '/usr/lib/python2.5/site-packages/Numeric', > '/usr/lib/python2.5/site-packages/PIL', > '/usr/lib/python2.5/site-packages/gst-0.10', > '/var/lib/python-support/python2.5', > '/usr/lib/python2.5/site-packages/gtk-2.0', > '/var/lib/python-support/python2.5/gtk-2.0', > '/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode', > '/home/rkrug/.qgis/python/plugins/fTools/tools'] > > Cheers > > Rainer > > > > Cheers, > > > > Carson > > > > -- > > Carson J. Q. Farmer > > ISSP Doctoral Fellow > > National Centre for Geocomputation (NCG), > > National University of Ireland, Maynooth, > > Email: [email protected] > > Web: http://www.carsonfarmer.com/ > > http://www.ftools.ca/ > > > > > > > > -- > Rainer M. Krug, Centre of Excellence for Invasion Biology, > Stellenbosch University, South Africa > -- Carson Farmer National Centre for Geocomputation John Hume Building, National University of Ireland, Maynooth, Maynooth, Co. Kildare, Ireland. www.carsonfarmer.com
_______________________________________________ Qgis-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-user
