Created
April 23, 2013 04:24
-
-
Save GabiThume/5440840 to your computer and use it in GitHub Desktop.
error in permission
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
====================================================================== | |
FAIL: test_util_versions_info (socorro.unittest.middleware.test_middleware_app.TestMiddlewareApp) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/chs/Desktop/CODE/repos/socorro/socorro/unittest/middleware/test_middleware_app.py", line 868, in test_util_versions_info | |
'/util/versions_info/versions/Firefox:9.0a1+Fennec:7.0/' | |
File "/Users/chs/Desktop/CODE/repos/socorro/socorro/unittest/middleware/test_middleware_app.py", line 298, in get | |
response = a.get(url, expect_errors=expect_errors) | |
File "/Users/chs/Desktop/CODE/repos/socorro/socorro-virtualenv/lib/python2.6/site-packages/paste/fixture.py", line 208, in get | |
return self.do_request(req, status=status) | |
File "/Users/chs/Desktop/CODE/repos/socorro/socorro-virtualenv/lib/python2.6/site-packages/paste/fixture.py", line 389, in do_request | |
**req.environ) | |
File "/Users/chs/Desktop/CODE/repos/socorro/socorro-virtualenv/lib/python2.6/site-packages/paste/wsgilib.py", line 343, in raw_interactive | |
app_iter = application(basic_environ, start_response) | |
File "/Users/chs/Desktop/CODE/repos/socorro/socorro-virtualenv/lib/python2.6/site-packages/paste/lint.py", line 170, in lint_app | |
iterator = application(environ, start_response_wrapper) | |
File "/Users/chs/Desktop/CODE/repos/socorro/socorro-virtualenv/lib/python2.6/site-packages/web/application.py", line 277, in wsgi | |
result = self.handle_with_processors() | |
File "/Users/chs/Desktop/CODE/repos/socorro/socorro-virtualenv/lib/python2.6/site-packages/web/application.py", line 247, in handle_with_processors | |
return process(self.processors) | |
File "/Users/chs/Desktop/CODE/repos/socorro/socorro-virtualenv/lib/python2.6/site-packages/web/application.py", line 243, in process | |
print >> web.debug, traceback.format_exc() | |
File "/Users/chs/Desktop/CODE/repos/socorro/socorro-virtualenv/lib/python2.6/site-packages/web/webapi.py", line 342, in _debugwrite | |
out.write(x) | |
File "/Users/chs/Desktop/CODE/repos/socorro/socorro-virtualenv/lib/python2.6/site-packages/paste/lint.py", line 221, in write | |
self.errors.write(s) | |
File "/Users/chs/Desktop/CODE/repos/socorro/socorro-virtualenv/lib/python2.6/site-packages/paste/wsgilib.py", line 375, in write | |
"No errors should be written (got: %r)" % value) | |
AssertionError: No errors should be written (got: 'Traceback (most recent call last):\n File "/Users/chs/Desktop/CODE/repos/socorro/socorro-virtualenv/lib/python2.6/site-packages/web/application.py", line 235, in process\n return p(lambda: process(processors))\n File "/Users/chs/Desktop/CODE/repos/socorro/socorro-virtualenv/lib/python2.6/site-packages/web/application.py", line 555, in processor\n return handler()\n File "/Users/chs/Desktop/CODE/repos/socorro/socorro-virtualenv/lib/python2.6/site-packages/web/application.py", line 235, in <lambda>\n return p(lambda: process(processors))\n File "/Users/chs/Desktop/CODE/repos/socorro/socorro-virtualenv/lib/python2.6/site-packages/web/application.py", line 243, in process\n print >> web.debug, traceback.format_exc()\n File "/Users/chs/Desktop/CODE/repos/socorro/socorro-virtualenv/lib/python2.6/site-packages/web/webapi.py", line 342, in _debugwrite\n out.write(x)\n File "/Users/chs/Desktop/CODE/repos/socorro/socorro-virtualenv/lib/python2.6/site-packages/paste/lint.py", line 221, in write\n self.errors.write(s)\n File "/Users/chs/Desktop/CODE/repos/socorro/socorro-virtualenv/lib/python2.6/site-packages/paste/wsgilib.py", line 375, in write\n "No errors should be written (got: %r)" % value)\nAssertionError: No errors should be written (got: \'Traceback (most recent call last):\\n File "/Users/chs/Desktop/CODE/repos/socorro/socorro-virtualenv/lib/python2.6/site-packages/web/application.py", line 235, in process\\n return p(lambda: process(processors))\\n File "/Users/chs/Desktop/CODE/repos/socorro/socorro-virtualenv/lib/python2.6/site-packages/web/application.py", line 570, in processor\\n result = handler()\\n File "/Users/chs/Desktop/CODE/repos/socorro/socorro-virtualenv/lib/python2.6/site-packages/web/application.py", line 235, in <lambda>\\n return p(lambda: process(processors))\\n File "/Users/chs/Desktop/CODE/repos/socorro/socorro-virtualenv/lib/python2.6/site-packages/web/application.py", line 243, in process\\n print >> web.debug, traceback.format_exc()\\n File "/Users/chs/Desktop/CODE/repos/socorro/socorro-virtualenv/lib/python2.6/site-packages/web/webapi.py", line 342, in _debugwrite\\n out.write(x)\\n File "/Users/chs/Desktop/CODE/repos/socorro/socorro-virtualenv/lib/python2.6/site-packages/paste/lint.py", line 221, in write\\n self.errors.write(s)\\n File "/Users/chs/Desktop/CODE/repos/socorro/socorro-virtualenv/lib/python2.6/site-packages/paste/wsgilib.py", line 375, in write\\n "No errors should be written (got: %r)" % value)\\nAssertionError: No errors should be written (got: \\\'Traceback (most recent call last):\\\\n File "/Users/chs/Desktop/CODE/repos/socorro/socorro-virtualenv/lib/python2.6/site-packages/web/application.py", line 237, in process\\\\n return self.handle()\\\\n File "/Users/chs/Desktop/CODE/repos/socorro/socorro-virtualenv/lib/python2.6/site-packages/web/application.py", line 228, in handle\\\\n return self._delegate(fn, self.fvars, args)\\\\n File "/Users/chs/Desktop/CODE/repos/socorro/socorro-virtualenv/lib/python2.6/site-packages/web/application.py", line 394, in _delegate\\\\n return handle_class(f)\\\\n File "/Users/chs/Desktop/CODE/repos/socorro/socorro-virtualenv/lib/python2.6/site-packages/web/application.py", line 385, in handle_class\\\\n return tocall(*args)\\\\n File "/Users/chs/Desktop/CODE/repos/socorro/socorro/middleware/middleware_app.py", line 396, in GET\\\\n result = method(**params)\\\\n File "/Users/chs/Desktop/CODE/repos/socorro/socorro/external/postgresql/util.py", line 90, in versions_info\\\\n results = self.query(sql, params, error_message=error_message)\\\\n File "/Users/chs/Desktop/CODE/repos/socorro/socorro/external/postgresql/base.py", line 82, in query\\\\n raise DatabaseError(error_message)\\\\nDatabaseError: Failed to retrieve versions data from PostgreSQL\\\\n\\\')\\n\')\n') | |
-------------------- >> begin captured logging << -------------------- | |
webapi: ERROR: Failed to retrieve versions data from PostgreSQL | |
Traceback (most recent call last): | |
File "/Users/chs/Desktop/CODE/repos/socorro/socorro/external/postgresql/base.py", line 77, in query | |
results = execute_query_fetchall(connection, sql, params) | |
File "/Users/chs/Desktop/CODE/repos/socorro/socorro/external/postgresql/dbapi2_util.py", line 55, in execute_query_fetchall | |
a_cursor.execute(sql, parameters) | |
ProgrammingError: permission denied for relation product_versions | |
--------------------- >> end captured logging << --------------------- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
"psql -c 'alter user breakpad_rw superuser template1" fixed it!