Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- paster shell example.ini
- /usr/local/lib/python2.6/dist-packages/Pylons-0.9.6.2-py2.6.egg/pylons/templating.py:292: UserWarning: Unbuilt egg for setuptools [unknown version] (/usr/lib/python2.6/dist-packages)
- Engine = entry_point.load()
- /home/fahad/reddit/r2/r2/lib/utils/utils.py:29: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
- import re, datetime, math, random, string, sha, os
- /home/fahad/reddit/r2/r2/lib/contrib/memcache.py:50: DeprecationWarning: the md5 module is deprecated; use hashlib instead
- from md5 import md5
- /usr/local/lib/python2.6/dist-packages/Pylons-0.9.6.2-py2.6.egg/pylons/middleware.py:11: DeprecationWarning: The webhelpers.rails package is deprecated.
- - Please begin migrating to the new helpers in webhelpers.html,
- webhelpers.text, webhelpers.number, etc.
- - Import url_for() directly from routes, and redirect_to() from
- pylons.controllers.util (if using Pylons) or from routes.
- - All Javascript support has been deprecated. You can write link_to_remote()
- yourself or use one of the third-party Javascript libraries.
- from webhelpers.rails.asset_tag import javascript_path
- Warning: g.media_domain == g.domain. This may give untrusted content access to user cookies
- Traceback (most recent call last):
- File "/usr/local/bin/paster", line 9, in <module>
- load_entry_point('PasteScript==1.7.3', 'console_scripts', 'paster')()
- File "/usr/local/lib/python2.6/dist-packages/PasteScript-1.7.3-py2.6.egg/paste/script/command.py", line 84, in run
- invoke(command, command_name, options, args[1:])
- File "/usr/local/lib/python2.6/dist-packages/PasteScript-1.7.3-py2.6.egg/paste/script/command.py", line 123, in invoke
- exit_code = runner.run(args)
- File "/usr/local/lib/python2.6/dist-packages/PasteScript-1.7.3-py2.6.egg/paste/script/command.py", line 218, in run
- result = self.command()
- File "/usr/local/lib/python2.6/dist-packages/Pylons-0.9.6.2-py2.6.egg/pylons/commands.py", line 379, in command
- found_base = can_import(base_module)
- File "/usr/local/lib/python2.6/dist-packages/Pylons-0.9.6.2-py2.6.egg/pylons/commands.py", line 29, in can_import
- __import__(name)
- File "/home/fahad/reddit/r2/r2/lib/base.py", line 29, in <module>
- from r2.lib.template_helpers import get_domain
- File "/home/fahad/reddit/r2/r2/lib/template_helpers.py", line 22, in <module>
- from r2.models import *
- File "/home/fahad/reddit/r2/r2/models/__init__.py", line 22, in <module>
- from account import *
- File "/home/fahad/reddit/r2/r2/models/account.py", line 22, in <module>
- from r2.lib.db.thing import Thing, Relation, NotFound
- File "/home/fahad/reddit/r2/r2/lib/db/thing.py", line 30, in <module>
- import tdb_sql as tdb
- File "/home/fahad/reddit/r2/r2/lib/db/tdb_sql.py", line 221, in <module>
- build_thing_tables()
- File "/home/fahad/reddit/r2/r2/lib/db/tdb_sql.py", line 206, in build_thing_tables
- index_commands(thing_table, 'thing'))
- File "/home/fahad/reddit/r2/r2/lib/db/tdb_sql.py", line 58, in create_table
- t.bind.execute(i)
- File "/usr/local/lib/python2.6/dist-packages/SQLAlchemy-0.5.3-py2.6.egg/sqlalchemy/engine/base.py", line 1202, in execute
- return connection.execute(statement, *multiparams, **params)
- File "/usr/local/lib/python2.6/dist-packages/SQLAlchemy-0.5.3-py2.6.egg/sqlalchemy/engine/base.py", line 824, in execute
- return Connection.executors[c](self, object, multiparams, params)
- File "/usr/local/lib/python2.6/dist-packages/SQLAlchemy-0.5.3-py2.6.egg/sqlalchemy/engine/base.py", line 888, in _execute_text
- return self.__execute_context(context)
- File "/usr/local/lib/python2.6/dist-packages/SQLAlchemy-0.5.3-py2.6.egg/sqlalchemy/engine/base.py", line 896, in __execute_context
- self._cursor_execute(context.cursor, context.statement, context.parameters[0], context=context)
- File "/usr/local/lib/python2.6/dist-packages/SQLAlchemy-0.5.3-py2.6.egg/sqlalchemy/engine/base.py", line 950, in _cursor_execute
- self._handle_dbapi_exception(e, statement, parameters, cursor, context)
- File "/usr/local/lib/python2.6/dist-packages/SQLAlchemy-0.5.3-py2.6.egg/sqlalchemy/engine/base.py", line 931, in _handle_dbapi_exception
- raise exc.DBAPIError.instance(statement, parameters, e, connection_invalidated=is_disconnect)
- sqlalchemy.exc.ProgrammingError: (ProgrammingError) function hot(integer, integer, timestamp with time zone) does not exist
- LINE 1: ...idx_hot_reddit_thing_award on reddit_thing_award (hot(ups, d...
- ^
- HINT: No function matches the given name and argument types. You might need to add explicit type casts.
- 'create index idx_hot_reddit_thing_award on reddit_thing_award (hot(ups, downs, date), date)' {}
- postgres@lappy:/home/fahad/reddit/r2$ paster shell example.ini
- /usr/local/lib/python2.6/dist-packages/Pylons-0.9.6.2-py2.6.egg/pylons/templating.py:292: UserWarning: Unbuilt egg for setuptools [unknown version] (/usr/lib/python2.6/dist-packages)
- Engine = entry_point.load()
- /home/fahad/reddit/r2/r2/lib/utils/utils.py:29: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
- import re, datetime, math, random, string, sha, os
- /home/fahad/reddit/r2/r2/lib/contrib/memcache.py:50: DeprecationWarning: the md5 module is deprecated; use hashlib instead
- from md5 import md5
- /usr/local/lib/python2.6/dist-packages/Pylons-0.9.6.2-py2.6.egg/pylons/middleware.py:11: DeprecationWarning: The webhelpers.rails package is deprecated.
- - Please begin migrating to the new helpers in webhelpers.html,
- webhelpers.text, webhelpers.number, etc.
- - Import url_for() directly from routes, and redirect_to() from
- pylons.controllers.util (if using Pylons) or from routes.
- - All Javascript support has been deprecated. You can write link_to_remote()
- yourself or use one of the third-party Javascript libraries.
- from webhelpers.rails.asset_tag import javascript_path
- Warning: g.media_domain == g.domain. This may give untrusted content access to user cookies
- Traceback (most recent call last):
- File "/usr/local/bin/paster", line 9, in <module>
- load_entry_point('PasteScript==1.7.3', 'console_scripts', 'paster')()
- File "/usr/local/lib/python2.6/dist-packages/PasteScript-1.7.3-py2.6.egg/paste/script/command.py", line 84, in run
- invoke(command, command_name, options, args[1:])
- File "/usr/local/lib/python2.6/dist-packages/PasteScript-1.7.3-py2.6.egg/paste/script/command.py", line 123, in invoke
- exit_code = runner.run(args)
- File "/usr/local/lib/python2.6/dist-packages/PasteScript-1.7.3-py2.6.egg/paste/script/command.py", line 218, in run
- result = self.command()
- File "/usr/local/lib/python2.6/dist-packages/Pylons-0.9.6.2-py2.6.egg/pylons/commands.py", line 379, in command
- found_base = can_import(base_module)
- File "/usr/local/lib/python2.6/dist-packages/Pylons-0.9.6.2-py2.6.egg/pylons/commands.py", line 29, in can_import
- __import__(name)
- File "/home/fahad/reddit/r2/r2/lib/base.py", line 29, in <module>
- from r2.lib.template_helpers import get_domain
- File "/home/fahad/reddit/r2/r2/lib/template_helpers.py", line 22, in <module>
- from r2.models import *
- File "/home/fahad/reddit/r2/r2/models/__init__.py", line 22, in <module>
- from account import *
- File "/home/fahad/reddit/r2/r2/models/account.py", line 22, in <module>
- from r2.lib.db.thing import Thing, Relation, NotFound
- File "/home/fahad/reddit/r2/r2/lib/db/thing.py", line 30, in <module>
- import tdb_sql as tdb
- File "/home/fahad/reddit/r2/r2/lib/db/tdb_sql.py", line 221, in <module>
- build_thing_tables()
- File "/home/fahad/reddit/r2/r2/lib/db/tdb_sql.py", line 211, in build_thing_tables
- index_commands(data_table, 'data'))
- File "/home/fahad/reddit/r2/r2/lib/db/tdb_sql.py", line 58, in create_table
- t.bind.execute(i)
- File "/usr/local/lib/python2.6/dist-packages/SQLAlchemy-0.5.3-py2.6.egg/sqlalchemy/engine/base.py", line 1202, in execute
- return connection.execute(statement, *multiparams, **params)
- File "/usr/local/lib/python2.6/dist-packages/SQLAlchemy-0.5.3-py2.6.egg/sqlalchemy/engine/base.py", line 824, in execute
- return Connection.executors[c](self, object, multiparams, params)
- File "/usr/local/lib/python2.6/dist-packages/SQLAlchemy-0.5.3-py2.6.egg/sqlalchemy/engine/base.py", line 888, in _execute_text
- return self.__execute_context(context)
- File "/usr/local/lib/python2.6/dist-packages/SQLAlchemy-0.5.3-py2.6.egg/sqlalchemy/engine/base.py", line 896, in __execute_context
- self._cursor_execute(context.cursor, context.statement, context.parameters[0], context=context)
- File "/usr/local/lib/python2.6/dist-packages/SQLAlchemy-0.5.3-py2.6.egg/sqlalchemy/engine/base.py", line 950, in _cursor_execute
- self._handle_dbapi_exception(e, statement, parameters, cursor, context)
- File "/usr/local/lib/python2.6/dist-packages/SQLAlchemy-0.5.3-py2.6.egg/sqlalchemy/engine/base.py", line 931, in _handle_dbapi_exception
- raise exc.DBAPIError.instance(statement, parameters, e, connection_invalidated=is_disconnect)
- sqlalchemy.exc.ProgrammingError: (ProgrammingError) function ip_network(character varying) does not exist
- LINE 1: ...p_network_reddit_data_award on reddit_data_award (ip_network...
- ^
- HINT: No function matches the given name and argument types. You might need to add explicit type casts.
- "create index idx_ip_network_reddit_data_award on reddit_data_award (ip_network(value)) where key = 'ip'" {}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement