mugwizaleon / PCRasterMapstacks

This repository contains files that constitutes the QGIS plugin to visualize PCRaster timeseries by animation and plot of PCRaster Mapstacks.
Apache License 2.0
0 stars 0 forks source link

Errors in startup #1

Open pcav opened 10 years ago

pcav commented 10 years ago

When loading sample data, I get:

Traceback (most recent call last): File "/home/paolo/Desktop/qgis2_test/python/plugins/PCRasterVisualisation/pcrastermapstackvisualisation.py", line 244, in actionStart self.PrincipalLayer = layer.name() AttributeError: 'NoneType' object has no attribute 'name'

Traceback (most recent call last): File "/home/paolo/Desktop/qgis2_test/python/plugins/PCRasterVisualisation/pcrastermapstackvisualisation.py", line 195, in ActionAnim self.actionRemove() File "/home/paolo/Desktop/qgis2_test/python/plugins/PCRasterVisualisation/pcrastermapstackvisualisation.py", line 124, in actionRemove if layer.name() == self.PrincipalLayer : pass AttributeError: PcrasterMapstackVisualisation instance has no attribute 'PrincipalLayer'

mugwizaleon commented 10 years ago

with the new version of the plugin, this issue has been fixed

pcav commented 10 years ago

Still there in new version (BTW: please change version number when uploading a new one).

Errore durante l'esecuzione di codice Python:

Traceback (most recent call last): File "/home/paolo/Desktop/qgis2_test/python/plugins/PCRasterVisualisation/pcrastermapstackvisualisation.py", line 268, in actionStart self.PrincipalLayer = layer.name() AttributeError: 'NoneType' object has no attribute 'name'

Versione Python: 2.7.8 (default, Jul 4 2014, 13:10:22) [GCC 4.9.0]

Versione di QGIS: 2.5.0-Master Master, exported

Percorso Python: ['/usr/share/qgis/python/plugins/processing', '/usr/share/qgis/python', u'/home/paolo/Desktop/qgis2_test/python', u'/home/paolo/Desktop/qgis2_test/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', '/usr/share/qgis/python/plugins/fTools/tools']

mugwizaleon commented 9 years ago

Can you check if the error is still there with the version 0.2 ? On my side it seems OK.