[Qgis-developer] Error in MetaSearch

Paolo Cavallini cavallini at faunalia.it
Tue Jun 24 02:04:11 PDT 2014


Errore durante l'esecuzione di codice Python:


Hi all.
Adding the Italian CSW (http://www.rndt.gov.it/RNDT/CSW) to MetaSearch, and searching
for a common keyword, I get > 10 records. Only 5 are displayed, even if the dialog
reports "1-10 of 21 shown". If I click on the Next arrow, I get an error (see below).
Should I open a ticket?
All the best.
===
Traceback (most recent call last):
  File "/usr/share/qgis/python/plugins/MetaSearch/dialogs/maindialog.py", line 644,
in navigate
    startposition=self.startfrom, esn='full')
  File "/usr/share/qgis/python/owslib/csw.py", line 348, in getrecords2
    self.results['matches'] = int(util.testXMLValue(val, True))
TypeError: int() argument must be a string or a number, not 'NoneType'


Versione Python:
2.7.7 (default, Jun  3 2014, 16:19:10)
[GCC 4.8.3]


Versione di QGIS:
2.3.0-Master Master, exported

Percorso Python: ['/home/paolo/.qgis2/python/plugins/processinglwgeomprovider',
'/home/paolo/.qgis2/python/plugins/sextante_animove',
'/home/paolo/.qgis2/python/plugins/processing',
'/home/paolo/.qgis2/python/plugins/LecoS',
'/home/paolo/.qgis2/python/plugins/GeoCoding', '/usr/share/qgis/python',
u'/home/paolo/.qgis2/python', u'/home/paolo/.qgis2/python/plugins',
'/usr/share/qgis/python/plugins', '/usr/lib/python2.7',
'/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk',
'/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload',
'/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages/PILcompat',
'/usr/lib/python2.7/dist-packages/gst-0.10',
'/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.7',
'/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode',
'/home/paolo/.qgis2/python/plugins/mmqgis/forms',
'/home/paolo/.qgis2/python/plugins/QuickMultiAttributeEdit/forms',
'/usr/share/qgis/python/plugins/fTools/tools',
'/home/paolo/.qgis2/python/plugins/DigitizingTools/tools']
-- 
Paolo Cavallini - www.faunalia.eu
Corsi QGIS e PostGIS: http://www.faunalia.eu/training.html


More information about the Qgis-developer mailing list