Advertisement
Guest User

Untitled

a guest
May 24th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.42 KB | None | 0 0
  1. paster shell example.ini
  2. /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)
  3. Engine = entry_point.load()
  4. /home/fahad/reddit/r2/r2/lib/utils/utils.py:29: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  5. import re, datetime, math, random, string, sha, os
  6. /home/fahad/reddit/r2/r2/lib/contrib/memcache.py:50: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  7. from md5 import md5
  8. /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.
  9. - Please begin migrating to the new helpers in webhelpers.html,
  10. webhelpers.text, webhelpers.number, etc.
  11. - Import url_for() directly from routes, and redirect_to() from
  12. pylons.controllers.util (if using Pylons) or from routes.
  13. - All Javascript support has been deprecated. You can write link_to_remote()
  14. yourself or use one of the third-party Javascript libraries.
  15. from webhelpers.rails.asset_tag import javascript_path
  16. Warning: g.media_domain == g.domain. This may give untrusted content access to user cookies
  17. Traceback (most recent call last):
  18. File "/usr/local/bin/paster", line 9, in <module>
  19. load_entry_point('PasteScript==1.7.3', 'console_scripts', 'paster')()
  20. File "/usr/local/lib/python2.6/dist-packages/PasteScript-1.7.3-py2.6.egg/paste/script/command.py", line 84, in run
  21. invoke(command, command_name, options, args[1:])
  22. File "/usr/local/lib/python2.6/dist-packages/PasteScript-1.7.3-py2.6.egg/paste/script/command.py", line 123, in invoke
  23. exit_code = runner.run(args)
  24. File "/usr/local/lib/python2.6/dist-packages/PasteScript-1.7.3-py2.6.egg/paste/script/command.py", line 218, in run
  25. result = self.command()
  26. File "/usr/local/lib/python2.6/dist-packages/Pylons-0.9.6.2-py2.6.egg/pylons/commands.py", line 379, in command
  27. found_base = can_import(base_module)
  28. File "/usr/local/lib/python2.6/dist-packages/Pylons-0.9.6.2-py2.6.egg/pylons/commands.py", line 29, in can_import
  29. __import__(name)
  30. File "/home/fahad/reddit/r2/r2/lib/base.py", line 29, in <module>
  31. from r2.lib.template_helpers import get_domain
  32. File "/home/fahad/reddit/r2/r2/lib/template_helpers.py", line 22, in <module>
  33. from r2.models import *
  34. File "/home/fahad/reddit/r2/r2/models/__init__.py", line 22, in <module>
  35. from account import *
  36. File "/home/fahad/reddit/r2/r2/models/account.py", line 22, in <module>
  37. from r2.lib.db.thing import Thing, Relation, NotFound
  38. File "/home/fahad/reddit/r2/r2/lib/db/thing.py", line 30, in <module>
  39. import tdb_sql as tdb
  40. File "/home/fahad/reddit/r2/r2/lib/db/tdb_sql.py", line 221, in <module>
  41. build_thing_tables()
  42. File "/home/fahad/reddit/r2/r2/lib/db/tdb_sql.py", line 206, in build_thing_tables
  43. index_commands(thing_table, 'thing'))
  44. File "/home/fahad/reddit/r2/r2/lib/db/tdb_sql.py", line 58, in create_table
  45. t.bind.execute(i)
  46. File "/usr/local/lib/python2.6/dist-packages/SQLAlchemy-0.5.3-py2.6.egg/sqlalchemy/engine/base.py", line 1202, in execute
  47. return connection.execute(statement, *multiparams, **params)
  48. File "/usr/local/lib/python2.6/dist-packages/SQLAlchemy-0.5.3-py2.6.egg/sqlalchemy/engine/base.py", line 824, in execute
  49. return Connection.executors[c](self, object, multiparams, params)
  50. File "/usr/local/lib/python2.6/dist-packages/SQLAlchemy-0.5.3-py2.6.egg/sqlalchemy/engine/base.py", line 888, in _execute_text
  51. return self.__execute_context(context)
  52. File "/usr/local/lib/python2.6/dist-packages/SQLAlchemy-0.5.3-py2.6.egg/sqlalchemy/engine/base.py", line 896, in __execute_context
  53. self._cursor_execute(context.cursor, context.statement, context.parameters[0], context=context)
  54. File "/usr/local/lib/python2.6/dist-packages/SQLAlchemy-0.5.3-py2.6.egg/sqlalchemy/engine/base.py", line 950, in _cursor_execute
  55. self._handle_dbapi_exception(e, statement, parameters, cursor, context)
  56. 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
  57. raise exc.DBAPIError.instance(statement, parameters, e, connection_invalidated=is_disconnect)
  58. sqlalchemy.exc.ProgrammingError: (ProgrammingError) function hot(integer, integer, timestamp with time zone) does not exist
  59. LINE 1: ...idx_hot_reddit_thing_award on reddit_thing_award (hot(ups, d...
  60. ^
  61. HINT: No function matches the given name and argument types. You might need to add explicit type casts.
  62. 'create index idx_hot_reddit_thing_award on reddit_thing_award (hot(ups, downs, date), date)' {}
  63. postgres@lappy:/home/fahad/reddit/r2$ paster shell example.ini
  64. /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)
  65. Engine = entry_point.load()
  66. /home/fahad/reddit/r2/r2/lib/utils/utils.py:29: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  67. import re, datetime, math, random, string, sha, os
  68. /home/fahad/reddit/r2/r2/lib/contrib/memcache.py:50: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  69. from md5 import md5
  70. /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.
  71. - Please begin migrating to the new helpers in webhelpers.html,
  72. webhelpers.text, webhelpers.number, etc.
  73. - Import url_for() directly from routes, and redirect_to() from
  74. pylons.controllers.util (if using Pylons) or from routes.
  75. - All Javascript support has been deprecated. You can write link_to_remote()
  76. yourself or use one of the third-party Javascript libraries.
  77. from webhelpers.rails.asset_tag import javascript_path
  78. Warning: g.media_domain == g.domain. This may give untrusted content access to user cookies
  79. Traceback (most recent call last):
  80. File "/usr/local/bin/paster", line 9, in <module>
  81. load_entry_point('PasteScript==1.7.3', 'console_scripts', 'paster')()
  82. File "/usr/local/lib/python2.6/dist-packages/PasteScript-1.7.3-py2.6.egg/paste/script/command.py", line 84, in run
  83. invoke(command, command_name, options, args[1:])
  84. File "/usr/local/lib/python2.6/dist-packages/PasteScript-1.7.3-py2.6.egg/paste/script/command.py", line 123, in invoke
  85. exit_code = runner.run(args)
  86. File "/usr/local/lib/python2.6/dist-packages/PasteScript-1.7.3-py2.6.egg/paste/script/command.py", line 218, in run
  87. result = self.command()
  88. File "/usr/local/lib/python2.6/dist-packages/Pylons-0.9.6.2-py2.6.egg/pylons/commands.py", line 379, in command
  89. found_base = can_import(base_module)
  90. File "/usr/local/lib/python2.6/dist-packages/Pylons-0.9.6.2-py2.6.egg/pylons/commands.py", line 29, in can_import
  91. __import__(name)
  92. File "/home/fahad/reddit/r2/r2/lib/base.py", line 29, in <module>
  93. from r2.lib.template_helpers import get_domain
  94. File "/home/fahad/reddit/r2/r2/lib/template_helpers.py", line 22, in <module>
  95. from r2.models import *
  96. File "/home/fahad/reddit/r2/r2/models/__init__.py", line 22, in <module>
  97. from account import *
  98. File "/home/fahad/reddit/r2/r2/models/account.py", line 22, in <module>
  99. from r2.lib.db.thing import Thing, Relation, NotFound
  100. File "/home/fahad/reddit/r2/r2/lib/db/thing.py", line 30, in <module>
  101. import tdb_sql as tdb
  102. File "/home/fahad/reddit/r2/r2/lib/db/tdb_sql.py", line 221, in <module>
  103. build_thing_tables()
  104. File "/home/fahad/reddit/r2/r2/lib/db/tdb_sql.py", line 211, in build_thing_tables
  105. index_commands(data_table, 'data'))
  106. File "/home/fahad/reddit/r2/r2/lib/db/tdb_sql.py", line 58, in create_table
  107. t.bind.execute(i)
  108. File "/usr/local/lib/python2.6/dist-packages/SQLAlchemy-0.5.3-py2.6.egg/sqlalchemy/engine/base.py", line 1202, in execute
  109. return connection.execute(statement, *multiparams, **params)
  110. File "/usr/local/lib/python2.6/dist-packages/SQLAlchemy-0.5.3-py2.6.egg/sqlalchemy/engine/base.py", line 824, in execute
  111. return Connection.executors[c](self, object, multiparams, params)
  112. File "/usr/local/lib/python2.6/dist-packages/SQLAlchemy-0.5.3-py2.6.egg/sqlalchemy/engine/base.py", line 888, in _execute_text
  113. return self.__execute_context(context)
  114. File "/usr/local/lib/python2.6/dist-packages/SQLAlchemy-0.5.3-py2.6.egg/sqlalchemy/engine/base.py", line 896, in __execute_context
  115. self._cursor_execute(context.cursor, context.statement, context.parameters[0], context=context)
  116. File "/usr/local/lib/python2.6/dist-packages/SQLAlchemy-0.5.3-py2.6.egg/sqlalchemy/engine/base.py", line 950, in _cursor_execute
  117. self._handle_dbapi_exception(e, statement, parameters, cursor, context)
  118. 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
  119. raise exc.DBAPIError.instance(statement, parameters, e, connection_invalidated=is_disconnect)
  120. sqlalchemy.exc.ProgrammingError: (ProgrammingError) function ip_network(character varying) does not exist
  121. LINE 1: ...p_network_reddit_data_award on reddit_data_award (ip_network...
  122. ^
  123. HINT: No function matches the given name and argument types. You might need to add explicit type casts.
  124. "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