Skip to content

Instantly share code, notes, and snippets.

[info] Loading project definition from /code/zensey/project
[info] Set current project to careverge (in build file:/code/zensey/)
[info] Updating {file:/code/zensey/}careanalytics...
[info] Resolving org.apache.commons#commons-parent;17 ...
[error] public: bad organisation found in http://repo1.maven.org/maven2/commons-daemon/commons-daemon/1.0.3/commons-daemon-1.0.3.pom: expected='commons-daemon' found='org.apache.commons'
[info] Resolving org.yaml#snakeyaml;1.6 ...
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: commons-daemon#commons-daemon;1.0.3: java.text.ParseException: inconsistent module descriptor file found in 'http://repo1.maven.org/maven2/commons-daemon/commons-daemon/1.0.3/commons-daemon-1.0.3.pom': bad organisation: expected='commons-daemon' found='org.apache.commons';
@slmnhq
slmnhq / gist:3165312
Created July 23, 2012 18:36
(Pdb) pp celery.conf
{'CELERY_AMQP_TASK_RESULT_EXPIRES': None, 'BROKER_USE_SSL': False, 'CELERY_BROADCAST_QUEUE': 'celeryctl', 'EMAIL_USE_TLS': False, 'BROKER_TRANSPORT_OPTIONS': {}, 'CELERY_CREATE_MISSING_QUEUES': True, 'CELERY_DEFAULT_QUEUE': 'celery', 'CELERY_SEND_TASK_SENT_EVENT': False, 'CELERYD_TASK_TIME_LIMIT': None, 'BROKER_URL': None, 'CELERY_DEFAULT_EXCHANGE_TYPE': 'direct', 'CELERYBEAT_SCHEDULER': 'celery.beat.PersistentScheduler', 'CELERY_MAX_CACHED_RESULTS': 5000, 'CELERY_RESULT_PERSISTENT': False, 'CELERYD_POOL': 'processes', 'CELERY_CACHE_BACKEND_OPTIONS': {}, 'CELERY_RESULT_ENGINE_OPTIONS': None, 'CELERY_RESULT_SERIALIZER': 'json', 'CELERYBEAT_SCHEDULE_FILENAME': 'celerybeat-schedule', 'CELERY_IMPORTS': ['ckanext.datastorer.tasks', 'ckanext.datastorer.tasks', 'ckanext.archiver.tasks'], 'CELERY_AMQP_TASK_RESULT_CONNECTION_MAX': 1, 'CELERY_STORE_ERRORS_EVEN_IF_IGNORED': False, 'SERVER_EMAIL': 'celery@localhost', 'CELERYD_TASK_LOG_FORMAT': '[%(asctime)s: %(levelname)s/%(processName)s] %(task_name)s[%(task_id)s]: %(me
@slmnhq
slmnhq / gist:3165004
Created July 23, 2012 17:56
db init traceback
[localhost] out: 2012-07-23 13:54:46,575 INFO [ckan.model] CKAN database version upgraded: 0 -> 57
[localhost] out: Traceback (most recent call last):
[localhost] out: File "/usr/local/neuhub/pyenv/bin/paster", line 8, in <module>
[localhost] out: load_entry_point('PasteScript==1.7.5', 'console_scripts', 'paster')()
[localhost] out: File "/usr/local/neuhub/pyenv/lib/python2.6/site-packages/paste/script/command.py", line 104, in run
[localhost] out: invoke(command, command_name, options, args[1:])
[localhost] out: File "/usr/local/neuhub/pyenv/lib/python2.6/site-packages/paste/script/command.py", line 143, in invoke
[localhost] out: exit_code = runner.run(args)
[localhost] out: File "/usr/local/neuhub/pyenv/lib/python2.6/site-packages/paste/script/command.py", line 238, in run
[localhost] out: result = self.command()
@slmnhq
slmnhq / gist:2954944
Created June 19, 2012 15:53
ES response to _search
{
"took" : 2,
"timed_out" : false,
"_shards" : {
"total" : 5,
"successful" : 5,
"failed" : 0
},
"hits" : {
"total" : 283,
@slmnhq
slmnhq / gist:2954933
Created June 19, 2012 15:50
ES response to bulk operation.
{"took":146,"items":[{"create":{"_index":"0ae70ddfcdc17b6a826c77e9520000f3-tmp","_type":"columns","_id":"0ae70ddfcdc17b6a826c77e9520000f3__0_0","_version":1,"ok":true}},{"create":{"_index":"0ae70ddfcdc17b6a826c77e9520000f3-tmp","_type":"columns","_id":"0ae70ddfcdc17b6a826c77e9520000f3__0_1","_version":1,"ok":true}},{"create":{"_index":"0ae70ddfcdc17b6a826c77e9520000f3-tmp","_type":"columns","_id":"0ae70ddfcdc17b6a826c77e9520000f3__0_2","_version":1,"ok":true}},{"create":{"_index":"0ae70ddfcdc17b6a826c77e9520000f3-tmp","_type":"columns","_id":"0ae70ddfcdc17b6a826c77e9520000f3__0_3","_version":1,"ok":true}},{"create":{"_index":"0ae70ddfcdc17b6a826c77e9520000f3-tmp","_type":"columns","_id":"0ae70ddfcdc17b6a826c77e9520000f3__0_4","_version":1,"ok":true}},{"create":{"_index":"0ae70ddfcdc17b6a826c77e9520000f3-tmp","_type":"columns","_id":"0ae70ddfcdc17b6a826c77e9520000f3__0_5","_version":1,"ok":true}},{"create":{"_index":"0ae70ddfcdc17b6a826c77e9520000f3-tmp","_type":"columns","_id":"0ae70ddfcdc17b6a826c77e9520000f
@slmnhq
slmnhq / bulk.json
Created June 19, 2012 15:47
Alternating sequence of 283 'create' commands and sources.
{"create":{"_id":"0ae70ddfcdc17b6a826c77e9520000f3__0_0"}}
{"column_name":"id","table_name":"activity","storage_type":"text","semantic_type":"identifier","remarks":"just a remark","_id":"0ae70ddfcdc17b6a826c77e9520000f3__0_0"}
{"create":{"_id":"0ae70ddfcdc17b6a826c77e9520000f3__0_1"}}
{"column_name":"user_id","table_name":"activity","storage_type":"text","semantic_type":"","remarks":"","_id":"0ae70ddfcdc17b6a826c77e9520000f3__0_1"}
{"create":{"_id":"0ae70ddfcdc17b6a826c77e9520000f3__0_2"}}
{"column_name":"object_id","table_name":"activity","storage_type":"text","semantic_type":"","remarks":"","_id":"0ae70ddfcdc17b6a826c77e9520000f3__0_2"}
{"create":{"_id":"0ae70ddfcdc17b6a826c77e9520000f3__0_3"}}
{"column_name":"revision_id","table_name":"activity","storage_type":"text","semantic_type":"","remarks":"","_id":"0ae70ddfcdc17b6a826c77e9520000f3__0_3"}
{"create":{"_id":"0ae70ddfcdc17b6a826c77e9520000f3__0_4"}}
{"column_name":"activity_type","table_name":"activity","storage_type":"text","semantic_type":"","remarks"
@slmnhq
slmnhq / schema.json
Created June 13, 2012 20:27
A complex hierarchical JSON document
{
"database":{
"@name":"std",
"@type":"PostgreSQL - 8.4.11",
"@schema":"public",
"tables":{
"table":[
{
"index":{
"column":{