Created
March 15, 2009 22:23
-
-
Save jkern/79560 to your computer and use it in GitHub Desktop.
Error I get when I try and run infogami
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
[infogami@darkstar infogami]$ python run.py | |
0.0 (1): SELECT * FROM thing WHERE key='/type/type' | |
0.0 (2): SELECT * FROM thing WHERE key='/type/macro' | |
0.0 (3): SELECT data FROM data WHERE thing_id=32 AND revision=1 | |
0.0 (4): SELECT * FROM thing WHERE key=<ref: u'/type/type'> | |
0.0 (5): SELECT data FROM data WHERE thing_id=1 AND revision=2 | |
ERR: SELECT set_config('statement_timeout', 60000, false) | |
Traceback (most recent call last): | |
File "/home/infogami/infogami/infogami/infobase/server.py", line 50, in g | |
d = f(self, *a, **kw) | |
File "/home/infogami/infogami/infogami/infobase/server.py", line 182, in GET | |
result = site.things(q) | |
File "/home/infogami/infogami/infogami/infobase/infobase.py", line 168, in things | |
return readquery.run_things_query(self.store, query) | |
File "/home/infogami/infogami/infogami/infobase/readquery.py", line 8, in run_things_query | |
keys = store.things(query) | |
File "/home/infogami/infogami/infogami/infobase/dbstore.py", line 503, in things | |
self.db.query("SELECT set_config('statement_timeout', $query_timeout, false)", dict(query_timeout=config.query_timeout)) | |
File "/usr/lib/python2.6/site-packages/web.py-0.31-py2.6.egg/web/db.py", line 579, in query | |
self._db_execute(db_cursor, sql_query) | |
File "/usr/lib/python2.6/site-packages/web.py-0.31-py2.6.egg/web/db.py", line 530, in _db_execute | |
for x in sql_query.values()]) | |
ProgrammingError: function set_config(unknown, integer, boolean) does not exist | |
LINE 1: SELECT set_config('statement_timeout', 60000, false) | |
^ | |
HINT: No function matches the given name and argument types. You might need to add explicit type casts. | |
Traceback (most recent call last): | |
File "run.py", line 39, in <module> | |
infogami.run() | |
File "/home/infogami/infogami/infogami/__init__.py", line 109, in run | |
_setup() | |
File "/home/infogami/infogami/infogami/__init__.py", line 50, in _setup | |
delegate._load() | |
File "/home/infogami/infogami/infogami/utils/delegate.py", line 150, in _load | |
__import__(plugin.module + '.code', globals(), locals(), ['plugins']) | |
File "/home/infogami/infogami/infogami/plugins/wikitemplates/code.py", line 278, in <module> | |
setup() | |
File "/home/infogami/infogami/infogami/plugins/wikitemplates/code.py", line 157, in setup | |
load_macros(site) | |
File "/home/infogami/infogami/infogami/plugins/wikitemplates/code.py", line 148, in load_macros | |
for m in db.get_all_macros(site): | |
File "/home/infogami/infogami/infogami/plugins/wikitemplates/db.py", line 17, in get_all_macros | |
return site.get_many([key for key in site.things(q)]) | |
File "/home/infogami/infogami/infogami/infobase/client.py", line 256, in things | |
return self._request('/things', 'GET', {'query': query, "details": str(details)}) | |
File "/home/infogami/infogami/infogami/infobase/client.py", line 158, in _request | |
out = self._conn.request(self.name, path, method, data) | |
File "/home/infogami/infogami/infogami/infobase/client.py", line 68, in request | |
raise ClientException(e.status, str(e)) | |
infogami.infobase.client.ClientException: function set_config(unknown, integer, boolean) does not exist | |
LINE 1: SELECT set_config('statement_timeout', 60000, false) | |
^ | |
HINT: No function matches the given name and argument types. You might need to add explicit type casts. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment