This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Couldn't load plugin 'sextante' from ['/Users/timlinux/Applications/QGIS.app/Contents/MacOS/../Resources/python', '/Users/timlinux/.qgis2/python', '/Users/timlinux/.qgis2/python/plugins', '/Users/timlinux/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins', '/Library/Frameworks/SQLite3.framework/Versions/3/Python/2.7', '/Library/Frameworks/GDAL.framework/Versions/1.9/Python/2.7/site-packages', '/Library/Python/2.7/site-packages/pip-1.2.1-py2.7.egg', '/Library/Python/2.7/site-packages/nose-1.2.1-py2.7.egg', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages', '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The selected model could not be loaded. | |
Wrong line: Error in model definition line:PARAMETER:ParameterTableField|TABLEFIELD_AGGREGATION|Aggregation|VECTORLAYER_POINTLAYER|-1 : Traceback (most recent call last): | |
File "/Users/timlinux/Applications/QGIS.app/Contents/Resources/python/plugins/sextante/modeler/ModelerAlgorithm.py", line 123, in openModel | |
param = ParameterFactory.getFromString(paramLine) | |
File "/Users/timlinux/Applications/QGIS.app/Contents/Resources/python/plugins/sextante/parameters/ParameterFactory.py", line 51, in getFromString | |
return clazz().deserialize(s) | |
File "/Users/timlinux/Applications/QGIS.app/Contents/Resources/python/plugins/sextante/parameters/ParameterTableField.py", line 62, in deserialize | |
return ParameterTableField(tokens[1], tokens[2], tokens[3], int(tokens[4]), tokens[5] == str(True)) | |
IndexError: list index out of range |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
iface = qgis.utils.iface | |
# make sure the raster layer is active before you type the next commands | |
l = iface.activeLayer() | |
r = l.extent() | |
s = r.toString() | |
t = s.split(' : ') | |
t1 = t[0].split(',') | |
t2 = t[1].split(',') | |
wkt = 'POLYGON((%s %s, %s %s, %s %s, %s %s, %s %s))' % (t1[0], t1[1], t1[0], t2[1], t2[0], t2[1], t2[0], t1[1], t1[0], t1[1]) | |
print wkt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>> x = 1.55566 | |
>>> i = 0.33 | |
>>> il = len(str(i).split('.')[1]) | |
>>> il | |
2 | |
>>> lx = len(str(x)) | |
>>> xi = str(x).split('.')[0] | |
>>> xd = str(x).split('.')[1][:il] | |
>>> xstr = xi + '.' + xd | |
>>> xstr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(venv)timlinux@waterfall:/home/web/mappingthesacred$ ./runmigrations.sh update | |
Updating migrations... | |
Traceback (most recent call last): | |
File "manage.py", line 10, in <module> | |
execute_from_command_line(sys.argv) | |
File "/home/web/mappingthesacred/venv/lib/python2.7/site-packages/django/core/management/__init__.py", line 443, in execute_from_command_line | |
utility.execute() | |
File "/home/web/mappingthesacred/venv/lib/python2.7/site-packages/django/core/management/__init__.py", line 382, in execute | |
self.fetch_command(subcommand).run_from_argv(self.argv) | |
File "/home/web/mappingthesacred/venv/lib/python2.7/site-packages/django/core/management/__init__.py", line 261, in fetch_command |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(venv)shrub:django_project timlinux$ python manage.py syncdb --settings=core.settings.dev_timlinux | |
Traceback (most recent call last): | |
File "manage.py", line 12, in <module> | |
execute_from_command_line(sys.argv) | |
File "/Users/timlinux/dev/python/visual-changelogger/venv/lib/python2.7/site-packages/django/core/management/__init__.py", line 453, in execute_from_command_line | |
utility.execute() | |
File "/Users/timlinux/dev/python/visual-changelogger/venv/lib/python2.7/site-packages/django/core/management/__init__.py", line 392, in execute | |
self.fetch_command(subcommand).run_from_argv(self.argv) | |
File "/Users/timlinux/dev/python/visual-changelogger/venv/lib/python2.7/site-packages/django/core/management/__init__.py", line 272, in fetch_command | |
klass = load_command_class(app_name, subcommand) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
====================================================================== | |
ERROR: Test we can send a basic message. | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/timlinux/dev/python/inasafe-dev/safe/messaging/test_dispatcher.py", line 27, in setUp | |
self.handle_message_event, | |
AttributeError: 'DispatcherTest' object has no attribute 'handle_message_event' | |
====================================================================== | |
ERROR: Test we can send a basic message, setting it to the dispatcher. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm http 304 https://registry.npmjs.org/request | |
npm ERR! error installing [email protected] | |
npm ERR! error rolling back [email protected] Error: ENOTEMPTY, rmdir '/home/timlinux/dev/javascript/tilestream/node_modules/bones/node_modules/jquery/node_modules/jsdom' | |
npm ERR! error installing [email protected] | |
npm ERR! Error: ENOENT, chmod '/home/timlinux/dev/javascript/tilestream/node_modules/bones/node_modules/jquery/node_modules/jsdom/node_modules/___nwmatcher.npm/package/.npmignore' | |
npm ERR! You may report this log at: | |
npm ERR! <http://bugs.debian.org/npm> | |
npm ERR! or use | |
npm ERR! reportbug --attach /home/timlinux/dev/javascript/tilestream/npm-debug.log npm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 | |
src/providers/ogr/qgsogrprovider.cpp: 787: (nextFeature) Feature is null | |
src/core/qgsmessagelog.cpp: 41: (logMessage) 2013-08-02T12:58:35 InaSAFE[0] Native zonal stats duration: 0.01s | |
src/providers/gdal/qgsgdalprovider.cpp: 363: (~QgsGdalProvider) QgsGdalProvider: deconstructing. | |
src/providers/ogr/qgsogrprovider.cpp: 787: (nextFeature) Feature is null | |
src/core/qgsvectorlayer.cpp: 177: (~QgsVectorLayer) entered. | |
Failure | |
Traceback (most recent call last): | |
File "/home/timlinux/dev/python/inasafe-dev/safe_qgis/impact_statistics/test/test_aggregator.py", line 350, in test_aggregate_raster_impact_native | |
self._aggregate_raster_impact(useNativeZonalStats=True) |