[Qgis-user] manageR question - "'QXmlStreamReader' is not defined" error

Rainer M Krug r.m.krug at gmail.com
Sun Aug 23 05:00:54 PDT 2009


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?

System:
Ubuntu Hardy all updates
QGIS 1.0.2-Kore
Qt 4.4.1
python-qt4 4.3.3


Thanks,

Rainer

An error has occured while executing Python code:

Traceback (most recent call last):
  File "/home/rkrug/.qgis//python/plugins/manageR/manageR.py", line 59, in run
    d = manageRDialog.manageR( self.iface, self.version )
  File "/home/rkrug/.qgis//python/plugins/manageR/manageRDialog.py",
line 80, in __init__
    completer_console.loadSuggestions( os.path.join( os.path.dirname(
__file__ ), autocomplete ) )
  File "/home/rkrug/.qgis//python/plugins/manageR/completer.py", line
177, in loadSuggestions
    xml = QXmlStreamReader( document.toByteArray() )
NameError: global name 'QXmlStreamReader' is not defined

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']

--
Rainer M. Krug, Centre of Excellence for Invasion Biology,
Stellenbosch University, South Africa



More information about the Qgis-user mailing list