Skip to content

Instantly share code, notes, and snippets.

View emirhartato's full-sized avatar

Emir Hartato emirhartato

  • Planet
  • Indonesia
View GitHub Profile
@emirhartato
emirhartato / gist:d7bdd98897c90b093876
Created October 24, 2014 04:11
Error log: Python Error (IF flood with population)
An error has occured while executing Python code:
Traceback (most recent call last):
File "/Users/emirhartato/.qgis2/python/plugins/inasafe/safe_qgis/widgets/dock.py", line 1301, in accept
result = check_memory_usage(buffered_geoextent, cell_size)
File "/Users/emirhartato/.qgis2/python/plugins/inasafe/safe_qgis/utilities/memory_checker.py", line 127, in check_memory_usage
free_memory = get_free_memory()
File "/Users/emirhartato/.qgis2/python/plugins/inasafe/safe/common/utilities.py", line 247, in get_free_memory
return get_free_memory_osx()
@emirhartato
emirhartato / gist:9482672
Created March 11, 2014 09:55
QGIS 2.2 Crash Log MacOS X
Process: QGIS [1096]
Path: /Applications/QGIS.app/Contents/MacOS/QGIS
Identifier: org.qgis.qgis2
Version: 2.2.0 (2.2.0 [])
Code Type: X86-64 (Native)
Parent Process: launchd [216]
Responsible: QGIS [1096]
User ID: 501
Date/Time: 2014-03-07 16:53:23.418 +0700
@emirhartato
emirhartato / Error log osm2pgsql build af61cae663
Last active December 16, 2015 02:09
Error log osm2pgsql windows build af61cae663 downloaded from http://customdebug.com/osm/osm2pgsql.zip Tested on Windows 7 32-bit and 64-bit with PostgreSQL 9.2 and PostGIS 2.0
Osm2pgsql SVN version af61cae663 (64bit d space)
Release notes: ‘Windows version built by DOminik Perpeet (http://customdebug.com/osm2pgsql/index.html)’
Error: Connection to database failed: fe_sendauth: no password supplied
@emirhartato
emirhartato / Error log osm2pgsql 0.80.0
Created April 11, 2013 03:00
Log for osm2pgsql windows build 0.80.0 downloaded from http://osm4windows.org/downloads/osm2pgsql-2012-08-09.zip Tested on Windows 7 32-bit and 64-bit, PostgreSQL 9.2 with PostGIS 2.0
Osm2pgsql SVN version 0.80.0 (32bit d space)
Password:
Error: Connection to database failed: could not connect to server: No such file or directory
Is the server running locally and accepting connections on Unix domain socket “/tmp/.s.PGSQL.5432”?
@emirhartato
emirhartato / bpbd_presets.xml
Created October 9, 2012 10:28 — forked from anonymous/bpbd_presets.xml
HOT Training Presets
<presets xmlns="http://josm.openstreetmap.de/tagging-preset-1.0" author="HOT" description="Mapping for Contingency Planning Presets" shortdescription="Indonesia Mapping for Contingency Planning" version="1.0">
<item name="kantor pemerintahan">
<key key="office" value="government"/>
<key key="building" value="yes" />
<combo key="admin_level" text="tingkat administrasi" values="5,6,7,8" display_values="kotamadya,kecamatan,kelurahan/desa,RW"/>
<text key="name" text="nama" />
<combo key="building:levels" text="jumlah tingkat" values="1,2,3,4-7,>7"/>
<combo key="access:roof" text="akses ke atap" values="no,yes" display_values="tidak,ya"/>
<text key="capacity:persons" text="kapasitas"/>
<combo key="building:structure" text="struktur bangunan" values="reinforced_masonry,unreinforced_masonry,plastered,confined_masonry" display_values="Tembok dengan penguat beton bertulang,Tembok tanpa penguat beton bertulang,Tembok berplester,Rangka beton bertulang" />