Skip to content

Instantly share code, notes, and snippets.

View timlinux's full-sized avatar

Tim Sutton timlinux

View GitHub Profile
@timlinux
timlinux / gist:c722743f356c0e50e8ca
Last active August 29, 2015 14:14
PSC Meeting - 6 Feb 2015
16∶22
timlinux thanks
hi
dassau joined
16∶28
dassau Hi all
will we meet in 5 min oder 1h and 5 min?
jef yes, 1530 CEST - unless the wiki page is wrong.
S? um.
it's 1430 UTC now.
@timlinux
timlinux / gist:aa9c06d0ca199fa8d166
Created February 5, 2015 22:32
InaSAFE 3.0 test logs
timlinux@confluence:~/dev/python/inasafe-dev$ make test
-----------
PEP8 issues
-----------
-----------------
Pylint violations
-----------------
#514 Test for qgis translations. ... ok
======================================================================
ERROR: Test if line aggregation works
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/timlinux/dev/python/inasafe-dev/safe/impact_statistics/test/test_aggregator.py", line 596, in test_line_aggregation
impact_layer_attributes=impact_layer_attributes)
File "/home/timlinux/dev/python/inasafe-dev/safe/impact_statistics/test/test_aggregator.py", line 338, in _aggregate
aggregator.aggregate(impact_layer)
F
Failure
Traceback (most recent call last):
File "/usr/lib64/python2.7/unittest/case.py", line 367, in run
testMethod()
File "/home/timlinux/dev/python/inasafe-dev/safe/gui/tools/test/test_wizard_dialog.py", line 1294, in test_input_function_centric_wizard
self.assertEqual(count, expected_functions_count, message)
File "/usr/lib64/python2.7/unittest/case.py", line 551, in assertEqual
F
Failure
Traceback (most recent call last):
File "/usr/lib64/python2.7/unittest/case.py", line 367, in run
testMethod()
File "/home/timlinux/dev/python/inasafe-dev/safe/gui/tools/test/test_wizard_dialog.py", line 1284, in test_input_function_centric_wizard
message)
File "/usr/lib64/python2.7/unittest/case.py", line 551, in assertEqual
-----------
PEP8 issues
-----------
./safe/gui/tools/wizard_dialog.py:472:26: E226 missing whitespace around arithmetic operator
./safe/gui/tools/wizard_dialog.py:473:27: E226 missing whitespace around arithmetic operator
-----------------
Pylint violations
-----------------
Warning: option include-ids is deprecated and ignored.
In file "/home/timlinux/.qgis2/python/plugins/inasafe-dev/safe/utilities/impact_calculator_thread.py", line 186, in run check_integrity=self._check_integrity)
In file "/home/timlinux/.qgis2/python/plugins/inasafe-dev/safe/engine/core.py", line 69, in calculate_impact F = impact_function.run(layers)
In file "/home/timlinux/.qgis2/python/plugins/inasafe-dev/safe/impact_functions/inundation/flood_raster_roads_qgis.py", line 208, in run extent_as_polygon
In file "/home/timlinux/.qgis2/python/plugins/inasafe-dev/safe/gis/qgis_vector_tools.py", line 166, in clip_by_polygon result_layer = create_layer(vector)
In file "/home/timlinux/.qgis2/python/plugins/inasafe-dev/safe/gis/qgis_vector_tools.py", line 125, in create_layer if vector.geometryType() == 0:
16∶25
timlinux hi all
aneumann hi
anitagraser hi
dassau hi
aneumann Is PSC only meeting by IRC - no voice involved?
timlinux anitagraser: before I start can you make a replacement for the developers group opic in about screen (alexbruy was asking for it)
duiv aneumann: nope, only text
timlinux using the last hackfest pic
duiv timlinux: the splash screen is already updated
@timlinux
timlinux / gist:4ad307193b0b11e1ebe4
Created January 23, 2015 13:06
QField cmake error
CMake Error at src/3rdparty/CMakeLists.txt:1 (ADD_SUBDIRECTORY):
The source directory
/home/timlinux/dev/cpp/QGISAndroidNative/src/3rdparty/tessellate
does not contain a CMakeLists.txt file.
@timlinux
timlinux / gist:3ab7ad546ef43ef0326d
Created January 22, 2015 15:28
In progress flood maps report generator
# coding=utf-8
# A simple demonstration of how to load a QGIS project and then
# show it in a widget.
# This code is public domain, use if for any purpose you see fit.
# Tim Sutton 2015
import os
import sys
from qgis.core import (