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