Skip to content

Instantly share code, notes, and snippets.

@timlinux
Created July 18, 2013 07:40
Show Gist options
  • Save timlinux/6027458 to your computer and use it in GitHub Desktop.
Save timlinux/6027458 to your computer and use it in GitHub Desktop.
An error has occured while executing Python code:
Traceback (most recent call last):
File "/home/timlinux/.qgis/python/plugins/inasafe-dev/safe_qgis/widgets/dock.py", line 1332, in aggregate
self.aggregator.aggregate(self.runner.impact_layer())
File "/home/timlinux/.qgis/python/plugins/inasafe-dev/safe_qgis/impact_statistics/aggregator.py", line 311, in aggregate
self._aggregate_raster_impact(myQGISImpactLayer)
File "/home/timlinux/.qgis/python/plugins/inasafe-dev/safe_qgis/impact_statistics/aggregator.py", line 696, in _aggregate_raster_impact
myZonalStatistics = calculateZonalStats(impact_layer, self.layer)
File "/home/timlinux/.qgis/python/plugins/inasafe-dev/safe_qgis/impact_statistics/zonal_stats.py", line 134, in calculateZonalStats
myFeatureBox = myGeometry.boundingBox().intersect(myRasterBox)
AttributeError: 'NoneType' object has no attribute 'boundingBox'
Aggregation error occurred
Python version:
2.7.4 (default, Apr 19 2013, 18:30:41)
[GCC 4.7.3]
QGIS version:
1.8.0-Lisboa Lisboa, ac2970b
Python path: ['/usr/local/qgis-1.8/share/qgis/python', '/home/timlinux/.qgis//python', '/home/timlinux/.qgis//python/plugins', '/usr/local/qgis-1.8/share/qgis/python/plugins', '/usr/local/lib/python2.7/dist-packages/fabtools-0.14.0dev-py2.7.egg', '/usr/local/lib/python2.7/dist-packages', '/home/timlinux', '/usr/local/qgis-1.8/share/qgis/python', '/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/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/ubuntu-sso-client', '/usr/lib/python2.7/dist-packages/ubuntuone-client', '/usr/lib/python2.7/dist-packages/ubuntuone-control-panel', '/usr/lib/python2.7/dist-packages/ubuntuone-storage-protocol', '/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode', '/home/timlinux/.qgis/python/plugins/inasafe-dev', '/home/timlinux/.qgis/python/plugins/inasafe-dev/third_party', '/usr/local/qgis-1.8/share/qgis/python/plugins/fTools/tools', '/media/timlinux/HOME/gisdata/InaSAFEPackages/Jakarta']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment