find . -type f -name '*.py[co]' -exec rm -f {} \;
rm -f bin/buildout
rm -f src/oopstools/settings.py
bzr clean-tree --unknown --force
bzr up download-cache
python bootstrap.py \
--setup-source=download-cache/ez_setup.py \
--download-base=download-cache/dist --eggs=eggs \
--version=1.5.2
Generated script '/home/pqm/pqm-workdir/oops-tools/bin/buildout'.
bin/buildout configuration:db-port=5433
Develop: '/home/pqm/pqm-workdir/oops-tools/.'
Uninstalling filetemplates.
Updating scripts.
Installing filetemplates.
Updating django.
Updating docs.
Updating tags.
bin/test
Creating test database for alias 'default'...
Destroying test database for alias 'default'...
W: line 4 [buildbot-staging]: Deprecated key 'location' used
I: This option will be removed in the future; please update your configuration
W: line 2 [pqm]: Deprecated key 'location' used
I: This option will be removed in the future; please update your configuration
W: line 3 [pqm-oops-tools]: Deprecated key 'location' used
I: This option will be removed in the future; please update your configuration
W: line 1 [precise]: Deprecated key 'location' used
I: This option will be removed in the future; please update your configuration
I: [pqm-oops-tools chroot] Running command: "cd /home/pqm/pqm-workdir/oops-tools && make check"
Nothing to delete.
Tree is up to date at revision 569 of branch http://bazaar.launchpad.net/~launchpad/lp-source-dependencies/trunk
/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/template/loaders/filesystem.py:58: DeprecationWarning: 'django.template.loaders.filesystem.load_template_source' is deprecated; use 'django.template.loaders.filesystem.Loader' instead.
DeprecationWarning
/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/template/loaders/app_directories.py:71: DeprecationWarning: 'django.template.loaders.app_directories.load_template_source' is deprecated; use 'django.template.loaders.app_directories.Loader' instead.
DeprecationWarning
/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/contrib/auth/__init__.py:26: DeprecationWarning: Authentication backends without a `supports_object_permissions` attribute are deprecated. Please define it in <class 'django_openid_auth.auth.OpenIDBackend'>.
DeprecationWarning)
/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/contrib/auth/__init__.py:31: DeprecationWarning: Authentication backends without a `supports_anonymous_user` attribute are deprecated. Please define it in <class 'django_openid_auth.auth.OpenIDBackend'>.
DeprecationWarning)
/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/contrib/auth/models.py:393: DeprecationWarning: The user messaging API is deprecated. Please update your code to use the new messages framework.
category=DeprecationWarning)
........................................E.EE
======================================================================
ERROR: test_no_recent_oopses (test_report.ReportTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pqm/pqm-workdir/oops-tools/src/oopstools/oops/test/test_report.py", line 45, in test_no_recent_oopses
resp = self.client.get('/reports/%s/' % (report_name,))
File "/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/test/client.py", line 439, in get
response = super(Client, self).get(path, data=data, **extra)
File "/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/test/client.py", line 241, in get
return self.request(**r)
File "/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/home/pqm/pqm-workdir/oops-tools/src/oopstools/oops/views.py", line 130, in report
recent = get_recent_oops_info(r)
File "/home/pqm/pqm-workdir/oops-tools/src/oopstools/oops/views.py", line 111, in get_recent_oops_info
""", [prefix_ids]))
File "/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/db/models/query.py", line 1324, in __iter__
query = iter(self.query)
File "/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/db/models/sql/query.py", line 67, in __iter__
self._execute_query()
File "/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/db/models/sql/query.py", line 81, in _execute_query
self.cursor.execute(self.sql, self.params)
File "/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/db/backends/postgresql_psycopg2/base.py", line 44, in execute
return self.cursor.execute(query, args)
DatabaseError: syntax error at or near "OVER"
LINE 3: select *, rank() OVER w AS pos ^
======================================================================
ERROR: test_number_of_queries (test_report.ReportTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pqm/pqm-workdir/oops-tools/src/oopstools/oops/test/test_report.py", line 92, in test_number_of_queries
expected_queries, self.client.get, url)
File "/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/test/testcases.py", line 544, in assertNumQueries
func(*args, **kwargs)
File "/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/test/client.py", line 439, in get
response = super(Client, self).get(path, data=data, **extra)
File "/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/test/client.py", line 241, in get
return self.request(**r)
File "/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/home/pqm/pqm-workdir/oops-tools/src/oopstools/oops/views.py", line 130, in report
recent = get_recent_oops_info(r)
File "/home/pqm/pqm-workdir/oops-tools/src/oopstools/oops/views.py", line 111, in get_recent_oops_info
""", [prefix_ids]))
File "/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/db/models/query.py", line 1324, in __iter__
query = iter(self.query)
File "/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/db/models/sql/query.py", line 67, in __iter__
self._execute_query()
File "/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/db/models/sql/query.py", line 81, in _execute_query
self.cursor.execute(self.sql, self.params)
File "/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/db/backends/util.py", line 34, in execute
return self.cursor.execute(sql, params)
File "/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/db/backends/postgresql_psycopg2/base.py", line 44, in execute
return self.cursor.execute(query, args)
DatabaseError: syntax error at or near "OVER"
LINE 3: select *, rank() OVER w AS pos ^
======================================================================
ERROR: test_recent_oopses (test_report.ReportTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pqm/pqm-workdir/oops-tools/src/oopstools/oops/test/test_report.py", line 76, in test_recent_oopses
resp = self.client.get('/reports/%s/' % (report_name,))
File "/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/test/client.py", line 439, in get
response = super(Client, self).get(path, data=data, **extra)
File "/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/test/client.py", line 241, in get
return self.request(**r)
File "/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/home/pqm/pqm-workdir/oops-tools/src/oopstools/oops/views.py", line 130, in report
recent = get_recent_oops_info(r)
File "/home/pqm/pqm-workdir/oops-tools/src/oopstools/oops/views.py", line 111, in get_recent_oops_info
""", [prefix_ids]))
File "/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/db/models/query.py", line 1324, in __iter__
query = iter(self.query)
File "/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/db/models/sql/query.py", line 67, in __iter__
self._execute_query()
File "/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/db/models/sql/query.py", line 81, in _execute_query
self.cursor.execute(self.sql, self.params)
File "/home/pqm/pqm-workdir/oops-tools/eggs/Django-1.3.3-py2.6.egg/django/db/backends/postgresql_psycopg2/base.py", line 44, in execute
return self.cursor.execute(query, args)
DatabaseError: syntax error at or near "OVER"
LINE 3: select *, rank() OVER w AS pos ^
----------------------------------------------------------------------
Ran 44 tests in 9.056s
The attempt to merge lp:~james-w/python-oops-tools/recent-oopses into lp:python-oops-tools failed.Below is the output from the failed tests.
find . -type f -name '*.py[co]' -exec rm -f {} \; settings. py source= download- cache/ez_ setup.py \ base=download- cache/dist --eggs=eggs \ pqm/pqm- workdir/oops-tools/bin/buildout'. db-port= 5433 pqm/pqm- workdir/oops-tools/.'
rm -f bin/buildout
rm -f src/oopstools/
bzr clean-tree --unknown --force
bzr up download-cache
python bootstrap.py \
--setup-
--download-
--version=1.5.2
Generated script '/home/
bin/buildout configuration:
Develop: '/home/
Uninstalling filetemplates.
Updating scripts.
Installing filetemplates.
Updating django.
Updating docs.
Updating tags.
bin/test
Creating test database for alias 'default'...
Destroying test database for alias 'default'...
W: line 4 [buildbot-staging]: Deprecated key 'location' used pqm-workdir/oops-tools && make check" bazaar. launchpad. net/~launchpad/ lp-source- dependencies/ trunk pqm-workdir/oops-tools/eggs/Django- 1.3.3-py2. 6.egg/django/ template/ loaders/ filesystem. py:58: DeprecationWarning: 'django. template. loaders. filesystem. load_template_ source' is deprecated; use 'django. template. loaders. filesystem. Loader' instead. rning pqm-workdir/oops-tools/eggs/Django- 1.3.3-py2. 6.egg/django/ template/ loaders/ app_directories .py:71: DeprecationWarning: 'django. template. loaders. app_directories .load_template_ source' is deprecated; use 'django. template. loaders. app_directories .Loader' instead. rning pqm-workdir/oops-tools/eggs/Django- 1.3.3-py2. 6.egg/django/ contrib/ auth/__ init__. py:26: DeprecationWarning: Authentication backends without a `supports_ object_ permissions` attribute are deprecated. Please define it in <class 'django_ openid_ auth.auth. OpenIDBackend' >. rning) pqm-workdir/oops-tools/eggs/Django- 1.3.3-py2. 6.egg/django/ contrib/ auth/__ init__. py:31: DeprecationWarning: Authentication backends without a `supports_ anonymous_ user` attribute are deprecated. Please define it in <class 'django_ openid_ auth.auth. OpenIDBackend' >. rning) pqm-workdir/oops-tools/eggs/Django- 1.3.3-py2. 6.egg/django/ contrib/ auth/models. py:393: DeprecationWarning: The user messaging API is deprecated. Please update your code to use the new messages framework. DeprecationWarn ing) ....... ....... ....... ....... .....E. EE ======= ======= ======= ======= ======= ======= ======= ======= ======= recent_ oopses (test_report. ReportTests) ------- ------- ------- ------- ------- ------- ------- ------- ------- pqm/pqm- workdir/oops-tools/src/oopstools/ oops/test/ test_report. py", line 45, in test_no_ recent_ oopses get('/reports/ %s/' % (report_name,)) pqm/pqm- workdir/oops-tools/eggs/Django- 1.3.3-py2. 6.egg/django/ test/client. py", line 439, in get pqm/pqm- workdir/oops-tools/eggs/Django- 1.3.3-py2. 6.egg/django/ test/client. py", line 241, in get pqm/pqm- workdir/oops-tools/eggs/Django- 1.3.3-py2. 6.egg/django/ core/handlers/ base.py" , line 111, in get_response pqm/pqm- workdir/oops-tools/src/oopstools/ oops/views. py", line 130, in report oops_info( r) pqm/pqm- workdir/oops-tools/src/oopstools/ oops/views. py", line 111, in get_recent_ oops_info pqm/pqm- workdir/oops-tools/eggs/Django- 1.3.3-py2. 6.egg/django/ db/models/ query.py" , line 1324, in __iter__ pqm/pqm- workdir/oops-tools/eggs/Django- 1.3.3-py2. 6.egg/django/ db/models/ sql/query. py", line 67, in __iter__ _execute_ query() pqm/pqm- workdir/oops-tools/eggs/Django- 1.3.3-py2. 6.egg/django/ db/models/ sql/query. py", line 81, in _execute_query cursor. execute( self.sql, self.params) pqm/pqm- workdir/oops-tools/eggs/Django- 1.3.3-py2. 6.egg/django/ db/backends/ postgresql_ psycopg2/ base.py" , line 44, in execute execute( query, args)
^
I: This option will be removed in the future; please update your configuration
W: line 2 [pqm]: Deprecated key 'location' used
I: This option will be removed in the future; please update your configuration
W: line 3 [pqm-oops-tools]: Deprecated key 'location' used
I: This option will be removed in the future; please update your configuration
W: line 1 [precise]: Deprecated key 'location' used
I: This option will be removed in the future; please update your configuration
I: [pqm-oops-tools chroot] Running command: "cd /home/pqm/
Nothing to delete.
Tree is up to date at revision 569 of branch http://
/home/pqm/
DeprecationWa
/home/pqm/
DeprecationWa
/home/pqm/
DeprecationWa
/home/pqm/
DeprecationWa
/home/pqm/
category=
.......
=======
ERROR: test_no_
-------
Traceback (most recent call last):
File "/home/
resp = self.client.
File "/home/
response = super(Client, self).get(path, data=data, **extra)
File "/home/
return self.request(**r)
File "/home/
response = callback(request, *callback_args, **callback_kwargs)
File "/home/
recent = get_recent_
File "/home/
""", [prefix_ids]))
File "/home/
query = iter(self.query)
File "/home/
self.
File "/home/
self.
File "/home/
return self.cursor.
DatabaseError: syntax error at or near "OVER"
LINE 3: select *, rank() OVER w AS pos
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= of_queries (test_report. ReportTests) ------- ------- ------- ------- ------- ------- ------- ------- ------- pqm/pqm- workdir/oops-tools/src/oopstools/ oops/test/ test_report. py", line 92, in test_number_ of_queries queries, self.client.get, url) pqm/pqm- workdir/oops-tools/eggs/Django- 1.3.3-py2. 6.egg/django/ test/testcases. py", line 544, in assertNumQueries pqm/pqm- workdir/oops-tools/eggs/Django- 1.3.3-py2. 6.egg/django/ test/client. py", line 439, in get pqm/pqm- workdir/oops-tools/eggs/Django- 1.3.3-py2. 6.egg/django/ test/client. py", line 241, in get pqm/pqm- workdir/oops-tools/eggs/Django- 1.3.3-py2. 6.egg/django/ core/handlers/ base.py" , line 111, in get_response pqm/pqm- workdir/oops-tools/src/oopstools/ oops/views. py", line 130, in report oops_info( r) pqm/pqm- workdir/oops-tools/src/oopstools/ oops/views. py", line 111, in get_recent_ oops_info pqm/pqm- workdir/oops-tools/eggs/Django- 1.3.3-py2. 6.egg/django/ db/models/ query.py" , line 1324, in __iter__ pqm/pqm- workdir/oops-tools/eggs/Django- 1.3.3-py2. 6.egg/django/ db/models/ sql/query. py", line 67, in __iter__ _execute_ query() pqm/pqm- workdir/oops-tools/eggs/Django- 1.3.3-py2. 6.egg/django/ db/models/ sql/query. py", line 81, in _execute_query cursor. execute( self.sql, self.params) pqm/pqm- workdir/oops-tools/eggs/Django- 1.3.3-py2. 6.egg/django/ db/backends/ util.py" , line 34, in execute execute( sql, params) pqm/pqm- workdir/oops-tools/eggs/Django- 1.3.3-py2. 6.egg/django/ db/backends/ postgresql_ psycopg2/ base.py" , line 44, in execute execute( query, args)
^
ERROR: test_number_
-------
Traceback (most recent call last):
File "/home/
expected_
File "/home/
func(*args, **kwargs)
File "/home/
response = super(Client, self).get(path, data=data, **extra)
File "/home/
return self.request(**r)
File "/home/
response = callback(request, *callback_args, **callback_kwargs)
File "/home/
recent = get_recent_
File "/home/
""", [prefix_ids]))
File "/home/
query = iter(self.query)
File "/home/
self.
File "/home/
self.
File "/home/
return self.cursor.
File "/home/
return self.cursor.
DatabaseError: syntax error at or near "OVER"
LINE 3: select *, rank() OVER w AS pos
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ReportTests) ------- ------- ------- ------- ------- ------- ------- ------- ------- pqm/pqm- workdir/oops-tools/src/oopstools/ oops/test/ test_report. py", line 76, in test_recent_oopses get('/reports/ %s/' % (report_name,)) pqm/pqm- workdir/oops-tools/eggs/Django- 1.3.3-py2. 6.egg/django/ test/client. py", line 439, in get pqm/pqm- workdir/oops-tools/eggs/Django- 1.3.3-py2. 6.egg/django/ test/client. py", line 241, in get pqm/pqm- workdir/oops-tools/eggs/Django- 1.3.3-py2. 6.egg/django/ core/handlers/ base.py" , line 111, in get_response pqm/pqm- workdir/oops-tools/src/oopstools/ oops/views. py", line 130, in report oops_info( r) pqm/pqm- workdir/oops-tools/src/oopstools/ oops/views. py", line 111, in get_recent_ oops_info pqm/pqm- workdir/oops-tools/eggs/Django- 1.3.3-py2. 6.egg/django/ db/models/ query.py" , line 1324, in __iter__ pqm/pqm- workdir/oops-tools/eggs/Django- 1.3.3-py2. 6.egg/django/ db/models/ sql/query. py", line 67, in __iter__ _execute_ query() pqm/pqm- workdir/oops-tools/eggs/Django- 1.3.3-py2. 6.egg/django/ db/models/ sql/query. py", line 81, in _execute_query cursor. execute( self.sql, self.params) pqm/pqm- workdir/oops-tools/eggs/Django- 1.3.3-py2. 6.egg/django/ db/backends/ postgresql_ psycopg2/ base.py" , line 44, in execute execute( query, args)
^
ERROR: test_recent_oopses (test_report.
-------
Traceback (most recent call last):
File "/home/
resp = self.client.
File "/home/
response = super(Client, self).get(path, data=data, **extra)
File "/home/
return self.request(**r)
File "/home/
response = callback(request, *callback_args, **callback_kwargs)
File "/home/
recent = get_recent_
File "/home/
""", [prefix_ids]))
File "/home/
query = iter(self.query)
File "/home/
self.
File "/home/
self.
File "/home/
return self.cursor.
DatabaseError: syntax error at or near "OVER"
LINE 3: select *, rank() OVER w AS pos
------- ------- ------- ------- ------- ------- ------- ------- ------- -------
Ran 44 tests in 9.056s
FAILED (errors=3)
make: *** [check] Error 1