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.
+N dist/cssselect-0.9.1.tar.gz
+N dist/subvertpy-0.9.1.tar.gz
All changes applied successfully.
Updated to 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(report)
File "/home/pqm/pqm-workdir/oops-tools/src/oopstools/oops/views.py", line 100, in get_recent_oops_info
prefix_ids = list(report.prefixes.values_list('pk', flat=True))
AttributeError: 'function' object has no attribute 'prefixes'
======================================================================
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(report)
File "/home/pqm/pqm-workdir/oops-tools/src/oopstools/oops/views.py", line 100, in get_recent_oops_info
prefix_ids = list(report.prefixes.values_list('pk', flat=True))
AttributeError: 'function' object has no attribute 'prefixes'
======================================================================
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(report)
File "/home/pqm/pqm-workdir/oops-tools/src/oopstools/oops/views.py", line 100, in get_recent_oops_info
prefix_ids = list(report.prefixes.values_list('pk', flat=True))
AttributeError: 'function' object has no attribute 'prefixes'
----------------------------------------------------------------------
Ran 44 tests in 9.121s
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" 0.9.1.tar. gz 0.9.1.tar. gz 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( report) pqm/pqm- workdir/oops-tools/src/oopstools/ oops/views. py", line 100, in get_recent_ oops_info prefixes. values_ list('pk' , flat=True))
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.
+N dist/cssselect-
+N dist/subvertpy-
All changes applied successfully.
Updated to 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 = list(report.
AttributeError: 'function' object has no attribute 'prefixes'
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= 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( report) pqm/pqm- workdir/oops-tools/src/oopstools/ oops/views. py", line 100, in get_recent_ oops_info prefixes. values_ list('pk' , flat=True))
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 = list(report.
AttributeError: 'function' object has no attribute 'prefixes'
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= 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( report) pqm/pqm- workdir/oops-tools/src/oopstools/ oops/views. py", line 100, in get_recent_ oops_info prefixes. values_ list('pk' , flat=True))
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 = list(report.
AttributeError: 'function' object has no attribute 'prefixes'
------- ------- ------- ------- ------- ------- ------- ------- ------- -------
Ran 44 tests in 9.121s
FAILED (errors=3)
make: *** [check] Error 1