Page MenuHomeSoftware Heritage

Build 1335

You are viewing an older run of this build. View Current Build

Properties

Buildable
B1009: Diff 811
Build Plan
Plan 2 Software Heritage Python tests
Status
Passed

History

Lint

When
Completed at Sep 15 2017, 8:05 PM · Built for 9 s
Status
Passed
1 empty logs are hidden. Show all logs.

Build Log 4407 (remote - stdout)
25 - 50 - 100 - Unlimited Lines

1python3 -m flake8 swh
2

Python tests

When
Completed at Sep 15 2017, 8:05 PM · Built for 28 s
Status
Failed
1 empty logs are hidden. Show all logs.

Build Log 4406 (remote - stderr)
25 - 50 - 100 - Unlimited Lines

1W: unknown repository 'swh-environment', you might want to remove it
2(0.001) QUERY = 'BEGIN' - PARAMS = (); args=None
3api_check_content_known (tests.api.views.test_content.ContentApiTestCase) ... Internal Server Error: /api/1/content/known/sha1:blah/
4Traceback (most recent call last):
5 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
6 return self._urlconf_module
7AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
8
9During handling of the above exception, another exception occurred:
10
11Traceback (most recent call last):
12 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
13 resolver_match = resolver.resolve(request.path_info)
14 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
15 for pattern in self.url_patterns:
16 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
17 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
18 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
19 self._urlconf_module = import_module(self.urlconf_name)
20 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
21 return _bootstrap._gcd_import(name[level:], package, level)
22 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
23 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
24 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
25 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
26 File "<frozen importlib._bootstrap>", line 1129, in _exec
27 File "<frozen importlib._bootstrap>", line 1471, in exec_module
28 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
29 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
30 url(r'^ui/', include('swh.web.ui.urls')),
31 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
32 urlconf_module = import_module(urlconf_module)
33 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
34 return _bootstrap._gcd_import(name[level:], package, level)
35 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
36 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
37 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
38 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
39 File "<frozen importlib._bootstrap>", line 1129, in _exec
40 File "<frozen importlib._bootstrap>", line 1471, in exec_module
41 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
42 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
43 from swh.web.ui.views import (
44 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
45 from swh.web.ui.utils import gen_path_info
46 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
47 import magic
48ImportError: No module named 'magic'
49ERROR
50(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
51api_check_content_known_as_yaml (tests.api.views.test_content.ContentApiTestCase) ... Internal Server Error: /api/1/content/known/sha1:halb,sha1_git:hello/
52Traceback (most recent call last):
53 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
54 return self._urlconf_module
55AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
56
57During handling of the above exception, another exception occurred:
58
59Traceback (most recent call last):
60 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
61 resolver_match = resolver.resolve(request.path_info)
62 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
63 for pattern in self.url_patterns:
64 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
65 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
66 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
67 self._urlconf_module = import_module(self.urlconf_name)
68 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
69 return _bootstrap._gcd_import(name[level:], package, level)
70 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
71 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
72 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
73 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
74 File "<frozen importlib._bootstrap>", line 1129, in _exec
75 File "<frozen importlib._bootstrap>", line 1471, in exec_module
76 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
77 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
78 url(r'^ui/', include('swh.web.ui.urls')),
79 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
80 urlconf_module = import_module(urlconf_module)
81 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
82 return _bootstrap._gcd_import(name[level:], package, level)
83 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
84 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
85 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
86 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
87 File "<frozen importlib._bootstrap>", line 1129, in _exec
88 File "<frozen importlib._bootstrap>", line 1471, in exec_module
89 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
90 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
91 from swh.web.ui.views import (
92 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
93 from swh.web.ui.utils import gen_path_info
94 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
95 import magic
96ImportError: No module named 'magic'
97ERROR
98(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
99api_check_content_known_not_found (tests.api.views.test_content.ContentApiTestCase) ... Internal Server Error: /api/1/content/known/sha1:halb/
100Traceback (most recent call last):
101 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
102 return self._urlconf_module
103AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
104
105During handling of the above exception, another exception occurred:
106
107Traceback (most recent call last):
108 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
109 resolver_match = resolver.resolve(request.path_info)
110 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
111 for pattern in self.url_patterns:
112 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
113 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
114 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
115 self._urlconf_module = import_module(self.urlconf_name)
116 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
117 return _bootstrap._gcd_import(name[level:], package, level)
118 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
119 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
120 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
121 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
122 File "<frozen importlib._bootstrap>", line 1129, in _exec
123 File "<frozen importlib._bootstrap>", line 1471, in exec_module
124 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
125 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
126 url(r'^ui/', include('swh.web.ui.urls')),
127 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
128 urlconf_module = import_module(urlconf_module)
129 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
130 return _bootstrap._gcd_import(name[level:], package, level)
131 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
132 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
133 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
134 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
135 File "<frozen importlib._bootstrap>", line 1129, in _exec
136 File "<frozen importlib._bootstrap>", line 1471, in exec_module
137 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
138 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
139 from swh.web.ui.views import (
140 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
141 from swh.web.ui.utils import gen_path_info
142 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
143 import magic
144ImportError: No module named 'magic'
145ERROR
146(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
147api_check_content_known_post_as_yaml (tests.api.views.test_content.ContentApiTestCase) ... Internal Server Error: /api/1/content/known/search/
148Traceback (most recent call last):
149 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
150 return self._urlconf_module
151AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
152
153During handling of the above exception, another exception occurred:
154
155Traceback (most recent call last):
156 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
157 resolver_match = resolver.resolve(request.path_info)
158 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
159 for pattern in self.url_patterns:
160 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
161 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
162 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
163 self._urlconf_module = import_module(self.urlconf_name)
164 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
165 return _bootstrap._gcd_import(name[level:], package, level)
166 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
167 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
168 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
169 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
170 File "<frozen importlib._bootstrap>", line 1129, in _exec
171 File "<frozen importlib._bootstrap>", line 1471, in exec_module
172 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
173 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
174 url(r'^ui/', include('swh.web.ui.urls')),
175 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
176 urlconf_module = import_module(urlconf_module)
177 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
178 return _bootstrap._gcd_import(name[level:], package, level)
179 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
180 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
181 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
182 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
183 File "<frozen importlib._bootstrap>", line 1129, in _exec
184 File "<frozen importlib._bootstrap>", line 1471, in exec_module
185 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
186 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
187 from swh.web.ui.views import (
188 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
189 from swh.web.ui.utils import gen_path_info
190 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
191 import magic
192ImportError: No module named 'magic'
193ERROR
194(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
195api_content_ctags (tests.api.views.test_content.ContentApiTestCase) ... Internal Server Error: /api/1/content/sha1_git:b04caf10e9535160d90e874b45aa426de762f19f/ctags/
196Traceback (most recent call last):
197 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
198 return self._urlconf_module
199AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
200
201During handling of the above exception, another exception occurred:
202
203Traceback (most recent call last):
204 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
205 resolver_match = resolver.resolve(request.path_info)
206 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
207 for pattern in self.url_patterns:
208 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
209 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
210 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
211 self._urlconf_module = import_module(self.urlconf_name)
212 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
213 return _bootstrap._gcd_import(name[level:], package, level)
214 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
215 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
216 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
217 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
218 File "<frozen importlib._bootstrap>", line 1129, in _exec
219 File "<frozen importlib._bootstrap>", line 1471, in exec_module
220 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
221 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
222 url(r'^ui/', include('swh.web.ui.urls')),
223 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
224 urlconf_module = import_module(urlconf_module)
225 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
226 return _bootstrap._gcd_import(name[level:], package, level)
227 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
228 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
229 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
230 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
231 File "<frozen importlib._bootstrap>", line 1129, in _exec
232 File "<frozen importlib._bootstrap>", line 1471, in exec_module
233 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
234 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
235 from swh.web.ui.views import (
236 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
237 from swh.web.ui.utils import gen_path_info
238 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
239 import magic
240ImportError: No module named 'magic'
241ERROR
242(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
243api_content_filetype (tests.api.views.test_content.ContentApiTestCase) ... Internal Server Error: /api/1/content/sha1_git:b04caf10e9535160d90e874b45aa426de762f19f/filetype/
244Traceback (most recent call last):
245 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
246 return self._urlconf_module
247AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
248
249During handling of the above exception, another exception occurred:
250
251Traceback (most recent call last):
252 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
253 resolver_match = resolver.resolve(request.path_info)
254 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
255 for pattern in self.url_patterns:
256 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
257 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
258 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
259 self._urlconf_module = import_module(self.urlconf_name)
260 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
261 return _bootstrap._gcd_import(name[level:], package, level)
262 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
263 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
264 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
265 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
266 File "<frozen importlib._bootstrap>", line 1129, in _exec
267 File "<frozen importlib._bootstrap>", line 1471, in exec_module
268 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
269 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
270 url(r'^ui/', include('swh.web.ui.urls')),
271 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
272 urlconf_module = import_module(urlconf_module)
273 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
274 return _bootstrap._gcd_import(name[level:], package, level)
275 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
276 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
277 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
278 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
279 File "<frozen importlib._bootstrap>", line 1129, in _exec
280 File "<frozen importlib._bootstrap>", line 1471, in exec_module
281 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
282 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
283 from swh.web.ui.views import (
284 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
285 from swh.web.ui.utils import gen_path_info
286 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
287 import magic
288ImportError: No module named 'magic'
289ERROR
290(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
291api_content_filetype_sha_not_found (tests.api.views.test_content.ContentApiTestCase) ... Internal Server Error: /api/1/content/sha1:40e71b8614fcd89ccd17ca2b1d9e66c5b00a6d03/filetype/
292Traceback (most recent call last):
293 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
294 return self._urlconf_module
295AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
296
297During handling of the above exception, another exception occurred:
298
299Traceback (most recent call last):
300 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
301 resolver_match = resolver.resolve(request.path_info)
302 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
303 for pattern in self.url_patterns:
304 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
305 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
306 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
307 self._urlconf_module = import_module(self.urlconf_name)
308 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
309 return _bootstrap._gcd_import(name[level:], package, level)
310 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
311 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
312 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
313 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
314 File "<frozen importlib._bootstrap>", line 1129, in _exec
315 File "<frozen importlib._bootstrap>", line 1471, in exec_module
316 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
317 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
318 url(r'^ui/', include('swh.web.ui.urls')),
319 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
320 urlconf_module = import_module(urlconf_module)
321 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
322 return _bootstrap._gcd_import(name[level:], package, level)
323 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
324 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
325 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
326 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
327 File "<frozen importlib._bootstrap>", line 1129, in _exec
328 File "<frozen importlib._bootstrap>", line 1471, in exec_module
329 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
330 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
331 from swh.web.ui.views import (
332 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
333 from swh.web.ui.utils import gen_path_info
334 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
335 import magic
336ImportError: No module named 'magic'
337ERROR
338(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
339api_content_language (tests.api.views.test_content.ContentApiTestCase) ... Internal Server Error: /api/1/content/sha1_git:b04caf10e9535160d90e874b45aa426de762f19f/language/
340Traceback (most recent call last):
341 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
342 return self._urlconf_module
343AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
344
345During handling of the above exception, another exception occurred:
346
347Traceback (most recent call last):
348 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
349 resolver_match = resolver.resolve(request.path_info)
350 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
351 for pattern in self.url_patterns:
352 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
353 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
354 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
355 self._urlconf_module = import_module(self.urlconf_name)
356 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
357 return _bootstrap._gcd_import(name[level:], package, level)
358 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
359 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
360 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
361 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
362 File "<frozen importlib._bootstrap>", line 1129, in _exec
363 File "<frozen importlib._bootstrap>", line 1471, in exec_module
364 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
365 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
366 url(r'^ui/', include('swh.web.ui.urls')),
367 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
368 urlconf_module = import_module(urlconf_module)
369 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
370 return _bootstrap._gcd_import(name[level:], package, level)
371 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
372 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
373 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
374 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
375 File "<frozen importlib._bootstrap>", line 1129, in _exec
376 File "<frozen importlib._bootstrap>", line 1471, in exec_module
377 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
378 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
379 from swh.web.ui.views import (
380 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
381 from swh.web.ui.utils import gen_path_info
382 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
383 import magic
384ImportError: No module named 'magic'
385ERROR
386(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
387api_content_language_sha_not_found (tests.api.views.test_content.ContentApiTestCase) ... Internal Server Error: /api/1/content/sha1:40e71b8614fcd89ccd17ca2b1d9e66c5b00a6d03/language/
388Traceback (most recent call last):
389 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
390 return self._urlconf_module
391AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
392
393During handling of the above exception, another exception occurred:
394
395Traceback (most recent call last):
396 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
397 resolver_match = resolver.resolve(request.path_info)
398 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
399 for pattern in self.url_patterns:
400 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
401 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
402 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
403 self._urlconf_module = import_module(self.urlconf_name)
404 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
405 return _bootstrap._gcd_import(name[level:], package, level)
406 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
407 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
408 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
409 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
410 File "<frozen importlib._bootstrap>", line 1129, in _exec
411 File "<frozen importlib._bootstrap>", line 1471, in exec_module
412 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
413 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
414 url(r'^ui/', include('swh.web.ui.urls')),
415 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
416 urlconf_module = import_module(urlconf_module)
417 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
418 return _bootstrap._gcd_import(name[level:], package, level)
419 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
420 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
421 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
422 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
423 File "<frozen importlib._bootstrap>", line 1129, in _exec
424 File "<frozen importlib._bootstrap>", line 1471, in exec_module
425 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
426 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
427 from swh.web.ui.views import (
428 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
429 from swh.web.ui.utils import gen_path_info
430 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
431 import magic
432ImportError: No module named 'magic'
433ERROR
434(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
435api_content_license (tests.api.views.test_content.ContentApiTestCase) ... Internal Server Error: /api/1/content/sha1_git:b04caf10e9535160d90e874b45aa426de762f19f/license/
436Traceback (most recent call last):
437 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
438 return self._urlconf_module
439AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
440
441During handling of the above exception, another exception occurred:
442
443Traceback (most recent call last):
444 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
445 resolver_match = resolver.resolve(request.path_info)
446 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
447 for pattern in self.url_patterns:
448 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
449 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
450 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
451 self._urlconf_module = import_module(self.urlconf_name)
452 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
453 return _bootstrap._gcd_import(name[level:], package, level)
454 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
455 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
456 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
457 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
458 File "<frozen importlib._bootstrap>", line 1129, in _exec
459 File "<frozen importlib._bootstrap>", line 1471, in exec_module
460 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
461 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
462 url(r'^ui/', include('swh.web.ui.urls')),
463 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
464 urlconf_module = import_module(urlconf_module)
465 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
466 return _bootstrap._gcd_import(name[level:], package, level)
467 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
468 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
469 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
470 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
471 File "<frozen importlib._bootstrap>", line 1129, in _exec
472 File "<frozen importlib._bootstrap>", line 1471, in exec_module
473 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
474 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
475 from swh.web.ui.views import (
476 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
477 from swh.web.ui.utils import gen_path_info
478 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
479 import magic
480ImportError: No module named 'magic'
481ERROR
482(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
483api_content_license_sha_not_found (tests.api.views.test_content.ContentApiTestCase) ... Internal Server Error: /api/1/content/sha1:40e71b8614fcd89ccd17ca2b1d9e66c5b00a6d03/license/
484Traceback (most recent call last):
485 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
486 return self._urlconf_module
487AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
488
489During handling of the above exception, another exception occurred:
490
491Traceback (most recent call last):
492 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
493 resolver_match = resolver.resolve(request.path_info)
494 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
495 for pattern in self.url_patterns:
496 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
497 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
498 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
499 self._urlconf_module = import_module(self.urlconf_name)
500 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
501 return _bootstrap._gcd_import(name[level:], package, level)
502 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
503 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
504 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
505 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
506 File "<frozen importlib._bootstrap>", line 1129, in _exec
507 File "<frozen importlib._bootstrap>", line 1471, in exec_module
508 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
509 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
510 url(r'^ui/', include('swh.web.ui.urls')),
511 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
512 urlconf_module = import_module(urlconf_module)
513 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
514 return _bootstrap._gcd_import(name[level:], package, level)
515 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
516 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
517 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
518 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
519 File "<frozen importlib._bootstrap>", line 1129, in _exec
520 File "<frozen importlib._bootstrap>", line 1471, in exec_module
521 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
522 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
523 from swh.web.ui.views import (
524 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
525 from swh.web.ui.utils import gen_path_info
526 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
527 import magic
528ImportError: No module named 'magic'
529ERROR
530(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
531api_content_metadata (tests.api.views.test_content.ContentApiTestCase) ... Internal Server Error: /api/1/content/sha1:40e71b8614fcd89ccd17ca2b1d9e66c5b00a6d03/
532Traceback (most recent call last):
533 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
534 return self._urlconf_module
535AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
536
537During handling of the above exception, another exception occurred:
538
539Traceback (most recent call last):
540 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
541 resolver_match = resolver.resolve(request.path_info)
542 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
543 for pattern in self.url_patterns:
544 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
545 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
546 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
547 self._urlconf_module = import_module(self.urlconf_name)
548 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
549 return _bootstrap._gcd_import(name[level:], package, level)
550 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
551 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
552 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
553 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
554 File "<frozen importlib._bootstrap>", line 1129, in _exec
555 File "<frozen importlib._bootstrap>", line 1471, in exec_module
556 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
557 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
558 url(r'^ui/', include('swh.web.ui.urls')),
559 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
560 urlconf_module = import_module(urlconf_module)
561 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
562 return _bootstrap._gcd_import(name[level:], package, level)
563 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
564 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
565 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
566 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
567 File "<frozen importlib._bootstrap>", line 1129, in _exec
568 File "<frozen importlib._bootstrap>", line 1471, in exec_module
569 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
570 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
571 from swh.web.ui.views import (
572 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
573 from swh.web.ui.utils import gen_path_info
574 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
575 import magic
576ImportError: No module named 'magic'
577ERROR
578(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
579api_content_not_found_as_json (tests.api.views.test_content.ContentApiTestCase) ... Internal Server Error: /api/1/content/sha256:83c0e67cc80f60caf1fcbec2d84b0ccd7968b3be4735637006560c/
580Traceback (most recent call last):
581 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
582 return self._urlconf_module
583AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
584
585During handling of the above exception, another exception occurred:
586
587Traceback (most recent call last):
588 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
589 resolver_match = resolver.resolve(request.path_info)
590 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
591 for pattern in self.url_patterns:
592 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
593 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
594 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
595 self._urlconf_module = import_module(self.urlconf_name)
596 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
597 return _bootstrap._gcd_import(name[level:], package, level)
598 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
599 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
600 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
601 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
602 File "<frozen importlib._bootstrap>", line 1129, in _exec
603 File "<frozen importlib._bootstrap>", line 1471, in exec_module
604 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
605 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
606 url(r'^ui/', include('swh.web.ui.urls')),
607 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
608 urlconf_module = import_module(urlconf_module)
609 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
610 return _bootstrap._gcd_import(name[level:], package, level)
611 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
612 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
613 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
614 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
615 File "<frozen importlib._bootstrap>", line 1129, in _exec
616 File "<frozen importlib._bootstrap>", line 1471, in exec_module
617 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
618 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
619 from swh.web.ui.views import (
620 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
621 from swh.web.ui.utils import gen_path_info
622 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
623 import magic
624ImportError: No module named 'magic'
625ERROR
626(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
627api_content_not_found_as_yaml (tests.api.views.test_content.ContentApiTestCase) ... Internal Server Error: /api/1/content/sha256:83c0e67cc80f60caf1fcbec2d84b0ccd7968b3be4735637006560c/
628Traceback (most recent call last):
629 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
630 return self._urlconf_module
631AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
632
633During handling of the above exception, another exception occurred:
634
635Traceback (most recent call last):
636 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
637 resolver_match = resolver.resolve(request.path_info)
638 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
639 for pattern in self.url_patterns:
640 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
641 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
642 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
643 self._urlconf_module = import_module(self.urlconf_name)
644 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
645 return _bootstrap._gcd_import(name[level:], package, level)
646 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
647 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
648 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
649 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
650 File "<frozen importlib._bootstrap>", line 1129, in _exec
651 File "<frozen importlib._bootstrap>", line 1471, in exec_module
652 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
653 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
654 url(r'^ui/', include('swh.web.ui.urls')),
655 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
656 urlconf_module = import_module(urlconf_module)
657 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
658 return _bootstrap._gcd_import(name[level:], package, level)
659 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
660 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
661 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
662 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
663 File "<frozen importlib._bootstrap>", line 1129, in _exec
664 File "<frozen importlib._bootstrap>", line 1471, in exec_module
665 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
666 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
667 from swh.web.ui.views import (
668 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
669 from swh.web.ui.utils import gen_path_info
670 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
671 import magic
672ImportError: No module named 'magic'
673ERROR
674(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
675api_content_provenance (tests.api.views.test_content.ContentApiTestCase) ... Internal Server Error: /api/1/content/sha1_git:34571b8614fcd89ccd17ca2b1d9e66c5b00a6d03/provenance/
676Traceback (most recent call last):
677 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
678 return self._urlconf_module
679AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
680
681During handling of the above exception, another exception occurred:
682
683Traceback (most recent call last):
684 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
685 resolver_match = resolver.resolve(request.path_info)
686 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
687 for pattern in self.url_patterns:
688 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
689 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
690 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
691 self._urlconf_module = import_module(self.urlconf_name)
692 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
693 return _bootstrap._gcd_import(name[level:], package, level)
694 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
695 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
696 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
697 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
698 File "<frozen importlib._bootstrap>", line 1129, in _exec
699 File "<frozen importlib._bootstrap>", line 1471, in exec_module
700 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
701 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
702 url(r'^ui/', include('swh.web.ui.urls')),
703 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
704 urlconf_module = import_module(urlconf_module)
705 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
706 return _bootstrap._gcd_import(name[level:], package, level)
707 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
708 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
709 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
710 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
711 File "<frozen importlib._bootstrap>", line 1129, in _exec
712 File "<frozen importlib._bootstrap>", line 1471, in exec_module
713 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
714 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
715 from swh.web.ui.views import (
716 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
717 from swh.web.ui.utils import gen_path_info
718 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
719 import magic
720ImportError: No module named 'magic'
721ERROR
722(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
723api_content_provenance_sha_not_found (tests.api.views.test_content.ContentApiTestCase) ... Internal Server Error: /api/1/content/sha1:40e71b8614fcd89ccd17ca2b1d9e66c5b00a6d03/provenance/
724Traceback (most recent call last):
725 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
726 return self._urlconf_module
727AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
728
729During handling of the above exception, another exception occurred:
730
731Traceback (most recent call last):
732 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
733 resolver_match = resolver.resolve(request.path_info)
734 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
735 for pattern in self.url_patterns:
736 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
737 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
738 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
739 self._urlconf_module = import_module(self.urlconf_name)
740 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
741 return _bootstrap._gcd_import(name[level:], package, level)
742 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
743 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
744 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
745 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
746 File "<frozen importlib._bootstrap>", line 1129, in _exec
747 File "<frozen importlib._bootstrap>", line 1471, in exec_module
748 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
749 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
750 url(r'^ui/', include('swh.web.ui.urls')),
751 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
752 urlconf_module = import_module(urlconf_module)
753 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
754 return _bootstrap._gcd_import(name[level:], package, level)
755 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
756 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
757 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
758 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
759 File "<frozen importlib._bootstrap>", line 1129, in _exec
760 File "<frozen importlib._bootstrap>", line 1471, in exec_module
761 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
762 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
763 from swh.web.ui.views import (
764 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
765 from swh.web.ui.utils import gen_path_info
766 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
767 import magic
768ImportError: No module named 'magic'
769ERROR
770(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
771api_content_raw_ko_not_found (tests.api.views.test_content.ContentApiTestCase) ... Internal Server Error: /api/1/content/sha1:40e71b8614fcd89ccd17ca2b1d9e66c5b00a6d03/raw/
772Traceback (most recent call last):
773 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
774 return self._urlconf_module
775AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
776
777During handling of the above exception, another exception occurred:
778
779Traceback (most recent call last):
780 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
781 resolver_match = resolver.resolve(request.path_info)
782 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
783 for pattern in self.url_patterns:
784 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
785 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
786 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
787 self._urlconf_module = import_module(self.urlconf_name)
788 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
789 return _bootstrap._gcd_import(name[level:], package, level)
790 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
791 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
792 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
793 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
794 File "<frozen importlib._bootstrap>", line 1129, in _exec
795 File "<frozen importlib._bootstrap>", line 1471, in exec_module
796 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
797 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
798 url(r'^ui/', include('swh.web.ui.urls')),
799 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
800 urlconf_module = import_module(urlconf_module)
801 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
802 return _bootstrap._gcd_import(name[level:], package, level)
803 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
804 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
805 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
806 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
807 File "<frozen importlib._bootstrap>", line 1129, in _exec
808 File "<frozen importlib._bootstrap>", line 1471, in exec_module
809 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
810 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
811 from swh.web.ui.views import (
812 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
813 from swh.web.ui.utils import gen_path_info
814 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
815 import magic
816ImportError: No module named 'magic'
817ERROR
818(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
819api_content_raw_no_accepted_media_type_found_so_not_available_for_download (tests.api.views.test_content.ContentApiTestCase) ... Internal Server Error: /api/1/content/sha1:40e71b8614fcd89ccd17ca2b1d9e66c5b00a6d03/raw/
820Traceback (most recent call last):
821 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
822 return self._urlconf_module
823AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
824
825During handling of the above exception, another exception occurred:
826
827Traceback (most recent call last):
828 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
829 resolver_match = resolver.resolve(request.path_info)
830 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
831 for pattern in self.url_patterns:
832 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
833 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
834 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
835 self._urlconf_module = import_module(self.urlconf_name)
836 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
837 return _bootstrap._gcd_import(name[level:], package, level)
838 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
839 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
840 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
841 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
842 File "<frozen importlib._bootstrap>", line 1129, in _exec
843 File "<frozen importlib._bootstrap>", line 1471, in exec_module
844 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
845 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
846 url(r'^ui/', include('swh.web.ui.urls')),
847 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
848 urlconf_module = import_module(urlconf_module)
849 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
850 return _bootstrap._gcd_import(name[level:], package, level)
851 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
852 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
853 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
854 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
855 File "<frozen importlib._bootstrap>", line 1129, in _exec
856 File "<frozen importlib._bootstrap>", line 1471, in exec_module
857 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
858 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
859 from swh.web.ui.views import (
860 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
861 from swh.web.ui.utils import gen_path_info
862 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
863 import magic
864ImportError: No module named 'magic'
865ERROR
866(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
867api_content_raw_no_accepted_media_type_text_is_not_available_for_download (tests.api.views.test_content.ContentApiTestCase) ... Internal Server Error: /api/1/content/sha1:40e71b8614fcd89ccd17ca2b1d9e66c5b00a6d03/raw/
868Traceback (most recent call last):
869 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
870 return self._urlconf_module
871AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
872
873During handling of the above exception, another exception occurred:
874
875Traceback (most recent call last):
876 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
877 resolver_match = resolver.resolve(request.path_info)
878 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
879 for pattern in self.url_patterns:
880 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
881 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
882 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
883 self._urlconf_module = import_module(self.urlconf_name)
884 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
885 return _bootstrap._gcd_import(name[level:], package, level)
886 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
887 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
888 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
889 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
890 File "<frozen importlib._bootstrap>", line 1129, in _exec
891 File "<frozen importlib._bootstrap>", line 1471, in exec_module
892 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
893 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
894 url(r'^ui/', include('swh.web.ui.urls')),
895 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
896 urlconf_module = import_module(urlconf_module)
897 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
898 return _bootstrap._gcd_import(name[level:], package, level)
899 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
900 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
901 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
902 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
903 File "<frozen importlib._bootstrap>", line 1129, in _exec
904 File "<frozen importlib._bootstrap>", line 1471, in exec_module
905 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
906 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
907 from swh.web.ui.views import (
908 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
909 from swh.web.ui.utils import gen_path_info
910 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
911 import magic
912ImportError: No module named 'magic'
913ERROR
914(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
915api_content_raw_text (tests.api.views.test_content.ContentApiTestCase) ... Internal Server Error: /api/1/content/sha1:40e71b8614fcd89ccd17ca2b1d9e66c5b00a6d03/raw/
916Traceback (most recent call last):
917 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
918 return self._urlconf_module
919AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
920
921During handling of the above exception, another exception occurred:
922
923Traceback (most recent call last):
924 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
925 resolver_match = resolver.resolve(request.path_info)
926 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
927 for pattern in self.url_patterns:
928 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
929 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
930 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
931 self._urlconf_module = import_module(self.urlconf_name)
932 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
933 return _bootstrap._gcd_import(name[level:], package, level)
934 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
935 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
936 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
937 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
938 File "<frozen importlib._bootstrap>", line 1129, in _exec
939 File "<frozen importlib._bootstrap>", line 1471, in exec_module
940 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
941 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
942 url(r'^ui/', include('swh.web.ui.urls')),
943 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
944 urlconf_module = import_module(urlconf_module)
945 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
946 return _bootstrap._gcd_import(name[level:], package, level)
947 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
948 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
949 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
950 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
951 File "<frozen importlib._bootstrap>", line 1129, in _exec
952 File "<frozen importlib._bootstrap>", line 1471, in exec_module
953 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
954 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
955 from swh.web.ui.views import (
956 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
957 from swh.web.ui.utils import gen_path_info
958 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
959 import magic
960ImportError: No module named 'magic'
961ERROR
962(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
963api_content_raw_text_with_filename (tests.api.views.test_content.ContentApiTestCase) ... Internal Server Error: /api/1/content/sha1:40e71b8614fcd89ccd17ca2b1d9e66c5b00a6d03/raw/
964Traceback (most recent call last):
965 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
966 return self._urlconf_module
967AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
968
969During handling of the above exception, another exception occurred:
970
971Traceback (most recent call last):
972 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
973 resolver_match = resolver.resolve(request.path_info)
974 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
975 for pattern in self.url_patterns:
976 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
977 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
978 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
979 self._urlconf_module = import_module(self.urlconf_name)
980 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
981 return _bootstrap._gcd_import(name[level:], package, level)
982 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
983 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
984 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
985 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
986 File "<frozen importlib._bootstrap>", line 1129, in _exec
987 File "<frozen importlib._bootstrap>", line 1471, in exec_module
988 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
989 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
990 url(r'^ui/', include('swh.web.ui.urls')),
991 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
992 urlconf_module = import_module(urlconf_module)
993 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
994 return _bootstrap._gcd_import(name[level:], package, level)
995 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
996 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
997 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
998 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
999 File "<frozen importlib._bootstrap>", line 1129, in _exec
1000 File "<frozen importlib._bootstrap>", line 1471, in exec_module
1001 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
1002 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
1003 from swh.web.ui.views import (
1004 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
1005 from swh.web.ui.utils import gen_path_info
1006 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
1007 import magic
1008ImportError: No module named 'magic'
1009ERROR
1010(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
1011api_content_symbol (tests.api.views.test_content.ContentApiTestCase) ... Internal Server Error: /api/1/content/symbol/foo/
1012Traceback (most recent call last):
1013 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
1014 return self._urlconf_module
1015AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
1016
1017During handling of the above exception, another exception occurred:
1018
1019Traceback (most recent call last):
1020 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
1021 resolver_match = resolver.resolve(request.path_info)
1022 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
1023 for pattern in self.url_patterns:
1024 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
1025 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
1026 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
1027 self._urlconf_module = import_module(self.urlconf_name)
1028 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
1029 return _bootstrap._gcd_import(name[level:], package, level)
1030 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
1031 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
1032 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
1033 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
1034 File "<frozen importlib._bootstrap>", line 1129, in _exec
1035 File "<frozen importlib._bootstrap>", line 1471, in exec_module
1036 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
1037 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
1038 url(r'^ui/', include('swh.web.ui.urls')),
1039 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
1040 urlconf_module = import_module(urlconf_module)
1041 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
1042 return _bootstrap._gcd_import(name[level:], package, level)
1043 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
1044 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
1045 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
1046 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
1047 File "<frozen importlib._bootstrap>", line 1129, in _exec
1048 File "<frozen importlib._bootstrap>", line 1471, in exec_module
1049 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
1050 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
1051 from swh.web.ui.views import (
1052 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
1053 from swh.web.ui.utils import gen_path_info
1054 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
1055 import magic
1056ImportError: No module named 'magic'
1057ERROR
1058(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
1059api_content_symbol_2 (tests.api.views.test_content.ContentApiTestCase) ... Internal Server Error: /api/1/content/symbol/foo/
1060Traceback (most recent call last):
1061 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
1062 return self._urlconf_module
1063AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
1064
1065During handling of the above exception, another exception occurred:
1066
1067Traceback (most recent call last):
1068 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
1069 resolver_match = resolver.resolve(request.path_info)
1070 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
1071 for pattern in self.url_patterns:
1072 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
1073 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
1074 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
1075 self._urlconf_module = import_module(self.urlconf_name)
1076 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
1077 return _bootstrap._gcd_import(name[level:], package, level)
1078 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
1079 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
1080 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
1081 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
1082 File "<frozen importlib._bootstrap>", line 1129, in _exec
1083 File "<frozen importlib._bootstrap>", line 1471, in exec_module
1084 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
1085 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
1086 url(r'^ui/', include('swh.web.ui.urls')),
1087 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
1088 urlconf_module = import_module(urlconf_module)
1089 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
1090 return _bootstrap._gcd_import(name[level:], package, level)
1091 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
1092 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
1093 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
1094 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
1095 File "<frozen importlib._bootstrap>", line 1129, in _exec
1096 File "<frozen importlib._bootstrap>", line 1471, in exec_module
1097 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
1098 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
1099 from swh.web.ui.views import (
1100 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
1101 from swh.web.ui.utils import gen_path_info
1102 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
1103 import magic
1104ImportError: No module named 'magic'
1105ERROR
1106(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
1107api_content_symbol_not_found (tests.api.views.test_content.ContentApiTestCase) ... Internal Server Error: /api/1/content/symbol/bar/
1108Traceback (most recent call last):
1109 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
1110 return self._urlconf_module
1111AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
1112
1113During handling of the above exception, another exception occurred:
1114
1115Traceback (most recent call last):
1116 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
1117 resolver_match = resolver.resolve(request.path_info)
1118 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
1119 for pattern in self.url_patterns:
1120 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
1121 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
1122 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
1123 self._urlconf_module = import_module(self.urlconf_name)
1124 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
1125 return _bootstrap._gcd_import(name[level:], package, level)
1126 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
1127 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
1128 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
1129 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
1130 File "<frozen importlib._bootstrap>", line 1129, in _exec
1131 File "<frozen importlib._bootstrap>", line 1471, in exec_module
1132 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
1133 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
1134 url(r'^ui/', include('swh.web.ui.urls')),
1135 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
1136 urlconf_module = import_module(urlconf_module)
1137 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
1138 return _bootstrap._gcd_import(name[level:], package, level)
1139 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
1140 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
1141 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
1142 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
1143 File "<frozen importlib._bootstrap>", line 1129, in _exec
1144 File "<frozen importlib._bootstrap>", line 1471, in exec_module
1145 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
1146 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
1147 from swh.web.ui.views import (
1148 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
1149 from swh.web.ui.utils import gen_path_info
1150 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
1151 import magic
1152ImportError: No module named 'magic'
1153ERROR
1154(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
1155api_directory (tests.api.views.test_directory.DirectoryApiTestCase) ... Internal Server Error: /api/1/directory/18d8be353ed3480476f032475e7c233eff7371d5/
1156Traceback (most recent call last):
1157 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
1158 return self._urlconf_module
1159AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
1160
1161During handling of the above exception, another exception occurred:
1162
1163Traceback (most recent call last):
1164 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
1165 resolver_match = resolver.resolve(request.path_info)
1166 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
1167 for pattern in self.url_patterns:
1168 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
1169 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
1170 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
1171 self._urlconf_module = import_module(self.urlconf_name)
1172 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
1173 return _bootstrap._gcd_import(name[level:], package, level)
1174 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
1175 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
1176 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
1177 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
1178 File "<frozen importlib._bootstrap>", line 1129, in _exec
1179 File "<frozen importlib._bootstrap>", line 1471, in exec_module
1180 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
1181 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
1182 url(r'^ui/', include('swh.web.ui.urls')),
1183 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
1184 urlconf_module = import_module(urlconf_module)
1185 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
1186 return _bootstrap._gcd_import(name[level:], package, level)
1187 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
1188 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
1189 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
1190 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
1191 File "<frozen importlib._bootstrap>", line 1129, in _exec
1192 File "<frozen importlib._bootstrap>", line 1471, in exec_module
1193 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
1194 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
1195 from swh.web.ui.views import (
1196 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
1197 from swh.web.ui.utils import gen_path_info
1198 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
1199 import magic
1200ImportError: No module named 'magic'
1201ERROR
1202(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
1203api_directory_not_found (tests.api.views.test_directory.DirectoryApiTestCase) ... Internal Server Error: /api/1/directory/66618d8be353ed3480476f032475e7c233eff737/
1204Traceback (most recent call last):
1205 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
1206 return self._urlconf_module
1207AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
1208
1209During handling of the above exception, another exception occurred:
1210
1211Traceback (most recent call last):
1212 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
1213 resolver_match = resolver.resolve(request.path_info)
1214 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
1215 for pattern in self.url_patterns:
1216 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
1217 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
1218 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
1219 self._urlconf_module = import_module(self.urlconf_name)
1220 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
1221 return _bootstrap._gcd_import(name[level:], package, level)
1222 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
1223 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
1224 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
1225 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
1226 File "<frozen importlib._bootstrap>", line 1129, in _exec
1227 File "<frozen importlib._bootstrap>", line 1471, in exec_module
1228 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
1229 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
1230 url(r'^ui/', include('swh.web.ui.urls')),
1231 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
1232 urlconf_module = import_module(urlconf_module)
1233 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
1234 return _bootstrap._gcd_import(name[level:], package, level)
1235 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
1236 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
1237 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
1238 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
1239 File "<frozen importlib._bootstrap>", line 1129, in _exec
1240 File "<frozen importlib._bootstrap>", line 1471, in exec_module
1241 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
1242 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
1243 from swh.web.ui.views import (
1244 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
1245 from swh.web.ui.utils import gen_path_info
1246 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
1247 import magic
1248ImportError: No module named 'magic'
1249ERROR
1250(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
1251api_directory_with_path_found (tests.api.views.test_directory.DirectoryApiTestCase) ... Internal Server Error: /api/1/directory/18d8be353ed3480476f032475e7c233eff7371d5/bla/
1252Traceback (most recent call last):
1253 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
1254 return self._urlconf_module
1255AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
1256
1257During handling of the above exception, another exception occurred:
1258
1259Traceback (most recent call last):
1260 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
1261 resolver_match = resolver.resolve(request.path_info)
1262 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
1263 for pattern in self.url_patterns:
1264 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
1265 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
1266 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
1267 self._urlconf_module = import_module(self.urlconf_name)
1268 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
1269 return _bootstrap._gcd_import(name[level:], package, level)
1270 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
1271 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
1272 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
1273 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
1274 File "<frozen importlib._bootstrap>", line 1129, in _exec
1275 File "<frozen importlib._bootstrap>", line 1471, in exec_module
1276 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
1277 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
1278 url(r'^ui/', include('swh.web.ui.urls')),
1279 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
1280 urlconf_module = import_module(urlconf_module)
1281 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
1282 return _bootstrap._gcd_import(name[level:], package, level)
1283 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
1284 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
1285 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
1286 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
1287 File "<frozen importlib._bootstrap>", line 1129, in _exec
1288 File "<frozen importlib._bootstrap>", line 1471, in exec_module
1289 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
1290 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
1291 from swh.web.ui.views import (
1292 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
1293 from swh.web.ui.utils import gen_path_info
1294 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
1295 import magic
1296ImportError: No module named 'magic'
1297ERROR
1298(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
1299api_directory_with_path_not_found (tests.api.views.test_directory.DirectoryApiTestCase) ... Internal Server Error: /api/1/directory/66618d8be353ed3480476f032475e7c233eff737/some/path/to/dir/
1300Traceback (most recent call last):
1301 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
1302 return self._urlconf_module
1303AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
1304
1305During handling of the above exception, another exception occurred:
1306
1307Traceback (most recent call last):
1308 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
1309 resolver_match = resolver.resolve(request.path_info)
1310 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
1311 for pattern in self.url_patterns:
1312 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
1313 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
1314 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
1315 self._urlconf_module = import_module(self.urlconf_name)
1316 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
1317 return _bootstrap._gcd_import(name[level:], package, level)
1318 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
1319 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
1320 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
1321 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
1322 File "<frozen importlib._bootstrap>", line 1129, in _exec
1323 File "<frozen importlib._bootstrap>", line 1471, in exec_module
1324 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
1325 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
1326 url(r'^ui/', include('swh.web.ui.urls')),
1327 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
1328 urlconf_module = import_module(urlconf_module)
1329 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
1330 return _bootstrap._gcd_import(name[level:], package, level)
1331 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
1332 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
1333 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
1334 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
1335 File "<frozen importlib._bootstrap>", line 1129, in _exec
1336 File "<frozen importlib._bootstrap>", line 1471, in exec_module
1337 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
1338 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
1339 from swh.web.ui.views import (
1340 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
1341 from swh.web.ui.utils import gen_path_info
1342 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
1343 import magic
1344ImportError: No module named 'magic'
1345ERROR
1346(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
1347api_lookup_entity_by_uuid (tests.api.views.test_entity.EntityApiTestCase) ... Internal Server Error: /api/1/entity/34bd6b1b-463f-43e5-a697-785107f598e4/
1348Traceback (most recent call last):
1349 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
1350 return self._urlconf_module
1351AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
1352
1353During handling of the above exception, another exception occurred:
1354
1355Traceback (most recent call last):
1356 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
1357 resolver_match = resolver.resolve(request.path_info)
1358 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
1359 for pattern in self.url_patterns:
1360 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
1361 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
1362 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
1363 self._urlconf_module = import_module(self.urlconf_name)
1364 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
1365 return _bootstrap._gcd_import(name[level:], package, level)
1366 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
1367 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
1368 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
1369 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
1370 File "<frozen importlib._bootstrap>", line 1129, in _exec
1371 File "<frozen importlib._bootstrap>", line 1471, in exec_module
1372 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
1373 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
1374 url(r'^ui/', include('swh.web.ui.urls')),
1375 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
1376 urlconf_module = import_module(urlconf_module)
1377 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
1378 return _bootstrap._gcd_import(name[level:], package, level)
1379 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
1380 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
1381 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
1382 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
1383 File "<frozen importlib._bootstrap>", line 1129, in _exec
1384 File "<frozen importlib._bootstrap>", line 1471, in exec_module
1385 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
1386 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
1387 from swh.web.ui.views import (
1388 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
1389 from swh.web.ui.utils import gen_path_info
1390 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
1391 import magic
1392ImportError: No module named 'magic'
1393ERROR
1394(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
1395api_lookup_entity_by_uuid_bad_request (tests.api.views.test_entity.EntityApiTestCase) ... Internal Server Error: /api/1/entity/uuid malformed/
1396Traceback (most recent call last):
1397 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
1398 return self._urlconf_module
1399AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
1400
1401During handling of the above exception, another exception occurred:
1402
1403Traceback (most recent call last):
1404 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
1405 resolver_match = resolver.resolve(request.path_info)
1406 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
1407 for pattern in self.url_patterns:
1408 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
1409 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
1410 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
1411 self._urlconf_module = import_module(self.urlconf_name)
1412 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
1413 return _bootstrap._gcd_import(name[level:], package, level)
1414 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
1415 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
1416 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
1417 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
1418 File "<frozen importlib._bootstrap>", line 1129, in _exec
1419 File "<frozen importlib._bootstrap>", line 1471, in exec_module
1420 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
1421 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
1422 url(r'^ui/', include('swh.web.ui.urls')),
1423 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
1424 urlconf_module = import_module(urlconf_module)
1425 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
1426 return _bootstrap._gcd_import(name[level:], package, level)
1427 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
1428 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
1429 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
1430 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
1431 File "<frozen importlib._bootstrap>", line 1129, in _exec
1432 File "<frozen importlib._bootstrap>", line 1471, in exec_module
1433 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
1434 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
1435 from swh.web.ui.views import (
1436 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
1437 from swh.web.ui.utils import gen_path_info
1438 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
1439 import magic
1440ImportError: No module named 'magic'
1441ERROR
1442(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
1443api_lookup_entity_by_uuid_not_found (tests.api.views.test_entity.EntityApiTestCase) ... Internal Server Error: /api/1/entity/5f4d4c51-498a-4e28-88b3-b3e4e8396cba/
1444Traceback (most recent call last):
1445 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
1446 return self._urlconf_module
1447AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
1448
1449During handling of the above exception, another exception occurred:
1450
1451Traceback (most recent call last):
1452 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
1453 resolver_match = resolver.resolve(request.path_info)
1454 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
1455 for pattern in self.url_patterns:
1456 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
1457 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
1458 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
1459 self._urlconf_module = import_module(self.urlconf_name)
1460 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
1461 return _bootstrap._gcd_import(name[level:], package, level)
1462 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
1463 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
1464 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
1465 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
1466 File "<frozen importlib._bootstrap>", line 1129, in _exec
1467 File "<frozen importlib._bootstrap>", line 1471, in exec_module
1468 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
1469 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
1470 url(r'^ui/', include('swh.web.ui.urls')),
1471 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
1472 urlconf_module = import_module(urlconf_module)
1473 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
1474 return _bootstrap._gcd_import(name[level:], package, level)
1475 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
1476 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
1477 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
1478 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
1479 File "<frozen importlib._bootstrap>", line 1129, in _exec
1480 File "<frozen importlib._bootstrap>", line 1471, in exec_module
1481 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
1482 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
1483 from swh.web.ui.views import (
1484 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
1485 from swh.web.ui.utils import gen_path_info
1486 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
1487 import magic
1488ImportError: No module named 'magic'
1489ERROR
1490(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
1491api_1_lookup_origin_visit (tests.api.views.test_origin.OriginApiTestCase) ... Internal Server Error: /api/1/origin/10/visit/100/
1492Traceback (most recent call last):
1493 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
1494 return self._urlconf_module
1495AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
1496
1497During handling of the above exception, another exception occurred:
1498
1499Traceback (most recent call last):
1500 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
1501 resolver_match = resolver.resolve(request.path_info)
1502 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
1503 for pattern in self.url_patterns:
1504 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
1505 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
1506 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
1507 self._urlconf_module = import_module(self.urlconf_name)
1508 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
1509 return _bootstrap._gcd_import(name[level:], package, level)
1510 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
1511 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
1512 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
1513 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
1514 File "<frozen importlib._bootstrap>", line 1129, in _exec
1515 File "<frozen importlib._bootstrap>", line 1471, in exec_module
1516 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
1517 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
1518 url(r'^ui/', include('swh.web.ui.urls')),
1519 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
1520 urlconf_module = import_module(urlconf_module)
1521 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
1522 return _bootstrap._gcd_import(name[level:], package, level)
1523 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
1524 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
1525 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
1526 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
1527 File "<frozen importlib._bootstrap>", line 1129, in _exec
1528 File "<frozen importlib._bootstrap>", line 1471, in exec_module
1529 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
1530 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
1531 from swh.web.ui.views import (
1532 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
1533 from swh.web.ui.utils import gen_path_info
1534 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
1535 import magic
1536ImportError: No module named 'magic'
1537ERROR
1538(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
1539api_1_lookup_origin_visit_not_found (tests.api.views.test_origin.OriginApiTestCase) ... Internal Server Error: /api/1/origin/1/visit/1000/
1540Traceback (most recent call last):
1541 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
1542 return self._urlconf_module
1543AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
1544
1545During handling of the above exception, another exception occurred:
1546
1547Traceback (most recent call last):
1548 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
1549 resolver_match = resolver.resolve(request.path_info)
1550 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
1551 for pattern in self.url_patterns:
1552 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
1553 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
1554 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
1555 self._urlconf_module = import_module(self.urlconf_name)
1556 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
1557 return _bootstrap._gcd_import(name[level:], package, level)
1558 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
1559 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
1560 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
1561 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
1562 File "<frozen importlib._bootstrap>", line 1129, in _exec
1563 File "<frozen importlib._bootstrap>", line 1471, in exec_module
1564 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
1565 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
1566 url(r'^ui/', include('swh.web.ui.urls')),
1567 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
1568 urlconf_module = import_module(urlconf_module)
1569 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
1570 return _bootstrap._gcd_import(name[level:], package, level)
1571 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
1572 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
1573 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
1574 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
1575 File "<frozen importlib._bootstrap>", line 1129, in _exec
1576 File "<frozen importlib._bootstrap>", line 1471, in exec_module
1577 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
1578 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
1579 from swh.web.ui.views import (
1580 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
1581 from swh.web.ui.utils import gen_path_info
1582 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
1583 import magic
1584ImportError: No module named 'magic'
1585ERROR
1586(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
1587api_1_lookup_origin_visits (tests.api.views.test_origin.OriginApiTestCase) ... Internal Server Error: /api/1/origin/2/visits/
1588Traceback (most recent call last):
1589 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
1590 return self._urlconf_module
1591AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
1592
1593During handling of the above exception, another exception occurred:
1594
1595Traceback (most recent call last):
1596 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
1597 resolver_match = resolver.resolve(request.path_info)
1598 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
1599 for pattern in self.url_patterns:
1600 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
1601 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
1602 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
1603 self._urlconf_module = import_module(self.urlconf_name)
1604 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
1605 return _bootstrap._gcd_import(name[level:], package, level)
1606 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
1607 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
1608 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
1609 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
1610 File "<frozen importlib._bootstrap>", line 1129, in _exec
1611 File "<frozen importlib._bootstrap>", line 1471, in exec_module
1612 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
1613 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
1614 url(r'^ui/', include('swh.web.ui.urls')),
1615 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
1616 urlconf_module = import_module(urlconf_module)
1617 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
1618 return _bootstrap._gcd_import(name[level:], package, level)
1619 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
1620 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
1621 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
1622 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
1623 File "<frozen importlib._bootstrap>", line 1129, in _exec
1624 File "<frozen importlib._bootstrap>", line 1471, in exec_module
1625 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
1626 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
1627 from swh.web.ui.views import (
1628 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
1629 from swh.web.ui.utils import gen_path_info
1630 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
1631 import magic
1632ImportError: No module named 'magic'
1633ERROR
1634(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
1635api_1_lookup_origin_visits_raise_error (tests.api.views.test_origin.OriginApiTestCase) ... Internal Server Error: /api/1/origin/2/visits/
1636Traceback (most recent call last):
1637 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
1638 return self._urlconf_module
1639AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
1640
1641During handling of the above exception, another exception occurred:
1642
1643Traceback (most recent call last):
1644 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
1645 resolver_match = resolver.resolve(request.path_info)
1646 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
1647 for pattern in self.url_patterns:
1648 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
1649 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
1650 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
1651 self._urlconf_module = import_module(self.urlconf_name)
1652 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
1653 return _bootstrap._gcd_import(name[level:], package, level)
1654 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
1655 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
1656 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
1657 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
1658 File "<frozen importlib._bootstrap>", line 1129, in _exec
1659 File "<frozen importlib._bootstrap>", line 1471, in exec_module
1660 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
1661 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
1662 url(r'^ui/', include('swh.web.ui.urls')),
1663 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
1664 urlconf_module = import_module(urlconf_module)
1665 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
1666 return _bootstrap._gcd_import(name[level:], package, level)
1667 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
1668 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
1669 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
1670 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
1671 File "<frozen importlib._bootstrap>", line 1129, in _exec
1672 File "<frozen importlib._bootstrap>", line 1471, in exec_module
1673 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
1674 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
1675 from swh.web.ui.views import (
1676 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
1677 from swh.web.ui.utils import gen_path_info
1678 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
1679 import magic
1680ImportError: No module named 'magic'
1681ERROR
1682(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
1683api_1_lookup_origin_visits_raise_swh_storage_error_api (tests.api.views.test_origin.OriginApiTestCase) ... Internal Server Error: /api/1/origin/2/visits/
1684Traceback (most recent call last):
1685 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
1686 return self._urlconf_module
1687AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
1688
1689During handling of the above exception, another exception occurred:
1690
1691Traceback (most recent call last):
1692 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
1693 resolver_match = resolver.resolve(request.path_info)
1694 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
1695 for pattern in self.url_patterns:
1696 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
1697 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
1698 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
1699 self._urlconf_module = import_module(self.urlconf_name)
1700 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
1701 return _bootstrap._gcd_import(name[level:], package, level)
1702 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
1703 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
1704 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
1705 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
1706 File "<frozen importlib._bootstrap>", line 1129, in _exec
1707 File "<frozen importlib._bootstrap>", line 1471, in exec_module
1708 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
1709 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
1710 url(r'^ui/', include('swh.web.ui.urls')),
1711 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
1712 urlconf_module = import_module(urlconf_module)
1713 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
1714 return _bootstrap._gcd_import(name[level:], package, level)
1715 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
1716 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
1717 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
1718 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
1719 File "<frozen importlib._bootstrap>", line 1129, in _exec
1720 File "<frozen importlib._bootstrap>", line 1471, in exec_module
1721 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
1722 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
1723 from swh.web.ui.views import (
1724 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
1725 from swh.web.ui.utils import gen_path_info
1726 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
1727 import magic
1728ImportError: No module named 'magic'
1729ERROR
1730(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
1731api_1_lookup_origin_visits_raise_swh_storage_error_db (tests.api.views.test_origin.OriginApiTestCase) ... Internal Server Error: /api/1/origin/2/visits/
1732Traceback (most recent call last):
1733 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
1734 return self._urlconf_module
1735AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
1736
1737During handling of the above exception, another exception occurred:
1738
1739Traceback (most recent call last):
1740 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
1741 resolver_match = resolver.resolve(request.path_info)
1742 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
1743 for pattern in self.url_patterns:
1744 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
1745 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
1746 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
1747 self._urlconf_module = import_module(self.urlconf_name)
1748 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
1749 return _bootstrap._gcd_import(name[level:], package, level)
1750 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
1751 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
1752 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
1753 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
1754 File "<frozen importlib._bootstrap>", line 1129, in _exec
1755 File "<frozen importlib._bootstrap>", line 1471, in exec_module
1756 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
1757 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
1758 url(r'^ui/', include('swh.web.ui.urls')),
1759 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
1760 urlconf_module = import_module(urlconf_module)
1761 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
1762 return _bootstrap._gcd_import(name[level:], package, level)
1763 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
1764 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
1765 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
1766 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
1767 File "<frozen importlib._bootstrap>", line 1129, in _exec
1768 File "<frozen importlib._bootstrap>", line 1471, in exec_module
1769 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
1770 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
1771 from swh.web.ui.views import (
1772 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
1773 from swh.web.ui.utils import gen_path_info
1774 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
1775 import magic
1776ImportError: No module named 'magic'
1777ERROR
1778(0.001) QUERY = 'BEGIN' - PARAMS = (); args=None
1779api_origin_by_id (tests.api.views.test_origin.OriginApiTestCase) ... Internal Server Error: /api/1/origin/1234/
1780Traceback (most recent call last):
1781 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
1782 return self._urlconf_module
1783AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
1784
1785During handling of the above exception, another exception occurred:
1786
1787Traceback (most recent call last):
1788 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
1789 resolver_match = resolver.resolve(request.path_info)
1790 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
1791 for pattern in self.url_patterns:
1792 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
1793 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
1794 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
1795 self._urlconf_module = import_module(self.urlconf_name)
1796 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
1797 return _bootstrap._gcd_import(name[level:], package, level)
1798 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
1799 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
1800 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
1801 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
1802 File "<frozen importlib._bootstrap>", line 1129, in _exec
1803 File "<frozen importlib._bootstrap>", line 1471, in exec_module
1804 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
1805 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
1806 url(r'^ui/', include('swh.web.ui.urls')),
1807 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
1808 urlconf_module = import_module(urlconf_module)
1809 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
1810 return _bootstrap._gcd_import(name[level:], package, level)
1811 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
1812 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
1813 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
1814 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
1815 File "<frozen importlib._bootstrap>", line 1129, in _exec
1816 File "<frozen importlib._bootstrap>", line 1471, in exec_module
1817 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
1818 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
1819 from swh.web.ui.views import (
1820 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
1821 from swh.web.ui.utils import gen_path_info
1822 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
1823 import magic
1824ImportError: No module named 'magic'
1825ERROR
1826(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
1827api_origin_by_type_url (tests.api.views.test_origin.OriginApiTestCase) ... Internal Server Error: /api/1/origin/ftp/url/ftp://some/url/to/origin/0/
1828Traceback (most recent call last):
1829 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
1830 return self._urlconf_module
1831AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
1832
1833During handling of the above exception, another exception occurred:
1834
1835Traceback (most recent call last):
1836 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
1837 resolver_match = resolver.resolve(request.path_info)
1838 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
1839 for pattern in self.url_patterns:
1840 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
1841 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
1842 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
1843 self._urlconf_module = import_module(self.urlconf_name)
1844 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
1845 return _bootstrap._gcd_import(name[level:], package, level)
1846 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
1847 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
1848 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
1849 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
1850 File "<frozen importlib._bootstrap>", line 1129, in _exec
1851 File "<frozen importlib._bootstrap>", line 1471, in exec_module
1852 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
1853 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
1854 url(r'^ui/', include('swh.web.ui.urls')),
1855 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
1856 urlconf_module = import_module(urlconf_module)
1857 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
1858 return _bootstrap._gcd_import(name[level:], package, level)
1859 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
1860 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
1861 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
1862 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
1863 File "<frozen importlib._bootstrap>", line 1129, in _exec
1864 File "<frozen importlib._bootstrap>", line 1471, in exec_module
1865 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
1866 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
1867 from swh.web.ui.views import (
1868 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
1869 from swh.web.ui.utils import gen_path_info
1870 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
1871 import magic
1872ImportError: No module named 'magic'
1873ERROR
1874(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
1875api_origin_not_found (tests.api.views.test_origin.OriginApiTestCase) ... Internal Server Error: /api/1/origin/4321/
1876Traceback (most recent call last):
1877 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
1878 return self._urlconf_module
1879AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
1880
1881During handling of the above exception, another exception occurred:
1882
1883Traceback (most recent call last):
1884 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
1885 resolver_match = resolver.resolve(request.path_info)
1886 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
1887 for pattern in self.url_patterns:
1888 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
1889 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
1890 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
1891 self._urlconf_module = import_module(self.urlconf_name)
1892 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
1893 return _bootstrap._gcd_import(name[level:], package, level)
1894 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
1895 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
1896 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
1897 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
1898 File "<frozen importlib._bootstrap>", line 1129, in _exec
1899 File "<frozen importlib._bootstrap>", line 1471, in exec_module
1900 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
1901 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
1902 url(r'^ui/', include('swh.web.ui.urls')),
1903 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
1904 urlconf_module = import_module(urlconf_module)
1905 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
1906 return _bootstrap._gcd_import(name[level:], package, level)
1907 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
1908 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
1909 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
1910 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
1911 File "<frozen importlib._bootstrap>", line 1129, in _exec
1912 File "<frozen importlib._bootstrap>", line 1471, in exec_module
1913 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
1914 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
1915 from swh.web.ui.views import (
1916 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
1917 from swh.web.ui.utils import gen_path_info
1918 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
1919 import magic
1920ImportError: No module named 'magic'
1921ERROR
1922(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
1923api_person (tests.api.views.test_person.PersonApiTestCase) ... Internal Server Error: /api/1/person/198003/
1924Traceback (most recent call last):
1925 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
1926 return self._urlconf_module
1927AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
1928
1929During handling of the above exception, another exception occurred:
1930
1931Traceback (most recent call last):
1932 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
1933 resolver_match = resolver.resolve(request.path_info)
1934 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
1935 for pattern in self.url_patterns:
1936 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
1937 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
1938 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
1939 self._urlconf_module = import_module(self.urlconf_name)
1940 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
1941 return _bootstrap._gcd_import(name[level:], package, level)
1942 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
1943 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
1944 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
1945 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
1946 File "<frozen importlib._bootstrap>", line 1129, in _exec
1947 File "<frozen importlib._bootstrap>", line 1471, in exec_module
1948 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
1949 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
1950 url(r'^ui/', include('swh.web.ui.urls')),
1951 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
1952 urlconf_module = import_module(urlconf_module)
1953 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
1954 return _bootstrap._gcd_import(name[level:], package, level)
1955 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
1956 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
1957 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
1958 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
1959 File "<frozen importlib._bootstrap>", line 1129, in _exec
1960 File "<frozen importlib._bootstrap>", line 1471, in exec_module
1961 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
1962 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
1963 from swh.web.ui.views import (
1964 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
1965 from swh.web.ui.utils import gen_path_info
1966 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
1967 import magic
1968ImportError: No module named 'magic'
1969ERROR
1970(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
1971api_person_not_found (tests.api.views.test_person.PersonApiTestCase) ... Internal Server Error: /api/1/person/666/
1972Traceback (most recent call last):
1973 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
1974 return self._urlconf_module
1975AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
1976
1977During handling of the above exception, another exception occurred:
1978
1979Traceback (most recent call last):
1980 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
1981 resolver_match = resolver.resolve(request.path_info)
1982 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
1983 for pattern in self.url_patterns:
1984 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
1985 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
1986 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
1987 self._urlconf_module = import_module(self.urlconf_name)
1988 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
1989 return _bootstrap._gcd_import(name[level:], package, level)
1990 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
1991 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
1992 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
1993 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
1994 File "<frozen importlib._bootstrap>", line 1129, in _exec
1995 File "<frozen importlib._bootstrap>", line 1471, in exec_module
1996 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
1997 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
1998 url(r'^ui/', include('swh.web.ui.urls')),
1999 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
2000 urlconf_module = import_module(urlconf_module)
2001 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
2002 return _bootstrap._gcd_import(name[level:], package, level)
2003 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
2004 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
2005 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
2006 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
2007 File "<frozen importlib._bootstrap>", line 1129, in _exec
2008 File "<frozen importlib._bootstrap>", line 1471, in exec_module
2009 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
2010 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
2011 from swh.web.ui.views import (
2012 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
2013 from swh.web.ui.utils import gen_path_info
2014 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
2015 import magic
2016ImportError: No module named 'magic'
2017ERROR
2018(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
2019api_release (tests.api.views.test_release.ReleaseApiTestCase) ... Internal Server Error: /api/1/release/7045404f3d1c54e6473/
2020Traceback (most recent call last):
2021 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
2022 return self._urlconf_module
2023AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
2024
2025During handling of the above exception, another exception occurred:
2026
2027Traceback (most recent call last):
2028 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
2029 resolver_match = resolver.resolve(request.path_info)
2030 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
2031 for pattern in self.url_patterns:
2032 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
2033 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
2034 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
2035 self._urlconf_module = import_module(self.urlconf_name)
2036 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
2037 return _bootstrap._gcd_import(name[level:], package, level)
2038 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
2039 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
2040 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
2041 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
2042 File "<frozen importlib._bootstrap>", line 1129, in _exec
2043 File "<frozen importlib._bootstrap>", line 1471, in exec_module
2044 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
2045 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
2046 url(r'^ui/', include('swh.web.ui.urls')),
2047 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
2048 urlconf_module = import_module(urlconf_module)
2049 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
2050 return _bootstrap._gcd_import(name[level:], package, level)
2051 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
2052 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
2053 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
2054 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
2055 File "<frozen importlib._bootstrap>", line 1129, in _exec
2056 File "<frozen importlib._bootstrap>", line 1471, in exec_module
2057 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
2058 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
2059 from swh.web.ui.views import (
2060 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
2061 from swh.web.ui.utils import gen_path_info
2062 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
2063 import magic
2064ImportError: No module named 'magic'
2065ERROR
2066(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
2067api_release_not_found (tests.api.views.test_release.ReleaseApiTestCase) ... Internal Server Error: /api/1/release/c54e6473c71bbb716529/
2068Traceback (most recent call last):
2069 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
2070 return self._urlconf_module
2071AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
2072
2073During handling of the above exception, another exception occurred:
2074
2075Traceback (most recent call last):
2076 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
2077 resolver_match = resolver.resolve(request.path_info)
2078 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
2079 for pattern in self.url_patterns:
2080 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
2081 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
2082 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
2083 self._urlconf_module = import_module(self.urlconf_name)
2084 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
2085 return _bootstrap._gcd_import(name[level:], package, level)
2086 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
2087 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
2088 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
2089 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
2090 File "<frozen importlib._bootstrap>", line 1129, in _exec
2091 File "<frozen importlib._bootstrap>", line 1471, in exec_module
2092 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
2093 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
2094 url(r'^ui/', include('swh.web.ui.urls')),
2095 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
2096 urlconf_module = import_module(urlconf_module)
2097 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
2098 return _bootstrap._gcd_import(name[level:], package, level)
2099 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
2100 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
2101 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
2102 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
2103 File "<frozen importlib._bootstrap>", line 1129, in _exec
2104 File "<frozen importlib._bootstrap>", line 1471, in exec_module
2105 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
2106 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
2107 from swh.web.ui.views import (
2108 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
2109 from swh.web.ui.utils import gen_path_info
2110 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
2111 import magic
2112ImportError: No module named 'magic'
2113ERROR
2114(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
2115api_release_target_type_not_a_revision (tests.api.views.test_release.ReleaseApiTestCase) ... Internal Server Error: /api/1/release/8d56a78/
2116Traceback (most recent call last):
2117 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
2118 return self._urlconf_module
2119AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
2120
2121During handling of the above exception, another exception occurred:
2122
2123Traceback (most recent call last):
2124 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
2125 resolver_match = resolver.resolve(request.path_info)
2126 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
2127 for pattern in self.url_patterns:
2128 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
2129 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
2130 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
2131 self._urlconf_module = import_module(self.urlconf_name)
2132 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
2133 return _bootstrap._gcd_import(name[level:], package, level)
2134 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
2135 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
2136 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
2137 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
2138 File "<frozen importlib._bootstrap>", line 1129, in _exec
2139 File "<frozen importlib._bootstrap>", line 1471, in exec_module
2140 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
2141 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
2142 url(r'^ui/', include('swh.web.ui.urls')),
2143 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
2144 urlconf_module = import_module(urlconf_module)
2145 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
2146 return _bootstrap._gcd_import(name[level:], package, level)
2147 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
2148 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
2149 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
2150 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
2151 File "<frozen importlib._bootstrap>", line 1129, in _exec
2152 File "<frozen importlib._bootstrap>", line 1471, in exec_module
2153 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
2154 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
2155 from swh.web.ui.views import (
2156 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
2157 from swh.web.ui.utils import gen_path_info
2158 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
2159 import magic
2160ImportError: No module named 'magic'
2161ERROR
2162(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
2163api_directory_through_revision_origin (tests.api.views.test_revision.ReleaseApiTestCase) ... Internal Server Error: /api/1/revision/origin/3/directory/
2164Traceback (most recent call last):
2165 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
2166 return self._urlconf_module
2167AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
2168
2169During handling of the above exception, another exception occurred:
2170
2171Traceback (most recent call last):
2172 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
2173 resolver_match = resolver.resolve(request.path_info)
2174 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
2175 for pattern in self.url_patterns:
2176 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
2177 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
2178 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
2179 self._urlconf_module = import_module(self.urlconf_name)
2180 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
2181 return _bootstrap._gcd_import(name[level:], package, level)
2182 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
2183 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
2184 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
2185 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
2186 File "<frozen importlib._bootstrap>", line 1129, in _exec
2187 File "<frozen importlib._bootstrap>", line 1471, in exec_module
2188 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
2189 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
2190 url(r'^ui/', include('swh.web.ui.urls')),
2191 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
2192 urlconf_module = import_module(urlconf_module)
2193 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
2194 return _bootstrap._gcd_import(name[level:], package, level)
2195 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
2196 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
2197 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
2198 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
2199 File "<frozen importlib._bootstrap>", line 1129, in _exec
2200 File "<frozen importlib._bootstrap>", line 1471, in exec_module
2201 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
2202 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
2203 from swh.web.ui.views import (
2204 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
2205 from swh.web.ui.utils import gen_path_info
2206 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
2207 import magic
2208ImportError: No module named 'magic'
2209ERROR
2210(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
2211api_directory_through_revision_origin_ko_not_found (tests.api.views.test_revision.ReleaseApiTestCase) ... Internal Server Error: /api/1/revision/origin/10/branch/refs/remote/origin/dev/ts/2012-10-20/directory/
2212Traceback (most recent call last):
2213 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
2214 return self._urlconf_module
2215AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
2216
2217During handling of the above exception, another exception occurred:
2218
2219Traceback (most recent call last):
2220 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
2221 resolver_match = resolver.resolve(request.path_info)
2222 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
2223 for pattern in self.url_patterns:
2224 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
2225 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
2226 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
2227 self._urlconf_module = import_module(self.urlconf_name)
2228 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
2229 return _bootstrap._gcd_import(name[level:], package, level)
2230 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
2231 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
2232 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
2233 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
2234 File "<frozen importlib._bootstrap>", line 1129, in _exec
2235 File "<frozen importlib._bootstrap>", line 1471, in exec_module
2236 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
2237 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
2238 url(r'^ui/', include('swh.web.ui.urls')),
2239 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
2240 urlconf_module = import_module(urlconf_module)
2241 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
2242 return _bootstrap._gcd_import(name[level:], package, level)
2243 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
2244 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
2245 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
2246 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
2247 File "<frozen importlib._bootstrap>", line 1129, in _exec
2248 File "<frozen importlib._bootstrap>", line 1471, in exec_module
2249 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
2250 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
2251 from swh.web.ui.views import (
2252 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
2253 from swh.web.ui.utils import gen_path_info
2254 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
2255 import magic
2256ImportError: No module named 'magic'
2257ERROR
2258(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
2259api_revision (tests.api.views.test_revision.ReleaseApiTestCase) ... Internal Server Error: /api/1/revision/18d8be353ed3480476f032475e7c233eff7371d5/
2260Traceback (most recent call last):
2261 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
2262 return self._urlconf_module
2263AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
2264
2265During handling of the above exception, another exception occurred:
2266
2267Traceback (most recent call last):
2268 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
2269 resolver_match = resolver.resolve(request.path_info)
2270 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
2271 for pattern in self.url_patterns:
2272 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
2273 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
2274 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
2275 self._urlconf_module = import_module(self.urlconf_name)
2276 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
2277 return _bootstrap._gcd_import(name[level:], package, level)
2278 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
2279 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
2280 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
2281 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
2282 File "<frozen importlib._bootstrap>", line 1129, in _exec
2283 File "<frozen importlib._bootstrap>", line 1471, in exec_module
2284 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
2285 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
2286 url(r'^ui/', include('swh.web.ui.urls')),
2287 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
2288 urlconf_module = import_module(urlconf_module)
2289 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
2290 return _bootstrap._gcd_import(name[level:], package, level)
2291 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
2292 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
2293 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
2294 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
2295 File "<frozen importlib._bootstrap>", line 1129, in _exec
2296 File "<frozen importlib._bootstrap>", line 1471, in exec_module
2297 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
2298 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
2299 from swh.web.ui.views import (
2300 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
2301 from swh.web.ui.utils import gen_path_info
2302 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
2303 import magic
2304ImportError: No module named 'magic'
2305ERROR
2306(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
2307api_revision_directory_ko_not_found (tests.api.views.test_revision.ReleaseApiTestCase) ... Internal Server Error: /api/1/revision/999/directory/some/path/to/dir/
2308Traceback (most recent call last):
2309 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
2310 return self._urlconf_module
2311AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
2312
2313During handling of the above exception, another exception occurred:
2314
2315Traceback (most recent call last):
2316 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
2317 resolver_match = resolver.resolve(request.path_info)
2318 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
2319 for pattern in self.url_patterns:
2320 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
2321 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
2322 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
2323 self._urlconf_module = import_module(self.urlconf_name)
2324 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
2325 return _bootstrap._gcd_import(name[level:], package, level)
2326 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
2327 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
2328 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
2329 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
2330 File "<frozen importlib._bootstrap>", line 1129, in _exec
2331 File "<frozen importlib._bootstrap>", line 1471, in exec_module
2332 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
2333 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
2334 url(r'^ui/', include('swh.web.ui.urls')),
2335 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
2336 urlconf_module = import_module(urlconf_module)
2337 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
2338 return _bootstrap._gcd_import(name[level:], package, level)
2339 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
2340 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
2341 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
2342 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
2343 File "<frozen importlib._bootstrap>", line 1129, in _exec
2344 File "<frozen importlib._bootstrap>", line 1471, in exec_module
2345 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
2346 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
2347 from swh.web.ui.views import (
2348 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
2349 from swh.web.ui.utils import gen_path_info
2350 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
2351 import magic
2352ImportError: No module named 'magic'
2353ERROR
2354(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
2355api_revision_directory_ok_returns_content (tests.api.views.test_revision.ReleaseApiTestCase) ... Internal Server Error: /api/1/revision/666/directory/some/other/path/
2356Traceback (most recent call last):
2357 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
2358 return self._urlconf_module
2359AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
2360
2361During handling of the above exception, another exception occurred:
2362
2363Traceback (most recent call last):
2364 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
2365 resolver_match = resolver.resolve(request.path_info)
2366 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
2367 for pattern in self.url_patterns:
2368 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
2369 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
2370 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
2371 self._urlconf_module = import_module(self.urlconf_name)
2372 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
2373 return _bootstrap._gcd_import(name[level:], package, level)
2374 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
2375 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
2376 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
2377 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
2378 File "<frozen importlib._bootstrap>", line 1129, in _exec
2379 File "<frozen importlib._bootstrap>", line 1471, in exec_module
2380 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
2381 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
2382 url(r'^ui/', include('swh.web.ui.urls')),
2383 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
2384 urlconf_module = import_module(urlconf_module)
2385 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
2386 return _bootstrap._gcd_import(name[level:], package, level)
2387 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
2388 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
2389 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
2390 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
2391 File "<frozen importlib._bootstrap>", line 1129, in _exec
2392 File "<frozen importlib._bootstrap>", line 1471, in exec_module
2393 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
2394 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
2395 from swh.web.ui.views import (
2396 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
2397 from swh.web.ui.utils import gen_path_info
2398 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
2399 import magic
2400ImportError: No module named 'magic'
2401ERROR
2402(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
2403api_revision_directory_ok_returns_dir_entries (tests.api.views.test_revision.ReleaseApiTestCase) ... Internal Server Error: /api/1/revision/999/directory/some/path/
2404Traceback (most recent call last):
2405 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
2406 return self._urlconf_module
2407AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
2408
2409During handling of the above exception, another exception occurred:
2410
2411Traceback (most recent call last):
2412 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
2413 resolver_match = resolver.resolve(request.path_info)
2414 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
2415 for pattern in self.url_patterns:
2416 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
2417 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
2418 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
2419 self._urlconf_module = import_module(self.urlconf_name)
2420 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
2421 return _bootstrap._gcd_import(name[level:], package, level)
2422 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
2423 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
2424 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
2425 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
2426 File "<frozen importlib._bootstrap>", line 1129, in _exec
2427 File "<frozen importlib._bootstrap>", line 1471, in exec_module
2428 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
2429 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
2430 url(r'^ui/', include('swh.web.ui.urls')),
2431 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
2432 urlconf_module = import_module(urlconf_module)
2433 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
2434 return _bootstrap._gcd_import(name[level:], package, level)
2435 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
2436 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
2437 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
2438 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
2439 File "<frozen importlib._bootstrap>", line 1129, in _exec
2440 File "<frozen importlib._bootstrap>", line 1471, in exec_module
2441 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
2442 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
2443 from swh.web.ui.views import (
2444 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
2445 from swh.web.ui.utils import gen_path_info
2446 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
2447 import magic
2448ImportError: No module named 'magic'
2449ERROR
2450(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
2451api_revision_history (tests.api.views.test_revision.ReleaseApiTestCase) ... Internal Server Error: /api/1/revision/883/prev/999/
2452Traceback (most recent call last):
2453 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
2454 return self._urlconf_module
2455AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
2456
2457During handling of the above exception, another exception occurred:
2458
2459Traceback (most recent call last):
2460 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
2461 resolver_match = resolver.resolve(request.path_info)
2462 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
2463 for pattern in self.url_patterns:
2464 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
2465 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
2466 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
2467 self._urlconf_module = import_module(self.urlconf_name)
2468 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
2469 return _bootstrap._gcd_import(name[level:], package, level)
2470 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
2471 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
2472 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
2473 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
2474 File "<frozen importlib._bootstrap>", line 1129, in _exec
2475 File "<frozen importlib._bootstrap>", line 1471, in exec_module
2476 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
2477 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
2478 url(r'^ui/', include('swh.web.ui.urls')),
2479 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
2480 urlconf_module = import_module(urlconf_module)
2481 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
2482 return _bootstrap._gcd_import(name[level:], package, level)
2483 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
2484 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
2485 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
2486 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
2487 File "<frozen importlib._bootstrap>", line 1129, in _exec
2488 File "<frozen importlib._bootstrap>", line 1471, in exec_module
2489 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
2490 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
2491 from swh.web.ui.views import (
2492 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
2493 from swh.web.ui.utils import gen_path_info
2494 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
2495 import magic
2496ImportError: No module named 'magic'
2497ERROR
2498(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
2499api_revision_log (tests.api.views.test_revision.ReleaseApiTestCase) ... Internal Server Error: /api/1/revision/8834ef7e7c357ce2af928115c6c6a42b7e2a44e6/log/
2500Traceback (most recent call last):
2501 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
2502 return self._urlconf_module
2503AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
2504
2505During handling of the above exception, another exception occurred:
2506
2507Traceback (most recent call last):
2508 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
2509 resolver_match = resolver.resolve(request.path_info)
2510 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
2511 for pattern in self.url_patterns:
2512 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
2513 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
2514 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
2515 self._urlconf_module = import_module(self.urlconf_name)
2516 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
2517 return _bootstrap._gcd_import(name[level:], package, level)
2518 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
2519 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
2520 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
2521 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
2522 File "<frozen importlib._bootstrap>", line 1129, in _exec
2523 File "<frozen importlib._bootstrap>", line 1471, in exec_module
2524 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
2525 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
2526 url(r'^ui/', include('swh.web.ui.urls')),
2527 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
2528 urlconf_module = import_module(urlconf_module)
2529 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
2530 return _bootstrap._gcd_import(name[level:], package, level)
2531 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
2532 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
2533 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
2534 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
2535 File "<frozen importlib._bootstrap>", line 1129, in _exec
2536 File "<frozen importlib._bootstrap>", line 1471, in exec_module
2537 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
2538 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
2539 from swh.web.ui.views import (
2540 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
2541 from swh.web.ui.utils import gen_path_info
2542 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
2543 import magic
2544ImportError: No module named 'magic'
2545ERROR
2546(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
2547api_revision_log_by (tests.api.views.test_revision.ReleaseApiTestCase) ... Internal Server Error: /api/1/revision/origin/1/log/
2548Traceback (most recent call last):
2549 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
2550 return self._urlconf_module
2551AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
2552
2553During handling of the above exception, another exception occurred:
2554
2555Traceback (most recent call last):
2556 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
2557 resolver_match = resolver.resolve(request.path_info)
2558 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
2559 for pattern in self.url_patterns:
2560 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
2561 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
2562 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
2563 self._urlconf_module = import_module(self.urlconf_name)
2564 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
2565 return _bootstrap._gcd_import(name[level:], package, level)
2566 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
2567 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
2568 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
2569 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
2570 File "<frozen importlib._bootstrap>", line 1129, in _exec
2571 File "<frozen importlib._bootstrap>", line 1471, in exec_module
2572 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
2573 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
2574 url(r'^ui/', include('swh.web.ui.urls')),
2575 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
2576 urlconf_module = import_module(urlconf_module)
2577 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
2578 return _bootstrap._gcd_import(name[level:], package, level)
2579 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
2580 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
2581 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
2582 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
2583 File "<frozen importlib._bootstrap>", line 1129, in _exec
2584 File "<frozen importlib._bootstrap>", line 1471, in exec_module
2585 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
2586 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
2587 from swh.web.ui.views import (
2588 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
2589 from swh.web.ui.utils import gen_path_info
2590 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
2591 import magic
2592ImportError: No module named 'magic'
2593ERROR
2594(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
2595api_revision_log_by_norev (tests.api.views.test_revision.ReleaseApiTestCase) ... Internal Server Error: /api/1/revision/origin/1/log/
2596Traceback (most recent call last):
2597 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
2598 return self._urlconf_module
2599AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
2600
2601During handling of the above exception, another exception occurred:
2602
2603Traceback (most recent call last):
2604 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
2605 resolver_match = resolver.resolve(request.path_info)
2606 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
2607 for pattern in self.url_patterns:
2608 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
2609 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
2610 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
2611 self._urlconf_module = import_module(self.urlconf_name)
2612 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
2613 return _bootstrap._gcd_import(name[level:], package, level)
2614 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
2615 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
2616 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
2617 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
2618 File "<frozen importlib._bootstrap>", line 1129, in _exec
2619 File "<frozen importlib._bootstrap>", line 1471, in exec_module
2620 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
2621 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
2622 url(r'^ui/', include('swh.web.ui.urls')),
2623 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
2624 urlconf_module = import_module(urlconf_module)
2625 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
2626 return _bootstrap._gcd_import(name[level:], package, level)
2627 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
2628 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
2629 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
2630 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
2631 File "<frozen importlib._bootstrap>", line 1129, in _exec
2632 File "<frozen importlib._bootstrap>", line 1471, in exec_module
2633 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
2634 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
2635 from swh.web.ui.views import (
2636 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
2637 from swh.web.ui.utils import gen_path_info
2638 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
2639 import magic
2640ImportError: No module named 'magic'
2641ERROR
2642(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
2643api_revision_log_by_with_next (tests.api.views.test_revision.ReleaseApiTestCase) ... Internal Server Error: /api/1/revision/origin/1/log/
2644Traceback (most recent call last):
2645 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
2646 return self._urlconf_module
2647AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
2648
2649During handling of the above exception, another exception occurred:
2650
2651Traceback (most recent call last):
2652 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
2653 resolver_match = resolver.resolve(request.path_info)
2654 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
2655 for pattern in self.url_patterns:
2656 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
2657 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
2658 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
2659 self._urlconf_module = import_module(self.urlconf_name)
2660 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
2661 return _bootstrap._gcd_import(name[level:], package, level)
2662 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
2663 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
2664 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
2665 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
2666 File "<frozen importlib._bootstrap>", line 1129, in _exec
2667 File "<frozen importlib._bootstrap>", line 1471, in exec_module
2668 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
2669 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
2670 url(r'^ui/', include('swh.web.ui.urls')),
2671 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
2672 urlconf_module = import_module(urlconf_module)
2673 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
2674 return _bootstrap._gcd_import(name[level:], package, level)
2675 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
2676 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
2677 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
2678 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
2679 File "<frozen importlib._bootstrap>", line 1129, in _exec
2680 File "<frozen importlib._bootstrap>", line 1471, in exec_module
2681 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
2682 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
2683 from swh.web.ui.views import (
2684 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
2685 from swh.web.ui.utils import gen_path_info
2686 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
2687 import magic
2688ImportError: No module named 'magic'
2689ERROR
2690(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
2691api_revision_log_context (tests.api.views.test_revision.ReleaseApiTestCase) ... Internal Server Error: /api/1/revision/18d8be353ed3480476f032475e7c233eff7371d5/prev/21145781e26ad1f978e/log/
2692Traceback (most recent call last):
2693 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
2694 return self._urlconf_module
2695AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
2696
2697During handling of the above exception, another exception occurred:
2698
2699Traceback (most recent call last):
2700 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
2701 resolver_match = resolver.resolve(request.path_info)
2702 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
2703 for pattern in self.url_patterns:
2704 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
2705 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
2706 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
2707 self._urlconf_module = import_module(self.urlconf_name)
2708 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
2709 return _bootstrap._gcd_import(name[level:], package, level)
2710 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
2711 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
2712 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
2713 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
2714 File "<frozen importlib._bootstrap>", line 1129, in _exec
2715 File "<frozen importlib._bootstrap>", line 1471, in exec_module
2716 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
2717 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
2718 url(r'^ui/', include('swh.web.ui.urls')),
2719 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
2720 urlconf_module = import_module(urlconf_module)
2721 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
2722 return _bootstrap._gcd_import(name[level:], package, level)
2723 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
2724 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
2725 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
2726 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
2727 File "<frozen importlib._bootstrap>", line 1129, in _exec
2728 File "<frozen importlib._bootstrap>", line 1471, in exec_module
2729 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
2730 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
2731 from swh.web.ui.views import (
2732 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
2733 from swh.web.ui.utils import gen_path_info
2734 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
2735 import magic
2736ImportError: No module named 'magic'
2737ERROR
2738(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
2739api_revision_log_not_found (tests.api.views.test_revision.ReleaseApiTestCase) ... Internal Server Error: /api/1/revision/8834ef7e7c357ce2af928115c6c6a42b7e2a44e6/log/
2740Traceback (most recent call last):
2741 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
2742 return self._urlconf_module
2743AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
2744
2745During handling of the above exception, another exception occurred:
2746
2747Traceback (most recent call last):
2748 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
2749 resolver_match = resolver.resolve(request.path_info)
2750 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
2751 for pattern in self.url_patterns:
2752 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
2753 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
2754 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
2755 self._urlconf_module = import_module(self.urlconf_name)
2756 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
2757 return _bootstrap._gcd_import(name[level:], package, level)
2758 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
2759 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
2760 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
2761 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
2762 File "<frozen importlib._bootstrap>", line 1129, in _exec
2763 File "<frozen importlib._bootstrap>", line 1471, in exec_module
2764 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
2765 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
2766 url(r'^ui/', include('swh.web.ui.urls')),
2767 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
2768 urlconf_module = import_module(urlconf_module)
2769 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
2770 return _bootstrap._gcd_import(name[level:], package, level)
2771 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
2772 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
2773 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
2774 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
2775 File "<frozen importlib._bootstrap>", line 1129, in _exec
2776 File "<frozen importlib._bootstrap>", line 1471, in exec_module
2777 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
2778 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
2779 from swh.web.ui.views import (
2780 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
2781 from swh.web.ui.utils import gen_path_info
2782 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
2783 import magic
2784ImportError: No module named 'magic'
2785ERROR
2786(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
2787api_revision_log_with_next (tests.api.views.test_revision.ReleaseApiTestCase) ... Internal Server Error: /api/1/revision/8834ef7e7c357ce2af928115c6c6a42b7e2a44e6/log/
2788Traceback (most recent call last):
2789 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
2790 return self._urlconf_module
2791AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
2792
2793During handling of the above exception, another exception occurred:
2794
2795Traceback (most recent call last):
2796 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
2797 resolver_match = resolver.resolve(request.path_info)
2798 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
2799 for pattern in self.url_patterns:
2800 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
2801 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
2802 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
2803 self._urlconf_module = import_module(self.urlconf_name)
2804 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
2805 return _bootstrap._gcd_import(name[level:], package, level)
2806 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
2807 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
2808 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
2809 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
2810 File "<frozen importlib._bootstrap>", line 1129, in _exec
2811 File "<frozen importlib._bootstrap>", line 1471, in exec_module
2812 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
2813 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
2814 url(r'^ui/', include('swh.web.ui.urls')),
2815 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
2816 urlconf_module = import_module(urlconf_module)
2817 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
2818 return _bootstrap._gcd_import(name[level:], package, level)
2819 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
2820 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
2821 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
2822 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
2823 File "<frozen importlib._bootstrap>", line 1129, in _exec
2824 File "<frozen importlib._bootstrap>", line 1471, in exec_module
2825 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
2826 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
2827 from swh.web.ui.views import (
2828 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
2829 from swh.web.ui.utils import gen_path_info
2830 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
2831 import magic
2832ImportError: No module named 'magic'
2833ERROR
2834(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
2835api_revision_not_found (tests.api.views.test_revision.ReleaseApiTestCase) ... Internal Server Error: /api/1/revision/12345/
2836Traceback (most recent call last):
2837 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
2838 return self._urlconf_module
2839AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
2840
2841During handling of the above exception, another exception occurred:
2842
2843Traceback (most recent call last):
2844 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
2845 resolver_match = resolver.resolve(request.path_info)
2846 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
2847 for pattern in self.url_patterns:
2848 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
2849 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
2850 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
2851 self._urlconf_module = import_module(self.urlconf_name)
2852 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
2853 return _bootstrap._gcd_import(name[level:], package, level)
2854 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
2855 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
2856 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
2857 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
2858 File "<frozen importlib._bootstrap>", line 1129, in _exec
2859 File "<frozen importlib._bootstrap>", line 1471, in exec_module
2860 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
2861 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
2862 url(r'^ui/', include('swh.web.ui.urls')),
2863 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
2864 urlconf_module = import_module(urlconf_module)
2865 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
2866 return _bootstrap._gcd_import(name[level:], package, level)
2867 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
2868 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
2869 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
2870 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
2871 File "<frozen importlib._bootstrap>", line 1129, in _exec
2872 File "<frozen importlib._bootstrap>", line 1471, in exec_module
2873 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
2874 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
2875 from swh.web.ui.views import (
2876 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
2877 from swh.web.ui.utils import gen_path_info
2878 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
2879 import magic
2880ImportError: No module named 'magic'
2881ERROR
2882(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
2883api_revision_raw_ko_no_rev (tests.api.views.test_revision.ReleaseApiTestCase) ... Internal Server Error: /api/1/revision/18d8be353ed3480476f032475e7c233eff7371d5/raw/
2884Traceback (most recent call last):
2885 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
2886 return self._urlconf_module
2887AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
2888
2889During handling of the above exception, another exception occurred:
2890
2891Traceback (most recent call last):
2892 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
2893 resolver_match = resolver.resolve(request.path_info)
2894 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
2895 for pattern in self.url_patterns:
2896 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
2897 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
2898 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
2899 self._urlconf_module = import_module(self.urlconf_name)
2900 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
2901 return _bootstrap._gcd_import(name[level:], package, level)
2902 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
2903 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
2904 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
2905 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
2906 File "<frozen importlib._bootstrap>", line 1129, in _exec
2907 File "<frozen importlib._bootstrap>", line 1471, in exec_module
2908 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
2909 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
2910 url(r'^ui/', include('swh.web.ui.urls')),
2911 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
2912 urlconf_module = import_module(urlconf_module)
2913 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
2914 return _bootstrap._gcd_import(name[level:], package, level)
2915 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
2916 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
2917 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
2918 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
2919 File "<frozen importlib._bootstrap>", line 1129, in _exec
2920 File "<frozen importlib._bootstrap>", line 1471, in exec_module
2921 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
2922 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
2923 from swh.web.ui.views import (
2924 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
2925 from swh.web.ui.utils import gen_path_info
2926 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
2927 import magic
2928ImportError: No module named 'magic'
2929ERROR
2930(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
2931api_revision_raw_ok (tests.api.views.test_revision.ReleaseApiTestCase) ... Internal Server Error: /api/1/revision/18d8be353ed3480476f032475e7c233eff7371d5/raw/
2932Traceback (most recent call last):
2933 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
2934 return self._urlconf_module
2935AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
2936
2937During handling of the above exception, another exception occurred:
2938
2939Traceback (most recent call last):
2940 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
2941 resolver_match = resolver.resolve(request.path_info)
2942 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
2943 for pattern in self.url_patterns:
2944 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
2945 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
2946 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
2947 self._urlconf_module = import_module(self.urlconf_name)
2948 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
2949 return _bootstrap._gcd_import(name[level:], package, level)
2950 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
2951 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
2952 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
2953 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
2954 File "<frozen importlib._bootstrap>", line 1129, in _exec
2955 File "<frozen importlib._bootstrap>", line 1471, in exec_module
2956 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
2957 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
2958 url(r'^ui/', include('swh.web.ui.urls')),
2959 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
2960 urlconf_module = import_module(urlconf_module)
2961 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
2962 return _bootstrap._gcd_import(name[level:], package, level)
2963 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
2964 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
2965 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
2966 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
2967 File "<frozen importlib._bootstrap>", line 1129, in _exec
2968 File "<frozen importlib._bootstrap>", line 1471, in exec_module
2969 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
2970 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
2971 from swh.web.ui.views import (
2972 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
2973 from swh.web.ui.utils import gen_path_info
2974 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
2975 import magic
2976ImportError: No module named 'magic'
2977ERROR
2978(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
2979api_revision_raw_ok_no_msg (tests.api.views.test_revision.ReleaseApiTestCase) ... Internal Server Error: /api/1/revision/18d8be353ed3480476f032475e7c233eff7371d5/raw/
2980Traceback (most recent call last):
2981 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
2982 return self._urlconf_module
2983AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
2984
2985During handling of the above exception, another exception occurred:
2986
2987Traceback (most recent call last):
2988 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
2989 resolver_match = resolver.resolve(request.path_info)
2990 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
2991 for pattern in self.url_patterns:
2992 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
2993 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
2994 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
2995 self._urlconf_module = import_module(self.urlconf_name)
2996 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
2997 return _bootstrap._gcd_import(name[level:], package, level)
2998 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
2999 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
3000 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
3001 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
3002 File "<frozen importlib._bootstrap>", line 1129, in _exec
3003 File "<frozen importlib._bootstrap>", line 1471, in exec_module
3004 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
3005 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
3006 url(r'^ui/', include('swh.web.ui.urls')),
3007 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
3008 urlconf_module = import_module(urlconf_module)
3009 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
3010 return _bootstrap._gcd_import(name[level:], package, level)
3011 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
3012 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
3013 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
3014 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
3015 File "<frozen importlib._bootstrap>", line 1129, in _exec
3016 File "<frozen importlib._bootstrap>", line 1471, in exec_module
3017 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
3018 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
3019 from swh.web.ui.views import (
3020 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
3021 from swh.web.ui.utils import gen_path_info
3022 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
3023 import magic
3024ImportError: No module named 'magic'
3025ERROR
3026(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
3027api_revision_with_origin (tests.api.views.test_revision.ReleaseApiTestCase) ... Internal Server Error: /api/1/revision/origin/1/
3028Traceback (most recent call last):
3029 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
3030 return self._urlconf_module
3031AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
3032
3033During handling of the above exception, another exception occurred:
3034
3035Traceback (most recent call last):
3036 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
3037 resolver_match = resolver.resolve(request.path_info)
3038 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
3039 for pattern in self.url_patterns:
3040 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
3041 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
3042 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
3043 self._urlconf_module = import_module(self.urlconf_name)
3044 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
3045 return _bootstrap._gcd_import(name[level:], package, level)
3046 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
3047 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
3048 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
3049 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
3050 File "<frozen importlib._bootstrap>", line 1129, in _exec
3051 File "<frozen importlib._bootstrap>", line 1471, in exec_module
3052 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
3053 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
3054 url(r'^ui/', include('swh.web.ui.urls')),
3055 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
3056 urlconf_module = import_module(urlconf_module)
3057 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
3058 return _bootstrap._gcd_import(name[level:], package, level)
3059 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
3060 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
3061 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
3062 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
3063 File "<frozen importlib._bootstrap>", line 1129, in _exec
3064 File "<frozen importlib._bootstrap>", line 1471, in exec_module
3065 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
3066 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
3067 from swh.web.ui.views import (
3068 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
3069 from swh.web.ui.utils import gen_path_info
3070 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
3071 import magic
3072ImportError: No module named 'magic'
3073ERROR
3074(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
3075api_revision_with_origin_and_branch_name (tests.api.views.test_revision.ReleaseApiTestCase) ... Internal Server Error: /api/1/revision/origin/1/branch/refs/origin/dev/
3076Traceback (most recent call last):
3077 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
3078 return self._urlconf_module
3079AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
3080
3081During handling of the above exception, another exception occurred:
3082
3083Traceback (most recent call last):
3084 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
3085 resolver_match = resolver.resolve(request.path_info)
3086 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
3087 for pattern in self.url_patterns:
3088 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
3089 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
3090 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
3091 self._urlconf_module = import_module(self.urlconf_name)
3092 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
3093 return _bootstrap._gcd_import(name[level:], package, level)
3094 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
3095 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
3096 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
3097 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
3098 File "<frozen importlib._bootstrap>", line 1129, in _exec
3099 File "<frozen importlib._bootstrap>", line 1471, in exec_module
3100 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
3101 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
3102 url(r'^ui/', include('swh.web.ui.urls')),
3103 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
3104 urlconf_module = import_module(urlconf_module)
3105 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
3106 return _bootstrap._gcd_import(name[level:], package, level)
3107 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
3108 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
3109 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
3110 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
3111 File "<frozen importlib._bootstrap>", line 1129, in _exec
3112 File "<frozen importlib._bootstrap>", line 1471, in exec_module
3113 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
3114 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
3115 from swh.web.ui.views import (
3116 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
3117 from swh.web.ui.utils import gen_path_info
3118 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
3119 import magic
3120ImportError: No module named 'magic'
3121ERROR
3122(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
3123api_revision_with_origin_and_branch_name_and_timestamp (tests.api.views.test_revision.ReleaseApiTestCase) ... Internal Server Error: /api/1/revision/origin/1/branch/refs/origin/dev/ts/1452591542/
3124Traceback (most recent call last):
3125 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
3126 return self._urlconf_module
3127AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
3128
3129During handling of the above exception, another exception occurred:
3130
3131Traceback (most recent call last):
3132 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
3133 resolver_match = resolver.resolve(request.path_info)
3134 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
3135 for pattern in self.url_patterns:
3136 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
3137 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
3138 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
3139 self._urlconf_module = import_module(self.urlconf_name)
3140 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
3141 return _bootstrap._gcd_import(name[level:], package, level)
3142 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
3143 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
3144 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
3145 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
3146 File "<frozen importlib._bootstrap>", line 1129, in _exec
3147 File "<frozen importlib._bootstrap>", line 1471, in exec_module
3148 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
3149 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
3150 url(r'^ui/', include('swh.web.ui.urls')),
3151 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
3152 urlconf_module = import_module(urlconf_module)
3153 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
3154 return _bootstrap._gcd_import(name[level:], package, level)
3155 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
3156 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
3157 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
3158 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
3159 File "<frozen importlib._bootstrap>", line 1129, in _exec
3160 File "<frozen importlib._bootstrap>", line 1471, in exec_module
3161 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
3162 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
3163 from swh.web.ui.views import (
3164 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
3165 from swh.web.ui.utils import gen_path_info
3166 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
3167 import magic
3168ImportError: No module named 'magic'
3169ERROR
3170(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
3171api_revision_with_origin_and_branch_name_and_timestamp_with_escapes (tests.api.views.test_revision.ReleaseApiTestCase) ... Internal Server Error: /api/1/revision/origin/1/branch/refs/origin/dev/ts/Today is January 1, 2047 at 8:21:00AM/
3172Traceback (most recent call last):
3173 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
3174 return self._urlconf_module
3175AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
3176
3177During handling of the above exception, another exception occurred:
3178
3179Traceback (most recent call last):
3180 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
3181 resolver_match = resolver.resolve(request.path_info)
3182 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
3183 for pattern in self.url_patterns:
3184 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
3185 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
3186 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
3187 self._urlconf_module = import_module(self.urlconf_name)
3188 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
3189 return _bootstrap._gcd_import(name[level:], package, level)
3190 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
3191 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
3192 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
3193 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
3194 File "<frozen importlib._bootstrap>", line 1129, in _exec
3195 File "<frozen importlib._bootstrap>", line 1471, in exec_module
3196 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
3197 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
3198 url(r'^ui/', include('swh.web.ui.urls')),
3199 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
3200 urlconf_module = import_module(urlconf_module)
3201 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
3202 return _bootstrap._gcd_import(name[level:], package, level)
3203 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
3204 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
3205 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
3206 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
3207 File "<frozen importlib._bootstrap>", line 1129, in _exec
3208 File "<frozen importlib._bootstrap>", line 1471, in exec_module
3209 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
3210 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
3211 from swh.web.ui.views import (
3212 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
3213 from swh.web.ui.utils import gen_path_info
3214 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
3215 import magic
3216ImportError: No module named 'magic'
3217ERROR
3218(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
3219api_revision_with_origin_not_found (tests.api.views.test_revision.ReleaseApiTestCase) ... Internal Server Error: /api/1/revision/origin/123/
3220Traceback (most recent call last):
3221 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
3222 return self._urlconf_module
3223AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
3224
3225During handling of the above exception, another exception occurred:
3226
3227Traceback (most recent call last):
3228 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
3229 resolver_match = resolver.resolve(request.path_info)
3230 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
3231 for pattern in self.url_patterns:
3232 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
3233 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
3234 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
3235 self._urlconf_module = import_module(self.urlconf_name)
3236 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
3237 return _bootstrap._gcd_import(name[level:], package, level)
3238 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
3239 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
3240 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
3241 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
3242 File "<frozen importlib._bootstrap>", line 1129, in _exec
3243 File "<frozen importlib._bootstrap>", line 1471, in exec_module
3244 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
3245 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
3246 url(r'^ui/', include('swh.web.ui.urls')),
3247 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
3248 urlconf_module = import_module(urlconf_module)
3249 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
3250 return _bootstrap._gcd_import(name[level:], package, level)
3251 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
3252 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
3253 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
3254 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
3255 File "<frozen importlib._bootstrap>", line 1129, in _exec
3256 File "<frozen importlib._bootstrap>", line 1471, in exec_module
3257 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
3258 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
3259 from swh.web.ui.views import (
3260 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
3261 from swh.web.ui.utils import gen_path_info
3262 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
3263 import magic
3264ImportError: No module named 'magic'
3265ERROR
3266(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
3267revision_directory_by_ko_raise (tests.api.views.test_revision.ReleaseApiTestCase) ... ok
3268(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
3269revision_directory_by_type_dir (tests.api.views.test_revision.ReleaseApiTestCase) ... ok
3270(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
3271revision_directory_by_type_file (tests.api.views.test_revision.ReleaseApiTestCase) ... ok
3272(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
3273api_1_stat_counters (tests.api.views.test_stat.StatApiTestCase) ... Internal Server Error: /api/1/stat/counters/
3274Traceback (most recent call last):
3275 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
3276 return self._urlconf_module
3277AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
3278
3279During handling of the above exception, another exception occurred:
3280
3281Traceback (most recent call last):
3282 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
3283 resolver_match = resolver.resolve(request.path_info)
3284 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
3285 for pattern in self.url_patterns:
3286 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
3287 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
3288 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
3289 self._urlconf_module = import_module(self.urlconf_name)
3290 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
3291 return _bootstrap._gcd_import(name[level:], package, level)
3292 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
3293 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
3294 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
3295 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
3296 File "<frozen importlib._bootstrap>", line 1129, in _exec
3297 File "<frozen importlib._bootstrap>", line 1471, in exec_module
3298 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
3299 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
3300 url(r'^ui/', include('swh.web.ui.urls')),
3301 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
3302 urlconf_module = import_module(urlconf_module)
3303 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
3304 return _bootstrap._gcd_import(name[level:], package, level)
3305 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
3306 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
3307 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
3308 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
3309 File "<frozen importlib._bootstrap>", line 1129, in _exec
3310 File "<frozen importlib._bootstrap>", line 1471, in exec_module
3311 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
3312 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
3313 from swh.web.ui.views import (
3314 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
3315 from swh.web.ui.utils import gen_path_info
3316 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
3317 import magic
3318ImportError: No module named 'magic'
3319ERROR
3320(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
3321api_1_stat_counters_raise_error (tests.api.views.test_stat.StatApiTestCase) ... Internal Server Error: /api/1/stat/counters/
3322Traceback (most recent call last):
3323 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
3324 return self._urlconf_module
3325AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
3326
3327During handling of the above exception, another exception occurred:
3328
3329Traceback (most recent call last):
3330 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
3331 resolver_match = resolver.resolve(request.path_info)
3332 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
3333 for pattern in self.url_patterns:
3334 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
3335 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
3336 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
3337 self._urlconf_module = import_module(self.urlconf_name)
3338 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
3339 return _bootstrap._gcd_import(name[level:], package, level)
3340 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
3341 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
3342 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
3343 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
3344 File "<frozen importlib._bootstrap>", line 1129, in _exec
3345 File "<frozen importlib._bootstrap>", line 1471, in exec_module
3346 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
3347 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
3348 url(r'^ui/', include('swh.web.ui.urls')),
3349 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
3350 urlconf_module = import_module(urlconf_module)
3351 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
3352 return _bootstrap._gcd_import(name[level:], package, level)
3353 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
3354 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
3355 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
3356 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
3357 File "<frozen importlib._bootstrap>", line 1129, in _exec
3358 File "<frozen importlib._bootstrap>", line 1471, in exec_module
3359 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
3360 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
3361 from swh.web.ui.views import (
3362 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
3363 from swh.web.ui.utils import gen_path_info
3364 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
3365 import magic
3366ImportError: No module named 'magic'
3367ERROR
3368(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
3369api_1_stat_counters_raise_swh_storage_error_api (tests.api.views.test_stat.StatApiTestCase) ... Internal Server Error: /api/1/stat/counters/
3370Traceback (most recent call last):
3371 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
3372 return self._urlconf_module
3373AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
3374
3375During handling of the above exception, another exception occurred:
3376
3377Traceback (most recent call last):
3378 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
3379 resolver_match = resolver.resolve(request.path_info)
3380 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
3381 for pattern in self.url_patterns:
3382 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
3383 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
3384 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
3385 self._urlconf_module = import_module(self.urlconf_name)
3386 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
3387 return _bootstrap._gcd_import(name[level:], package, level)
3388 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
3389 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
3390 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
3391 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
3392 File "<frozen importlib._bootstrap>", line 1129, in _exec
3393 File "<frozen importlib._bootstrap>", line 1471, in exec_module
3394 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
3395 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
3396 url(r'^ui/', include('swh.web.ui.urls')),
3397 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
3398 urlconf_module = import_module(urlconf_module)
3399 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
3400 return _bootstrap._gcd_import(name[level:], package, level)
3401 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
3402 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
3403 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
3404 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
3405 File "<frozen importlib._bootstrap>", line 1129, in _exec
3406 File "<frozen importlib._bootstrap>", line 1471, in exec_module
3407 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
3408 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
3409 from swh.web.ui.views import (
3410 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
3411 from swh.web.ui.utils import gen_path_info
3412 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
3413 import magic
3414ImportError: No module named 'magic'
3415ERROR
3416(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
3417api_1_stat_counters_raise_swh_storage_error_db (tests.api.views.test_stat.StatApiTestCase) ... Internal Server Error: /api/1/stat/counters/
3418Traceback (most recent call last):
3419 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
3420 return self._urlconf_module
3421AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
3422
3423During handling of the above exception, another exception occurred:
3424
3425Traceback (most recent call last):
3426 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
3427 resolver_match = resolver.resolve(request.path_info)
3428 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
3429 for pattern in self.url_patterns:
3430 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
3431 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
3432 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
3433 self._urlconf_module = import_module(self.urlconf_name)
3434 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
3435 return _bootstrap._gcd_import(name[level:], package, level)
3436 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
3437 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
3438 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
3439 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
3440 File "<frozen importlib._bootstrap>", line 1129, in _exec
3441 File "<frozen importlib._bootstrap>", line 1471, in exec_module
3442 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
3443 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
3444 url(r'^ui/', include('swh.web.ui.urls')),
3445 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
3446 urlconf_module = import_module(urlconf_module)
3447 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
3448 return _bootstrap._gcd_import(name[level:], package, level)
3449 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
3450 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
3451 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
3452 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
3453 File "<frozen importlib._bootstrap>", line 1129, in _exec
3454 File "<frozen importlib._bootstrap>", line 1471, in exec_module
3455 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
3456 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
3457 from swh.web.ui.views import (
3458 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
3459 from swh.web.ui.utils import gen_path_info
3460 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
3461 import magic
3462ImportError: No module named 'magic'
3463ERROR
3464(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
3465api_lookup_not_found (tests.api.test_api_lookup.ApiLookupTestCase) ... ok
3466(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
3467api_lookup_with_result (tests.api.test_api_lookup.ApiLookupTestCase) ... ok
3468(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
3469api_lookup_with_result_as_map (tests.api.test_api_lookup.ApiLookupTestCase) ... ok
3470(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
3471generic_api_generator_are_enriched_and_returned_as_list (tests.api.test_api_lookup.ApiLookupTestCase) ... ok
3472(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
3473generic_api_list_are_enriched_too (tests.api.test_api_lookup.ApiLookupTestCase) ... ok
3474(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
3475generic_api_lookup_nothing_is_found (tests.api.test_api_lookup.ApiLookupTestCase) ... ok
3476(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
3477generic_api_map_are_enriched_and_transformed_to_list (tests.api.test_api_lookup.ApiLookupTestCase) ... ok
3478(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
3479generic_api_simple_data_are_enriched_and_returned_too (tests.api.test_api_lookup.ApiLookupTestCase) ... ok
3480(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
3481apidoc_full_stack_doc (tests.api.test_apidoc.APIDocTestCase) ... Internal Server Error: /api/1/some/complete/doc/route/
3482Traceback (most recent call last):
3483 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
3484 return self._urlconf_module
3485AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
3486
3487During handling of the above exception, another exception occurred:
3488
3489Traceback (most recent call last):
3490 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
3491 resolver_match = resolver.resolve(request.path_info)
3492 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
3493 for pattern in self.url_patterns:
3494 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
3495 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
3496 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
3497 self._urlconf_module = import_module(self.urlconf_name)
3498 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
3499 return _bootstrap._gcd_import(name[level:], package, level)
3500 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
3501 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
3502 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
3503 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
3504 File "<frozen importlib._bootstrap>", line 1129, in _exec
3505 File "<frozen importlib._bootstrap>", line 1471, in exec_module
3506 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
3507 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
3508 url(r'^ui/', include('swh.web.ui.urls')),
3509 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
3510 urlconf_module = import_module(urlconf_module)
3511 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
3512 return _bootstrap._gcd_import(name[level:], package, level)
3513 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
3514 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
3515 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
3516 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
3517 File "<frozen importlib._bootstrap>", line 1129, in _exec
3518 File "<frozen importlib._bootstrap>", line 1471, in exec_module
3519 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
3520 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
3521 from swh.web.ui.views import (
3522 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
3523 from swh.web.ui.utils import gen_path_info
3524 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
3525 import magic
3526ImportError: No module named 'magic'
3527ERROR
3528(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
3529apidoc_full_stack_fn (tests.api.test_apidoc.APIDocTestCase) ... Internal Server Error: /api/1/some/full/1/1/
3530Traceback (most recent call last):
3531 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
3532 return self._urlconf_module
3533AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
3534
3535During handling of the above exception, another exception occurred:
3536
3537Traceback (most recent call last):
3538 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
3539 resolver_match = resolver.resolve(request.path_info)
3540 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
3541 for pattern in self.url_patterns:
3542 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
3543 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
3544 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
3545 self._urlconf_module = import_module(self.urlconf_name)
3546 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
3547 return _bootstrap._gcd_import(name[level:], package, level)
3548 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
3549 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
3550 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
3551 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
3552 File "<frozen importlib._bootstrap>", line 1129, in _exec
3553 File "<frozen importlib._bootstrap>", line 1471, in exec_module
3554 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
3555 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
3556 url(r'^ui/', include('swh.web.ui.urls')),
3557 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
3558 urlconf_module = import_module(urlconf_module)
3559 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
3560 return _bootstrap._gcd_import(name[level:], package, level)
3561 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
3562 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
3563 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
3564 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
3565 File "<frozen importlib._bootstrap>", line 1129, in _exec
3566 File "<frozen importlib._bootstrap>", line 1471, in exec_module
3567 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
3568 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
3569 from swh.web.ui.views import (
3570 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
3571 from swh.web.ui.utils import gen_path_info
3572 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
3573 import magic
3574ImportError: No module named 'magic'
3575ERROR
3576(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
3577apidoc_nodoc_failure (tests.api.test_apidoc.APIDocTestCase) ... Internal Server Error: /api/1/my/nodoc/url/
3578Traceback (most recent call last):
3579 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
3580 return self._urlconf_module
3581AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
3582
3583During handling of the above exception, another exception occurred:
3584
3585Traceback (most recent call last):
3586 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
3587 resolver_match = resolver.resolve(request.path_info)
3588 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
3589 for pattern in self.url_patterns:
3590 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
3591 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
3592 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
3593 self._urlconf_module = import_module(self.urlconf_name)
3594 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
3595 return _bootstrap._gcd_import(name[level:], package, level)
3596 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
3597 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
3598 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
3599 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
3600 File "<frozen importlib._bootstrap>", line 1129, in _exec
3601 File "<frozen importlib._bootstrap>", line 1471, in exec_module
3602 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
3603 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
3604 url(r'^ui/', include('swh.web.ui.urls')),
3605 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
3606 urlconf_module = import_module(urlconf_module)
3607 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
3608 return _bootstrap._gcd_import(name[level:], package, level)
3609 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
3610 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
3611 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
3612 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
3613 File "<frozen importlib._bootstrap>", line 1129, in _exec
3614 File "<frozen importlib._bootstrap>", line 1471, in exec_module
3615 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
3616 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
3617 from swh.web.ui.views import (
3618 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
3619 from swh.web.ui.utils import gen_path_info
3620 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
3621 import magic
3622ImportError: No module named 'magic'
3623ok
3624(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
3625apidoc_route_doc (tests.api.test_apidoc.APIDocTestCase) ... Internal Server Error: /api/1/some/doc/route/
3626Traceback (most recent call last):
3627 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
3628 return self._urlconf_module
3629AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
3630
3631During handling of the above exception, another exception occurred:
3632
3633Traceback (most recent call last):
3634 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
3635 resolver_match = resolver.resolve(request.path_info)
3636 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
3637 for pattern in self.url_patterns:
3638 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
3639 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
3640 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
3641 self._urlconf_module = import_module(self.urlconf_name)
3642 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
3643 return _bootstrap._gcd_import(name[level:], package, level)
3644 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
3645 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
3646 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
3647 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
3648 File "<frozen importlib._bootstrap>", line 1129, in _exec
3649 File "<frozen importlib._bootstrap>", line 1471, in exec_module
3650 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
3651 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
3652 url(r'^ui/', include('swh.web.ui.urls')),
3653 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
3654 urlconf_module = import_module(urlconf_module)
3655 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
3656 return _bootstrap._gcd_import(name[level:], package, level)
3657 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
3658 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
3659 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
3660 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
3661 File "<frozen importlib._bootstrap>", line 1129, in _exec
3662 File "<frozen importlib._bootstrap>", line 1471, in exec_module
3663 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
3664 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
3665 from swh.web.ui.views import (
3666 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
3667 from swh.web.ui.utils import gen_path_info
3668 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
3669 import magic
3670ImportError: No module named 'magic'
3671ERROR
3672(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
3673apidoc_route_fn (tests.api.test_apidoc.APIDocTestCase) ... Internal Server Error: /api/1/some/1/1/
3674Traceback (most recent call last):
3675 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
3676 return self._urlconf_module
3677AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
3678
3679During handling of the above exception, another exception occurred:
3680
3681Traceback (most recent call last):
3682 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
3683 resolver_match = resolver.resolve(request.path_info)
3684 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
3685 for pattern in self.url_patterns:
3686 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
3687 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
3688 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
3689 self._urlconf_module = import_module(self.urlconf_name)
3690 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
3691 return _bootstrap._gcd_import(name[level:], package, level)
3692 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
3693 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
3694 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
3695 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
3696 File "<frozen importlib._bootstrap>", line 1129, in _exec
3697 File "<frozen importlib._bootstrap>", line 1471, in exec_module
3698 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
3699 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
3700 url(r'^ui/', include('swh.web.ui.urls')),
3701 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
3702 urlconf_module = import_module(urlconf_module)
3703 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
3704 return _bootstrap._gcd_import(name[level:], package, level)
3705 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
3706 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
3707 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
3708 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
3709 File "<frozen importlib._bootstrap>", line 1129, in _exec
3710 File "<frozen importlib._bootstrap>", line 1471, in exec_module
3711 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
3712 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
3713 from swh.web.ui.views import (
3714 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
3715 from swh.web.ui.utils import gen_path_info
3716 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
3717 import magic
3718ImportError: No module named 'magic'
3719ERROR
3720swh_filter_renderer_do_filter (tests.api.test_apiresponse.RendererTestCase) ... ok
3721swh_filter_renderer_do_nothing (tests.api.test_apiresponse.RendererTestCase) ... ok
3722swh_multi_response_mimetype (tests.api.test_apiresponse.RendererTestCase) ... ok
3723compute_link_header (tests.api.test_apiresponse.SWHComputeLinkHeaderTest) ... ok
3724compute_link_header_nothing_changed (tests.api.test_apiresponse.SWHComputeLinkHeaderTest) ... ok
3725compute_link_header_nothing_changed_2 (tests.api.test_apiresponse.SWHComputeLinkHeaderTest) ... ok
3726transform_do_nothing (tests.api.test_apiresponse.SWHTransformProcessorTest) ... ok
3727transform_do_remove_headers (tests.api.test_apiresponse.SWHTransformProcessorTest) ... ok
3728transform_only_return_results_1 (tests.api.test_apiresponse.SWHTransformProcessorTest) ... ok
3729transform_only_return_results_2 (tests.api.test_apiresponse.SWHTransformProcessorTest) ... ok
3730enrich_content_with_hashes (tests.api.test_utils.UtilsTestCase) ... ok
3731enrich_content_with_hashes_and_top_level_url (tests.api.test_utils.UtilsTestCase) ... ok
3732enrich_content_without_hashes (tests.api.test_utils.UtilsTestCase) ... ok
3733enrich_directory_no_type (tests.api.test_utils.UtilsTestCase) ... ok
3734enrich_directory_with_context_and_type_dir (tests.api.test_utils.UtilsTestCase) ... ok
3735enrich_directory_with_context_and_type_file (tests.api.test_utils.UtilsTestCase) ... ok
3736enrich_entity_identity (tests.api.test_utils.UtilsTestCase) ... ok
3737enrich_entity_with_sha1 (tests.api.test_utils.UtilsTestCase) ... ok
3738enrich_release_0 (tests.api.test_utils.UtilsTestCase) ... ok
3739enrich_release_1 (tests.api.test_utils.UtilsTestCase) ... ok
3740enrich_release_2 (tests.api.test_utils.UtilsTestCase) ... ok
3741enrich_release_3 (tests.api.test_utils.UtilsTestCase) ... ok
3742enrich_release_4 (tests.api.test_utils.UtilsTestCase) ... ok
3743enrich_revision_context_empty_prev_list (tests.api.test_utils.UtilsTestCase) ... ok
3744enrich_revision_context_some_prev_list (tests.api.test_utils.UtilsTestCase) ... ok
3745enrich_revision_no_context (tests.api.test_utils.UtilsTestCase) ... ok
3746enrich_revision_with_children_and_parent_no_dir (tests.api.test_utils.UtilsTestCase) ... ok
3747enrich_revision_with_invalid_message (tests.api.test_utils.UtilsTestCase) ... ok
3748enrich_revision_with_no_message (tests.api.test_utils.UtilsTestCase) ... ok
3749enrich_revision_without_children_or_parent (tests.api.test_utils.UtilsTestCase) ... ok
3750filter_endpoints_1 (tests.api.test_utils.UtilsTestCase) ... ok
3751filter_endpoints_2 (tests.api.test_utils.UtilsTestCase) ... ok
3752filter_field_keys_dict (tests.api.test_utils.UtilsTestCase) ... ok
3753filter_field_keys_dict_unknown_keys (tests.api.test_utils.UtilsTestCase) ... ok
3754filter_field_keys_list (tests.api.test_utils.UtilsTestCase) ... ok
3755filter_field_keys_list_unknown_keys (tests.api.test_utils.UtilsTestCase) ... ok
3756filter_field_keys_map (tests.api.test_utils.UtilsTestCase) ... ok
3757filter_field_keys_other (tests.api.test_utils.UtilsTestCase) ... ok
3758fmap (tests.api.test_utils.UtilsTestCase) ... ok
3759person_to_string (tests.api.test_utils.UtilsTestCase) ... ok
3760prepare_data_for_view (tests.api.test_utils.UtilsTestCase) ... ok
3761prepare_data_for_view_default_encoding (tests.api.test_utils.UtilsTestCase) ... ok
3762prepare_data_for_view_ko_cannot_decode (tests.api.test_utils.UtilsTestCase) ... ok
3763from_content (tests.common.test_converters.ConvertersTestCase) ... ok
3764from_content_none (tests.common.test_converters.ConvertersTestCase) ... ok
3765from_directory_entries (tests.common.test_converters.ConvertersTestCase) ... ok
3766from_filetype (tests.common.test_converters.ConvertersTestCase) ... ok
3767from_origin (tests.common.test_converters.ConvertersTestCase) ... ok
3768from_person (tests.common.test_converters.ConvertersTestCase) ... ok
3769from_provenance (tests.common.test_converters.ConvertersTestCase) ... ok
3770from_release (tests.common.test_converters.ConvertersTestCase) ... ok
3771from_release_no_revision (tests.common.test_converters.ConvertersTestCase) ... ok
3772from_revision (tests.common.test_converters.ConvertersTestCase) ... ok
3773from_revision_invalid (tests.common.test_converters.ConvertersTestCase) ... ok
3774from_revision_nomerge (tests.common.test_converters.ConvertersTestCase) ... ok
3775from_revision_noparents (tests.common.test_converters.ConvertersTestCase) ... ok
3776from_swh (tests.common.test_converters.ConvertersTestCase) ... ok
3777from_swh_edge_cases_convert_invalid_utf8_bytes (tests.common.test_converters.ConvertersTestCase) ... ok
3778from_swh_edge_cases_do_no_conversion_if_none_or_not_bytes (tests.common.test_converters.ConvertersTestCase) ... ok
3779from_swh_empty (tests.common.test_converters.ConvertersTestCase) ... ok
3780from_swh_none (tests.common.test_converters.ConvertersTestCase) ... ok
3781parse_hash_check_algo_malformed_sha1_git_hash (tests.common.test_query.QueryTestCase) ... ok
3782parse_hash_check_algo_malformed_sha1_hash (tests.common.test_query.QueryTestCase) ... ok
3783parse_hash_check_algo_malformed_sha256_hash (tests.common.test_query.QueryTestCase) ... ok
3784parse_hash_check_algo_unknown_one (tests.common.test_query.QueryTestCase) ... ok
3785parse_hash_check_sha1 (tests.common.test_query.QueryTestCase) ... ok
3786parse_hash_check_sha1_git (tests.common.test_query.QueryTestCase) ... ok
3787parse_hash_check_sha256 (tests.common.test_query.QueryTestCase) ... ok
3788parse_hash_guess_algo_malformed_hash (tests.common.test_query.QueryTestCase) ... ok
3789parse_hash_guess_sha1 (tests.common.test_query.QueryTestCase) ... ok
3790parse_hash_guess_sha256 (tests.common.test_query.QueryTestCase) ... ok
3791parse_hash_malformed_query_with_more_than_2_parts (tests.common.test_query.QueryTestCase) ... ok
3792parse_hash_with_algorithms (tests.common.test_query.QueryTestCase) ... ok
3793parse_hash_with_algorithms_or_throws_bad_algo (tests.common.test_query.QueryTestCase) ... ok
3794parse_hash_with_algorithms_or_throws_bad_query (tests.common.test_query.QueryTestCase) ... ok
3795parse_uuid4 (tests.common.test_query.QueryTestCase) ... ok
3796parse_uuid4_ko (tests.common.test_query.QueryTestCase) ... ok
3797lookup_content_ctags (tests.common.test_service.ServiceTestCase) ... ok
3798lookup_content_ctags_no_hash (tests.common.test_service.ServiceTestCase) ... ok
3799lookup_content_filetype (tests.common.test_service.ServiceTestCase) ... ok
3800lookup_content_filetype_2 (tests.common.test_service.ServiceTestCase) ... ok
3801lookup_content_language (tests.common.test_service.ServiceTestCase) ... ok
3802lookup_content_language_2 (tests.common.test_service.ServiceTestCase) ... ok
3803lookup_content_license (tests.common.test_service.ServiceTestCase) ... ok
3804lookup_content_license_2 (tests.common.test_service.ServiceTestCase) ... ok
3805lookup_content_not_found (tests.common.test_service.ServiceTestCase) ... ok
3806lookup_content_provenance (tests.common.test_service.ServiceTestCase) ... ok
3807lookup_content_provenance_not_found (tests.common.test_service.ServiceTestCase) ... ok
3808lookup_content_raw (tests.common.test_service.ServiceTestCase) ... ok
3809lookup_content_raw_not_found (tests.common.test_service.ServiceTestCase) ... ok
3810lookup_content_with_sha1 (tests.common.test_service.ServiceTestCase) ... ok
3811lookup_content_with_sha256 (tests.common.test_service.ServiceTestCase) ... ok
3812lookup_directory (tests.common.test_service.ServiceTestCase) ... ok
3813lookup_directory_bad_checksum (tests.common.test_service.ServiceTestCase) ... ok
3814lookup_directory_not_found (tests.common.test_service.ServiceTestCase) ... ok
3815lookup_directory_through_revision_ko_not_found (tests.common.test_service.ServiceTestCase) ... ok
3816lookup_directory_through_revision_ok_with_content (tests.common.test_service.ServiceTestCase) ... ok
3817lookup_directory_through_revision_ok_with_data (tests.common.test_service.ServiceTestCase) ... ok
3818lookup_directory_with_path_found (tests.common.test_service.ServiceTestCase) ... ok
3819lookup_directory_with_path_not_found (tests.common.test_service.ServiceTestCase) ... ok
3820lookup_directory_with_revision_ko_revision_not_found (tests.common.test_service.ServiceTestCase) ... ok
3821lookup_directory_with_revision_ko_revision_with_path_to_nowhere (tests.common.test_service.ServiceTestCase) ... ok
3822lookup_directory_with_revision_ko_type_not_implemented (tests.common.test_service.ServiceTestCase) ... ok
3823lookup_directory_with_revision_revision_with_path_to_dir (tests.common.test_service.ServiceTestCase) ... ok
3824lookup_directory_with_revision_revision_with_path_to_file_with_data (tests.common.test_service.ServiceTestCase) ... ok
3825lookup_directory_with_revision_revision_with_path_to_file_without_data (tests.common.test_service.ServiceTestCase) ... ok
3826lookup_directory_with_revision_revision_without_path (tests.common.test_service.ServiceTestCase) ... ok
3827lookup_entity_by_uuid (tests.common.test_service.ServiceTestCase) ... ok
3828lookup_expression (tests.common.test_service.ServiceTestCase) ... ok
3829lookup_expression_no_result (tests.common.test_service.ServiceTestCase) ... ok
3830lookup_hash_does_not_exist (tests.common.test_service.ServiceTestCase) ... ok
3831lookup_hash_exist (tests.common.test_service.ServiceTestCase) ... ok
3832lookup_multiple_hashes_ball_missing (tests.common.test_service.ServiceTestCase) ... ok
3833lookup_multiple_hashes_some_missing (tests.common.test_service.ServiceTestCase) ... ok
3834lookup_origin (tests.common.test_service.ServiceTestCase) ... ok
3835lookup_origin_visit (tests.common.test_service.ServiceTestCase) ... ok
3836lookup_origin_visits (tests.common.test_service.ServiceTestCase) ... ok
3837lookup_person (tests.common.test_service.ServiceTestCase) ... ok
3838lookup_release (tests.common.test_service.ServiceTestCase) ... ok
3839lookup_release_ko_id_checksum_not_ok_because_not_a_sha1 (tests.common.test_service.ServiceTestCase) ... ok
3840lookup_release_ko_id_checksum_ok_but_not_a_sha1 (tests.common.test_service.ServiceTestCase) ... ok
3841lookup_revision (tests.common.test_service.ServiceTestCase) ... ok
3842lookup_revision_by (tests.common.test_service.ServiceTestCase) ... ok
3843lookup_revision_by_merge (tests.common.test_service.ServiceTestCase) ... ok
3844lookup_revision_by_nomerge (tests.common.test_service.ServiceTestCase) ... ok
3845lookup_revision_by_nothing_found (tests.common.test_service.ServiceTestCase) ... ok
3846lookup_revision_invalid_msg (tests.common.test_service.ServiceTestCase) ... ok
3847lookup_revision_log (tests.common.test_service.ServiceTestCase) ... ok
3848lookup_revision_log_by (tests.common.test_service.ServiceTestCase) ... ok
3849lookup_revision_log_by_nolog (tests.common.test_service.ServiceTestCase) ... ok
3850lookup_revision_msg_absent (tests.common.test_service.ServiceTestCase) ... ok
3851lookup_revision_msg_norev (tests.common.test_service.ServiceTestCase) ... ok
3852lookup_revision_msg_ok (tests.common.test_service.ServiceTestCase) ... ok
3853lookup_revision_multiple (tests.common.test_service.ServiceTestCase) ... ok
3854lookup_revision_multiple_none_found (tests.common.test_service.ServiceTestCase) ... ok
3855lookup_revision_through_ko_not_implemented (tests.common.test_service.ServiceTestCase) ... ok
3856lookup_revision_through_with_context (tests.common.test_service.ServiceTestCase) ... ok
3857lookup_revision_through_with_context_by (tests.common.test_service.ServiceTestCase) ... ok
3858lookup_revision_through_with_revision (tests.common.test_service.ServiceTestCase) ... ok
3859lookup_revision_through_with_revision_by (tests.common.test_service.ServiceTestCase) ... ok
3860lookup_revision_with_context (tests.common.test_service.ServiceTestCase) ... ok
3861lookup_revision_with_context_by (tests.common.test_service.ServiceTestCase) ... ok
3862lookup_revision_with_context_by_ko (tests.common.test_service.ServiceTestCase) ... ok
3863lookup_revision_with_context_ko_not_a_sha1_1 (tests.common.test_service.ServiceTestCase) ... ok
3864lookup_revision_with_context_ko_not_a_sha1_2 (tests.common.test_service.ServiceTestCase) ... ok
3865lookup_revision_with_context_ko_root_sha1_git_does_not_exist (tests.common.test_service.ServiceTestCase) ... ok
3866lookup_revision_with_context_ko_sha1_git_does_not_exist (tests.common.test_service.ServiceTestCase) ... ok
3867lookup_revision_with_context_sha1_git_root_already_retrieved_as_dict (tests.common.test_service.ServiceTestCase) ... ok
3868search_hash_does_not_exist (tests.common.test_service.ServiceTestCase) ... ok
3869search_hash_exist (tests.common.test_service.ServiceTestCase) ... ok
3870stat_counters (tests.common.test_service.ServiceTestCase) ... ok
3871safe_docstring_display (tests.common.test_templatetags.SWHTemplateTagsTest) ... ok
3872urlize_api_links_api (tests.common.test_templatetags.SWHTemplateTagsTest) ... ok
3873urlize_api_links_browse (tests.common.test_templatetags.SWHTemplateTagsTest) ... ok
3874urlize_header_links (tests.common.test_templatetags.SWHTemplateTagsTest) ... ok
3875(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
3876Ensure request rate is limited in scope1 ... ok
3877(0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
3878Ensure request rate is not limited in scope2 as ... ok
3879parse_timestamp (tests.common.test_utils.UtilsTestCase) ... ok
3880shorten_path_noop (tests.common.test_utils.UtilsTestCase) ... ok
3881shorten_path_sha1 (tests.common.test_utils.UtilsTestCase) ... ok
3882shorten_path_sha256 (tests.common.test_utils.UtilsTestCase) ... ok
3883Failure: ImportError (No module named 'magic') ... ERROR
3884Failure: ImportError (No module named 'magic') ... ERROR
3885Failure: ImportError (No module named 'magic') ... ERROR
3886
3887======================================================================
3888ERROR: api_check_content_known (tests.api.views.test_content.ContentApiTestCase)
3889----------------------------------------------------------------------
3890Traceback (most recent call last):
3891 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
3892 return func(*args, **keywargs)
3893 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_content.py", line 627, in api_check_content_known
3894 rv = self.client.get('/api/1/content/known/sha1:blah/')
3895 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
3896 return self.generic('GET', path, **r)
3897 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
3898 return self.request(**r)
3899 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
3900 return super(APIClient, self).request(**kwargs)
3901 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
3902 request = super(APIRequestFactory, self).request(**kwargs)
3903 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
3904 six.reraise(*exc_info)
3905 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
3906 raise value
3907 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
3908 resolver_match = resolver.resolve(request.path_info)
3909 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
3910 for pattern in self.url_patterns:
3911 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
3912 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
3913 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
3914 self._urlconf_module = import_module(self.urlconf_name)
3915 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
3916 return _bootstrap._gcd_import(name[level:], package, level)
3917 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
3918 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
3919 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
3920 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
3921 File "<frozen importlib._bootstrap>", line 1129, in _exec
3922 File "<frozen importlib._bootstrap>", line 1471, in exec_module
3923 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
3924 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
3925 url(r'^ui/', include('swh.web.ui.urls')),
3926 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
3927 urlconf_module = import_module(urlconf_module)
3928 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
3929 return _bootstrap._gcd_import(name[level:], package, level)
3930 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
3931 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
3932 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
3933 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
3934 File "<frozen importlib._bootstrap>", line 1129, in _exec
3935 File "<frozen importlib._bootstrap>", line 1471, in exec_module
3936 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
3937 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
3938 from swh.web.ui.views import (
3939 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
3940 from swh.web.ui.utils import gen_path_info
3941 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
3942 import magic
3943nose.proxy.ImportError: No module named 'magic'
3944-------------------- >> begin captured logging << --------------------
3945django.db.backends: DEBUG: (0.001) QUERY = 'BEGIN' - PARAMS = (); args=None
3946django.request: ERROR: Internal Server Error: /api/1/content/known/sha1:blah/
3947Traceback (most recent call last):
3948 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
3949 return self._urlconf_module
3950AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
3951
3952During handling of the above exception, another exception occurred:
3953
3954Traceback (most recent call last):
3955 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
3956 resolver_match = resolver.resolve(request.path_info)
3957 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
3958 for pattern in self.url_patterns:
3959 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
3960 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
3961 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
3962 self._urlconf_module = import_module(self.urlconf_name)
3963 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
3964 return _bootstrap._gcd_import(name[level:], package, level)
3965 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
3966 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
3967 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
3968 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
3969 File "<frozen importlib._bootstrap>", line 1129, in _exec
3970 File "<frozen importlib._bootstrap>", line 1471, in exec_module
3971 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
3972 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
3973 url(r'^ui/', include('swh.web.ui.urls')),
3974 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
3975 urlconf_module = import_module(urlconf_module)
3976 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
3977 return _bootstrap._gcd_import(name[level:], package, level)
3978 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
3979 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
3980 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
3981 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
3982 File "<frozen importlib._bootstrap>", line 1129, in _exec
3983 File "<frozen importlib._bootstrap>", line 1471, in exec_module
3984 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
3985 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
3986 from swh.web.ui.views import (
3987 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
3988 from swh.web.ui.utils import gen_path_info
3989 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
3990 import magic
3991ImportError: No module named 'magic'
3992--------------------- >> end captured logging << ---------------------
3993
3994======================================================================
3995ERROR: api_check_content_known_as_yaml (tests.api.views.test_content.ContentApiTestCase)
3996----------------------------------------------------------------------
3997Traceback (most recent call last):
3998 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
3999 return func(*args, **keywargs)
4000 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_content.py", line 658, in api_check_content_known_as_yaml
4001 HTTP_ACCEPT='application/yaml')
4002 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
4003 return self.generic('GET', path, **r)
4004 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
4005 return self.request(**r)
4006 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
4007 return super(APIClient, self).request(**kwargs)
4008 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
4009 request = super(APIRequestFactory, self).request(**kwargs)
4010 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
4011 six.reraise(*exc_info)
4012 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
4013 raise value
4014 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
4015 resolver_match = resolver.resolve(request.path_info)
4016 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
4017 for pattern in self.url_patterns:
4018 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
4019 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
4020 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
4021 self._urlconf_module = import_module(self.urlconf_name)
4022 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
4023 return _bootstrap._gcd_import(name[level:], package, level)
4024 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
4025 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
4026 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
4027 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
4028 File "<frozen importlib._bootstrap>", line 1129, in _exec
4029 File "<frozen importlib._bootstrap>", line 1471, in exec_module
4030 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
4031 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
4032 url(r'^ui/', include('swh.web.ui.urls')),
4033 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
4034 urlconf_module = import_module(urlconf_module)
4035 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
4036 return _bootstrap._gcd_import(name[level:], package, level)
4037 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
4038 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
4039 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
4040 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
4041 File "<frozen importlib._bootstrap>", line 1129, in _exec
4042 File "<frozen importlib._bootstrap>", line 1471, in exec_module
4043 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
4044 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
4045 from swh.web.ui.views import (
4046 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
4047 from swh.web.ui.utils import gen_path_info
4048 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
4049 import magic
4050nose.proxy.ImportError: No module named 'magic'
4051-------------------- >> begin captured logging << --------------------
4052django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
4053django.request: ERROR: Internal Server Error: /api/1/content/known/sha1:halb,sha1_git:hello/
4054Traceback (most recent call last):
4055 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
4056 return self._urlconf_module
4057AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
4058
4059During handling of the above exception, another exception occurred:
4060
4061Traceback (most recent call last):
4062 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
4063 resolver_match = resolver.resolve(request.path_info)
4064 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
4065 for pattern in self.url_patterns:
4066 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
4067 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
4068 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
4069 self._urlconf_module = import_module(self.urlconf_name)
4070 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
4071 return _bootstrap._gcd_import(name[level:], package, level)
4072 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
4073 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
4074 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
4075 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
4076 File "<frozen importlib._bootstrap>", line 1129, in _exec
4077 File "<frozen importlib._bootstrap>", line 1471, in exec_module
4078 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
4079 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
4080 url(r'^ui/', include('swh.web.ui.urls')),
4081 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
4082 urlconf_module = import_module(urlconf_module)
4083 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
4084 return _bootstrap._gcd_import(name[level:], package, level)
4085 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
4086 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
4087 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
4088 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
4089 File "<frozen importlib._bootstrap>", line 1129, in _exec
4090 File "<frozen importlib._bootstrap>", line 1471, in exec_module
4091 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
4092 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
4093 from swh.web.ui.views import (
4094 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
4095 from swh.web.ui.utils import gen_path_info
4096 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
4097 import magic
4098ImportError: No module named 'magic'
4099--------------------- >> end captured logging << ---------------------
4100
4101======================================================================
4102ERROR: api_check_content_known_not_found (tests.api.views.test_content.ContentApiTestCase)
4103----------------------------------------------------------------------
4104Traceback (most recent call last):
4105 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
4106 return func(*args, **keywargs)
4107 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_content.py", line 715, in api_check_content_known_not_found
4108 rv = self.client.get('/api/1/content/known/sha1:halb/')
4109 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
4110 return self.generic('GET', path, **r)
4111 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
4112 return self.request(**r)
4113 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
4114 return super(APIClient, self).request(**kwargs)
4115 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
4116 request = super(APIRequestFactory, self).request(**kwargs)
4117 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
4118 six.reraise(*exc_info)
4119 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
4120 raise value
4121 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
4122 resolver_match = resolver.resolve(request.path_info)
4123 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
4124 for pattern in self.url_patterns:
4125 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
4126 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
4127 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
4128 self._urlconf_module = import_module(self.urlconf_name)
4129 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
4130 return _bootstrap._gcd_import(name[level:], package, level)
4131 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
4132 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
4133 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
4134 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
4135 File "<frozen importlib._bootstrap>", line 1129, in _exec
4136 File "<frozen importlib._bootstrap>", line 1471, in exec_module
4137 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
4138 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
4139 url(r'^ui/', include('swh.web.ui.urls')),
4140 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
4141 urlconf_module = import_module(urlconf_module)
4142 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
4143 return _bootstrap._gcd_import(name[level:], package, level)
4144 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
4145 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
4146 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
4147 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
4148 File "<frozen importlib._bootstrap>", line 1129, in _exec
4149 File "<frozen importlib._bootstrap>", line 1471, in exec_module
4150 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
4151 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
4152 from swh.web.ui.views import (
4153 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
4154 from swh.web.ui.utils import gen_path_info
4155 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
4156 import magic
4157nose.proxy.ImportError: No module named 'magic'
4158-------------------- >> begin captured logging << --------------------
4159django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
4160django.request: ERROR: Internal Server Error: /api/1/content/known/sha1:halb/
4161Traceback (most recent call last):
4162 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
4163 return self._urlconf_module
4164AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
4165
4166During handling of the above exception, another exception occurred:
4167
4168Traceback (most recent call last):
4169 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
4170 resolver_match = resolver.resolve(request.path_info)
4171 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
4172 for pattern in self.url_patterns:
4173 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
4174 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
4175 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
4176 self._urlconf_module = import_module(self.urlconf_name)
4177 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
4178 return _bootstrap._gcd_import(name[level:], package, level)
4179 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
4180 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
4181 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
4182 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
4183 File "<frozen importlib._bootstrap>", line 1129, in _exec
4184 File "<frozen importlib._bootstrap>", line 1471, in exec_module
4185 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
4186 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
4187 url(r'^ui/', include('swh.web.ui.urls')),
4188 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
4189 urlconf_module = import_module(urlconf_module)
4190 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
4191 return _bootstrap._gcd_import(name[level:], package, level)
4192 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
4193 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
4194 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
4195 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
4196 File "<frozen importlib._bootstrap>", line 1129, in _exec
4197 File "<frozen importlib._bootstrap>", line 1471, in exec_module
4198 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
4199 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
4200 from swh.web.ui.views import (
4201 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
4202 from swh.web.ui.utils import gen_path_info
4203 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
4204 import magic
4205ImportError: No module named 'magic'
4206--------------------- >> end captured logging << ---------------------
4207
4208======================================================================
4209ERROR: api_check_content_known_post_as_yaml (tests.api.views.test_content.ContentApiTestCase)
4210----------------------------------------------------------------------
4211Traceback (most recent call last):
4212 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
4213 return func(*args, **keywargs)
4214 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_content.py", line 694, in api_check_content_known_post_as_yaml
4215 HTTP_ACCEPT='application/yaml'
4216 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 90, in post
4217 return self.generic('POST', path, data, content_type, **extra)
4218 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
4219 return self.request(**r)
4220 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
4221 return super(APIClient, self).request(**kwargs)
4222 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
4223 request = super(APIRequestFactory, self).request(**kwargs)
4224 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
4225 six.reraise(*exc_info)
4226 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
4227 raise value
4228 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
4229 resolver_match = resolver.resolve(request.path_info)
4230 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
4231 for pattern in self.url_patterns:
4232 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
4233 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
4234 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
4235 self._urlconf_module = import_module(self.urlconf_name)
4236 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
4237 return _bootstrap._gcd_import(name[level:], package, level)
4238 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
4239 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
4240 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
4241 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
4242 File "<frozen importlib._bootstrap>", line 1129, in _exec
4243 File "<frozen importlib._bootstrap>", line 1471, in exec_module
4244 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
4245 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
4246 url(r'^ui/', include('swh.web.ui.urls')),
4247 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
4248 urlconf_module = import_module(urlconf_module)
4249 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
4250 return _bootstrap._gcd_import(name[level:], package, level)
4251 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
4252 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
4253 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
4254 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
4255 File "<frozen importlib._bootstrap>", line 1129, in _exec
4256 File "<frozen importlib._bootstrap>", line 1471, in exec_module
4257 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
4258 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
4259 from swh.web.ui.views import (
4260 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
4261 from swh.web.ui.utils import gen_path_info
4262 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
4263 import magic
4264nose.proxy.ImportError: No module named 'magic'
4265-------------------- >> begin captured logging << --------------------
4266django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
4267django.request: ERROR: Internal Server Error: /api/1/content/known/search/
4268Traceback (most recent call last):
4269 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
4270 return self._urlconf_module
4271AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
4272
4273During handling of the above exception, another exception occurred:
4274
4275Traceback (most recent call last):
4276 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
4277 resolver_match = resolver.resolve(request.path_info)
4278 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
4279 for pattern in self.url_patterns:
4280 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
4281 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
4282 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
4283 self._urlconf_module = import_module(self.urlconf_name)
4284 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
4285 return _bootstrap._gcd_import(name[level:], package, level)
4286 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
4287 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
4288 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
4289 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
4290 File "<frozen importlib._bootstrap>", line 1129, in _exec
4291 File "<frozen importlib._bootstrap>", line 1471, in exec_module
4292 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
4293 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
4294 url(r'^ui/', include('swh.web.ui.urls')),
4295 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
4296 urlconf_module = import_module(urlconf_module)
4297 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
4298 return _bootstrap._gcd_import(name[level:], package, level)
4299 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
4300 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
4301 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
4302 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
4303 File "<frozen importlib._bootstrap>", line 1129, in _exec
4304 File "<frozen importlib._bootstrap>", line 1471, in exec_module
4305 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
4306 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
4307 from swh.web.ui.views import (
4308 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
4309 from swh.web.ui.utils import gen_path_info
4310 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
4311 import magic
4312ImportError: No module named 'magic'
4313--------------------- >> end captured logging << ---------------------
4314
4315======================================================================
4316ERROR: api_content_ctags (tests.api.views.test_content.ContentApiTestCase)
4317----------------------------------------------------------------------
4318Traceback (most recent call last):
4319 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
4320 return func(*args, **keywargs)
4321 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_content.py", line 253, in api_content_ctags
4322 '/api/1/content/'
4323 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
4324 return self.generic('GET', path, **r)
4325 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
4326 return self.request(**r)
4327 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
4328 return super(APIClient, self).request(**kwargs)
4329 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
4330 request = super(APIRequestFactory, self).request(**kwargs)
4331 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
4332 six.reraise(*exc_info)
4333 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
4334 raise value
4335 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
4336 resolver_match = resolver.resolve(request.path_info)
4337 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
4338 for pattern in self.url_patterns:
4339 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
4340 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
4341 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
4342 self._urlconf_module = import_module(self.urlconf_name)
4343 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
4344 return _bootstrap._gcd_import(name[level:], package, level)
4345 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
4346 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
4347 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
4348 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
4349 File "<frozen importlib._bootstrap>", line 1129, in _exec
4350 File "<frozen importlib._bootstrap>", line 1471, in exec_module
4351 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
4352 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
4353 url(r'^ui/', include('swh.web.ui.urls')),
4354 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
4355 urlconf_module = import_module(urlconf_module)
4356 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
4357 return _bootstrap._gcd_import(name[level:], package, level)
4358 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
4359 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
4360 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
4361 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
4362 File "<frozen importlib._bootstrap>", line 1129, in _exec
4363 File "<frozen importlib._bootstrap>", line 1471, in exec_module
4364 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
4365 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
4366 from swh.web.ui.views import (
4367 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
4368 from swh.web.ui.utils import gen_path_info
4369 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
4370 import magic
4371nose.proxy.ImportError: No module named 'magic'
4372-------------------- >> begin captured logging << --------------------
4373django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
4374django.request: ERROR: Internal Server Error: /api/1/content/sha1_git:b04caf10e9535160d90e874b45aa426de762f19f/ctags/
4375Traceback (most recent call last):
4376 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
4377 return self._urlconf_module
4378AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
4379
4380During handling of the above exception, another exception occurred:
4381
4382Traceback (most recent call last):
4383 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
4384 resolver_match = resolver.resolve(request.path_info)
4385 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
4386 for pattern in self.url_patterns:
4387 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
4388 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
4389 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
4390 self._urlconf_module = import_module(self.urlconf_name)
4391 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
4392 return _bootstrap._gcd_import(name[level:], package, level)
4393 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
4394 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
4395 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
4396 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
4397 File "<frozen importlib._bootstrap>", line 1129, in _exec
4398 File "<frozen importlib._bootstrap>", line 1471, in exec_module
4399 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
4400 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
4401 url(r'^ui/', include('swh.web.ui.urls')),
4402 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
4403 urlconf_module = import_module(urlconf_module)
4404 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
4405 return _bootstrap._gcd_import(name[level:], package, level)
4406 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
4407 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
4408 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
4409 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
4410 File "<frozen importlib._bootstrap>", line 1129, in _exec
4411 File "<frozen importlib._bootstrap>", line 1471, in exec_module
4412 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
4413 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
4414 from swh.web.ui.views import (
4415 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
4416 from swh.web.ui.utils import gen_path_info
4417 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
4418 import magic
4419ImportError: No module named 'magic'
4420--------------------- >> end captured logging << ---------------------
4421
4422======================================================================
4423ERROR: api_content_filetype (tests.api.views.test_content.ContentApiTestCase)
4424----------------------------------------------------------------------
4425Traceback (most recent call last):
4426 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
4427 return func(*args, **keywargs)
4428 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_content.py", line 25, in api_content_filetype
4429 '/api/1/content/'
4430 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
4431 return self.generic('GET', path, **r)
4432 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
4433 return self.request(**r)
4434 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
4435 return super(APIClient, self).request(**kwargs)
4436 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
4437 request = super(APIRequestFactory, self).request(**kwargs)
4438 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
4439 six.reraise(*exc_info)
4440 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
4441 raise value
4442 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
4443 resolver_match = resolver.resolve(request.path_info)
4444 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
4445 for pattern in self.url_patterns:
4446 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
4447 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
4448 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
4449 self._urlconf_module = import_module(self.urlconf_name)
4450 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
4451 return _bootstrap._gcd_import(name[level:], package, level)
4452 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
4453 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
4454 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
4455 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
4456 File "<frozen importlib._bootstrap>", line 1129, in _exec
4457 File "<frozen importlib._bootstrap>", line 1471, in exec_module
4458 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
4459 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
4460 url(r'^ui/', include('swh.web.ui.urls')),
4461 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
4462 urlconf_module = import_module(urlconf_module)
4463 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
4464 return _bootstrap._gcd_import(name[level:], package, level)
4465 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
4466 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
4467 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
4468 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
4469 File "<frozen importlib._bootstrap>", line 1129, in _exec
4470 File "<frozen importlib._bootstrap>", line 1471, in exec_module
4471 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
4472 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
4473 from swh.web.ui.views import (
4474 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
4475 from swh.web.ui.utils import gen_path_info
4476 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
4477 import magic
4478nose.proxy.ImportError: No module named 'magic'
4479-------------------- >> begin captured logging << --------------------
4480django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
4481django.request: ERROR: Internal Server Error: /api/1/content/sha1_git:b04caf10e9535160d90e874b45aa426de762f19f/filetype/
4482Traceback (most recent call last):
4483 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
4484 return self._urlconf_module
4485AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
4486
4487During handling of the above exception, another exception occurred:
4488
4489Traceback (most recent call last):
4490 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
4491 resolver_match = resolver.resolve(request.path_info)
4492 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
4493 for pattern in self.url_patterns:
4494 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
4495 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
4496 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
4497 self._urlconf_module = import_module(self.urlconf_name)
4498 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
4499 return _bootstrap._gcd_import(name[level:], package, level)
4500 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
4501 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
4502 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
4503 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
4504 File "<frozen importlib._bootstrap>", line 1129, in _exec
4505 File "<frozen importlib._bootstrap>", line 1471, in exec_module
4506 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
4507 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
4508 url(r'^ui/', include('swh.web.ui.urls')),
4509 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
4510 urlconf_module = import_module(urlconf_module)
4511 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
4512 return _bootstrap._gcd_import(name[level:], package, level)
4513 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
4514 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
4515 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
4516 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
4517 File "<frozen importlib._bootstrap>", line 1129, in _exec
4518 File "<frozen importlib._bootstrap>", line 1471, in exec_module
4519 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
4520 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
4521 from swh.web.ui.views import (
4522 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
4523 from swh.web.ui.utils import gen_path_info
4524 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
4525 import magic
4526ImportError: No module named 'magic'
4527--------------------- >> end captured logging << ---------------------
4528
4529======================================================================
4530ERROR: api_content_filetype_sha_not_found (tests.api.views.test_content.ContentApiTestCase)
4531----------------------------------------------------------------------
4532Traceback (most recent call last):
4533 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
4534 return func(*args, **keywargs)
4535 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_content.py", line 50, in api_content_filetype_sha_not_found
4536 '/api/1/content/sha1:40e71b8614fcd89ccd17ca2b1d9e66c5b00a6d03/'
4537 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
4538 return self.generic('GET', path, **r)
4539 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
4540 return self.request(**r)
4541 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
4542 return super(APIClient, self).request(**kwargs)
4543 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
4544 request = super(APIRequestFactory, self).request(**kwargs)
4545 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
4546 six.reraise(*exc_info)
4547 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
4548 raise value
4549 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
4550 resolver_match = resolver.resolve(request.path_info)
4551 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
4552 for pattern in self.url_patterns:
4553 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
4554 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
4555 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
4556 self._urlconf_module = import_module(self.urlconf_name)
4557 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
4558 return _bootstrap._gcd_import(name[level:], package, level)
4559 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
4560 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
4561 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
4562 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
4563 File "<frozen importlib._bootstrap>", line 1129, in _exec
4564 File "<frozen importlib._bootstrap>", line 1471, in exec_module
4565 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
4566 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
4567 url(r'^ui/', include('swh.web.ui.urls')),
4568 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
4569 urlconf_module = import_module(urlconf_module)
4570 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
4571 return _bootstrap._gcd_import(name[level:], package, level)
4572 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
4573 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
4574 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
4575 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
4576 File "<frozen importlib._bootstrap>", line 1129, in _exec
4577 File "<frozen importlib._bootstrap>", line 1471, in exec_module
4578 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
4579 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
4580 from swh.web.ui.views import (
4581 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
4582 from swh.web.ui.utils import gen_path_info
4583 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
4584 import magic
4585nose.proxy.ImportError: No module named 'magic'
4586-------------------- >> begin captured logging << --------------------
4587django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
4588django.request: ERROR: Internal Server Error: /api/1/content/sha1:40e71b8614fcd89ccd17ca2b1d9e66c5b00a6d03/filetype/
4589Traceback (most recent call last):
4590 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
4591 return self._urlconf_module
4592AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
4593
4594During handling of the above exception, another exception occurred:
4595
4596Traceback (most recent call last):
4597 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
4598 resolver_match = resolver.resolve(request.path_info)
4599 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
4600 for pattern in self.url_patterns:
4601 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
4602 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
4603 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
4604 self._urlconf_module = import_module(self.urlconf_name)
4605 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
4606 return _bootstrap._gcd_import(name[level:], package, level)
4607 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
4608 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
4609 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
4610 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
4611 File "<frozen importlib._bootstrap>", line 1129, in _exec
4612 File "<frozen importlib._bootstrap>", line 1471, in exec_module
4613 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
4614 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
4615 url(r'^ui/', include('swh.web.ui.urls')),
4616 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
4617 urlconf_module = import_module(urlconf_module)
4618 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
4619 return _bootstrap._gcd_import(name[level:], package, level)
4620 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
4621 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
4622 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
4623 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
4624 File "<frozen importlib._bootstrap>", line 1129, in _exec
4625 File "<frozen importlib._bootstrap>", line 1471, in exec_module
4626 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
4627 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
4628 from swh.web.ui.views import (
4629 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
4630 from swh.web.ui.utils import gen_path_info
4631 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
4632 import magic
4633ImportError: No module named 'magic'
4634--------------------- >> end captured logging << ---------------------
4635
4636======================================================================
4637ERROR: api_content_language (tests.api.views.test_content.ContentApiTestCase)
4638----------------------------------------------------------------------
4639Traceback (most recent call last):
4640 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
4641 return func(*args, **keywargs)
4642 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_content.py", line 76, in api_content_language
4643 '/api/1/content/'
4644 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
4645 return self.generic('GET', path, **r)
4646 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
4647 return self.request(**r)
4648 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
4649 return super(APIClient, self).request(**kwargs)
4650 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
4651 request = super(APIRequestFactory, self).request(**kwargs)
4652 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
4653 six.reraise(*exc_info)
4654 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
4655 raise value
4656 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
4657 resolver_match = resolver.resolve(request.path_info)
4658 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
4659 for pattern in self.url_patterns:
4660 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
4661 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
4662 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
4663 self._urlconf_module = import_module(self.urlconf_name)
4664 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
4665 return _bootstrap._gcd_import(name[level:], package, level)
4666 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
4667 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
4668 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
4669 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
4670 File "<frozen importlib._bootstrap>", line 1129, in _exec
4671 File "<frozen importlib._bootstrap>", line 1471, in exec_module
4672 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
4673 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
4674 url(r'^ui/', include('swh.web.ui.urls')),
4675 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
4676 urlconf_module = import_module(urlconf_module)
4677 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
4678 return _bootstrap._gcd_import(name[level:], package, level)
4679 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
4680 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
4681 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
4682 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
4683 File "<frozen importlib._bootstrap>", line 1129, in _exec
4684 File "<frozen importlib._bootstrap>", line 1471, in exec_module
4685 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
4686 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
4687 from swh.web.ui.views import (
4688 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
4689 from swh.web.ui.utils import gen_path_info
4690 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
4691 import magic
4692nose.proxy.ImportError: No module named 'magic'
4693-------------------- >> begin captured logging << --------------------
4694django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
4695django.request: ERROR: Internal Server Error: /api/1/content/sha1_git:b04caf10e9535160d90e874b45aa426de762f19f/language/
4696Traceback (most recent call last):
4697 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
4698 return self._urlconf_module
4699AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
4700
4701During handling of the above exception, another exception occurred:
4702
4703Traceback (most recent call last):
4704 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
4705 resolver_match = resolver.resolve(request.path_info)
4706 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
4707 for pattern in self.url_patterns:
4708 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
4709 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
4710 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
4711 self._urlconf_module = import_module(self.urlconf_name)
4712 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
4713 return _bootstrap._gcd_import(name[level:], package, level)
4714 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
4715 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
4716 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
4717 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
4718 File "<frozen importlib._bootstrap>", line 1129, in _exec
4719 File "<frozen importlib._bootstrap>", line 1471, in exec_module
4720 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
4721 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
4722 url(r'^ui/', include('swh.web.ui.urls')),
4723 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
4724 urlconf_module = import_module(urlconf_module)
4725 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
4726 return _bootstrap._gcd_import(name[level:], package, level)
4727 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
4728 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
4729 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
4730 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
4731 File "<frozen importlib._bootstrap>", line 1129, in _exec
4732 File "<frozen importlib._bootstrap>", line 1471, in exec_module
4733 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
4734 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
4735 from swh.web.ui.views import (
4736 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
4737 from swh.web.ui.utils import gen_path_info
4738 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
4739 import magic
4740ImportError: No module named 'magic'
4741--------------------- >> end captured logging << ---------------------
4742
4743======================================================================
4744ERROR: api_content_language_sha_not_found (tests.api.views.test_content.ContentApiTestCase)
4745----------------------------------------------------------------------
4746Traceback (most recent call last):
4747 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
4748 return func(*args, **keywargs)
4749 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_content.py", line 100, in api_content_language_sha_not_found
4750 '/api/1/content/sha1:40e71b8614fcd89ccd17ca2b1d9e66c5b00a6d03'
4751 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
4752 return self.generic('GET', path, **r)
4753 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
4754 return self.request(**r)
4755 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
4756 return super(APIClient, self).request(**kwargs)
4757 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
4758 request = super(APIRequestFactory, self).request(**kwargs)
4759 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
4760 six.reraise(*exc_info)
4761 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
4762 raise value
4763 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
4764 resolver_match = resolver.resolve(request.path_info)
4765 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
4766 for pattern in self.url_patterns:
4767 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
4768 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
4769 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
4770 self._urlconf_module = import_module(self.urlconf_name)
4771 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
4772 return _bootstrap._gcd_import(name[level:], package, level)
4773 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
4774 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
4775 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
4776 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
4777 File "<frozen importlib._bootstrap>", line 1129, in _exec
4778 File "<frozen importlib._bootstrap>", line 1471, in exec_module
4779 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
4780 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
4781 url(r'^ui/', include('swh.web.ui.urls')),
4782 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
4783 urlconf_module = import_module(urlconf_module)
4784 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
4785 return _bootstrap._gcd_import(name[level:], package, level)
4786 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
4787 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
4788 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
4789 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
4790 File "<frozen importlib._bootstrap>", line 1129, in _exec
4791 File "<frozen importlib._bootstrap>", line 1471, in exec_module
4792 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
4793 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
4794 from swh.web.ui.views import (
4795 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
4796 from swh.web.ui.utils import gen_path_info
4797 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
4798 import magic
4799nose.proxy.ImportError: No module named 'magic'
4800-------------------- >> begin captured logging << --------------------
4801django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
4802django.request: ERROR: Internal Server Error: /api/1/content/sha1:40e71b8614fcd89ccd17ca2b1d9e66c5b00a6d03/language/
4803Traceback (most recent call last):
4804 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
4805 return self._urlconf_module
4806AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
4807
4808During handling of the above exception, another exception occurred:
4809
4810Traceback (most recent call last):
4811 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
4812 resolver_match = resolver.resolve(request.path_info)
4813 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
4814 for pattern in self.url_patterns:
4815 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
4816 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
4817 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
4818 self._urlconf_module = import_module(self.urlconf_name)
4819 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
4820 return _bootstrap._gcd_import(name[level:], package, level)
4821 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
4822 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
4823 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
4824 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
4825 File "<frozen importlib._bootstrap>", line 1129, in _exec
4826 File "<frozen importlib._bootstrap>", line 1471, in exec_module
4827 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
4828 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
4829 url(r'^ui/', include('swh.web.ui.urls')),
4830 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
4831 urlconf_module = import_module(urlconf_module)
4832 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
4833 return _bootstrap._gcd_import(name[level:], package, level)
4834 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
4835 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
4836 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
4837 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
4838 File "<frozen importlib._bootstrap>", line 1129, in _exec
4839 File "<frozen importlib._bootstrap>", line 1471, in exec_module
4840 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
4841 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
4842 from swh.web.ui.views import (
4843 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
4844 from swh.web.ui.utils import gen_path_info
4845 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
4846 import magic
4847ImportError: No module named 'magic'
4848--------------------- >> end captured logging << ---------------------
4849
4850======================================================================
4851ERROR: api_content_license (tests.api.views.test_content.ContentApiTestCase)
4852----------------------------------------------------------------------
4853Traceback (most recent call last):
4854 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
4855 return func(*args, **keywargs)
4856 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_content.py", line 281, in api_content_license
4857 '/api/1/content/'
4858 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
4859 return self.generic('GET', path, **r)
4860 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
4861 return self.request(**r)
4862 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
4863 return super(APIClient, self).request(**kwargs)
4864 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
4865 request = super(APIRequestFactory, self).request(**kwargs)
4866 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
4867 six.reraise(*exc_info)
4868 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
4869 raise value
4870 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
4871 resolver_match = resolver.resolve(request.path_info)
4872 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
4873 for pattern in self.url_patterns:
4874 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
4875 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
4876 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
4877 self._urlconf_module = import_module(self.urlconf_name)
4878 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
4879 return _bootstrap._gcd_import(name[level:], package, level)
4880 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
4881 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
4882 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
4883 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
4884 File "<frozen importlib._bootstrap>", line 1129, in _exec
4885 File "<frozen importlib._bootstrap>", line 1471, in exec_module
4886 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
4887 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
4888 url(r'^ui/', include('swh.web.ui.urls')),
4889 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
4890 urlconf_module = import_module(urlconf_module)
4891 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
4892 return _bootstrap._gcd_import(name[level:], package, level)
4893 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
4894 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
4895 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
4896 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
4897 File "<frozen importlib._bootstrap>", line 1129, in _exec
4898 File "<frozen importlib._bootstrap>", line 1471, in exec_module
4899 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
4900 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
4901 from swh.web.ui.views import (
4902 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
4903 from swh.web.ui.utils import gen_path_info
4904 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
4905 import magic
4906nose.proxy.ImportError: No module named 'magic'
4907-------------------- >> begin captured logging << --------------------
4908django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
4909django.request: ERROR: Internal Server Error: /api/1/content/sha1_git:b04caf10e9535160d90e874b45aa426de762f19f/license/
4910Traceback (most recent call last):
4911 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
4912 return self._urlconf_module
4913AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
4914
4915During handling of the above exception, another exception occurred:
4916
4917Traceback (most recent call last):
4918 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
4919 resolver_match = resolver.resolve(request.path_info)
4920 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
4921 for pattern in self.url_patterns:
4922 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
4923 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
4924 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
4925 self._urlconf_module = import_module(self.urlconf_name)
4926 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
4927 return _bootstrap._gcd_import(name[level:], package, level)
4928 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
4929 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
4930 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
4931 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
4932 File "<frozen importlib._bootstrap>", line 1129, in _exec
4933 File "<frozen importlib._bootstrap>", line 1471, in exec_module
4934 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
4935 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
4936 url(r'^ui/', include('swh.web.ui.urls')),
4937 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
4938 urlconf_module = import_module(urlconf_module)
4939 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
4940 return _bootstrap._gcd_import(name[level:], package, level)
4941 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
4942 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
4943 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
4944 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
4945 File "<frozen importlib._bootstrap>", line 1129, in _exec
4946 File "<frozen importlib._bootstrap>", line 1471, in exec_module
4947 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
4948 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
4949 from swh.web.ui.views import (
4950 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
4951 from swh.web.ui.utils import gen_path_info
4952 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
4953 import magic
4954ImportError: No module named 'magic'
4955--------------------- >> end captured logging << ---------------------
4956
4957======================================================================
4958ERROR: api_content_license_sha_not_found (tests.api.views.test_content.ContentApiTestCase)
4959----------------------------------------------------------------------
4960Traceback (most recent call last):
4961 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
4962 return func(*args, **keywargs)
4963 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_content.py", line 306, in api_content_license_sha_not_found
4964 '/api/1/content/sha1:40e71b8614fcd89ccd17ca2b1d9e66c5b00a6d03/'
4965 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
4966 return self.generic('GET', path, **r)
4967 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
4968 return self.request(**r)
4969 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
4970 return super(APIClient, self).request(**kwargs)
4971 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
4972 request = super(APIRequestFactory, self).request(**kwargs)
4973 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
4974 six.reraise(*exc_info)
4975 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
4976 raise value
4977 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
4978 resolver_match = resolver.resolve(request.path_info)
4979 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
4980 for pattern in self.url_patterns:
4981 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
4982 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
4983 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
4984 self._urlconf_module = import_module(self.urlconf_name)
4985 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
4986 return _bootstrap._gcd_import(name[level:], package, level)
4987 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
4988 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
4989 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
4990 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
4991 File "<frozen importlib._bootstrap>", line 1129, in _exec
4992 File "<frozen importlib._bootstrap>", line 1471, in exec_module
4993 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
4994 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
4995 url(r'^ui/', include('swh.web.ui.urls')),
4996 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
4997 urlconf_module = import_module(urlconf_module)
4998 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
4999 return _bootstrap._gcd_import(name[level:], package, level)
5000 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
5001 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
5002 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
5003 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
5004 File "<frozen importlib._bootstrap>", line 1129, in _exec
5005 File "<frozen importlib._bootstrap>", line 1471, in exec_module
5006 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
5007 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
5008 from swh.web.ui.views import (
5009 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
5010 from swh.web.ui.utils import gen_path_info
5011 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
5012 import magic
5013nose.proxy.ImportError: No module named 'magic'
5014-------------------- >> begin captured logging << --------------------
5015django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
5016django.request: ERROR: Internal Server Error: /api/1/content/sha1:40e71b8614fcd89ccd17ca2b1d9e66c5b00a6d03/license/
5017Traceback (most recent call last):
5018 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
5019 return self._urlconf_module
5020AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
5021
5022During handling of the above exception, another exception occurred:
5023
5024Traceback (most recent call last):
5025 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
5026 resolver_match = resolver.resolve(request.path_info)
5027 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
5028 for pattern in self.url_patterns:
5029 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
5030 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
5031 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
5032 self._urlconf_module = import_module(self.urlconf_name)
5033 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
5034 return _bootstrap._gcd_import(name[level:], package, level)
5035 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
5036 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
5037 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
5038 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
5039 File "<frozen importlib._bootstrap>", line 1129, in _exec
5040 File "<frozen importlib._bootstrap>", line 1471, in exec_module
5041 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
5042 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
5043 url(r'^ui/', include('swh.web.ui.urls')),
5044 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
5045 urlconf_module = import_module(urlconf_module)
5046 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
5047 return _bootstrap._gcd_import(name[level:], package, level)
5048 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
5049 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
5050 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
5051 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
5052 File "<frozen importlib._bootstrap>", line 1129, in _exec
5053 File "<frozen importlib._bootstrap>", line 1471, in exec_module
5054 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
5055 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
5056 from swh.web.ui.views import (
5057 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
5058 from swh.web.ui.utils import gen_path_info
5059 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
5060 import magic
5061ImportError: No module named 'magic'
5062--------------------- >> end captured logging << ---------------------
5063
5064======================================================================
5065ERROR: api_content_metadata (tests.api.views.test_content.ContentApiTestCase)
5066----------------------------------------------------------------------
5067Traceback (most recent call last):
5068 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
5069 return func(*args, **keywargs)
5070 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_content.py", line 397, in api_content_metadata
5071 '/api/1/content/sha1:40e71b8614fcd89ccd17ca2b1d9e66c5b00a6d03/')
5072 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
5073 return self.generic('GET', path, **r)
5074 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
5075 return self.request(**r)
5076 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
5077 return super(APIClient, self).request(**kwargs)
5078 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
5079 request = super(APIRequestFactory, self).request(**kwargs)
5080 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
5081 six.reraise(*exc_info)
5082 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
5083 raise value
5084 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
5085 resolver_match = resolver.resolve(request.path_info)
5086 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
5087 for pattern in self.url_patterns:
5088 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
5089 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
5090 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
5091 self._urlconf_module = import_module(self.urlconf_name)
5092 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
5093 return _bootstrap._gcd_import(name[level:], package, level)
5094 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
5095 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
5096 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
5097 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
5098 File "<frozen importlib._bootstrap>", line 1129, in _exec
5099 File "<frozen importlib._bootstrap>", line 1471, in exec_module
5100 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
5101 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
5102 url(r'^ui/', include('swh.web.ui.urls')),
5103 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
5104 urlconf_module = import_module(urlconf_module)
5105 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
5106 return _bootstrap._gcd_import(name[level:], package, level)
5107 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
5108 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
5109 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
5110 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
5111 File "<frozen importlib._bootstrap>", line 1129, in _exec
5112 File "<frozen importlib._bootstrap>", line 1471, in exec_module
5113 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
5114 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
5115 from swh.web.ui.views import (
5116 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
5117 from swh.web.ui.utils import gen_path_info
5118 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
5119 import magic
5120nose.proxy.ImportError: No module named 'magic'
5121-------------------- >> begin captured logging << --------------------
5122django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
5123django.request: ERROR: Internal Server Error: /api/1/content/sha1:40e71b8614fcd89ccd17ca2b1d9e66c5b00a6d03/
5124Traceback (most recent call last):
5125 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
5126 return self._urlconf_module
5127AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
5128
5129During handling of the above exception, another exception occurred:
5130
5131Traceback (most recent call last):
5132 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
5133 resolver_match = resolver.resolve(request.path_info)
5134 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
5135 for pattern in self.url_patterns:
5136 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
5137 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
5138 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
5139 self._urlconf_module = import_module(self.urlconf_name)
5140 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
5141 return _bootstrap._gcd_import(name[level:], package, level)
5142 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
5143 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
5144 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
5145 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
5146 File "<frozen importlib._bootstrap>", line 1129, in _exec
5147 File "<frozen importlib._bootstrap>", line 1471, in exec_module
5148 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
5149 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
5150 url(r'^ui/', include('swh.web.ui.urls')),
5151 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
5152 urlconf_module = import_module(urlconf_module)
5153 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
5154 return _bootstrap._gcd_import(name[level:], package, level)
5155 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
5156 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
5157 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
5158 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
5159 File "<frozen importlib._bootstrap>", line 1129, in _exec
5160 File "<frozen importlib._bootstrap>", line 1471, in exec_module
5161 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
5162 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
5163 from swh.web.ui.views import (
5164 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
5165 from swh.web.ui.utils import gen_path_info
5166 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
5167 import magic
5168ImportError: No module named 'magic'
5169--------------------- >> end captured logging << ---------------------
5170
5171======================================================================
5172ERROR: api_content_not_found_as_json (tests.api.views.test_content.ContentApiTestCase)
5173----------------------------------------------------------------------
5174Traceback (most recent call last):
5175 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
5176 return func(*args, **keywargs)
5177 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_content.py", line 430, in api_content_not_found_as_json
5178 '/api/1/content/sha256:83c0e67cc80f60caf1fcbec2d84b0ccd7968b3'
5179 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
5180 return self.generic('GET', path, **r)
5181 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
5182 return self.request(**r)
5183 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
5184 return super(APIClient, self).request(**kwargs)
5185 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
5186 request = super(APIRequestFactory, self).request(**kwargs)
5187 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
5188 six.reraise(*exc_info)
5189 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
5190 raise value
5191 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
5192 resolver_match = resolver.resolve(request.path_info)
5193 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
5194 for pattern in self.url_patterns:
5195 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
5196 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
5197 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
5198 self._urlconf_module = import_module(self.urlconf_name)
5199 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
5200 return _bootstrap._gcd_import(name[level:], package, level)
5201 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
5202 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
5203 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
5204 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
5205 File "<frozen importlib._bootstrap>", line 1129, in _exec
5206 File "<frozen importlib._bootstrap>", line 1471, in exec_module
5207 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
5208 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
5209 url(r'^ui/', include('swh.web.ui.urls')),
5210 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
5211 urlconf_module = import_module(urlconf_module)
5212 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
5213 return _bootstrap._gcd_import(name[level:], package, level)
5214 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
5215 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
5216 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
5217 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
5218 File "<frozen importlib._bootstrap>", line 1129, in _exec
5219 File "<frozen importlib._bootstrap>", line 1471, in exec_module
5220 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
5221 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
5222 from swh.web.ui.views import (
5223 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
5224 from swh.web.ui.utils import gen_path_info
5225 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
5226 import magic
5227nose.proxy.ImportError: No module named 'magic'
5228-------------------- >> begin captured logging << --------------------
5229django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
5230django.request: ERROR: Internal Server Error: /api/1/content/sha256:83c0e67cc80f60caf1fcbec2d84b0ccd7968b3be4735637006560c/
5231Traceback (most recent call last):
5232 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
5233 return self._urlconf_module
5234AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
5235
5236During handling of the above exception, another exception occurred:
5237
5238Traceback (most recent call last):
5239 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
5240 resolver_match = resolver.resolve(request.path_info)
5241 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
5242 for pattern in self.url_patterns:
5243 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
5244 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
5245 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
5246 self._urlconf_module = import_module(self.urlconf_name)
5247 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
5248 return _bootstrap._gcd_import(name[level:], package, level)
5249 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
5250 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
5251 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
5252 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
5253 File "<frozen importlib._bootstrap>", line 1129, in _exec
5254 File "<frozen importlib._bootstrap>", line 1471, in exec_module
5255 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
5256 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
5257 url(r'^ui/', include('swh.web.ui.urls')),
5258 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
5259 urlconf_module = import_module(urlconf_module)
5260 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
5261 return _bootstrap._gcd_import(name[level:], package, level)
5262 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
5263 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
5264 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
5265 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
5266 File "<frozen importlib._bootstrap>", line 1129, in _exec
5267 File "<frozen importlib._bootstrap>", line 1471, in exec_module
5268 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
5269 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
5270 from swh.web.ui.views import (
5271 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
5272 from swh.web.ui.utils import gen_path_info
5273 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
5274 import magic
5275ImportError: No module named 'magic'
5276--------------------- >> end captured logging << ---------------------
5277
5278======================================================================
5279ERROR: api_content_not_found_as_yaml (tests.api.views.test_content.ContentApiTestCase)
5280----------------------------------------------------------------------
5281Traceback (most recent call last):
5282 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
5283 return func(*args, **keywargs)
5284 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_content.py", line 457, in api_content_not_found_as_yaml
5285 HTTP_ACCEPT='application/yaml')
5286 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
5287 return self.generic('GET', path, **r)
5288 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
5289 return self.request(**r)
5290 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
5291 return super(APIClient, self).request(**kwargs)
5292 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
5293 request = super(APIRequestFactory, self).request(**kwargs)
5294 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
5295 six.reraise(*exc_info)
5296 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
5297 raise value
5298 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
5299 resolver_match = resolver.resolve(request.path_info)
5300 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
5301 for pattern in self.url_patterns:
5302 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
5303 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
5304 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
5305 self._urlconf_module = import_module(self.urlconf_name)
5306 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
5307 return _bootstrap._gcd_import(name[level:], package, level)
5308 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
5309 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
5310 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
5311 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
5312 File "<frozen importlib._bootstrap>", line 1129, in _exec
5313 File "<frozen importlib._bootstrap>", line 1471, in exec_module
5314 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
5315 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
5316 url(r'^ui/', include('swh.web.ui.urls')),
5317 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
5318 urlconf_module = import_module(urlconf_module)
5319 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
5320 return _bootstrap._gcd_import(name[level:], package, level)
5321 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
5322 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
5323 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
5324 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
5325 File "<frozen importlib._bootstrap>", line 1129, in _exec
5326 File "<frozen importlib._bootstrap>", line 1471, in exec_module
5327 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
5328 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
5329 from swh.web.ui.views import (
5330 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
5331 from swh.web.ui.utils import gen_path_info
5332 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
5333 import magic
5334nose.proxy.ImportError: No module named 'magic'
5335-------------------- >> begin captured logging << --------------------
5336django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
5337django.request: ERROR: Internal Server Error: /api/1/content/sha256:83c0e67cc80f60caf1fcbec2d84b0ccd7968b3be4735637006560c/
5338Traceback (most recent call last):
5339 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
5340 return self._urlconf_module
5341AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
5342
5343During handling of the above exception, another exception occurred:
5344
5345Traceback (most recent call last):
5346 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
5347 resolver_match = resolver.resolve(request.path_info)
5348 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
5349 for pattern in self.url_patterns:
5350 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
5351 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
5352 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
5353 self._urlconf_module = import_module(self.urlconf_name)
5354 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
5355 return _bootstrap._gcd_import(name[level:], package, level)
5356 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
5357 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
5358 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
5359 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
5360 File "<frozen importlib._bootstrap>", line 1129, in _exec
5361 File "<frozen importlib._bootstrap>", line 1471, in exec_module
5362 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
5363 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
5364 url(r'^ui/', include('swh.web.ui.urls')),
5365 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
5366 urlconf_module = import_module(urlconf_module)
5367 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
5368 return _bootstrap._gcd_import(name[level:], package, level)
5369 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
5370 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
5371 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
5372 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
5373 File "<frozen importlib._bootstrap>", line 1129, in _exec
5374 File "<frozen importlib._bootstrap>", line 1471, in exec_module
5375 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
5376 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
5377 from swh.web.ui.views import (
5378 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
5379 from swh.web.ui.utils import gen_path_info
5380 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
5381 import magic
5382ImportError: No module named 'magic'
5383--------------------- >> end captured logging << ---------------------
5384
5385======================================================================
5386ERROR: api_content_provenance (tests.api.views.test_content.ContentApiTestCase)
5387----------------------------------------------------------------------
5388Traceback (most recent call last):
5389 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
5390 return func(*args, **keywargs)
5391 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_content.py", line 335, in api_content_provenance
5392 '/api/1/content/'
5393 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
5394 return self.generic('GET', path, **r)
5395 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
5396 return self.request(**r)
5397 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
5398 return super(APIClient, self).request(**kwargs)
5399 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
5400 request = super(APIRequestFactory, self).request(**kwargs)
5401 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
5402 six.reraise(*exc_info)
5403 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
5404 raise value
5405 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
5406 resolver_match = resolver.resolve(request.path_info)
5407 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
5408 for pattern in self.url_patterns:
5409 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
5410 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
5411 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
5412 self._urlconf_module = import_module(self.urlconf_name)
5413 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
5414 return _bootstrap._gcd_import(name[level:], package, level)
5415 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
5416 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
5417 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
5418 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
5419 File "<frozen importlib._bootstrap>", line 1129, in _exec
5420 File "<frozen importlib._bootstrap>", line 1471, in exec_module
5421 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
5422 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
5423 url(r'^ui/', include('swh.web.ui.urls')),
5424 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
5425 urlconf_module = import_module(urlconf_module)
5426 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
5427 return _bootstrap._gcd_import(name[level:], package, level)
5428 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
5429 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
5430 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
5431 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
5432 File "<frozen importlib._bootstrap>", line 1129, in _exec
5433 File "<frozen importlib._bootstrap>", line 1471, in exec_module
5434 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
5435 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
5436 from swh.web.ui.views import (
5437 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
5438 from swh.web.ui.utils import gen_path_info
5439 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
5440 import magic
5441nose.proxy.ImportError: No module named 'magic'
5442-------------------- >> begin captured logging << --------------------
5443django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
5444django.request: ERROR: Internal Server Error: /api/1/content/sha1_git:34571b8614fcd89ccd17ca2b1d9e66c5b00a6d03/provenance/
5445Traceback (most recent call last):
5446 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
5447 return self._urlconf_module
5448AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
5449
5450During handling of the above exception, another exception occurred:
5451
5452Traceback (most recent call last):
5453 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
5454 resolver_match = resolver.resolve(request.path_info)
5455 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
5456 for pattern in self.url_patterns:
5457 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
5458 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
5459 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
5460 self._urlconf_module = import_module(self.urlconf_name)
5461 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
5462 return _bootstrap._gcd_import(name[level:], package, level)
5463 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
5464 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
5465 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
5466 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
5467 File "<frozen importlib._bootstrap>", line 1129, in _exec
5468 File "<frozen importlib._bootstrap>", line 1471, in exec_module
5469 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
5470 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
5471 url(r'^ui/', include('swh.web.ui.urls')),
5472 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
5473 urlconf_module = import_module(urlconf_module)
5474 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
5475 return _bootstrap._gcd_import(name[level:], package, level)
5476 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
5477 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
5478 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
5479 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
5480 File "<frozen importlib._bootstrap>", line 1129, in _exec
5481 File "<frozen importlib._bootstrap>", line 1471, in exec_module
5482 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
5483 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
5484 from swh.web.ui.views import (
5485 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
5486 from swh.web.ui.utils import gen_path_info
5487 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
5488 import magic
5489ImportError: No module named 'magic'
5490--------------------- >> end captured logging << ---------------------
5491
5492======================================================================
5493ERROR: api_content_provenance_sha_not_found (tests.api.views.test_content.ContentApiTestCase)
5494----------------------------------------------------------------------
5495Traceback (most recent call last):
5496 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
5497 return func(*args, **keywargs)
5498 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_content.py", line 367, in api_content_provenance_sha_not_found
5499 '/api/1/content/sha1:40e71b8614fcd89ccd17ca2b1d9e66c5b00a6d03/'
5500 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
5501 return self.generic('GET', path, **r)
5502 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
5503 return self.request(**r)
5504 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
5505 return super(APIClient, self).request(**kwargs)
5506 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
5507 request = super(APIRequestFactory, self).request(**kwargs)
5508 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
5509 six.reraise(*exc_info)
5510 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
5511 raise value
5512 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
5513 resolver_match = resolver.resolve(request.path_info)
5514 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
5515 for pattern in self.url_patterns:
5516 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
5517 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
5518 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
5519 self._urlconf_module = import_module(self.urlconf_name)
5520 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
5521 return _bootstrap._gcd_import(name[level:], package, level)
5522 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
5523 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
5524 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
5525 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
5526 File "<frozen importlib._bootstrap>", line 1129, in _exec
5527 File "<frozen importlib._bootstrap>", line 1471, in exec_module
5528 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
5529 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
5530 url(r'^ui/', include('swh.web.ui.urls')),
5531 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
5532 urlconf_module = import_module(urlconf_module)
5533 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
5534 return _bootstrap._gcd_import(name[level:], package, level)
5535 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
5536 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
5537 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
5538 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
5539 File "<frozen importlib._bootstrap>", line 1129, in _exec
5540 File "<frozen importlib._bootstrap>", line 1471, in exec_module
5541 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
5542 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
5543 from swh.web.ui.views import (
5544 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
5545 from swh.web.ui.utils import gen_path_info
5546 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
5547 import magic
5548nose.proxy.ImportError: No module named 'magic'
5549-------------------- >> begin captured logging << --------------------
5550django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
5551django.request: ERROR: Internal Server Error: /api/1/content/sha1:40e71b8614fcd89ccd17ca2b1d9e66c5b00a6d03/provenance/
5552Traceback (most recent call last):
5553 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
5554 return self._urlconf_module
5555AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
5556
5557During handling of the above exception, another exception occurred:
5558
5559Traceback (most recent call last):
5560 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
5561 resolver_match = resolver.resolve(request.path_info)
5562 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
5563 for pattern in self.url_patterns:
5564 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
5565 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
5566 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
5567 self._urlconf_module = import_module(self.urlconf_name)
5568 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
5569 return _bootstrap._gcd_import(name[level:], package, level)
5570 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
5571 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
5572 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
5573 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
5574 File "<frozen importlib._bootstrap>", line 1129, in _exec
5575 File "<frozen importlib._bootstrap>", line 1471, in exec_module
5576 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
5577 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
5578 url(r'^ui/', include('swh.web.ui.urls')),
5579 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
5580 urlconf_module = import_module(urlconf_module)
5581 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
5582 return _bootstrap._gcd_import(name[level:], package, level)
5583 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
5584 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
5585 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
5586 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
5587 File "<frozen importlib._bootstrap>", line 1129, in _exec
5588 File "<frozen importlib._bootstrap>", line 1471, in exec_module
5589 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
5590 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
5591 from swh.web.ui.views import (
5592 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
5593 from swh.web.ui.utils import gen_path_info
5594 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
5595 import magic
5596ImportError: No module named 'magic'
5597--------------------- >> end captured logging << ---------------------
5598
5599======================================================================
5600ERROR: api_content_raw_ko_not_found (tests.api.views.test_content.ContentApiTestCase)
5601----------------------------------------------------------------------
5602Traceback (most recent call last):
5603 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
5604 return func(*args, **keywargs)
5605 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_content.py", line 481, in api_content_raw_ko_not_found
5606 '/api/1/content/sha1:40e71b8614fcd89ccd17ca2b1d9e66c5b00a6d03'
5607 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
5608 return self.generic('GET', path, **r)
5609 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
5610 return self.request(**r)
5611 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
5612 return super(APIClient, self).request(**kwargs)
5613 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
5614 request = super(APIRequestFactory, self).request(**kwargs)
5615 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
5616 six.reraise(*exc_info)
5617 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
5618 raise value
5619 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
5620 resolver_match = resolver.resolve(request.path_info)
5621 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
5622 for pattern in self.url_patterns:
5623 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
5624 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
5625 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
5626 self._urlconf_module = import_module(self.urlconf_name)
5627 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
5628 return _bootstrap._gcd_import(name[level:], package, level)
5629 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
5630 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
5631 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
5632 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
5633 File "<frozen importlib._bootstrap>", line 1129, in _exec
5634 File "<frozen importlib._bootstrap>", line 1471, in exec_module
5635 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
5636 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
5637 url(r'^ui/', include('swh.web.ui.urls')),
5638 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
5639 urlconf_module = import_module(urlconf_module)
5640 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
5641 return _bootstrap._gcd_import(name[level:], package, level)
5642 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
5643 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
5644 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
5645 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
5646 File "<frozen importlib._bootstrap>", line 1129, in _exec
5647 File "<frozen importlib._bootstrap>", line 1471, in exec_module
5648 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
5649 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
5650 from swh.web.ui.views import (
5651 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
5652 from swh.web.ui.utils import gen_path_info
5653 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
5654 import magic
5655nose.proxy.ImportError: No module named 'magic'
5656-------------------- >> begin captured logging << --------------------
5657django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
5658django.request: ERROR: Internal Server Error: /api/1/content/sha1:40e71b8614fcd89ccd17ca2b1d9e66c5b00a6d03/raw/
5659Traceback (most recent call last):
5660 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
5661 return self._urlconf_module
5662AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
5663
5664During handling of the above exception, another exception occurred:
5665
5666Traceback (most recent call last):
5667 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
5668 resolver_match = resolver.resolve(request.path_info)
5669 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
5670 for pattern in self.url_patterns:
5671 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
5672 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
5673 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
5674 self._urlconf_module = import_module(self.urlconf_name)
5675 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
5676 return _bootstrap._gcd_import(name[level:], package, level)
5677 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
5678 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
5679 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
5680 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
5681 File "<frozen importlib._bootstrap>", line 1129, in _exec
5682 File "<frozen importlib._bootstrap>", line 1471, in exec_module
5683 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
5684 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
5685 url(r'^ui/', include('swh.web.ui.urls')),
5686 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
5687 urlconf_module = import_module(urlconf_module)
5688 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
5689 return _bootstrap._gcd_import(name[level:], package, level)
5690 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
5691 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
5692 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
5693 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
5694 File "<frozen importlib._bootstrap>", line 1129, in _exec
5695 File "<frozen importlib._bootstrap>", line 1471, in exec_module
5696 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
5697 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
5698 from swh.web.ui.views import (
5699 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
5700 from swh.web.ui.utils import gen_path_info
5701 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
5702 import magic
5703ImportError: No module named 'magic'
5704--------------------- >> end captured logging << ---------------------
5705
5706======================================================================
5707ERROR: api_content_raw_no_accepted_media_type_found_so_not_available_for_download (tests.api.views.test_content.ContentApiTestCase)
5708----------------------------------------------------------------------
5709Traceback (most recent call last):
5710 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
5711 return func(*args, **keywargs)
5712 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_content.py", line 594, in api_content_raw_no_accepted_media_type_found_so_not_available_for_download
5713 '/api/1/content/sha1:40e71b8614fcd89ccd17ca2b1d9e66c5b00a6d03'
5714 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
5715 return self.generic('GET', path, **r)
5716 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
5717 return self.request(**r)
5718 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
5719 return super(APIClient, self).request(**kwargs)
5720 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
5721 request = super(APIRequestFactory, self).request(**kwargs)
5722 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
5723 six.reraise(*exc_info)
5724 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
5725 raise value
5726 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
5727 resolver_match = resolver.resolve(request.path_info)
5728 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
5729 for pattern in self.url_patterns:
5730 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
5731 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
5732 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
5733 self._urlconf_module = import_module(self.urlconf_name)
5734 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
5735 return _bootstrap._gcd_import(name[level:], package, level)
5736 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
5737 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
5738 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
5739 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
5740 File "<frozen importlib._bootstrap>", line 1129, in _exec
5741 File "<frozen importlib._bootstrap>", line 1471, in exec_module
5742 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
5743 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
5744 url(r'^ui/', include('swh.web.ui.urls')),
5745 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
5746 urlconf_module = import_module(urlconf_module)
5747 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
5748 return _bootstrap._gcd_import(name[level:], package, level)
5749 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
5750 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
5751 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
5752 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
5753 File "<frozen importlib._bootstrap>", line 1129, in _exec
5754 File "<frozen importlib._bootstrap>", line 1471, in exec_module
5755 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
5756 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
5757 from swh.web.ui.views import (
5758 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
5759 from swh.web.ui.utils import gen_path_info
5760 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
5761 import magic
5762nose.proxy.ImportError: No module named 'magic'
5763-------------------- >> begin captured logging << --------------------
5764django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
5765django.request: ERROR: Internal Server Error: /api/1/content/sha1:40e71b8614fcd89ccd17ca2b1d9e66c5b00a6d03/raw/
5766Traceback (most recent call last):
5767 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
5768 return self._urlconf_module
5769AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
5770
5771During handling of the above exception, another exception occurred:
5772
5773Traceback (most recent call last):
5774 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
5775 resolver_match = resolver.resolve(request.path_info)
5776 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
5777 for pattern in self.url_patterns:
5778 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
5779 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
5780 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
5781 self._urlconf_module = import_module(self.urlconf_name)
5782 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
5783 return _bootstrap._gcd_import(name[level:], package, level)
5784 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
5785 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
5786 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
5787 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
5788 File "<frozen importlib._bootstrap>", line 1129, in _exec
5789 File "<frozen importlib._bootstrap>", line 1471, in exec_module
5790 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
5791 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
5792 url(r'^ui/', include('swh.web.ui.urls')),
5793 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
5794 urlconf_module = import_module(urlconf_module)
5795 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
5796 return _bootstrap._gcd_import(name[level:], package, level)
5797 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
5798 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
5799 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
5800 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
5801 File "<frozen importlib._bootstrap>", line 1129, in _exec
5802 File "<frozen importlib._bootstrap>", line 1471, in exec_module
5803 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
5804 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
5805 from swh.web.ui.views import (
5806 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
5807 from swh.web.ui.utils import gen_path_info
5808 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
5809 import magic
5810ImportError: No module named 'magic'
5811--------------------- >> end captured logging << ---------------------
5812
5813======================================================================
5814ERROR: api_content_raw_no_accepted_media_type_text_is_not_available_for_download (tests.api.views.test_content.ContentApiTestCase)
5815----------------------------------------------------------------------
5816Traceback (most recent call last):
5817 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
5818 return func(*args, **keywargs)
5819 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_content.py", line 567, in api_content_raw_no_accepted_media_type_text_is_not_available_for_download
5820 '/api/1/content/sha1:40e71b8614fcd89ccd17ca2b1d9e66c5b00a6d03'
5821 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
5822 return self.generic('GET', path, **r)
5823 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
5824 return self.request(**r)
5825 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
5826 return super(APIClient, self).request(**kwargs)
5827 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
5828 request = super(APIRequestFactory, self).request(**kwargs)
5829 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
5830 six.reraise(*exc_info)
5831 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
5832 raise value
5833 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
5834 resolver_match = resolver.resolve(request.path_info)
5835 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
5836 for pattern in self.url_patterns:
5837 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
5838 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
5839 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
5840 self._urlconf_module = import_module(self.urlconf_name)
5841 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
5842 return _bootstrap._gcd_import(name[level:], package, level)
5843 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
5844 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
5845 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
5846 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
5847 File "<frozen importlib._bootstrap>", line 1129, in _exec
5848 File "<frozen importlib._bootstrap>", line 1471, in exec_module
5849 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
5850 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
5851 url(r'^ui/', include('swh.web.ui.urls')),
5852 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
5853 urlconf_module = import_module(urlconf_module)
5854 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
5855 return _bootstrap._gcd_import(name[level:], package, level)
5856 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
5857 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
5858 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
5859 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
5860 File "<frozen importlib._bootstrap>", line 1129, in _exec
5861 File "<frozen importlib._bootstrap>", line 1471, in exec_module
5862 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
5863 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
5864 from swh.web.ui.views import (
5865 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
5866 from swh.web.ui.utils import gen_path_info
5867 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
5868 import magic
5869nose.proxy.ImportError: No module named 'magic'
5870-------------------- >> begin captured logging << --------------------
5871django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
5872django.request: ERROR: Internal Server Error: /api/1/content/sha1:40e71b8614fcd89ccd17ca2b1d9e66c5b00a6d03/raw/
5873Traceback (most recent call last):
5874 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
5875 return self._urlconf_module
5876AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
5877
5878During handling of the above exception, another exception occurred:
5879
5880Traceback (most recent call last):
5881 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
5882 resolver_match = resolver.resolve(request.path_info)
5883 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
5884 for pattern in self.url_patterns:
5885 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
5886 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
5887 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
5888 self._urlconf_module = import_module(self.urlconf_name)
5889 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
5890 return _bootstrap._gcd_import(name[level:], package, level)
5891 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
5892 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
5893 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
5894 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
5895 File "<frozen importlib._bootstrap>", line 1129, in _exec
5896 File "<frozen importlib._bootstrap>", line 1471, in exec_module
5897 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
5898 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
5899 url(r'^ui/', include('swh.web.ui.urls')),
5900 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
5901 urlconf_module = import_module(urlconf_module)
5902 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
5903 return _bootstrap._gcd_import(name[level:], package, level)
5904 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
5905 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
5906 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
5907 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
5908 File "<frozen importlib._bootstrap>", line 1129, in _exec
5909 File "<frozen importlib._bootstrap>", line 1471, in exec_module
5910 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
5911 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
5912 from swh.web.ui.views import (
5913 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
5914 from swh.web.ui.utils import gen_path_info
5915 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
5916 import magic
5917ImportError: No module named 'magic'
5918--------------------- >> end captured logging << ---------------------
5919
5920======================================================================
5921ERROR: api_content_raw_text (tests.api.views.test_content.ContentApiTestCase)
5922----------------------------------------------------------------------
5923Traceback (most recent call last):
5924 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
5925 return func(*args, **keywargs)
5926 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_content.py", line 507, in api_content_raw_text
5927 '/api/1/content/sha1:40e71b8614fcd89ccd17ca2b1d9e66c5b00a6d03'
5928 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
5929 return self.generic('GET', path, **r)
5930 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
5931 return self.request(**r)
5932 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
5933 return super(APIClient, self).request(**kwargs)
5934 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
5935 request = super(APIRequestFactory, self).request(**kwargs)
5936 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
5937 six.reraise(*exc_info)
5938 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
5939 raise value
5940 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
5941 resolver_match = resolver.resolve(request.path_info)
5942 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
5943 for pattern in self.url_patterns:
5944 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
5945 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
5946 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
5947 self._urlconf_module = import_module(self.urlconf_name)
5948 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
5949 return _bootstrap._gcd_import(name[level:], package, level)
5950 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
5951 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
5952 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
5953 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
5954 File "<frozen importlib._bootstrap>", line 1129, in _exec
5955 File "<frozen importlib._bootstrap>", line 1471, in exec_module
5956 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
5957 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
5958 url(r'^ui/', include('swh.web.ui.urls')),
5959 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
5960 urlconf_module = import_module(urlconf_module)
5961 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
5962 return _bootstrap._gcd_import(name[level:], package, level)
5963 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
5964 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
5965 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
5966 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
5967 File "<frozen importlib._bootstrap>", line 1129, in _exec
5968 File "<frozen importlib._bootstrap>", line 1471, in exec_module
5969 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
5970 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
5971 from swh.web.ui.views import (
5972 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
5973 from swh.web.ui.utils import gen_path_info
5974 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
5975 import magic
5976nose.proxy.ImportError: No module named 'magic'
5977-------------------- >> begin captured logging << --------------------
5978django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
5979django.request: ERROR: Internal Server Error: /api/1/content/sha1:40e71b8614fcd89ccd17ca2b1d9e66c5b00a6d03/raw/
5980Traceback (most recent call last):
5981 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
5982 return self._urlconf_module
5983AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
5984
5985During handling of the above exception, another exception occurred:
5986
5987Traceback (most recent call last):
5988 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
5989 resolver_match = resolver.resolve(request.path_info)
5990 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
5991 for pattern in self.url_patterns:
5992 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
5993 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
5994 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
5995 self._urlconf_module = import_module(self.urlconf_name)
5996 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
5997 return _bootstrap._gcd_import(name[level:], package, level)
5998 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
5999 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
6000 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
6001 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
6002 File "<frozen importlib._bootstrap>", line 1129, in _exec
6003 File "<frozen importlib._bootstrap>", line 1471, in exec_module
6004 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
6005 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
6006 url(r'^ui/', include('swh.web.ui.urls')),
6007 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
6008 urlconf_module = import_module(urlconf_module)
6009 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
6010 return _bootstrap._gcd_import(name[level:], package, level)
6011 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
6012 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
6013 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
6014 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
6015 File "<frozen importlib._bootstrap>", line 1129, in _exec
6016 File "<frozen importlib._bootstrap>", line 1471, in exec_module
6017 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
6018 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
6019 from swh.web.ui.views import (
6020 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
6021 from swh.web.ui.utils import gen_path_info
6022 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
6023 import magic
6024ImportError: No module named 'magic'
6025--------------------- >> end captured logging << ---------------------
6026
6027======================================================================
6028ERROR: api_content_raw_text_with_filename (tests.api.views.test_content.ContentApiTestCase)
6029----------------------------------------------------------------------
6030Traceback (most recent call last):
6031 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
6032 return func(*args, **keywargs)
6033 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_content.py", line 537, in api_content_raw_text_with_filename
6034 '/api/1/content/sha1:40e71b8614fcd89ccd17ca2b1d9e66c5b00a6d03'
6035 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
6036 return self.generic('GET', path, **r)
6037 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
6038 return self.request(**r)
6039 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
6040 return super(APIClient, self).request(**kwargs)
6041 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
6042 request = super(APIRequestFactory, self).request(**kwargs)
6043 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
6044 six.reraise(*exc_info)
6045 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
6046 raise value
6047 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
6048 resolver_match = resolver.resolve(request.path_info)
6049 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
6050 for pattern in self.url_patterns:
6051 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
6052 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
6053 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
6054 self._urlconf_module = import_module(self.urlconf_name)
6055 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
6056 return _bootstrap._gcd_import(name[level:], package, level)
6057 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
6058 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
6059 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
6060 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
6061 File "<frozen importlib._bootstrap>", line 1129, in _exec
6062 File "<frozen importlib._bootstrap>", line 1471, in exec_module
6063 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
6064 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
6065 url(r'^ui/', include('swh.web.ui.urls')),
6066 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
6067 urlconf_module = import_module(urlconf_module)
6068 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
6069 return _bootstrap._gcd_import(name[level:], package, level)
6070 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
6071 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
6072 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
6073 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
6074 File "<frozen importlib._bootstrap>", line 1129, in _exec
6075 File "<frozen importlib._bootstrap>", line 1471, in exec_module
6076 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
6077 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
6078 from swh.web.ui.views import (
6079 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
6080 from swh.web.ui.utils import gen_path_info
6081 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
6082 import magic
6083nose.proxy.ImportError: No module named 'magic'
6084-------------------- >> begin captured logging << --------------------
6085django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
6086django.request: ERROR: Internal Server Error: /api/1/content/sha1:40e71b8614fcd89ccd17ca2b1d9e66c5b00a6d03/raw/
6087Traceback (most recent call last):
6088 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
6089 return self._urlconf_module
6090AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
6091
6092During handling of the above exception, another exception occurred:
6093
6094Traceback (most recent call last):
6095 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
6096 resolver_match = resolver.resolve(request.path_info)
6097 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
6098 for pattern in self.url_patterns:
6099 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
6100 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
6101 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
6102 self._urlconf_module = import_module(self.urlconf_name)
6103 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
6104 return _bootstrap._gcd_import(name[level:], package, level)
6105 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
6106 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
6107 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
6108 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
6109 File "<frozen importlib._bootstrap>", line 1129, in _exec
6110 File "<frozen importlib._bootstrap>", line 1471, in exec_module
6111 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
6112 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
6113 url(r'^ui/', include('swh.web.ui.urls')),
6114 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
6115 urlconf_module = import_module(urlconf_module)
6116 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
6117 return _bootstrap._gcd_import(name[level:], package, level)
6118 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
6119 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
6120 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
6121 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
6122 File "<frozen importlib._bootstrap>", line 1129, in _exec
6123 File "<frozen importlib._bootstrap>", line 1471, in exec_module
6124 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
6125 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
6126 from swh.web.ui.views import (
6127 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
6128 from swh.web.ui.utils import gen_path_info
6129 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
6130 import magic
6131ImportError: No module named 'magic'
6132--------------------- >> end captured logging << ---------------------
6133
6134======================================================================
6135ERROR: api_content_symbol (tests.api.views.test_content.ContentApiTestCase)
6136----------------------------------------------------------------------
6137Traceback (most recent call last):
6138 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
6139 return func(*args, **keywargs)
6140 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_content.py", line 127, in api_content_symbol
6141 rv = self.client.get('/api/1/content/symbol/foo/?last_sha1=sha1')
6142 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
6143 return self.generic('GET', path, **r)
6144 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
6145 return self.request(**r)
6146 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
6147 return super(APIClient, self).request(**kwargs)
6148 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
6149 request = super(APIRequestFactory, self).request(**kwargs)
6150 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
6151 six.reraise(*exc_info)
6152 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
6153 raise value
6154 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
6155 resolver_match = resolver.resolve(request.path_info)
6156 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
6157 for pattern in self.url_patterns:
6158 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
6159 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
6160 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
6161 self._urlconf_module = import_module(self.urlconf_name)
6162 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
6163 return _bootstrap._gcd_import(name[level:], package, level)
6164 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
6165 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
6166 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
6167 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
6168 File "<frozen importlib._bootstrap>", line 1129, in _exec
6169 File "<frozen importlib._bootstrap>", line 1471, in exec_module
6170 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
6171 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
6172 url(r'^ui/', include('swh.web.ui.urls')),
6173 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
6174 urlconf_module = import_module(urlconf_module)
6175 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
6176 return _bootstrap._gcd_import(name[level:], package, level)
6177 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
6178 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
6179 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
6180 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
6181 File "<frozen importlib._bootstrap>", line 1129, in _exec
6182 File "<frozen importlib._bootstrap>", line 1471, in exec_module
6183 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
6184 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
6185 from swh.web.ui.views import (
6186 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
6187 from swh.web.ui.utils import gen_path_info
6188 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
6189 import magic
6190nose.proxy.ImportError: No module named 'magic'
6191-------------------- >> begin captured logging << --------------------
6192django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
6193django.request: ERROR: Internal Server Error: /api/1/content/symbol/foo/
6194Traceback (most recent call last):
6195 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
6196 return self._urlconf_module
6197AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
6198
6199During handling of the above exception, another exception occurred:
6200
6201Traceback (most recent call last):
6202 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
6203 resolver_match = resolver.resolve(request.path_info)
6204 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
6205 for pattern in self.url_patterns:
6206 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
6207 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
6208 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
6209 self._urlconf_module = import_module(self.urlconf_name)
6210 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
6211 return _bootstrap._gcd_import(name[level:], package, level)
6212 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
6213 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
6214 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
6215 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
6216 File "<frozen importlib._bootstrap>", line 1129, in _exec
6217 File "<frozen importlib._bootstrap>", line 1471, in exec_module
6218 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
6219 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
6220 url(r'^ui/', include('swh.web.ui.urls')),
6221 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
6222 urlconf_module = import_module(urlconf_module)
6223 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
6224 return _bootstrap._gcd_import(name[level:], package, level)
6225 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
6226 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
6227 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
6228 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
6229 File "<frozen importlib._bootstrap>", line 1129, in _exec
6230 File "<frozen importlib._bootstrap>", line 1471, in exec_module
6231 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
6232 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
6233 from swh.web.ui.views import (
6234 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
6235 from swh.web.ui.utils import gen_path_info
6236 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
6237 import magic
6238ImportError: No module named 'magic'
6239--------------------- >> end captured logging << ---------------------
6240
6241======================================================================
6242ERROR: api_content_symbol_2 (tests.api.views.test_content.ContentApiTestCase)
6243----------------------------------------------------------------------
6244Traceback (most recent call last):
6245 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
6246 return func(*args, **keywargs)
6247 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_content.py", line 171, in api_content_symbol_2
6248 '/api/1/content/symbol/foo/?last_sha1=prev-sha1&per_page=2')
6249 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
6250 return self.generic('GET', path, **r)
6251 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
6252 return self.request(**r)
6253 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
6254 return super(APIClient, self).request(**kwargs)
6255 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
6256 request = super(APIRequestFactory, self).request(**kwargs)
6257 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
6258 six.reraise(*exc_info)
6259 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
6260 raise value
6261 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
6262 resolver_match = resolver.resolve(request.path_info)
6263 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
6264 for pattern in self.url_patterns:
6265 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
6266 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
6267 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
6268 self._urlconf_module = import_module(self.urlconf_name)
6269 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
6270 return _bootstrap._gcd_import(name[level:], package, level)
6271 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
6272 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
6273 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
6274 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
6275 File "<frozen importlib._bootstrap>", line 1129, in _exec
6276 File "<frozen importlib._bootstrap>", line 1471, in exec_module
6277 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
6278 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
6279 url(r'^ui/', include('swh.web.ui.urls')),
6280 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
6281 urlconf_module = import_module(urlconf_module)
6282 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
6283 return _bootstrap._gcd_import(name[level:], package, level)
6284 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
6285 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
6286 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
6287 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
6288 File "<frozen importlib._bootstrap>", line 1129, in _exec
6289 File "<frozen importlib._bootstrap>", line 1471, in exec_module
6290 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
6291 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
6292 from swh.web.ui.views import (
6293 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
6294 from swh.web.ui.utils import gen_path_info
6295 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
6296 import magic
6297nose.proxy.ImportError: No module named 'magic'
6298-------------------- >> begin captured logging << --------------------
6299django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
6300django.request: ERROR: Internal Server Error: /api/1/content/symbol/foo/
6301Traceback (most recent call last):
6302 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
6303 return self._urlconf_module
6304AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
6305
6306During handling of the above exception, another exception occurred:
6307
6308Traceback (most recent call last):
6309 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
6310 resolver_match = resolver.resolve(request.path_info)
6311 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
6312 for pattern in self.url_patterns:
6313 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
6314 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
6315 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
6316 self._urlconf_module = import_module(self.urlconf_name)
6317 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
6318 return _bootstrap._gcd_import(name[level:], package, level)
6319 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
6320 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
6321 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
6322 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
6323 File "<frozen importlib._bootstrap>", line 1129, in _exec
6324 File "<frozen importlib._bootstrap>", line 1471, in exec_module
6325 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
6326 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
6327 url(r'^ui/', include('swh.web.ui.urls')),
6328 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
6329 urlconf_module = import_module(urlconf_module)
6330 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
6331 return _bootstrap._gcd_import(name[level:], package, level)
6332 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
6333 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
6334 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
6335 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
6336 File "<frozen importlib._bootstrap>", line 1129, in _exec
6337 File "<frozen importlib._bootstrap>", line 1471, in exec_module
6338 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
6339 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
6340 from swh.web.ui.views import (
6341 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
6342 from swh.web.ui.utils import gen_path_info
6343 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
6344 import magic
6345ImportError: No module named 'magic'
6346--------------------- >> end captured logging << ---------------------
6347
6348======================================================================
6349ERROR: api_content_symbol_not_found (tests.api.views.test_content.ContentApiTestCase)
6350----------------------------------------------------------------------
6351Traceback (most recent call last):
6352 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
6353 return func(*args, **keywargs)
6354 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_content.py", line 228, in api_content_symbol_not_found
6355 rv = self.client.get('/api/1/content/symbol/bar/?last_sha1=hash')
6356 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
6357 return self.generic('GET', path, **r)
6358 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
6359 return self.request(**r)
6360 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
6361 return super(APIClient, self).request(**kwargs)
6362 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
6363 request = super(APIRequestFactory, self).request(**kwargs)
6364 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
6365 six.reraise(*exc_info)
6366 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
6367 raise value
6368 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
6369 resolver_match = resolver.resolve(request.path_info)
6370 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
6371 for pattern in self.url_patterns:
6372 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
6373 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
6374 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
6375 self._urlconf_module = import_module(self.urlconf_name)
6376 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
6377 return _bootstrap._gcd_import(name[level:], package, level)
6378 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
6379 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
6380 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
6381 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
6382 File "<frozen importlib._bootstrap>", line 1129, in _exec
6383 File "<frozen importlib._bootstrap>", line 1471, in exec_module
6384 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
6385 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
6386 url(r'^ui/', include('swh.web.ui.urls')),
6387 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
6388 urlconf_module = import_module(urlconf_module)
6389 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
6390 return _bootstrap._gcd_import(name[level:], package, level)
6391 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
6392 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
6393 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
6394 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
6395 File "<frozen importlib._bootstrap>", line 1129, in _exec
6396 File "<frozen importlib._bootstrap>", line 1471, in exec_module
6397 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
6398 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
6399 from swh.web.ui.views import (
6400 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
6401 from swh.web.ui.utils import gen_path_info
6402 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
6403 import magic
6404nose.proxy.ImportError: No module named 'magic'
6405-------------------- >> begin captured logging << --------------------
6406django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
6407django.request: ERROR: Internal Server Error: /api/1/content/symbol/bar/
6408Traceback (most recent call last):
6409 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
6410 return self._urlconf_module
6411AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
6412
6413During handling of the above exception, another exception occurred:
6414
6415Traceback (most recent call last):
6416 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
6417 resolver_match = resolver.resolve(request.path_info)
6418 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
6419 for pattern in self.url_patterns:
6420 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
6421 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
6422 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
6423 self._urlconf_module = import_module(self.urlconf_name)
6424 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
6425 return _bootstrap._gcd_import(name[level:], package, level)
6426 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
6427 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
6428 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
6429 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
6430 File "<frozen importlib._bootstrap>", line 1129, in _exec
6431 File "<frozen importlib._bootstrap>", line 1471, in exec_module
6432 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
6433 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
6434 url(r'^ui/', include('swh.web.ui.urls')),
6435 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
6436 urlconf_module = import_module(urlconf_module)
6437 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
6438 return _bootstrap._gcd_import(name[level:], package, level)
6439 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
6440 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
6441 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
6442 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
6443 File "<frozen importlib._bootstrap>", line 1129, in _exec
6444 File "<frozen importlib._bootstrap>", line 1471, in exec_module
6445 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
6446 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
6447 from swh.web.ui.views import (
6448 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
6449 from swh.web.ui.utils import gen_path_info
6450 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
6451 import magic
6452ImportError: No module named 'magic'
6453--------------------- >> end captured logging << ---------------------
6454
6455======================================================================
6456ERROR: api_directory (tests.api.views.test_directory.DirectoryApiTestCase)
6457----------------------------------------------------------------------
6458Traceback (most recent call last):
6459 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
6460 return func(*args, **keywargs)
6461 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_directory.py", line 49, in api_directory
6462 rv = self.client.get('/api/1/directory/'
6463 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
6464 return self.generic('GET', path, **r)
6465 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
6466 return self.request(**r)
6467 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
6468 return super(APIClient, self).request(**kwargs)
6469 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
6470 request = super(APIRequestFactory, self).request(**kwargs)
6471 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
6472 six.reraise(*exc_info)
6473 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
6474 raise value
6475 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
6476 resolver_match = resolver.resolve(request.path_info)
6477 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
6478 for pattern in self.url_patterns:
6479 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
6480 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
6481 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
6482 self._urlconf_module = import_module(self.urlconf_name)
6483 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
6484 return _bootstrap._gcd_import(name[level:], package, level)
6485 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
6486 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
6487 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
6488 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
6489 File "<frozen importlib._bootstrap>", line 1129, in _exec
6490 File "<frozen importlib._bootstrap>", line 1471, in exec_module
6491 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
6492 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
6493 url(r'^ui/', include('swh.web.ui.urls')),
6494 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
6495 urlconf_module = import_module(urlconf_module)
6496 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
6497 return _bootstrap._gcd_import(name[level:], package, level)
6498 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
6499 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
6500 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
6501 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
6502 File "<frozen importlib._bootstrap>", line 1129, in _exec
6503 File "<frozen importlib._bootstrap>", line 1471, in exec_module
6504 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
6505 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
6506 from swh.web.ui.views import (
6507 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
6508 from swh.web.ui.utils import gen_path_info
6509 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
6510 import magic
6511nose.proxy.ImportError: No module named 'magic'
6512-------------------- >> begin captured logging << --------------------
6513django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
6514django.request: ERROR: Internal Server Error: /api/1/directory/18d8be353ed3480476f032475e7c233eff7371d5/
6515Traceback (most recent call last):
6516 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
6517 return self._urlconf_module
6518AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
6519
6520During handling of the above exception, another exception occurred:
6521
6522Traceback (most recent call last):
6523 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
6524 resolver_match = resolver.resolve(request.path_info)
6525 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
6526 for pattern in self.url_patterns:
6527 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
6528 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
6529 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
6530 self._urlconf_module = import_module(self.urlconf_name)
6531 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
6532 return _bootstrap._gcd_import(name[level:], package, level)
6533 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
6534 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
6535 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
6536 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
6537 File "<frozen importlib._bootstrap>", line 1129, in _exec
6538 File "<frozen importlib._bootstrap>", line 1471, in exec_module
6539 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
6540 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
6541 url(r'^ui/', include('swh.web.ui.urls')),
6542 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
6543 urlconf_module = import_module(urlconf_module)
6544 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
6545 return _bootstrap._gcd_import(name[level:], package, level)
6546 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
6547 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
6548 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
6549 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
6550 File "<frozen importlib._bootstrap>", line 1129, in _exec
6551 File "<frozen importlib._bootstrap>", line 1471, in exec_module
6552 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
6553 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
6554 from swh.web.ui.views import (
6555 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
6556 from swh.web.ui.utils import gen_path_info
6557 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
6558 import magic
6559ImportError: No module named 'magic'
6560--------------------- >> end captured logging << ---------------------
6561
6562======================================================================
6563ERROR: api_directory_not_found (tests.api.views.test_directory.DirectoryApiTestCase)
6564----------------------------------------------------------------------
6565Traceback (most recent call last):
6566 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
6567 return func(*args, **keywargs)
6568 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_directory.py", line 67, in api_directory_not_found
6569 rv = self.client.get('/api/1/directory/'
6570 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
6571 return self.generic('GET', path, **r)
6572 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
6573 return self.request(**r)
6574 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
6575 return super(APIClient, self).request(**kwargs)
6576 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
6577 request = super(APIRequestFactory, self).request(**kwargs)
6578 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
6579 six.reraise(*exc_info)
6580 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
6581 raise value
6582 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
6583 resolver_match = resolver.resolve(request.path_info)
6584 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
6585 for pattern in self.url_patterns:
6586 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
6587 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
6588 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
6589 self._urlconf_module = import_module(self.urlconf_name)
6590 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
6591 return _bootstrap._gcd_import(name[level:], package, level)
6592 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
6593 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
6594 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
6595 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
6596 File "<frozen importlib._bootstrap>", line 1129, in _exec
6597 File "<frozen importlib._bootstrap>", line 1471, in exec_module
6598 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
6599 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
6600 url(r'^ui/', include('swh.web.ui.urls')),
6601 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
6602 urlconf_module = import_module(urlconf_module)
6603 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
6604 return _bootstrap._gcd_import(name[level:], package, level)
6605 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
6606 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
6607 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
6608 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
6609 File "<frozen importlib._bootstrap>", line 1129, in _exec
6610 File "<frozen importlib._bootstrap>", line 1471, in exec_module
6611 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
6612 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
6613 from swh.web.ui.views import (
6614 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
6615 from swh.web.ui.utils import gen_path_info
6616 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
6617 import magic
6618nose.proxy.ImportError: No module named 'magic'
6619-------------------- >> begin captured logging << --------------------
6620django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
6621django.request: ERROR: Internal Server Error: /api/1/directory/66618d8be353ed3480476f032475e7c233eff737/
6622Traceback (most recent call last):
6623 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
6624 return self._urlconf_module
6625AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
6626
6627During handling of the above exception, another exception occurred:
6628
6629Traceback (most recent call last):
6630 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
6631 resolver_match = resolver.resolve(request.path_info)
6632 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
6633 for pattern in self.url_patterns:
6634 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
6635 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
6636 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
6637 self._urlconf_module = import_module(self.urlconf_name)
6638 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
6639 return _bootstrap._gcd_import(name[level:], package, level)
6640 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
6641 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
6642 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
6643 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
6644 File "<frozen importlib._bootstrap>", line 1129, in _exec
6645 File "<frozen importlib._bootstrap>", line 1471, in exec_module
6646 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
6647 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
6648 url(r'^ui/', include('swh.web.ui.urls')),
6649 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
6650 urlconf_module = import_module(urlconf_module)
6651 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
6652 return _bootstrap._gcd_import(name[level:], package, level)
6653 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
6654 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
6655 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
6656 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
6657 File "<frozen importlib._bootstrap>", line 1129, in _exec
6658 File "<frozen importlib._bootstrap>", line 1471, in exec_module
6659 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
6660 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
6661 from swh.web.ui.views import (
6662 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
6663 from swh.web.ui.utils import gen_path_info
6664 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
6665 import magic
6666ImportError: No module named 'magic'
6667--------------------- >> end captured logging << ---------------------
6668
6669======================================================================
6670ERROR: api_directory_with_path_found (tests.api.views.test_directory.DirectoryApiTestCase)
6671----------------------------------------------------------------------
6672Traceback (most recent call last):
6673 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
6674 return func(*args, **keywargs)
6675 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_directory.py", line 94, in api_directory_with_path_found
6676 rv = self.client.get('/api/1/directory/'
6677 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
6678 return self.generic('GET', path, **r)
6679 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
6680 return self.request(**r)
6681 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
6682 return super(APIClient, self).request(**kwargs)
6683 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
6684 request = super(APIRequestFactory, self).request(**kwargs)
6685 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
6686 six.reraise(*exc_info)
6687 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
6688 raise value
6689 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
6690 resolver_match = resolver.resolve(request.path_info)
6691 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
6692 for pattern in self.url_patterns:
6693 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
6694 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
6695 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
6696 self._urlconf_module = import_module(self.urlconf_name)
6697 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
6698 return _bootstrap._gcd_import(name[level:], package, level)
6699 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
6700 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
6701 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
6702 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
6703 File "<frozen importlib._bootstrap>", line 1129, in _exec
6704 File "<frozen importlib._bootstrap>", line 1471, in exec_module
6705 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
6706 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
6707 url(r'^ui/', include('swh.web.ui.urls')),
6708 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
6709 urlconf_module = import_module(urlconf_module)
6710 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
6711 return _bootstrap._gcd_import(name[level:], package, level)
6712 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
6713 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
6714 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
6715 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
6716 File "<frozen importlib._bootstrap>", line 1129, in _exec
6717 File "<frozen importlib._bootstrap>", line 1471, in exec_module
6718 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
6719 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
6720 from swh.web.ui.views import (
6721 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
6722 from swh.web.ui.utils import gen_path_info
6723 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
6724 import magic
6725nose.proxy.ImportError: No module named 'magic'
6726-------------------- >> begin captured logging << --------------------
6727django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
6728django.request: ERROR: Internal Server Error: /api/1/directory/18d8be353ed3480476f032475e7c233eff7371d5/bla/
6729Traceback (most recent call last):
6730 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
6731 return self._urlconf_module
6732AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
6733
6734During handling of the above exception, another exception occurred:
6735
6736Traceback (most recent call last):
6737 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
6738 resolver_match = resolver.resolve(request.path_info)
6739 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
6740 for pattern in self.url_patterns:
6741 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
6742 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
6743 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
6744 self._urlconf_module = import_module(self.urlconf_name)
6745 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
6746 return _bootstrap._gcd_import(name[level:], package, level)
6747 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
6748 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
6749 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
6750 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
6751 File "<frozen importlib._bootstrap>", line 1129, in _exec
6752 File "<frozen importlib._bootstrap>", line 1471, in exec_module
6753 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
6754 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
6755 url(r'^ui/', include('swh.web.ui.urls')),
6756 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
6757 urlconf_module = import_module(urlconf_module)
6758 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
6759 return _bootstrap._gcd_import(name[level:], package, level)
6760 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
6761 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
6762 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
6763 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
6764 File "<frozen importlib._bootstrap>", line 1129, in _exec
6765 File "<frozen importlib._bootstrap>", line 1471, in exec_module
6766 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
6767 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
6768 from swh.web.ui.views import (
6769 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
6770 from swh.web.ui.utils import gen_path_info
6771 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
6772 import magic
6773ImportError: No module named 'magic'
6774--------------------- >> end captured logging << ---------------------
6775
6776======================================================================
6777ERROR: api_directory_with_path_not_found (tests.api.views.test_directory.DirectoryApiTestCase)
6778----------------------------------------------------------------------
6779Traceback (most recent call last):
6780 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
6781 return func(*args, **keywargs)
6782 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_directory.py", line 115, in api_directory_with_path_not_found
6783 % path)
6784 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
6785 return self.generic('GET', path, **r)
6786 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
6787 return self.request(**r)
6788 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
6789 return super(APIClient, self).request(**kwargs)
6790 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
6791 request = super(APIRequestFactory, self).request(**kwargs)
6792 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
6793 six.reraise(*exc_info)
6794 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
6795 raise value
6796 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
6797 resolver_match = resolver.resolve(request.path_info)
6798 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
6799 for pattern in self.url_patterns:
6800 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
6801 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
6802 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
6803 self._urlconf_module = import_module(self.urlconf_name)
6804 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
6805 return _bootstrap._gcd_import(name[level:], package, level)
6806 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
6807 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
6808 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
6809 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
6810 File "<frozen importlib._bootstrap>", line 1129, in _exec
6811 File "<frozen importlib._bootstrap>", line 1471, in exec_module
6812 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
6813 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
6814 url(r'^ui/', include('swh.web.ui.urls')),
6815 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
6816 urlconf_module = import_module(urlconf_module)
6817 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
6818 return _bootstrap._gcd_import(name[level:], package, level)
6819 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
6820 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
6821 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
6822 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
6823 File "<frozen importlib._bootstrap>", line 1129, in _exec
6824 File "<frozen importlib._bootstrap>", line 1471, in exec_module
6825 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
6826 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
6827 from swh.web.ui.views import (
6828 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
6829 from swh.web.ui.utils import gen_path_info
6830 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
6831 import magic
6832nose.proxy.ImportError: No module named 'magic'
6833-------------------- >> begin captured logging << --------------------
6834django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
6835django.request: ERROR: Internal Server Error: /api/1/directory/66618d8be353ed3480476f032475e7c233eff737/some/path/to/dir/
6836Traceback (most recent call last):
6837 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
6838 return self._urlconf_module
6839AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
6840
6841During handling of the above exception, another exception occurred:
6842
6843Traceback (most recent call last):
6844 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
6845 resolver_match = resolver.resolve(request.path_info)
6846 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
6847 for pattern in self.url_patterns:
6848 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
6849 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
6850 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
6851 self._urlconf_module = import_module(self.urlconf_name)
6852 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
6853 return _bootstrap._gcd_import(name[level:], package, level)
6854 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
6855 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
6856 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
6857 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
6858 File "<frozen importlib._bootstrap>", line 1129, in _exec
6859 File "<frozen importlib._bootstrap>", line 1471, in exec_module
6860 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
6861 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
6862 url(r'^ui/', include('swh.web.ui.urls')),
6863 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
6864 urlconf_module = import_module(urlconf_module)
6865 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
6866 return _bootstrap._gcd_import(name[level:], package, level)
6867 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
6868 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
6869 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
6870 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
6871 File "<frozen importlib._bootstrap>", line 1129, in _exec
6872 File "<frozen importlib._bootstrap>", line 1471, in exec_module
6873 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
6874 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
6875 from swh.web.ui.views import (
6876 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
6877 from swh.web.ui.utils import gen_path_info
6878 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
6879 import magic
6880ImportError: No module named 'magic'
6881--------------------- >> end captured logging << ---------------------
6882
6883======================================================================
6884ERROR: api_lookup_entity_by_uuid (tests.api.views.test_entity.EntityApiTestCase)
6885----------------------------------------------------------------------
6886Traceback (most recent call last):
6887 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
6888 return func(*args, **keywargs)
6889 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_entity.py", line 87, in api_lookup_entity_by_uuid
6890 rv = self.client.get('/api/1/entity'
6891 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
6892 return self.generic('GET', path, **r)
6893 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
6894 return self.request(**r)
6895 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
6896 return super(APIClient, self).request(**kwargs)
6897 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
6898 request = super(APIRequestFactory, self).request(**kwargs)
6899 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
6900 six.reraise(*exc_info)
6901 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
6902 raise value
6903 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
6904 resolver_match = resolver.resolve(request.path_info)
6905 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
6906 for pattern in self.url_patterns:
6907 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
6908 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
6909 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
6910 self._urlconf_module = import_module(self.urlconf_name)
6911 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
6912 return _bootstrap._gcd_import(name[level:], package, level)
6913 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
6914 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
6915 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
6916 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
6917 File "<frozen importlib._bootstrap>", line 1129, in _exec
6918 File "<frozen importlib._bootstrap>", line 1471, in exec_module
6919 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
6920 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
6921 url(r'^ui/', include('swh.web.ui.urls')),
6922 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
6923 urlconf_module = import_module(urlconf_module)
6924 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
6925 return _bootstrap._gcd_import(name[level:], package, level)
6926 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
6927 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
6928 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
6929 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
6930 File "<frozen importlib._bootstrap>", line 1129, in _exec
6931 File "<frozen importlib._bootstrap>", line 1471, in exec_module
6932 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
6933 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
6934 from swh.web.ui.views import (
6935 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
6936 from swh.web.ui.utils import gen_path_info
6937 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
6938 import magic
6939nose.proxy.ImportError: No module named 'magic'
6940-------------------- >> begin captured logging << --------------------
6941django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
6942django.request: ERROR: Internal Server Error: /api/1/entity/34bd6b1b-463f-43e5-a697-785107f598e4/
6943Traceback (most recent call last):
6944 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
6945 return self._urlconf_module
6946AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
6947
6948During handling of the above exception, another exception occurred:
6949
6950Traceback (most recent call last):
6951 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
6952 resolver_match = resolver.resolve(request.path_info)
6953 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
6954 for pattern in self.url_patterns:
6955 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
6956 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
6957 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
6958 self._urlconf_module = import_module(self.urlconf_name)
6959 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
6960 return _bootstrap._gcd_import(name[level:], package, level)
6961 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
6962 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
6963 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
6964 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
6965 File "<frozen importlib._bootstrap>", line 1129, in _exec
6966 File "<frozen importlib._bootstrap>", line 1471, in exec_module
6967 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
6968 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
6969 url(r'^ui/', include('swh.web.ui.urls')),
6970 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
6971 urlconf_module = import_module(urlconf_module)
6972 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
6973 return _bootstrap._gcd_import(name[level:], package, level)
6974 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
6975 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
6976 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
6977 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
6978 File "<frozen importlib._bootstrap>", line 1129, in _exec
6979 File "<frozen importlib._bootstrap>", line 1471, in exec_module
6980 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
6981 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
6982 from swh.web.ui.views import (
6983 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
6984 from swh.web.ui.utils import gen_path_info
6985 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
6986 import magic
6987ImportError: No module named 'magic'
6988--------------------- >> end captured logging << ---------------------
6989
6990======================================================================
6991ERROR: api_lookup_entity_by_uuid_bad_request (tests.api.views.test_entity.EntityApiTestCase)
6992----------------------------------------------------------------------
6993Traceback (most recent call last):
6994 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
6995 return func(*args, **keywargs)
6996 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_entity.py", line 45, in api_lookup_entity_by_uuid_bad_request
6997 rv = self.client.get('/api/1/entity/uuid malformed/')
6998 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
6999 return self.generic('GET', path, **r)
7000 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
7001 return self.request(**r)
7002 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
7003 return super(APIClient, self).request(**kwargs)
7004 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
7005 request = super(APIRequestFactory, self).request(**kwargs)
7006 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
7007 six.reraise(*exc_info)
7008 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
7009 raise value
7010 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
7011 resolver_match = resolver.resolve(request.path_info)
7012 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
7013 for pattern in self.url_patterns:
7014 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
7015 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
7016 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
7017 self._urlconf_module = import_module(self.urlconf_name)
7018 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
7019 return _bootstrap._gcd_import(name[level:], package, level)
7020 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
7021 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
7022 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
7023 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
7024 File "<frozen importlib._bootstrap>", line 1129, in _exec
7025 File "<frozen importlib._bootstrap>", line 1471, in exec_module
7026 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
7027 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
7028 url(r'^ui/', include('swh.web.ui.urls')),
7029 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
7030 urlconf_module = import_module(urlconf_module)
7031 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
7032 return _bootstrap._gcd_import(name[level:], package, level)
7033 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
7034 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
7035 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
7036 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
7037 File "<frozen importlib._bootstrap>", line 1129, in _exec
7038 File "<frozen importlib._bootstrap>", line 1471, in exec_module
7039 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
7040 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
7041 from swh.web.ui.views import (
7042 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
7043 from swh.web.ui.utils import gen_path_info
7044 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
7045 import magic
7046nose.proxy.ImportError: No module named 'magic'
7047-------------------- >> begin captured logging << --------------------
7048django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
7049django.request: ERROR: Internal Server Error: /api/1/entity/uuid malformed/
7050Traceback (most recent call last):
7051 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
7052 return self._urlconf_module
7053AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
7054
7055During handling of the above exception, another exception occurred:
7056
7057Traceback (most recent call last):
7058 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
7059 resolver_match = resolver.resolve(request.path_info)
7060 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
7061 for pattern in self.url_patterns:
7062 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
7063 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
7064 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
7065 self._urlconf_module = import_module(self.urlconf_name)
7066 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
7067 return _bootstrap._gcd_import(name[level:], package, level)
7068 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
7069 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
7070 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
7071 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
7072 File "<frozen importlib._bootstrap>", line 1129, in _exec
7073 File "<frozen importlib._bootstrap>", line 1471, in exec_module
7074 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
7075 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
7076 url(r'^ui/', include('swh.web.ui.urls')),
7077 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
7078 urlconf_module = import_module(urlconf_module)
7079 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
7080 return _bootstrap._gcd_import(name[level:], package, level)
7081 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
7082 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
7083 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
7084 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
7085 File "<frozen importlib._bootstrap>", line 1129, in _exec
7086 File "<frozen importlib._bootstrap>", line 1471, in exec_module
7087 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
7088 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
7089 from swh.web.ui.views import (
7090 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
7091 from swh.web.ui.utils import gen_path_info
7092 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
7093 import magic
7094ImportError: No module named 'magic'
7095--------------------- >> end captured logging << ---------------------
7096
7097======================================================================
7098ERROR: api_lookup_entity_by_uuid_not_found (tests.api.views.test_entity.EntityApiTestCase)
7099----------------------------------------------------------------------
7100Traceback (most recent call last):
7101 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
7102 return func(*args, **keywargs)
7103 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_entity.py", line 23, in api_lookup_entity_by_uuid_not_found
7104 rv = self.client.get('/api/1/entity/'
7105 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
7106 return self.generic('GET', path, **r)
7107 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
7108 return self.request(**r)
7109 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
7110 return super(APIClient, self).request(**kwargs)
7111 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
7112 request = super(APIRequestFactory, self).request(**kwargs)
7113 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
7114 six.reraise(*exc_info)
7115 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
7116 raise value
7117 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
7118 resolver_match = resolver.resolve(request.path_info)
7119 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
7120 for pattern in self.url_patterns:
7121 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
7122 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
7123 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
7124 self._urlconf_module = import_module(self.urlconf_name)
7125 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
7126 return _bootstrap._gcd_import(name[level:], package, level)
7127 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
7128 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
7129 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
7130 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
7131 File "<frozen importlib._bootstrap>", line 1129, in _exec
7132 File "<frozen importlib._bootstrap>", line 1471, in exec_module
7133 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
7134 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
7135 url(r'^ui/', include('swh.web.ui.urls')),
7136 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
7137 urlconf_module = import_module(urlconf_module)
7138 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
7139 return _bootstrap._gcd_import(name[level:], package, level)
7140 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
7141 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
7142 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
7143 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
7144 File "<frozen importlib._bootstrap>", line 1129, in _exec
7145 File "<frozen importlib._bootstrap>", line 1471, in exec_module
7146 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
7147 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
7148 from swh.web.ui.views import (
7149 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
7150 from swh.web.ui.utils import gen_path_info
7151 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
7152 import magic
7153nose.proxy.ImportError: No module named 'magic'
7154-------------------- >> begin captured logging << --------------------
7155django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
7156django.request: ERROR: Internal Server Error: /api/1/entity/5f4d4c51-498a-4e28-88b3-b3e4e8396cba/
7157Traceback (most recent call last):
7158 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
7159 return self._urlconf_module
7160AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
7161
7162During handling of the above exception, another exception occurred:
7163
7164Traceback (most recent call last):
7165 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
7166 resolver_match = resolver.resolve(request.path_info)
7167 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
7168 for pattern in self.url_patterns:
7169 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
7170 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
7171 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
7172 self._urlconf_module = import_module(self.urlconf_name)
7173 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
7174 return _bootstrap._gcd_import(name[level:], package, level)
7175 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
7176 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
7177 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
7178 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
7179 File "<frozen importlib._bootstrap>", line 1129, in _exec
7180 File "<frozen importlib._bootstrap>", line 1471, in exec_module
7181 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
7182 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
7183 url(r'^ui/', include('swh.web.ui.urls')),
7184 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
7185 urlconf_module = import_module(urlconf_module)
7186 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
7187 return _bootstrap._gcd_import(name[level:], package, level)
7188 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
7189 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
7190 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
7191 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
7192 File "<frozen importlib._bootstrap>", line 1129, in _exec
7193 File "<frozen importlib._bootstrap>", line 1471, in exec_module
7194 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
7195 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
7196 from swh.web.ui.views import (
7197 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
7198 from swh.web.ui.utils import gen_path_info
7199 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
7200 import magic
7201ImportError: No module named 'magic'
7202--------------------- >> end captured logging << ---------------------
7203
7204======================================================================
7205ERROR: api_1_lookup_origin_visit (tests.api.views.test_origin.OriginApiTestCase)
7206----------------------------------------------------------------------
7207Traceback (most recent call last):
7208 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
7209 return func(*args, **keywargs)
7210 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_origin.py", line 157, in api_1_lookup_origin_visit
7211 rv = self.client.get('/api/1/origin/10/visit/100/')
7212 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
7213 return self.generic('GET', path, **r)
7214 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
7215 return self.request(**r)
7216 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
7217 return super(APIClient, self).request(**kwargs)
7218 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
7219 request = super(APIRequestFactory, self).request(**kwargs)
7220 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
7221 six.reraise(*exc_info)
7222 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
7223 raise value
7224 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
7225 resolver_match = resolver.resolve(request.path_info)
7226 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
7227 for pattern in self.url_patterns:
7228 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
7229 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
7230 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
7231 self._urlconf_module = import_module(self.urlconf_name)
7232 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
7233 return _bootstrap._gcd_import(name[level:], package, level)
7234 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
7235 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
7236 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
7237 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
7238 File "<frozen importlib._bootstrap>", line 1129, in _exec
7239 File "<frozen importlib._bootstrap>", line 1471, in exec_module
7240 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
7241 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
7242 url(r'^ui/', include('swh.web.ui.urls')),
7243 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
7244 urlconf_module = import_module(urlconf_module)
7245 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
7246 return _bootstrap._gcd_import(name[level:], package, level)
7247 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
7248 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
7249 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
7250 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
7251 File "<frozen importlib._bootstrap>", line 1129, in _exec
7252 File "<frozen importlib._bootstrap>", line 1471, in exec_module
7253 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
7254 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
7255 from swh.web.ui.views import (
7256 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
7257 from swh.web.ui.utils import gen_path_info
7258 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
7259 import magic
7260nose.proxy.ImportError: No module named 'magic'
7261-------------------- >> begin captured logging << --------------------
7262django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
7263django.request: ERROR: Internal Server Error: /api/1/origin/10/visit/100/
7264Traceback (most recent call last):
7265 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
7266 return self._urlconf_module
7267AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
7268
7269During handling of the above exception, another exception occurred:
7270
7271Traceback (most recent call last):
7272 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
7273 resolver_match = resolver.resolve(request.path_info)
7274 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
7275 for pattern in self.url_patterns:
7276 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
7277 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
7278 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
7279 self._urlconf_module = import_module(self.urlconf_name)
7280 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
7281 return _bootstrap._gcd_import(name[level:], package, level)
7282 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
7283 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
7284 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
7285 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
7286 File "<frozen importlib._bootstrap>", line 1129, in _exec
7287 File "<frozen importlib._bootstrap>", line 1471, in exec_module
7288 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
7289 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
7290 url(r'^ui/', include('swh.web.ui.urls')),
7291 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
7292 urlconf_module = import_module(urlconf_module)
7293 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
7294 return _bootstrap._gcd_import(name[level:], package, level)
7295 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
7296 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
7297 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
7298 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
7299 File "<frozen importlib._bootstrap>", line 1129, in _exec
7300 File "<frozen importlib._bootstrap>", line 1471, in exec_module
7301 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
7302 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
7303 from swh.web.ui.views import (
7304 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
7305 from swh.web.ui.utils import gen_path_info
7306 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
7307 import magic
7308ImportError: No module named 'magic'
7309--------------------- >> end captured logging << ---------------------
7310
7311======================================================================
7312ERROR: api_1_lookup_origin_visit_not_found (tests.api.views.test_origin.OriginApiTestCase)
7313----------------------------------------------------------------------
7314Traceback (most recent call last):
7315 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
7316 return func(*args, **keywargs)
7317 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_origin.py", line 172, in api_1_lookup_origin_visit_not_found
7318 rv = self.client.get('/api/1/origin/1/visit/1000/')
7319 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
7320 return self.generic('GET', path, **r)
7321 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
7322 return self.request(**r)
7323 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
7324 return super(APIClient, self).request(**kwargs)
7325 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
7326 request = super(APIRequestFactory, self).request(**kwargs)
7327 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
7328 six.reraise(*exc_info)
7329 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
7330 raise value
7331 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
7332 resolver_match = resolver.resolve(request.path_info)
7333 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
7334 for pattern in self.url_patterns:
7335 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
7336 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
7337 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
7338 self._urlconf_module = import_module(self.urlconf_name)
7339 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
7340 return _bootstrap._gcd_import(name[level:], package, level)
7341 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
7342 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
7343 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
7344 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
7345 File "<frozen importlib._bootstrap>", line 1129, in _exec
7346 File "<frozen importlib._bootstrap>", line 1471, in exec_module
7347 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
7348 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
7349 url(r'^ui/', include('swh.web.ui.urls')),
7350 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
7351 urlconf_module = import_module(urlconf_module)
7352 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
7353 return _bootstrap._gcd_import(name[level:], package, level)
7354 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
7355 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
7356 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
7357 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
7358 File "<frozen importlib._bootstrap>", line 1129, in _exec
7359 File "<frozen importlib._bootstrap>", line 1471, in exec_module
7360 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
7361 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
7362 from swh.web.ui.views import (
7363 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
7364 from swh.web.ui.utils import gen_path_info
7365 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
7366 import magic
7367nose.proxy.ImportError: No module named 'magic'
7368-------------------- >> begin captured logging << --------------------
7369django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
7370django.request: ERROR: Internal Server Error: /api/1/origin/1/visit/1000/
7371Traceback (most recent call last):
7372 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
7373 return self._urlconf_module
7374AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
7375
7376During handling of the above exception, another exception occurred:
7377
7378Traceback (most recent call last):
7379 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
7380 resolver_match = resolver.resolve(request.path_info)
7381 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
7382 for pattern in self.url_patterns:
7383 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
7384 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
7385 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
7386 self._urlconf_module = import_module(self.urlconf_name)
7387 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
7388 return _bootstrap._gcd_import(name[level:], package, level)
7389 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
7390 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
7391 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
7392 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
7393 File "<frozen importlib._bootstrap>", line 1129, in _exec
7394 File "<frozen importlib._bootstrap>", line 1471, in exec_module
7395 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
7396 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
7397 url(r'^ui/', include('swh.web.ui.urls')),
7398 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
7399 urlconf_module = import_module(urlconf_module)
7400 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
7401 return _bootstrap._gcd_import(name[level:], package, level)
7402 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
7403 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
7404 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
7405 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
7406 File "<frozen importlib._bootstrap>", line 1129, in _exec
7407 File "<frozen importlib._bootstrap>", line 1471, in exec_module
7408 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
7409 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
7410 from swh.web.ui.views import (
7411 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
7412 from swh.web.ui.utils import gen_path_info
7413 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
7414 import magic
7415ImportError: No module named 'magic'
7416--------------------- >> end captured logging << ---------------------
7417
7418======================================================================
7419ERROR: api_1_lookup_origin_visits (tests.api.views.test_origin.OriginApiTestCase)
7420----------------------------------------------------------------------
7421Traceback (most recent call last):
7422 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
7423 return func(*args, **keywargs)
7424 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_origin.py", line 106, in api_1_lookup_origin_visits
7425 rv = self.client.get('/api/1/origin/2/visits/?per_page=2&last_visit=1')
7426 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
7427 return self.generic('GET', path, **r)
7428 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
7429 return self.request(**r)
7430 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
7431 return super(APIClient, self).request(**kwargs)
7432 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
7433 request = super(APIRequestFactory, self).request(**kwargs)
7434 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
7435 six.reraise(*exc_info)
7436 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
7437 raise value
7438 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
7439 resolver_match = resolver.resolve(request.path_info)
7440 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
7441 for pattern in self.url_patterns:
7442 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
7443 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
7444 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
7445 self._urlconf_module = import_module(self.urlconf_name)
7446 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
7447 return _bootstrap._gcd_import(name[level:], package, level)
7448 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
7449 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
7450 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
7451 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
7452 File "<frozen importlib._bootstrap>", line 1129, in _exec
7453 File "<frozen importlib._bootstrap>", line 1471, in exec_module
7454 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
7455 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
7456 url(r'^ui/', include('swh.web.ui.urls')),
7457 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
7458 urlconf_module = import_module(urlconf_module)
7459 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
7460 return _bootstrap._gcd_import(name[level:], package, level)
7461 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
7462 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
7463 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
7464 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
7465 File "<frozen importlib._bootstrap>", line 1129, in _exec
7466 File "<frozen importlib._bootstrap>", line 1471, in exec_module
7467 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
7468 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
7469 from swh.web.ui.views import (
7470 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
7471 from swh.web.ui.utils import gen_path_info
7472 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
7473 import magic
7474nose.proxy.ImportError: No module named 'magic'
7475-------------------- >> begin captured logging << --------------------
7476django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
7477django.request: ERROR: Internal Server Error: /api/1/origin/2/visits/
7478Traceback (most recent call last):
7479 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
7480 return self._urlconf_module
7481AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
7482
7483During handling of the above exception, another exception occurred:
7484
7485Traceback (most recent call last):
7486 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
7487 resolver_match = resolver.resolve(request.path_info)
7488 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
7489 for pattern in self.url_patterns:
7490 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
7491 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
7492 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
7493 self._urlconf_module = import_module(self.urlconf_name)
7494 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
7495 return _bootstrap._gcd_import(name[level:], package, level)
7496 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
7497 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
7498 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
7499 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
7500 File "<frozen importlib._bootstrap>", line 1129, in _exec
7501 File "<frozen importlib._bootstrap>", line 1471, in exec_module
7502 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
7503 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
7504 url(r'^ui/', include('swh.web.ui.urls')),
7505 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
7506 urlconf_module = import_module(urlconf_module)
7507 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
7508 return _bootstrap._gcd_import(name[level:], package, level)
7509 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
7510 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
7511 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
7512 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
7513 File "<frozen importlib._bootstrap>", line 1129, in _exec
7514 File "<frozen importlib._bootstrap>", line 1471, in exec_module
7515 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
7516 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
7517 from swh.web.ui.views import (
7518 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
7519 from swh.web.ui.utils import gen_path_info
7520 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
7521 import magic
7522ImportError: No module named 'magic'
7523--------------------- >> end captured logging << ---------------------
7524
7525======================================================================
7526ERROR: api_1_lookup_origin_visits_raise_error (tests.api.views.test_origin.OriginApiTestCase)
7527----------------------------------------------------------------------
7528Traceback (most recent call last):
7529 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
7530 return func(*args, **keywargs)
7531 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_origin.py", line 40, in api_1_lookup_origin_visits_raise_error
7532 rv = self.client.get('/api/1/origin/2/visits/')
7533 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
7534 return self.generic('GET', path, **r)
7535 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
7536 return self.request(**r)
7537 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
7538 return super(APIClient, self).request(**kwargs)
7539 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
7540 request = super(APIRequestFactory, self).request(**kwargs)
7541 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
7542 six.reraise(*exc_info)
7543 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
7544 raise value
7545 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
7546 resolver_match = resolver.resolve(request.path_info)
7547 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
7548 for pattern in self.url_patterns:
7549 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
7550 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
7551 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
7552 self._urlconf_module = import_module(self.urlconf_name)
7553 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
7554 return _bootstrap._gcd_import(name[level:], package, level)
7555 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
7556 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
7557 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
7558 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
7559 File "<frozen importlib._bootstrap>", line 1129, in _exec
7560 File "<frozen importlib._bootstrap>", line 1471, in exec_module
7561 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
7562 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
7563 url(r'^ui/', include('swh.web.ui.urls')),
7564 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
7565 urlconf_module = import_module(urlconf_module)
7566 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
7567 return _bootstrap._gcd_import(name[level:], package, level)
7568 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
7569 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
7570 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
7571 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
7572 File "<frozen importlib._bootstrap>", line 1129, in _exec
7573 File "<frozen importlib._bootstrap>", line 1471, in exec_module
7574 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
7575 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
7576 from swh.web.ui.views import (
7577 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
7578 from swh.web.ui.utils import gen_path_info
7579 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
7580 import magic
7581nose.proxy.ImportError: No module named 'magic'
7582-------------------- >> begin captured logging << --------------------
7583django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
7584django.request: ERROR: Internal Server Error: /api/1/origin/2/visits/
7585Traceback (most recent call last):
7586 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
7587 return self._urlconf_module
7588AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
7589
7590During handling of the above exception, another exception occurred:
7591
7592Traceback (most recent call last):
7593 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
7594 resolver_match = resolver.resolve(request.path_info)
7595 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
7596 for pattern in self.url_patterns:
7597 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
7598 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
7599 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
7600 self._urlconf_module = import_module(self.urlconf_name)
7601 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
7602 return _bootstrap._gcd_import(name[level:], package, level)
7603 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
7604 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
7605 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
7606 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
7607 File "<frozen importlib._bootstrap>", line 1129, in _exec
7608 File "<frozen importlib._bootstrap>", line 1471, in exec_module
7609 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
7610 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
7611 url(r'^ui/', include('swh.web.ui.urls')),
7612 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
7613 urlconf_module = import_module(urlconf_module)
7614 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
7615 return _bootstrap._gcd_import(name[level:], package, level)
7616 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
7617 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
7618 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
7619 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
7620 File "<frozen importlib._bootstrap>", line 1129, in _exec
7621 File "<frozen importlib._bootstrap>", line 1471, in exec_module
7622 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
7623 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
7624 from swh.web.ui.views import (
7625 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
7626 from swh.web.ui.utils import gen_path_info
7627 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
7628 import magic
7629ImportError: No module named 'magic'
7630--------------------- >> end captured logging << ---------------------
7631
7632======================================================================
7633ERROR: api_1_lookup_origin_visits_raise_swh_storage_error_api (tests.api.views.test_origin.OriginApiTestCase)
7634----------------------------------------------------------------------
7635Traceback (most recent call last):
7636 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
7637 return func(*args, **keywargs)
7638 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_origin.py", line 75, in api_1_lookup_origin_visits_raise_swh_storage_error_api
7639 rv = self.client.get('/api/1/origin/2/visits/')
7640 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
7641 return self.generic('GET', path, **r)
7642 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
7643 return self.request(**r)
7644 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
7645 return super(APIClient, self).request(**kwargs)
7646 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
7647 request = super(APIRequestFactory, self).request(**kwargs)
7648 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
7649 six.reraise(*exc_info)
7650 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
7651 raise value
7652 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
7653 resolver_match = resolver.resolve(request.path_info)
7654 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
7655 for pattern in self.url_patterns:
7656 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
7657 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
7658 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
7659 self._urlconf_module = import_module(self.urlconf_name)
7660 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
7661 return _bootstrap._gcd_import(name[level:], package, level)
7662 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
7663 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
7664 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
7665 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
7666 File "<frozen importlib._bootstrap>", line 1129, in _exec
7667 File "<frozen importlib._bootstrap>", line 1471, in exec_module
7668 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
7669 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
7670 url(r'^ui/', include('swh.web.ui.urls')),
7671 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
7672 urlconf_module = import_module(urlconf_module)
7673 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
7674 return _bootstrap._gcd_import(name[level:], package, level)
7675 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
7676 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
7677 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
7678 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
7679 File "<frozen importlib._bootstrap>", line 1129, in _exec
7680 File "<frozen importlib._bootstrap>", line 1471, in exec_module
7681 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
7682 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
7683 from swh.web.ui.views import (
7684 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
7685 from swh.web.ui.utils import gen_path_info
7686 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
7687 import magic
7688nose.proxy.ImportError: No module named 'magic'
7689-------------------- >> begin captured logging << --------------------
7690django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
7691django.request: ERROR: Internal Server Error: /api/1/origin/2/visits/
7692Traceback (most recent call last):
7693 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
7694 return self._urlconf_module
7695AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
7696
7697During handling of the above exception, another exception occurred:
7698
7699Traceback (most recent call last):
7700 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
7701 resolver_match = resolver.resolve(request.path_info)
7702 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
7703 for pattern in self.url_patterns:
7704 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
7705 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
7706 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
7707 self._urlconf_module = import_module(self.urlconf_name)
7708 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
7709 return _bootstrap._gcd_import(name[level:], package, level)
7710 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
7711 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
7712 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
7713 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
7714 File "<frozen importlib._bootstrap>", line 1129, in _exec
7715 File "<frozen importlib._bootstrap>", line 1471, in exec_module
7716 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
7717 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
7718 url(r'^ui/', include('swh.web.ui.urls')),
7719 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
7720 urlconf_module = import_module(urlconf_module)
7721 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
7722 return _bootstrap._gcd_import(name[level:], package, level)
7723 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
7724 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
7725 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
7726 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
7727 File "<frozen importlib._bootstrap>", line 1129, in _exec
7728 File "<frozen importlib._bootstrap>", line 1471, in exec_module
7729 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
7730 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
7731 from swh.web.ui.views import (
7732 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
7733 from swh.web.ui.utils import gen_path_info
7734 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
7735 import magic
7736ImportError: No module named 'magic'
7737--------------------- >> end captured logging << ---------------------
7738
7739======================================================================
7740ERROR: api_1_lookup_origin_visits_raise_swh_storage_error_db (tests.api.views.test_origin.OriginApiTestCase)
7741----------------------------------------------------------------------
7742Traceback (most recent call last):
7743 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
7744 return func(*args, **keywargs)
7745 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_origin.py", line 56, in api_1_lookup_origin_visits_raise_swh_storage_error_db
7746 rv = self.client.get('/api/1/origin/2/visits/')
7747 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
7748 return self.generic('GET', path, **r)
7749 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
7750 return self.request(**r)
7751 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
7752 return super(APIClient, self).request(**kwargs)
7753 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
7754 request = super(APIRequestFactory, self).request(**kwargs)
7755 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
7756 six.reraise(*exc_info)
7757 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
7758 raise value
7759 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
7760 resolver_match = resolver.resolve(request.path_info)
7761 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
7762 for pattern in self.url_patterns:
7763 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
7764 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
7765 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
7766 self._urlconf_module = import_module(self.urlconf_name)
7767 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
7768 return _bootstrap._gcd_import(name[level:], package, level)
7769 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
7770 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
7771 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
7772 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
7773 File "<frozen importlib._bootstrap>", line 1129, in _exec
7774 File "<frozen importlib._bootstrap>", line 1471, in exec_module
7775 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
7776 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
7777 url(r'^ui/', include('swh.web.ui.urls')),
7778 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
7779 urlconf_module = import_module(urlconf_module)
7780 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
7781 return _bootstrap._gcd_import(name[level:], package, level)
7782 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
7783 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
7784 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
7785 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
7786 File "<frozen importlib._bootstrap>", line 1129, in _exec
7787 File "<frozen importlib._bootstrap>", line 1471, in exec_module
7788 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
7789 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
7790 from swh.web.ui.views import (
7791 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
7792 from swh.web.ui.utils import gen_path_info
7793 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
7794 import magic
7795nose.proxy.ImportError: No module named 'magic'
7796-------------------- >> begin captured logging << --------------------
7797django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
7798django.request: ERROR: Internal Server Error: /api/1/origin/2/visits/
7799Traceback (most recent call last):
7800 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
7801 return self._urlconf_module
7802AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
7803
7804During handling of the above exception, another exception occurred:
7805
7806Traceback (most recent call last):
7807 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
7808 resolver_match = resolver.resolve(request.path_info)
7809 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
7810 for pattern in self.url_patterns:
7811 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
7812 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
7813 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
7814 self._urlconf_module = import_module(self.urlconf_name)
7815 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
7816 return _bootstrap._gcd_import(name[level:], package, level)
7817 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
7818 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
7819 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
7820 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
7821 File "<frozen importlib._bootstrap>", line 1129, in _exec
7822 File "<frozen importlib._bootstrap>", line 1471, in exec_module
7823 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
7824 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
7825 url(r'^ui/', include('swh.web.ui.urls')),
7826 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
7827 urlconf_module = import_module(urlconf_module)
7828 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
7829 return _bootstrap._gcd_import(name[level:], package, level)
7830 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
7831 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
7832 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
7833 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
7834 File "<frozen importlib._bootstrap>", line 1129, in _exec
7835 File "<frozen importlib._bootstrap>", line 1471, in exec_module
7836 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
7837 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
7838 from swh.web.ui.views import (
7839 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
7840 from swh.web.ui.utils import gen_path_info
7841 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
7842 import magic
7843ImportError: No module named 'magic'
7844--------------------- >> end captured logging << ---------------------
7845
7846======================================================================
7847ERROR: api_origin_by_id (tests.api.views.test_origin.OriginApiTestCase)
7848----------------------------------------------------------------------
7849Traceback (most recent call last):
7850 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
7851 return func(*args, **keywargs)
7852 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_origin.py", line 195, in api_origin_by_id
7853 rv = self.client.get('/api/1/origin/1234/')
7854 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
7855 return self.generic('GET', path, **r)
7856 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
7857 return self.request(**r)
7858 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
7859 return super(APIClient, self).request(**kwargs)
7860 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
7861 request = super(APIRequestFactory, self).request(**kwargs)
7862 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
7863 six.reraise(*exc_info)
7864 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
7865 raise value
7866 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
7867 resolver_match = resolver.resolve(request.path_info)
7868 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
7869 for pattern in self.url_patterns:
7870 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
7871 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
7872 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
7873 self._urlconf_module = import_module(self.urlconf_name)
7874 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
7875 return _bootstrap._gcd_import(name[level:], package, level)
7876 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
7877 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
7878 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
7879 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
7880 File "<frozen importlib._bootstrap>", line 1129, in _exec
7881 File "<frozen importlib._bootstrap>", line 1471, in exec_module
7882 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
7883 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
7884 url(r'^ui/', include('swh.web.ui.urls')),
7885 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
7886 urlconf_module = import_module(urlconf_module)
7887 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
7888 return _bootstrap._gcd_import(name[level:], package, level)
7889 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
7890 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
7891 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
7892 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
7893 File "<frozen importlib._bootstrap>", line 1129, in _exec
7894 File "<frozen importlib._bootstrap>", line 1471, in exec_module
7895 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
7896 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
7897 from swh.web.ui.views import (
7898 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
7899 from swh.web.ui.utils import gen_path_info
7900 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
7901 import magic
7902nose.proxy.ImportError: No module named 'magic'
7903-------------------- >> begin captured logging << --------------------
7904django.db.backends: DEBUG: (0.001) QUERY = 'BEGIN' - PARAMS = (); args=None
7905django.request: ERROR: Internal Server Error: /api/1/origin/1234/
7906Traceback (most recent call last):
7907 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
7908 return self._urlconf_module
7909AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
7910
7911During handling of the above exception, another exception occurred:
7912
7913Traceback (most recent call last):
7914 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
7915 resolver_match = resolver.resolve(request.path_info)
7916 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
7917 for pattern in self.url_patterns:
7918 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
7919 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
7920 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
7921 self._urlconf_module = import_module(self.urlconf_name)
7922 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
7923 return _bootstrap._gcd_import(name[level:], package, level)
7924 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
7925 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
7926 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
7927 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
7928 File "<frozen importlib._bootstrap>", line 1129, in _exec
7929 File "<frozen importlib._bootstrap>", line 1471, in exec_module
7930 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
7931 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
7932 url(r'^ui/', include('swh.web.ui.urls')),
7933 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
7934 urlconf_module = import_module(urlconf_module)
7935 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
7936 return _bootstrap._gcd_import(name[level:], package, level)
7937 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
7938 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
7939 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
7940 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
7941 File "<frozen importlib._bootstrap>", line 1129, in _exec
7942 File "<frozen importlib._bootstrap>", line 1471, in exec_module
7943 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
7944 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
7945 from swh.web.ui.views import (
7946 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
7947 from swh.web.ui.utils import gen_path_info
7948 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
7949 import magic
7950ImportError: No module named 'magic'
7951--------------------- >> end captured logging << ---------------------
7952
7953======================================================================
7954ERROR: api_origin_by_type_url (tests.api.views.test_origin.OriginApiTestCase)
7955----------------------------------------------------------------------
7956Traceback (most recent call last):
7957 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
7958 return func(*args, **keywargs)
7959 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_origin.py", line 220, in api_origin_by_type_url
7960 rv = self.client.get('/api/1/origin/ftp/url'
7961 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
7962 return self.generic('GET', path, **r)
7963 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
7964 return self.request(**r)
7965 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
7966 return super(APIClient, self).request(**kwargs)
7967 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
7968 request = super(APIRequestFactory, self).request(**kwargs)
7969 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
7970 six.reraise(*exc_info)
7971 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
7972 raise value
7973 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
7974 resolver_match = resolver.resolve(request.path_info)
7975 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
7976 for pattern in self.url_patterns:
7977 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
7978 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
7979 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
7980 self._urlconf_module = import_module(self.urlconf_name)
7981 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
7982 return _bootstrap._gcd_import(name[level:], package, level)
7983 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
7984 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
7985 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
7986 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
7987 File "<frozen importlib._bootstrap>", line 1129, in _exec
7988 File "<frozen importlib._bootstrap>", line 1471, in exec_module
7989 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
7990 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
7991 url(r'^ui/', include('swh.web.ui.urls')),
7992 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
7993 urlconf_module = import_module(urlconf_module)
7994 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
7995 return _bootstrap._gcd_import(name[level:], package, level)
7996 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
7997 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
7998 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
7999 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
8000 File "<frozen importlib._bootstrap>", line 1129, in _exec
8001 File "<frozen importlib._bootstrap>", line 1471, in exec_module
8002 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
8003 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
8004 from swh.web.ui.views import (
8005 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
8006 from swh.web.ui.utils import gen_path_info
8007 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
8008 import magic
8009nose.proxy.ImportError: No module named 'magic'
8010-------------------- >> begin captured logging << --------------------
8011django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
8012django.request: ERROR: Internal Server Error: /api/1/origin/ftp/url/ftp://some/url/to/origin/0/
8013Traceback (most recent call last):
8014 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
8015 return self._urlconf_module
8016AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
8017
8018During handling of the above exception, another exception occurred:
8019
8020Traceback (most recent call last):
8021 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
8022 resolver_match = resolver.resolve(request.path_info)
8023 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
8024 for pattern in self.url_patterns:
8025 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
8026 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
8027 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
8028 self._urlconf_module = import_module(self.urlconf_name)
8029 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
8030 return _bootstrap._gcd_import(name[level:], package, level)
8031 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
8032 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
8033 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
8034 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
8035 File "<frozen importlib._bootstrap>", line 1129, in _exec
8036 File "<frozen importlib._bootstrap>", line 1471, in exec_module
8037 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
8038 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
8039 url(r'^ui/', include('swh.web.ui.urls')),
8040 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
8041 urlconf_module = import_module(urlconf_module)
8042 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
8043 return _bootstrap._gcd_import(name[level:], package, level)
8044 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
8045 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
8046 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
8047 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
8048 File "<frozen importlib._bootstrap>", line 1129, in _exec
8049 File "<frozen importlib._bootstrap>", line 1471, in exec_module
8050 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
8051 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
8052 from swh.web.ui.views import (
8053 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
8054 from swh.web.ui.utils import gen_path_info
8055 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
8056 import magic
8057ImportError: No module named 'magic'
8058--------------------- >> end captured logging << ---------------------
8059
8060======================================================================
8061ERROR: api_origin_not_found (tests.api.views.test_origin.OriginApiTestCase)
8062----------------------------------------------------------------------
8063Traceback (most recent call last):
8064 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
8065 return func(*args, **keywargs)
8066 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_origin.py", line 239, in api_origin_not_found
8067 rv = self.client.get('/api/1/origin/4321/')
8068 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
8069 return self.generic('GET', path, **r)
8070 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
8071 return self.request(**r)
8072 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
8073 return super(APIClient, self).request(**kwargs)
8074 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
8075 request = super(APIRequestFactory, self).request(**kwargs)
8076 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
8077 six.reraise(*exc_info)
8078 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
8079 raise value
8080 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
8081 resolver_match = resolver.resolve(request.path_info)
8082 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
8083 for pattern in self.url_patterns:
8084 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
8085 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
8086 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
8087 self._urlconf_module = import_module(self.urlconf_name)
8088 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
8089 return _bootstrap._gcd_import(name[level:], package, level)
8090 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
8091 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
8092 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
8093 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
8094 File "<frozen importlib._bootstrap>", line 1129, in _exec
8095 File "<frozen importlib._bootstrap>", line 1471, in exec_module
8096 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
8097 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
8098 url(r'^ui/', include('swh.web.ui.urls')),
8099 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
8100 urlconf_module = import_module(urlconf_module)
8101 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
8102 return _bootstrap._gcd_import(name[level:], package, level)
8103 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
8104 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
8105 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
8106 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
8107 File "<frozen importlib._bootstrap>", line 1129, in _exec
8108 File "<frozen importlib._bootstrap>", line 1471, in exec_module
8109 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
8110 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
8111 from swh.web.ui.views import (
8112 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
8113 from swh.web.ui.utils import gen_path_info
8114 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
8115 import magic
8116nose.proxy.ImportError: No module named 'magic'
8117-------------------- >> begin captured logging << --------------------
8118django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
8119django.request: ERROR: Internal Server Error: /api/1/origin/4321/
8120Traceback (most recent call last):
8121 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
8122 return self._urlconf_module
8123AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
8124
8125During handling of the above exception, another exception occurred:
8126
8127Traceback (most recent call last):
8128 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
8129 resolver_match = resolver.resolve(request.path_info)
8130 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
8131 for pattern in self.url_patterns:
8132 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
8133 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
8134 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
8135 self._urlconf_module = import_module(self.urlconf_name)
8136 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
8137 return _bootstrap._gcd_import(name[level:], package, level)
8138 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
8139 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
8140 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
8141 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
8142 File "<frozen importlib._bootstrap>", line 1129, in _exec
8143 File "<frozen importlib._bootstrap>", line 1471, in exec_module
8144 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
8145 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
8146 url(r'^ui/', include('swh.web.ui.urls')),
8147 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
8148 urlconf_module = import_module(urlconf_module)
8149 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
8150 return _bootstrap._gcd_import(name[level:], package, level)
8151 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
8152 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
8153 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
8154 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
8155 File "<frozen importlib._bootstrap>", line 1129, in _exec
8156 File "<frozen importlib._bootstrap>", line 1471, in exec_module
8157 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
8158 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
8159 from swh.web.ui.views import (
8160 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
8161 from swh.web.ui.utils import gen_path_info
8162 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
8163 import magic
8164ImportError: No module named 'magic'
8165--------------------- >> end captured logging << ---------------------
8166
8167======================================================================
8168ERROR: api_person (tests.api.views.test_person.PersonApiTestCase)
8169----------------------------------------------------------------------
8170Traceback (most recent call last):
8171 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
8172 return func(*args, **keywargs)
8173 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_person.py", line 26, in api_person
8174 rv = self.client.get('/api/1/person/198003/')
8175 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
8176 return self.generic('GET', path, **r)
8177 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
8178 return self.request(**r)
8179 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
8180 return super(APIClient, self).request(**kwargs)
8181 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
8182 request = super(APIRequestFactory, self).request(**kwargs)
8183 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
8184 six.reraise(*exc_info)
8185 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
8186 raise value
8187 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
8188 resolver_match = resolver.resolve(request.path_info)
8189 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
8190 for pattern in self.url_patterns:
8191 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
8192 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
8193 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
8194 self._urlconf_module = import_module(self.urlconf_name)
8195 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
8196 return _bootstrap._gcd_import(name[level:], package, level)
8197 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
8198 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
8199 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
8200 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
8201 File "<frozen importlib._bootstrap>", line 1129, in _exec
8202 File "<frozen importlib._bootstrap>", line 1471, in exec_module
8203 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
8204 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
8205 url(r'^ui/', include('swh.web.ui.urls')),
8206 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
8207 urlconf_module = import_module(urlconf_module)
8208 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
8209 return _bootstrap._gcd_import(name[level:], package, level)
8210 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
8211 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
8212 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
8213 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
8214 File "<frozen importlib._bootstrap>", line 1129, in _exec
8215 File "<frozen importlib._bootstrap>", line 1471, in exec_module
8216 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
8217 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
8218 from swh.web.ui.views import (
8219 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
8220 from swh.web.ui.utils import gen_path_info
8221 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
8222 import magic
8223nose.proxy.ImportError: No module named 'magic'
8224-------------------- >> begin captured logging << --------------------
8225django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
8226django.request: ERROR: Internal Server Error: /api/1/person/198003/
8227Traceback (most recent call last):
8228 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
8229 return self._urlconf_module
8230AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
8231
8232During handling of the above exception, another exception occurred:
8233
8234Traceback (most recent call last):
8235 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
8236 resolver_match = resolver.resolve(request.path_info)
8237 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
8238 for pattern in self.url_patterns:
8239 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
8240 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
8241 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
8242 self._urlconf_module = import_module(self.urlconf_name)
8243 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
8244 return _bootstrap._gcd_import(name[level:], package, level)
8245 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
8246 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
8247 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
8248 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
8249 File "<frozen importlib._bootstrap>", line 1129, in _exec
8250 File "<frozen importlib._bootstrap>", line 1471, in exec_module
8251 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
8252 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
8253 url(r'^ui/', include('swh.web.ui.urls')),
8254 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
8255 urlconf_module = import_module(urlconf_module)
8256 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
8257 return _bootstrap._gcd_import(name[level:], package, level)
8258 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
8259 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
8260 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
8261 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
8262 File "<frozen importlib._bootstrap>", line 1129, in _exec
8263 File "<frozen importlib._bootstrap>", line 1471, in exec_module
8264 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
8265 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
8266 from swh.web.ui.views import (
8267 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
8268 from swh.web.ui.utils import gen_path_info
8269 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
8270 import magic
8271ImportError: No module named 'magic'
8272--------------------- >> end captured logging << ---------------------
8273
8274======================================================================
8275ERROR: api_person_not_found (tests.api.views.test_person.PersonApiTestCase)
8276----------------------------------------------------------------------
8277Traceback (most recent call last):
8278 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
8279 return func(*args, **keywargs)
8280 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_person.py", line 40, in api_person_not_found
8281 rv = self.client.get('/api/1/person/666/')
8282 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
8283 return self.generic('GET', path, **r)
8284 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
8285 return self.request(**r)
8286 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
8287 return super(APIClient, self).request(**kwargs)
8288 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
8289 request = super(APIRequestFactory, self).request(**kwargs)
8290 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
8291 six.reraise(*exc_info)
8292 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
8293 raise value
8294 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
8295 resolver_match = resolver.resolve(request.path_info)
8296 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
8297 for pattern in self.url_patterns:
8298 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
8299 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
8300 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
8301 self._urlconf_module = import_module(self.urlconf_name)
8302 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
8303 return _bootstrap._gcd_import(name[level:], package, level)
8304 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
8305 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
8306 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
8307 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
8308 File "<frozen importlib._bootstrap>", line 1129, in _exec
8309 File "<frozen importlib._bootstrap>", line 1471, in exec_module
8310 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
8311 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
8312 url(r'^ui/', include('swh.web.ui.urls')),
8313 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
8314 urlconf_module = import_module(urlconf_module)
8315 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
8316 return _bootstrap._gcd_import(name[level:], package, level)
8317 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
8318 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
8319 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
8320 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
8321 File "<frozen importlib._bootstrap>", line 1129, in _exec
8322 File "<frozen importlib._bootstrap>", line 1471, in exec_module
8323 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
8324 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
8325 from swh.web.ui.views import (
8326 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
8327 from swh.web.ui.utils import gen_path_info
8328 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
8329 import magic
8330nose.proxy.ImportError: No module named 'magic'
8331-------------------- >> begin captured logging << --------------------
8332django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
8333django.request: ERROR: Internal Server Error: /api/1/person/666/
8334Traceback (most recent call last):
8335 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
8336 return self._urlconf_module
8337AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
8338
8339During handling of the above exception, another exception occurred:
8340
8341Traceback (most recent call last):
8342 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
8343 resolver_match = resolver.resolve(request.path_info)
8344 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
8345 for pattern in self.url_patterns:
8346 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
8347 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
8348 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
8349 self._urlconf_module = import_module(self.urlconf_name)
8350 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
8351 return _bootstrap._gcd_import(name[level:], package, level)
8352 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
8353 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
8354 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
8355 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
8356 File "<frozen importlib._bootstrap>", line 1129, in _exec
8357 File "<frozen importlib._bootstrap>", line 1471, in exec_module
8358 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
8359 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
8360 url(r'^ui/', include('swh.web.ui.urls')),
8361 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
8362 urlconf_module = import_module(urlconf_module)
8363 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
8364 return _bootstrap._gcd_import(name[level:], package, level)
8365 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
8366 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
8367 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
8368 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
8369 File "<frozen importlib._bootstrap>", line 1129, in _exec
8370 File "<frozen importlib._bootstrap>", line 1471, in exec_module
8371 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
8372 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
8373 from swh.web.ui.views import (
8374 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
8375 from swh.web.ui.utils import gen_path_info
8376 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
8377 import magic
8378ImportError: No module named 'magic'
8379--------------------- >> end captured logging << ---------------------
8380
8381======================================================================
8382ERROR: api_release (tests.api.views.test_release.ReleaseApiTestCase)
8383----------------------------------------------------------------------
8384Traceback (most recent call last):
8385 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
8386 return func(*args, **keywargs)
8387 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_release.py", line 51, in api_release
8388 rv = self.client.get('/api/1/release/%s/' % release_id)
8389 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
8390 return self.generic('GET', path, **r)
8391 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
8392 return self.request(**r)
8393 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
8394 return super(APIClient, self).request(**kwargs)
8395 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
8396 request = super(APIRequestFactory, self).request(**kwargs)
8397 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
8398 six.reraise(*exc_info)
8399 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
8400 raise value
8401 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
8402 resolver_match = resolver.resolve(request.path_info)
8403 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
8404 for pattern in self.url_patterns:
8405 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
8406 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
8407 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
8408 self._urlconf_module = import_module(self.urlconf_name)
8409 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
8410 return _bootstrap._gcd_import(name[level:], package, level)
8411 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
8412 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
8413 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
8414 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
8415 File "<frozen importlib._bootstrap>", line 1129, in _exec
8416 File "<frozen importlib._bootstrap>", line 1471, in exec_module
8417 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
8418 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
8419 url(r'^ui/', include('swh.web.ui.urls')),
8420 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
8421 urlconf_module = import_module(urlconf_module)
8422 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
8423 return _bootstrap._gcd_import(name[level:], package, level)
8424 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
8425 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
8426 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
8427 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
8428 File "<frozen importlib._bootstrap>", line 1129, in _exec
8429 File "<frozen importlib._bootstrap>", line 1471, in exec_module
8430 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
8431 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
8432 from swh.web.ui.views import (
8433 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
8434 from swh.web.ui.utils import gen_path_info
8435 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
8436 import magic
8437nose.proxy.ImportError: No module named 'magic'
8438-------------------- >> begin captured logging << --------------------
8439django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
8440django.request: ERROR: Internal Server Error: /api/1/release/7045404f3d1c54e6473/
8441Traceback (most recent call last):
8442 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
8443 return self._urlconf_module
8444AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
8445
8446During handling of the above exception, another exception occurred:
8447
8448Traceback (most recent call last):
8449 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
8450 resolver_match = resolver.resolve(request.path_info)
8451 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
8452 for pattern in self.url_patterns:
8453 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
8454 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
8455 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
8456 self._urlconf_module = import_module(self.urlconf_name)
8457 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
8458 return _bootstrap._gcd_import(name[level:], package, level)
8459 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
8460 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
8461 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
8462 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
8463 File "<frozen importlib._bootstrap>", line 1129, in _exec
8464 File "<frozen importlib._bootstrap>", line 1471, in exec_module
8465 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
8466 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
8467 url(r'^ui/', include('swh.web.ui.urls')),
8468 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
8469 urlconf_module = import_module(urlconf_module)
8470 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
8471 return _bootstrap._gcd_import(name[level:], package, level)
8472 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
8473 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
8474 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
8475 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
8476 File "<frozen importlib._bootstrap>", line 1129, in _exec
8477 File "<frozen importlib._bootstrap>", line 1471, in exec_module
8478 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
8479 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
8480 from swh.web.ui.views import (
8481 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
8482 from swh.web.ui.utils import gen_path_info
8483 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
8484 import magic
8485ImportError: No module named 'magic'
8486--------------------- >> end captured logging << ---------------------
8487
8488======================================================================
8489ERROR: api_release_not_found (tests.api.views.test_release.ReleaseApiTestCase)
8490----------------------------------------------------------------------
8491Traceback (most recent call last):
8492 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
8493 return func(*args, **keywargs)
8494 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_release.py", line 112, in api_release_not_found
8495 rv = self.client.get('/api/1/release/c54e6473c71bbb716529/')
8496 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
8497 return self.generic('GET', path, **r)
8498 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
8499 return self.request(**r)
8500 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
8501 return super(APIClient, self).request(**kwargs)
8502 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
8503 request = super(APIRequestFactory, self).request(**kwargs)
8504 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
8505 six.reraise(*exc_info)
8506 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
8507 raise value
8508 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
8509 resolver_match = resolver.resolve(request.path_info)
8510 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
8511 for pattern in self.url_patterns:
8512 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
8513 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
8514 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
8515 self._urlconf_module = import_module(self.urlconf_name)
8516 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
8517 return _bootstrap._gcd_import(name[level:], package, level)
8518 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
8519 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
8520 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
8521 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
8522 File "<frozen importlib._bootstrap>", line 1129, in _exec
8523 File "<frozen importlib._bootstrap>", line 1471, in exec_module
8524 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
8525 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
8526 url(r'^ui/', include('swh.web.ui.urls')),
8527 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
8528 urlconf_module = import_module(urlconf_module)
8529 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
8530 return _bootstrap._gcd_import(name[level:], package, level)
8531 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
8532 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
8533 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
8534 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
8535 File "<frozen importlib._bootstrap>", line 1129, in _exec
8536 File "<frozen importlib._bootstrap>", line 1471, in exec_module
8537 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
8538 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
8539 from swh.web.ui.views import (
8540 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
8541 from swh.web.ui.utils import gen_path_info
8542 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
8543 import magic
8544nose.proxy.ImportError: No module named 'magic'
8545-------------------- >> begin captured logging << --------------------
8546django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
8547django.request: ERROR: Internal Server Error: /api/1/release/c54e6473c71bbb716529/
8548Traceback (most recent call last):
8549 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
8550 return self._urlconf_module
8551AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
8552
8553During handling of the above exception, another exception occurred:
8554
8555Traceback (most recent call last):
8556 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
8557 resolver_match = resolver.resolve(request.path_info)
8558 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
8559 for pattern in self.url_patterns:
8560 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
8561 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
8562 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
8563 self._urlconf_module = import_module(self.urlconf_name)
8564 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
8565 return _bootstrap._gcd_import(name[level:], package, level)
8566 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
8567 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
8568 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
8569 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
8570 File "<frozen importlib._bootstrap>", line 1129, in _exec
8571 File "<frozen importlib._bootstrap>", line 1471, in exec_module
8572 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
8573 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
8574 url(r'^ui/', include('swh.web.ui.urls')),
8575 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
8576 urlconf_module = import_module(urlconf_module)
8577 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
8578 return _bootstrap._gcd_import(name[level:], package, level)
8579 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
8580 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
8581 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
8582 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
8583 File "<frozen importlib._bootstrap>", line 1129, in _exec
8584 File "<frozen importlib._bootstrap>", line 1471, in exec_module
8585 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
8586 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
8587 from swh.web.ui.views import (
8588 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
8589 from swh.web.ui.utils import gen_path_info
8590 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
8591 import magic
8592ImportError: No module named 'magic'
8593--------------------- >> end captured logging << ---------------------
8594
8595======================================================================
8596ERROR: api_release_target_type_not_a_revision (tests.api.views.test_release.ReleaseApiTestCase)
8597----------------------------------------------------------------------
8598Traceback (most recent call last):
8599 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
8600 return func(*args, **keywargs)
8601 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_release.py", line 96, in api_release_target_type_not_a_revision
8602 rv = self.client.get('/api/1/release/%s/' % release)
8603 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
8604 return self.generic('GET', path, **r)
8605 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
8606 return self.request(**r)
8607 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
8608 return super(APIClient, self).request(**kwargs)
8609 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
8610 request = super(APIRequestFactory, self).request(**kwargs)
8611 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
8612 six.reraise(*exc_info)
8613 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
8614 raise value
8615 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
8616 resolver_match = resolver.resolve(request.path_info)
8617 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
8618 for pattern in self.url_patterns:
8619 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
8620 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
8621 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
8622 self._urlconf_module = import_module(self.urlconf_name)
8623 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
8624 return _bootstrap._gcd_import(name[level:], package, level)
8625 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
8626 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
8627 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
8628 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
8629 File "<frozen importlib._bootstrap>", line 1129, in _exec
8630 File "<frozen importlib._bootstrap>", line 1471, in exec_module
8631 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
8632 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
8633 url(r'^ui/', include('swh.web.ui.urls')),
8634 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
8635 urlconf_module = import_module(urlconf_module)
8636 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
8637 return _bootstrap._gcd_import(name[level:], package, level)
8638 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
8639 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
8640 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
8641 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
8642 File "<frozen importlib._bootstrap>", line 1129, in _exec
8643 File "<frozen importlib._bootstrap>", line 1471, in exec_module
8644 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
8645 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
8646 from swh.web.ui.views import (
8647 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
8648 from swh.web.ui.utils import gen_path_info
8649 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
8650 import magic
8651nose.proxy.ImportError: No module named 'magic'
8652-------------------- >> begin captured logging << --------------------
8653django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
8654django.request: ERROR: Internal Server Error: /api/1/release/8d56a78/
8655Traceback (most recent call last):
8656 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
8657 return self._urlconf_module
8658AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
8659
8660During handling of the above exception, another exception occurred:
8661
8662Traceback (most recent call last):
8663 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
8664 resolver_match = resolver.resolve(request.path_info)
8665 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
8666 for pattern in self.url_patterns:
8667 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
8668 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
8669 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
8670 self._urlconf_module = import_module(self.urlconf_name)
8671 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
8672 return _bootstrap._gcd_import(name[level:], package, level)
8673 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
8674 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
8675 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
8676 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
8677 File "<frozen importlib._bootstrap>", line 1129, in _exec
8678 File "<frozen importlib._bootstrap>", line 1471, in exec_module
8679 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
8680 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
8681 url(r'^ui/', include('swh.web.ui.urls')),
8682 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
8683 urlconf_module = import_module(urlconf_module)
8684 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
8685 return _bootstrap._gcd_import(name[level:], package, level)
8686 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
8687 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
8688 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
8689 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
8690 File "<frozen importlib._bootstrap>", line 1129, in _exec
8691 File "<frozen importlib._bootstrap>", line 1471, in exec_module
8692 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
8693 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
8694 from swh.web.ui.views import (
8695 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
8696 from swh.web.ui.utils import gen_path_info
8697 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
8698 import magic
8699ImportError: No module named 'magic'
8700--------------------- >> end captured logging << ---------------------
8701
8702======================================================================
8703ERROR: api_directory_through_revision_origin (tests.api.views.test_revision.ReleaseApiTestCase)
8704----------------------------------------------------------------------
8705Traceback (most recent call last):
8706 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
8707 return func(*args, **keywargs)
8708 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_revision.py", line 469, in api_directory_through_revision_origin
8709 rv = self.client.get('/api/1/revision/origin/3/directory/')
8710 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
8711 return self.generic('GET', path, **r)
8712 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
8713 return self.request(**r)
8714 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
8715 return super(APIClient, self).request(**kwargs)
8716 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
8717 request = super(APIRequestFactory, self).request(**kwargs)
8718 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
8719 six.reraise(*exc_info)
8720 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
8721 raise value
8722 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
8723 resolver_match = resolver.resolve(request.path_info)
8724 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
8725 for pattern in self.url_patterns:
8726 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
8727 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
8728 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
8729 self._urlconf_module = import_module(self.urlconf_name)
8730 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
8731 return _bootstrap._gcd_import(name[level:], package, level)
8732 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
8733 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
8734 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
8735 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
8736 File "<frozen importlib._bootstrap>", line 1129, in _exec
8737 File "<frozen importlib._bootstrap>", line 1471, in exec_module
8738 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
8739 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
8740 url(r'^ui/', include('swh.web.ui.urls')),
8741 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
8742 urlconf_module = import_module(urlconf_module)
8743 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
8744 return _bootstrap._gcd_import(name[level:], package, level)
8745 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
8746 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
8747 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
8748 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
8749 File "<frozen importlib._bootstrap>", line 1129, in _exec
8750 File "<frozen importlib._bootstrap>", line 1471, in exec_module
8751 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
8752 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
8753 from swh.web.ui.views import (
8754 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
8755 from swh.web.ui.utils import gen_path_info
8756 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
8757 import magic
8758nose.proxy.ImportError: No module named 'magic'
8759-------------------- >> begin captured logging << --------------------
8760django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
8761django.request: ERROR: Internal Server Error: /api/1/revision/origin/3/directory/
8762Traceback (most recent call last):
8763 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
8764 return self._urlconf_module
8765AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
8766
8767During handling of the above exception, another exception occurred:
8768
8769Traceback (most recent call last):
8770 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
8771 resolver_match = resolver.resolve(request.path_info)
8772 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
8773 for pattern in self.url_patterns:
8774 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
8775 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
8776 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
8777 self._urlconf_module = import_module(self.urlconf_name)
8778 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
8779 return _bootstrap._gcd_import(name[level:], package, level)
8780 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
8781 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
8782 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
8783 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
8784 File "<frozen importlib._bootstrap>", line 1129, in _exec
8785 File "<frozen importlib._bootstrap>", line 1471, in exec_module
8786 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
8787 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
8788 url(r'^ui/', include('swh.web.ui.urls')),
8789 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
8790 urlconf_module = import_module(urlconf_module)
8791 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
8792 return _bootstrap._gcd_import(name[level:], package, level)
8793 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
8794 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
8795 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
8796 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
8797 File "<frozen importlib._bootstrap>", line 1129, in _exec
8798 File "<frozen importlib._bootstrap>", line 1471, in exec_module
8799 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
8800 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
8801 from swh.web.ui.views import (
8802 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
8803 from swh.web.ui.utils import gen_path_info
8804 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
8805 import magic
8806ImportError: No module named 'magic'
8807--------------------- >> end captured logging << ---------------------
8808
8809======================================================================
8810ERROR: api_directory_through_revision_origin_ko_not_found (tests.api.views.test_revision.ReleaseApiTestCase)
8811----------------------------------------------------------------------
8812Traceback (most recent call last):
8813 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
8814 return func(*args, **keywargs)
8815 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_revision.py", line 436, in api_directory_through_revision_origin_ko_not_found
8816 rv = self.client.get('/api/1/revision'
8817 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
8818 return self.generic('GET', path, **r)
8819 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
8820 return self.request(**r)
8821 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
8822 return super(APIClient, self).request(**kwargs)
8823 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
8824 request = super(APIRequestFactory, self).request(**kwargs)
8825 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
8826 six.reraise(*exc_info)
8827 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
8828 raise value
8829 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
8830 resolver_match = resolver.resolve(request.path_info)
8831 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
8832 for pattern in self.url_patterns:
8833 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
8834 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
8835 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
8836 self._urlconf_module = import_module(self.urlconf_name)
8837 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
8838 return _bootstrap._gcd_import(name[level:], package, level)
8839 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
8840 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
8841 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
8842 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
8843 File "<frozen importlib._bootstrap>", line 1129, in _exec
8844 File "<frozen importlib._bootstrap>", line 1471, in exec_module
8845 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
8846 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
8847 url(r'^ui/', include('swh.web.ui.urls')),
8848 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
8849 urlconf_module = import_module(urlconf_module)
8850 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
8851 return _bootstrap._gcd_import(name[level:], package, level)
8852 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
8853 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
8854 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
8855 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
8856 File "<frozen importlib._bootstrap>", line 1129, in _exec
8857 File "<frozen importlib._bootstrap>", line 1471, in exec_module
8858 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
8859 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
8860 from swh.web.ui.views import (
8861 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
8862 from swh.web.ui.utils import gen_path_info
8863 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
8864 import magic
8865nose.proxy.ImportError: No module named 'magic'
8866-------------------- >> begin captured logging << --------------------
8867django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
8868django.request: ERROR: Internal Server Error: /api/1/revision/origin/10/branch/refs/remote/origin/dev/ts/2012-10-20/directory/
8869Traceback (most recent call last):
8870 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
8871 return self._urlconf_module
8872AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
8873
8874During handling of the above exception, another exception occurred:
8875
8876Traceback (most recent call last):
8877 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
8878 resolver_match = resolver.resolve(request.path_info)
8879 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
8880 for pattern in self.url_patterns:
8881 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
8882 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
8883 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
8884 self._urlconf_module = import_module(self.urlconf_name)
8885 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
8886 return _bootstrap._gcd_import(name[level:], package, level)
8887 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
8888 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
8889 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
8890 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
8891 File "<frozen importlib._bootstrap>", line 1129, in _exec
8892 File "<frozen importlib._bootstrap>", line 1471, in exec_module
8893 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
8894 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
8895 url(r'^ui/', include('swh.web.ui.urls')),
8896 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
8897 urlconf_module = import_module(urlconf_module)
8898 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
8899 return _bootstrap._gcd_import(name[level:], package, level)
8900 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
8901 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
8902 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
8903 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
8904 File "<frozen importlib._bootstrap>", line 1129, in _exec
8905 File "<frozen importlib._bootstrap>", line 1471, in exec_module
8906 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
8907 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
8908 from swh.web.ui.views import (
8909 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
8910 from swh.web.ui.utils import gen_path_info
8911 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
8912 import magic
8913ImportError: No module named 'magic'
8914--------------------- >> end captured logging << ---------------------
8915
8916======================================================================
8917ERROR: api_revision (tests.api.views.test_revision.ReleaseApiTestCase)
8918----------------------------------------------------------------------
8919Traceback (most recent call last):
8920 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
8921 return func(*args, **keywargs)
8922 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_revision.py", line 83, in api_revision
8923 rv = self.client.get('/api/1/revision/'
8924 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
8925 return self.generic('GET', path, **r)
8926 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
8927 return self.request(**r)
8928 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
8929 return super(APIClient, self).request(**kwargs)
8930 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
8931 request = super(APIRequestFactory, self).request(**kwargs)
8932 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
8933 six.reraise(*exc_info)
8934 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
8935 raise value
8936 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
8937 resolver_match = resolver.resolve(request.path_info)
8938 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
8939 for pattern in self.url_patterns:
8940 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
8941 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
8942 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
8943 self._urlconf_module = import_module(self.urlconf_name)
8944 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
8945 return _bootstrap._gcd_import(name[level:], package, level)
8946 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
8947 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
8948 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
8949 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
8950 File "<frozen importlib._bootstrap>", line 1129, in _exec
8951 File "<frozen importlib._bootstrap>", line 1471, in exec_module
8952 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
8953 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
8954 url(r'^ui/', include('swh.web.ui.urls')),
8955 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
8956 urlconf_module = import_module(urlconf_module)
8957 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
8958 return _bootstrap._gcd_import(name[level:], package, level)
8959 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
8960 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
8961 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
8962 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
8963 File "<frozen importlib._bootstrap>", line 1129, in _exec
8964 File "<frozen importlib._bootstrap>", line 1471, in exec_module
8965 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
8966 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
8967 from swh.web.ui.views import (
8968 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
8969 from swh.web.ui.utils import gen_path_info
8970 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
8971 import magic
8972nose.proxy.ImportError: No module named 'magic'
8973-------------------- >> begin captured logging << --------------------
8974django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
8975django.request: ERROR: Internal Server Error: /api/1/revision/18d8be353ed3480476f032475e7c233eff7371d5/
8976Traceback (most recent call last):
8977 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
8978 return self._urlconf_module
8979AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
8980
8981During handling of the above exception, another exception occurred:
8982
8983Traceback (most recent call last):
8984 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
8985 resolver_match = resolver.resolve(request.path_info)
8986 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
8987 for pattern in self.url_patterns:
8988 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
8989 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
8990 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
8991 self._urlconf_module = import_module(self.urlconf_name)
8992 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
8993 return _bootstrap._gcd_import(name[level:], package, level)
8994 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
8995 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
8996 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
8997 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
8998 File "<frozen importlib._bootstrap>", line 1129, in _exec
8999 File "<frozen importlib._bootstrap>", line 1471, in exec_module
9000 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
9001 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
9002 url(r'^ui/', include('swh.web.ui.urls')),
9003 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
9004 urlconf_module = import_module(urlconf_module)
9005 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
9006 return _bootstrap._gcd_import(name[level:], package, level)
9007 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
9008 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
9009 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
9010 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
9011 File "<frozen importlib._bootstrap>", line 1129, in _exec
9012 File "<frozen importlib._bootstrap>", line 1471, in exec_module
9013 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
9014 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
9015 from swh.web.ui.views import (
9016 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
9017 from swh.web.ui.utils import gen_path_info
9018 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
9019 import magic
9020ImportError: No module named 'magic'
9021--------------------- >> end captured logging << ---------------------
9022
9023======================================================================
9024ERROR: api_revision_directory_ko_not_found (tests.api.views.test_revision.ReleaseApiTestCase)
9025----------------------------------------------------------------------
9026Traceback (most recent call last):
9027 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
9028 return func(*args, **keywargs)
9029 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_revision.py", line 835, in api_revision_directory_ko_not_found
9030 rv = self.client.get('/api/1/revision/999/directory/some/path/to/dir/')
9031 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
9032 return self.generic('GET', path, **r)
9033 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
9034 return self.request(**r)
9035 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
9036 return super(APIClient, self).request(**kwargs)
9037 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
9038 request = super(APIRequestFactory, self).request(**kwargs)
9039 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
9040 six.reraise(*exc_info)
9041 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
9042 raise value
9043 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
9044 resolver_match = resolver.resolve(request.path_info)
9045 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
9046 for pattern in self.url_patterns:
9047 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
9048 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
9049 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
9050 self._urlconf_module = import_module(self.urlconf_name)
9051 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
9052 return _bootstrap._gcd_import(name[level:], package, level)
9053 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
9054 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
9055 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
9056 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
9057 File "<frozen importlib._bootstrap>", line 1129, in _exec
9058 File "<frozen importlib._bootstrap>", line 1471, in exec_module
9059 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
9060 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
9061 url(r'^ui/', include('swh.web.ui.urls')),
9062 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
9063 urlconf_module = import_module(urlconf_module)
9064 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
9065 return _bootstrap._gcd_import(name[level:], package, level)
9066 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
9067 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
9068 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
9069 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
9070 File "<frozen importlib._bootstrap>", line 1129, in _exec
9071 File "<frozen importlib._bootstrap>", line 1471, in exec_module
9072 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
9073 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
9074 from swh.web.ui.views import (
9075 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
9076 from swh.web.ui.utils import gen_path_info
9077 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
9078 import magic
9079nose.proxy.ImportError: No module named 'magic'
9080-------------------- >> begin captured logging << --------------------
9081django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
9082django.request: ERROR: Internal Server Error: /api/1/revision/999/directory/some/path/to/dir/
9083Traceback (most recent call last):
9084 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
9085 return self._urlconf_module
9086AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
9087
9088During handling of the above exception, another exception occurred:
9089
9090Traceback (most recent call last):
9091 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
9092 resolver_match = resolver.resolve(request.path_info)
9093 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
9094 for pattern in self.url_patterns:
9095 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
9096 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
9097 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
9098 self._urlconf_module = import_module(self.urlconf_name)
9099 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
9100 return _bootstrap._gcd_import(name[level:], package, level)
9101 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
9102 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
9103 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
9104 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
9105 File "<frozen importlib._bootstrap>", line 1129, in _exec
9106 File "<frozen importlib._bootstrap>", line 1471, in exec_module
9107 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
9108 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
9109 url(r'^ui/', include('swh.web.ui.urls')),
9110 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
9111 urlconf_module = import_module(urlconf_module)
9112 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
9113 return _bootstrap._gcd_import(name[level:], package, level)
9114 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
9115 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
9116 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
9117 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
9118 File "<frozen importlib._bootstrap>", line 1129, in _exec
9119 File "<frozen importlib._bootstrap>", line 1471, in exec_module
9120 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
9121 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
9122 from swh.web.ui.views import (
9123 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
9124 from swh.web.ui.utils import gen_path_info
9125 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
9126 import magic
9127ImportError: No module named 'magic'
9128--------------------- >> end captured logging << ---------------------
9129
9130======================================================================
9131ERROR: api_revision_directory_ok_returns_content (tests.api.views.test_revision.ReleaseApiTestCase)
9132----------------------------------------------------------------------
9133Traceback (most recent call last):
9134 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
9135 return func(*args, **keywargs)
9136 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_revision.py", line 910, in api_revision_directory_ok_returns_content
9137 rv = self.client.get(url)
9138 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
9139 return self.generic('GET', path, **r)
9140 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
9141 return self.request(**r)
9142 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
9143 return super(APIClient, self).request(**kwargs)
9144 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
9145 request = super(APIRequestFactory, self).request(**kwargs)
9146 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
9147 six.reraise(*exc_info)
9148 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
9149 raise value
9150 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
9151 resolver_match = resolver.resolve(request.path_info)
9152 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
9153 for pattern in self.url_patterns:
9154 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
9155 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
9156 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
9157 self._urlconf_module = import_module(self.urlconf_name)
9158 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
9159 return _bootstrap._gcd_import(name[level:], package, level)
9160 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
9161 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
9162 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
9163 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
9164 File "<frozen importlib._bootstrap>", line 1129, in _exec
9165 File "<frozen importlib._bootstrap>", line 1471, in exec_module
9166 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
9167 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
9168 url(r'^ui/', include('swh.web.ui.urls')),
9169 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
9170 urlconf_module = import_module(urlconf_module)
9171 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
9172 return _bootstrap._gcd_import(name[level:], package, level)
9173 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
9174 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
9175 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
9176 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
9177 File "<frozen importlib._bootstrap>", line 1129, in _exec
9178 File "<frozen importlib._bootstrap>", line 1471, in exec_module
9179 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
9180 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
9181 from swh.web.ui.views import (
9182 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
9183 from swh.web.ui.utils import gen_path_info
9184 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
9185 import magic
9186nose.proxy.ImportError: No module named 'magic'
9187-------------------- >> begin captured logging << --------------------
9188django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
9189django.request: ERROR: Internal Server Error: /api/1/revision/666/directory/some/other/path/
9190Traceback (most recent call last):
9191 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
9192 return self._urlconf_module
9193AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
9194
9195During handling of the above exception, another exception occurred:
9196
9197Traceback (most recent call last):
9198 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
9199 resolver_match = resolver.resolve(request.path_info)
9200 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
9201 for pattern in self.url_patterns:
9202 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
9203 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
9204 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
9205 self._urlconf_module = import_module(self.urlconf_name)
9206 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
9207 return _bootstrap._gcd_import(name[level:], package, level)
9208 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
9209 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
9210 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
9211 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
9212 File "<frozen importlib._bootstrap>", line 1129, in _exec
9213 File "<frozen importlib._bootstrap>", line 1471, in exec_module
9214 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
9215 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
9216 url(r'^ui/', include('swh.web.ui.urls')),
9217 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
9218 urlconf_module = import_module(urlconf_module)
9219 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
9220 return _bootstrap._gcd_import(name[level:], package, level)
9221 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
9222 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
9223 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
9224 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
9225 File "<frozen importlib._bootstrap>", line 1129, in _exec
9226 File "<frozen importlib._bootstrap>", line 1471, in exec_module
9227 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
9228 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
9229 from swh.web.ui.views import (
9230 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
9231 from swh.web.ui.utils import gen_path_info
9232 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
9233 import magic
9234ImportError: No module named 'magic'
9235--------------------- >> end captured logging << ---------------------
9236
9237======================================================================
9238ERROR: api_revision_directory_ok_returns_dir_entries (tests.api.views.test_revision.ReleaseApiTestCase)
9239----------------------------------------------------------------------
9240Traceback (most recent call last):
9241 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
9242 return func(*args, **keywargs)
9243 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_revision.py", line 880, in api_revision_directory_ok_returns_dir_entries
9244 rv = self.client.get('/api/1/revision/999/directory/some/path/')
9245 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
9246 return self.generic('GET', path, **r)
9247 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
9248 return self.request(**r)
9249 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
9250 return super(APIClient, self).request(**kwargs)
9251 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
9252 request = super(APIRequestFactory, self).request(**kwargs)
9253 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
9254 six.reraise(*exc_info)
9255 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
9256 raise value
9257 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
9258 resolver_match = resolver.resolve(request.path_info)
9259 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
9260 for pattern in self.url_patterns:
9261 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
9262 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
9263 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
9264 self._urlconf_module = import_module(self.urlconf_name)
9265 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
9266 return _bootstrap._gcd_import(name[level:], package, level)
9267 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
9268 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
9269 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
9270 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
9271 File "<frozen importlib._bootstrap>", line 1129, in _exec
9272 File "<frozen importlib._bootstrap>", line 1471, in exec_module
9273 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
9274 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
9275 url(r'^ui/', include('swh.web.ui.urls')),
9276 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
9277 urlconf_module = import_module(urlconf_module)
9278 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
9279 return _bootstrap._gcd_import(name[level:], package, level)
9280 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
9281 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
9282 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
9283 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
9284 File "<frozen importlib._bootstrap>", line 1129, in _exec
9285 File "<frozen importlib._bootstrap>", line 1471, in exec_module
9286 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
9287 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
9288 from swh.web.ui.views import (
9289 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
9290 from swh.web.ui.utils import gen_path_info
9291 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
9292 import magic
9293nose.proxy.ImportError: No module named 'magic'
9294-------------------- >> begin captured logging << --------------------
9295django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
9296django.request: ERROR: Internal Server Error: /api/1/revision/999/directory/some/path/
9297Traceback (most recent call last):
9298 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
9299 return self._urlconf_module
9300AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
9301
9302During handling of the above exception, another exception occurred:
9303
9304Traceback (most recent call last):
9305 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
9306 resolver_match = resolver.resolve(request.path_info)
9307 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
9308 for pattern in self.url_patterns:
9309 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
9310 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
9311 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
9312 self._urlconf_module = import_module(self.urlconf_name)
9313 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
9314 return _bootstrap._gcd_import(name[level:], package, level)
9315 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
9316 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
9317 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
9318 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
9319 File "<frozen importlib._bootstrap>", line 1129, in _exec
9320 File "<frozen importlib._bootstrap>", line 1471, in exec_module
9321 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
9322 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
9323 url(r'^ui/', include('swh.web.ui.urls')),
9324 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
9325 urlconf_module = import_module(urlconf_module)
9326 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
9327 return _bootstrap._gcd_import(name[level:], package, level)
9328 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
9329 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
9330 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
9331 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
9332 File "<frozen importlib._bootstrap>", line 1129, in _exec
9333 File "<frozen importlib._bootstrap>", line 1471, in exec_module
9334 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
9335 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
9336 from swh.web.ui.views import (
9337 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
9338 from swh.web.ui.utils import gen_path_info
9339 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
9340 import magic
9341ImportError: No module named 'magic'
9342--------------------- >> end captured logging << ---------------------
9343
9344======================================================================
9345ERROR: api_revision_history (tests.api.views.test_revision.ReleaseApiTestCase)
9346----------------------------------------------------------------------
9347Traceback (most recent call last):
9348 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
9349 return func(*args, **keywargs)
9350 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_revision.py", line 809, in api_revision_history
9351 rv = self.client.get('/api/1/revision/883/prev/999/')
9352 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
9353 return self.generic('GET', path, **r)
9354 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
9355 return self.request(**r)
9356 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
9357 return super(APIClient, self).request(**kwargs)
9358 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
9359 request = super(APIRequestFactory, self).request(**kwargs)
9360 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
9361 six.reraise(*exc_info)
9362 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
9363 raise value
9364 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
9365 resolver_match = resolver.resolve(request.path_info)
9366 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
9367 for pattern in self.url_patterns:
9368 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
9369 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
9370 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
9371 self._urlconf_module = import_module(self.urlconf_name)
9372 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
9373 return _bootstrap._gcd_import(name[level:], package, level)
9374 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
9375 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
9376 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
9377 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
9378 File "<frozen importlib._bootstrap>", line 1129, in _exec
9379 File "<frozen importlib._bootstrap>", line 1471, in exec_module
9380 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
9381 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
9382 url(r'^ui/', include('swh.web.ui.urls')),
9383 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
9384 urlconf_module = import_module(urlconf_module)
9385 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
9386 return _bootstrap._gcd_import(name[level:], package, level)
9387 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
9388 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
9389 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
9390 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
9391 File "<frozen importlib._bootstrap>", line 1129, in _exec
9392 File "<frozen importlib._bootstrap>", line 1471, in exec_module
9393 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
9394 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
9395 from swh.web.ui.views import (
9396 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
9397 from swh.web.ui.utils import gen_path_info
9398 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
9399 import magic
9400nose.proxy.ImportError: No module named 'magic'
9401-------------------- >> begin captured logging << --------------------
9402django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
9403django.request: ERROR: Internal Server Error: /api/1/revision/883/prev/999/
9404Traceback (most recent call last):
9405 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
9406 return self._urlconf_module
9407AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
9408
9409During handling of the above exception, another exception occurred:
9410
9411Traceback (most recent call last):
9412 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
9413 resolver_match = resolver.resolve(request.path_info)
9414 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
9415 for pattern in self.url_patterns:
9416 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
9417 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
9418 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
9419 self._urlconf_module = import_module(self.urlconf_name)
9420 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
9421 return _bootstrap._gcd_import(name[level:], package, level)
9422 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
9423 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
9424 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
9425 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
9426 File "<frozen importlib._bootstrap>", line 1129, in _exec
9427 File "<frozen importlib._bootstrap>", line 1471, in exec_module
9428 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
9429 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
9430 url(r'^ui/', include('swh.web.ui.urls')),
9431 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
9432 urlconf_module = import_module(urlconf_module)
9433 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
9434 return _bootstrap._gcd_import(name[level:], package, level)
9435 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
9436 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
9437 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
9438 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
9439 File "<frozen importlib._bootstrap>", line 1129, in _exec
9440 File "<frozen importlib._bootstrap>", line 1471, in exec_module
9441 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
9442 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
9443 from swh.web.ui.views import (
9444 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
9445 from swh.web.ui.utils import gen_path_info
9446 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
9447 import magic
9448ImportError: No module named 'magic'
9449--------------------- >> end captured logging << ---------------------
9450
9451======================================================================
9452ERROR: api_revision_log (tests.api.views.test_revision.ReleaseApiTestCase)
9453----------------------------------------------------------------------
9454Traceback (most recent call last):
9455 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
9456 return func(*args, **keywargs)
9457 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_revision.py", line 526, in api_revision_log
9458 rv = self.client.get('/api/1/revision/8834ef7e7c357ce2af928115c6c6a42'
9459 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
9460 return self.generic('GET', path, **r)
9461 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
9462 return self.request(**r)
9463 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
9464 return super(APIClient, self).request(**kwargs)
9465 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
9466 request = super(APIRequestFactory, self).request(**kwargs)
9467 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
9468 six.reraise(*exc_info)
9469 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
9470 raise value
9471 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
9472 resolver_match = resolver.resolve(request.path_info)
9473 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
9474 for pattern in self.url_patterns:
9475 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
9476 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
9477 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
9478 self._urlconf_module = import_module(self.urlconf_name)
9479 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
9480 return _bootstrap._gcd_import(name[level:], package, level)
9481 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
9482 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
9483 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
9484 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
9485 File "<frozen importlib._bootstrap>", line 1129, in _exec
9486 File "<frozen importlib._bootstrap>", line 1471, in exec_module
9487 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
9488 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
9489 url(r'^ui/', include('swh.web.ui.urls')),
9490 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
9491 urlconf_module = import_module(urlconf_module)
9492 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
9493 return _bootstrap._gcd_import(name[level:], package, level)
9494 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
9495 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
9496 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
9497 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
9498 File "<frozen importlib._bootstrap>", line 1129, in _exec
9499 File "<frozen importlib._bootstrap>", line 1471, in exec_module
9500 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
9501 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
9502 from swh.web.ui.views import (
9503 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
9504 from swh.web.ui.utils import gen_path_info
9505 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
9506 import magic
9507nose.proxy.ImportError: No module named 'magic'
9508-------------------- >> begin captured logging << --------------------
9509django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
9510django.request: ERROR: Internal Server Error: /api/1/revision/8834ef7e7c357ce2af928115c6c6a42b7e2a44e6/log/
9511Traceback (most recent call last):
9512 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
9513 return self._urlconf_module
9514AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
9515
9516During handling of the above exception, another exception occurred:
9517
9518Traceback (most recent call last):
9519 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
9520 resolver_match = resolver.resolve(request.path_info)
9521 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
9522 for pattern in self.url_patterns:
9523 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
9524 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
9525 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
9526 self._urlconf_module = import_module(self.urlconf_name)
9527 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
9528 return _bootstrap._gcd_import(name[level:], package, level)
9529 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
9530 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
9531 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
9532 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
9533 File "<frozen importlib._bootstrap>", line 1129, in _exec
9534 File "<frozen importlib._bootstrap>", line 1471, in exec_module
9535 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
9536 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
9537 url(r'^ui/', include('swh.web.ui.urls')),
9538 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
9539 urlconf_module = import_module(urlconf_module)
9540 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
9541 return _bootstrap._gcd_import(name[level:], package, level)
9542 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
9543 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
9544 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
9545 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
9546 File "<frozen importlib._bootstrap>", line 1129, in _exec
9547 File "<frozen importlib._bootstrap>", line 1471, in exec_module
9548 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
9549 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
9550 from swh.web.ui.views import (
9551 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
9552 from swh.web.ui.utils import gen_path_info
9553 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
9554 import magic
9555ImportError: No module named 'magic'
9556--------------------- >> end captured logging << ---------------------
9557
9558======================================================================
9559ERROR: api_revision_log_by (tests.api.views.test_revision.ReleaseApiTestCase)
9560----------------------------------------------------------------------
9561Traceback (most recent call last):
9562 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
9563 return func(*args, **keywargs)
9564 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_revision.py", line 733, in api_revision_log_by
9565 rv = self.client.get('/api/1/revision/origin/1/log/')
9566 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
9567 return self.generic('GET', path, **r)
9568 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
9569 return self.request(**r)
9570 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
9571 return super(APIClient, self).request(**kwargs)
9572 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
9573 request = super(APIRequestFactory, self).request(**kwargs)
9574 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
9575 six.reraise(*exc_info)
9576 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
9577 raise value
9578 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
9579 resolver_match = resolver.resolve(request.path_info)
9580 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
9581 for pattern in self.url_patterns:
9582 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
9583 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
9584 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
9585 self._urlconf_module = import_module(self.urlconf_name)
9586 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
9587 return _bootstrap._gcd_import(name[level:], package, level)
9588 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
9589 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
9590 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
9591 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
9592 File "<frozen importlib._bootstrap>", line 1129, in _exec
9593 File "<frozen importlib._bootstrap>", line 1471, in exec_module
9594 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
9595 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
9596 url(r'^ui/', include('swh.web.ui.urls')),
9597 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
9598 urlconf_module = import_module(urlconf_module)
9599 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
9600 return _bootstrap._gcd_import(name[level:], package, level)
9601 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
9602 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
9603 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
9604 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
9605 File "<frozen importlib._bootstrap>", line 1129, in _exec
9606 File "<frozen importlib._bootstrap>", line 1471, in exec_module
9607 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
9608 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
9609 from swh.web.ui.views import (
9610 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
9611 from swh.web.ui.utils import gen_path_info
9612 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
9613 import magic
9614nose.proxy.ImportError: No module named 'magic'
9615-------------------- >> begin captured logging << --------------------
9616django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
9617django.request: ERROR: Internal Server Error: /api/1/revision/origin/1/log/
9618Traceback (most recent call last):
9619 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
9620 return self._urlconf_module
9621AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
9622
9623During handling of the above exception, another exception occurred:
9624
9625Traceback (most recent call last):
9626 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
9627 resolver_match = resolver.resolve(request.path_info)
9628 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
9629 for pattern in self.url_patterns:
9630 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
9631 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
9632 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
9633 self._urlconf_module = import_module(self.urlconf_name)
9634 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
9635 return _bootstrap._gcd_import(name[level:], package, level)
9636 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
9637 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
9638 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
9639 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
9640 File "<frozen importlib._bootstrap>", line 1129, in _exec
9641 File "<frozen importlib._bootstrap>", line 1471, in exec_module
9642 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
9643 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
9644 url(r'^ui/', include('swh.web.ui.urls')),
9645 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
9646 urlconf_module = import_module(urlconf_module)
9647 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
9648 return _bootstrap._gcd_import(name[level:], package, level)
9649 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
9650 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
9651 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
9652 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
9653 File "<frozen importlib._bootstrap>", line 1129, in _exec
9654 File "<frozen importlib._bootstrap>", line 1471, in exec_module
9655 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
9656 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
9657 from swh.web.ui.views import (
9658 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
9659 from swh.web.ui.utils import gen_path_info
9660 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
9661 import magic
9662ImportError: No module named 'magic'
9663--------------------- >> end captured logging << ---------------------
9664
9665======================================================================
9666ERROR: api_revision_log_by_norev (tests.api.views.test_revision.ReleaseApiTestCase)
9667----------------------------------------------------------------------
9668Traceback (most recent call last):
9669 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
9670 return func(*args, **keywargs)
9671 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_revision.py", line 779, in api_revision_log_by_norev
9672 rv = self.client.get('/api/1/revision/origin/1/log/')
9673 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
9674 return self.generic('GET', path, **r)
9675 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
9676 return self.request(**r)
9677 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
9678 return super(APIClient, self).request(**kwargs)
9679 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
9680 request = super(APIRequestFactory, self).request(**kwargs)
9681 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
9682 six.reraise(*exc_info)
9683 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
9684 raise value
9685 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
9686 resolver_match = resolver.resolve(request.path_info)
9687 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
9688 for pattern in self.url_patterns:
9689 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
9690 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
9691 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
9692 self._urlconf_module = import_module(self.urlconf_name)
9693 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
9694 return _bootstrap._gcd_import(name[level:], package, level)
9695 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
9696 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
9697 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
9698 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
9699 File "<frozen importlib._bootstrap>", line 1129, in _exec
9700 File "<frozen importlib._bootstrap>", line 1471, in exec_module
9701 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
9702 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
9703 url(r'^ui/', include('swh.web.ui.urls')),
9704 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
9705 urlconf_module = import_module(urlconf_module)
9706 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
9707 return _bootstrap._gcd_import(name[level:], package, level)
9708 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
9709 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
9710 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
9711 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
9712 File "<frozen importlib._bootstrap>", line 1129, in _exec
9713 File "<frozen importlib._bootstrap>", line 1471, in exec_module
9714 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
9715 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
9716 from swh.web.ui.views import (
9717 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
9718 from swh.web.ui.utils import gen_path_info
9719 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
9720 import magic
9721nose.proxy.ImportError: No module named 'magic'
9722-------------------- >> begin captured logging << --------------------
9723django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
9724django.request: ERROR: Internal Server Error: /api/1/revision/origin/1/log/
9725Traceback (most recent call last):
9726 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
9727 return self._urlconf_module
9728AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
9729
9730During handling of the above exception, another exception occurred:
9731
9732Traceback (most recent call last):
9733 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
9734 resolver_match = resolver.resolve(request.path_info)
9735 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
9736 for pattern in self.url_patterns:
9737 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
9738 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
9739 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
9740 self._urlconf_module = import_module(self.urlconf_name)
9741 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
9742 return _bootstrap._gcd_import(name[level:], package, level)
9743 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
9744 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
9745 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
9746 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
9747 File "<frozen importlib._bootstrap>", line 1129, in _exec
9748 File "<frozen importlib._bootstrap>", line 1471, in exec_module
9749 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
9750 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
9751 url(r'^ui/', include('swh.web.ui.urls')),
9752 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
9753 urlconf_module = import_module(urlconf_module)
9754 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
9755 return _bootstrap._gcd_import(name[level:], package, level)
9756 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
9757 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
9758 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
9759 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
9760 File "<frozen importlib._bootstrap>", line 1129, in _exec
9761 File "<frozen importlib._bootstrap>", line 1471, in exec_module
9762 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
9763 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
9764 from swh.web.ui.views import (
9765 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
9766 from swh.web.ui.utils import gen_path_info
9767 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
9768 import magic
9769ImportError: No module named 'magic'
9770--------------------- >> end captured logging << ---------------------
9771
9772======================================================================
9773ERROR: api_revision_log_by_with_next (tests.api.views.test_revision.ReleaseApiTestCase)
9774----------------------------------------------------------------------
9775Traceback (most recent call last):
9776 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
9777 return func(*args, **keywargs)
9778 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_revision.py", line 760, in api_revision_log_by_with_next
9779 rv = self.client.get('/api/1/revision/origin/1/log/?per_page=25')
9780 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
9781 return self.generic('GET', path, **r)
9782 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
9783 return self.request(**r)
9784 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
9785 return super(APIClient, self).request(**kwargs)
9786 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
9787 request = super(APIRequestFactory, self).request(**kwargs)
9788 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
9789 six.reraise(*exc_info)
9790 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
9791 raise value
9792 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
9793 resolver_match = resolver.resolve(request.path_info)
9794 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
9795 for pattern in self.url_patterns:
9796 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
9797 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
9798 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
9799 self._urlconf_module = import_module(self.urlconf_name)
9800 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
9801 return _bootstrap._gcd_import(name[level:], package, level)
9802 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
9803 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
9804 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
9805 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
9806 File "<frozen importlib._bootstrap>", line 1129, in _exec
9807 File "<frozen importlib._bootstrap>", line 1471, in exec_module
9808 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
9809 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
9810 url(r'^ui/', include('swh.web.ui.urls')),
9811 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
9812 urlconf_module = import_module(urlconf_module)
9813 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
9814 return _bootstrap._gcd_import(name[level:], package, level)
9815 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
9816 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
9817 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
9818 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
9819 File "<frozen importlib._bootstrap>", line 1129, in _exec
9820 File "<frozen importlib._bootstrap>", line 1471, in exec_module
9821 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
9822 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
9823 from swh.web.ui.views import (
9824 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
9825 from swh.web.ui.utils import gen_path_info
9826 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
9827 import magic
9828nose.proxy.ImportError: No module named 'magic'
9829-------------------- >> begin captured logging << --------------------
9830django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
9831django.request: ERROR: Internal Server Error: /api/1/revision/origin/1/log/
9832Traceback (most recent call last):
9833 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
9834 return self._urlconf_module
9835AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
9836
9837During handling of the above exception, another exception occurred:
9838
9839Traceback (most recent call last):
9840 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
9841 resolver_match = resolver.resolve(request.path_info)
9842 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
9843 for pattern in self.url_patterns:
9844 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
9845 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
9846 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
9847 self._urlconf_module = import_module(self.urlconf_name)
9848 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
9849 return _bootstrap._gcd_import(name[level:], package, level)
9850 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
9851 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
9852 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
9853 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
9854 File "<frozen importlib._bootstrap>", line 1129, in _exec
9855 File "<frozen importlib._bootstrap>", line 1471, in exec_module
9856 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
9857 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
9858 url(r'^ui/', include('swh.web.ui.urls')),
9859 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
9860 urlconf_module = import_module(urlconf_module)
9861 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
9862 return _bootstrap._gcd_import(name[level:], package, level)
9863 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
9864 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
9865 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
9866 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
9867 File "<frozen importlib._bootstrap>", line 1129, in _exec
9868 File "<frozen importlib._bootstrap>", line 1471, in exec_module
9869 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
9870 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
9871 from swh.web.ui.views import (
9872 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
9873 from swh.web.ui.utils import gen_path_info
9874 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
9875 import magic
9876ImportError: No module named 'magic'
9877--------------------- >> end captured logging << ---------------------
9878
9879======================================================================
9880ERROR: api_revision_log_context (tests.api.views.test_revision.ReleaseApiTestCase)
9881----------------------------------------------------------------------
9882Traceback (most recent call last):
9883 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
9884 return func(*args, **keywargs)
9885 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_revision.py", line 674, in api_revision_log_context
9886 rv = self.client.get('/api/1/revision/18d8be353ed3480476f0'
9887 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
9888 return self.generic('GET', path, **r)
9889 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
9890 return self.request(**r)
9891 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
9892 return super(APIClient, self).request(**kwargs)
9893 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
9894 request = super(APIRequestFactory, self).request(**kwargs)
9895 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
9896 six.reraise(*exc_info)
9897 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
9898 raise value
9899 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
9900 resolver_match = resolver.resolve(request.path_info)
9901 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
9902 for pattern in self.url_patterns:
9903 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
9904 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
9905 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
9906 self._urlconf_module = import_module(self.urlconf_name)
9907 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
9908 return _bootstrap._gcd_import(name[level:], package, level)
9909 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
9910 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
9911 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
9912 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
9913 File "<frozen importlib._bootstrap>", line 1129, in _exec
9914 File "<frozen importlib._bootstrap>", line 1471, in exec_module
9915 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
9916 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
9917 url(r'^ui/', include('swh.web.ui.urls')),
9918 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
9919 urlconf_module = import_module(urlconf_module)
9920 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
9921 return _bootstrap._gcd_import(name[level:], package, level)
9922 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
9923 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
9924 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
9925 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
9926 File "<frozen importlib._bootstrap>", line 1129, in _exec
9927 File "<frozen importlib._bootstrap>", line 1471, in exec_module
9928 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
9929 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
9930 from swh.web.ui.views import (
9931 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
9932 from swh.web.ui.utils import gen_path_info
9933 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
9934 import magic
9935nose.proxy.ImportError: No module named 'magic'
9936-------------------- >> begin captured logging << --------------------
9937django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
9938django.request: ERROR: Internal Server Error: /api/1/revision/18d8be353ed3480476f032475e7c233eff7371d5/prev/21145781e26ad1f978e/log/
9939Traceback (most recent call last):
9940 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
9941 return self._urlconf_module
9942AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
9943
9944During handling of the above exception, another exception occurred:
9945
9946Traceback (most recent call last):
9947 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
9948 resolver_match = resolver.resolve(request.path_info)
9949 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
9950 for pattern in self.url_patterns:
9951 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
9952 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
9953 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
9954 self._urlconf_module = import_module(self.urlconf_name)
9955 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
9956 return _bootstrap._gcd_import(name[level:], package, level)
9957 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
9958 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
9959 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
9960 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
9961 File "<frozen importlib._bootstrap>", line 1129, in _exec
9962 File "<frozen importlib._bootstrap>", line 1471, in exec_module
9963 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
9964 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
9965 url(r'^ui/', include('swh.web.ui.urls')),
9966 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
9967 urlconf_module = import_module(urlconf_module)
9968 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
9969 return _bootstrap._gcd_import(name[level:], package, level)
9970 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
9971 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
9972 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
9973 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
9974 File "<frozen importlib._bootstrap>", line 1129, in _exec
9975 File "<frozen importlib._bootstrap>", line 1471, in exec_module
9976 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
9977 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
9978 from swh.web.ui.views import (
9979 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
9980 from swh.web.ui.utils import gen_path_info
9981 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
9982 import magic
9983ImportError: No module named 'magic'
9984--------------------- >> end captured logging << ---------------------
9985
9986======================================================================
9987ERROR: api_revision_log_not_found (tests.api.views.test_revision.ReleaseApiTestCase)
9988----------------------------------------------------------------------
9989Traceback (most recent call last):
9990 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
9991 return func(*args, **keywargs)
9992 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_revision.py", line 575, in api_revision_log_not_found
9993 rv = self.client.get('/api/1/revision/8834ef7e7c357ce2af928115c6c6'
9994 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
9995 return self.generic('GET', path, **r)
9996 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
9997 return self.request(**r)
9998 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
9999 return super(APIClient, self).request(**kwargs)
10000 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
10001 request = super(APIRequestFactory, self).request(**kwargs)
10002 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
10003 six.reraise(*exc_info)
10004 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
10005 raise value
10006 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
10007 resolver_match = resolver.resolve(request.path_info)
10008 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
10009 for pattern in self.url_patterns:
10010 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
10011 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
10012 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
10013 self._urlconf_module = import_module(self.urlconf_name)
10014 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
10015 return _bootstrap._gcd_import(name[level:], package, level)
10016 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
10017 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
10018 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
10019 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
10020 File "<frozen importlib._bootstrap>", line 1129, in _exec
10021 File "<frozen importlib._bootstrap>", line 1471, in exec_module
10022 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
10023 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
10024 url(r'^ui/', include('swh.web.ui.urls')),
10025 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
10026 urlconf_module = import_module(urlconf_module)
10027 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
10028 return _bootstrap._gcd_import(name[level:], package, level)
10029 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
10030 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
10031 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
10032 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
10033 File "<frozen importlib._bootstrap>", line 1129, in _exec
10034 File "<frozen importlib._bootstrap>", line 1471, in exec_module
10035 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
10036 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
10037 from swh.web.ui.views import (
10038 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
10039 from swh.web.ui.utils import gen_path_info
10040 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
10041 import magic
10042nose.proxy.ImportError: No module named 'magic'
10043-------------------- >> begin captured logging << --------------------
10044django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
10045django.request: ERROR: Internal Server Error: /api/1/revision/8834ef7e7c357ce2af928115c6c6a42b7e2a44e6/log/
10046Traceback (most recent call last):
10047 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
10048 return self._urlconf_module
10049AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
10050
10051During handling of the above exception, another exception occurred:
10052
10053Traceback (most recent call last):
10054 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
10055 resolver_match = resolver.resolve(request.path_info)
10056 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
10057 for pattern in self.url_patterns:
10058 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
10059 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
10060 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
10061 self._urlconf_module = import_module(self.urlconf_name)
10062 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
10063 return _bootstrap._gcd_import(name[level:], package, level)
10064 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
10065 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
10066 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
10067 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
10068 File "<frozen importlib._bootstrap>", line 1129, in _exec
10069 File "<frozen importlib._bootstrap>", line 1471, in exec_module
10070 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
10071 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
10072 url(r'^ui/', include('swh.web.ui.urls')),
10073 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
10074 urlconf_module = import_module(urlconf_module)
10075 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
10076 return _bootstrap._gcd_import(name[level:], package, level)
10077 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
10078 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
10079 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
10080 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
10081 File "<frozen importlib._bootstrap>", line 1129, in _exec
10082 File "<frozen importlib._bootstrap>", line 1471, in exec_module
10083 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
10084 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
10085 from swh.web.ui.views import (
10086 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
10087 from swh.web.ui.utils import gen_path_info
10088 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
10089 import magic
10090ImportError: No module named 'magic'
10091--------------------- >> end captured logging << ---------------------
10092
10093======================================================================
10094ERROR: api_revision_log_with_next (tests.api.views.test_revision.ReleaseApiTestCase)
10095----------------------------------------------------------------------
10096Traceback (most recent call last):
10097 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
10098 return func(*args, **keywargs)
10099 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_revision.py", line 555, in api_revision_log_with_next
10100 rv = self.client.get('/api/1/revision/8834ef7e7c357ce2af928115c6c6a42'
10101 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
10102 return self.generic('GET', path, **r)
10103 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
10104 return self.request(**r)
10105 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
10106 return super(APIClient, self).request(**kwargs)
10107 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
10108 request = super(APIRequestFactory, self).request(**kwargs)
10109 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
10110 six.reraise(*exc_info)
10111 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
10112 raise value
10113 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
10114 resolver_match = resolver.resolve(request.path_info)
10115 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
10116 for pattern in self.url_patterns:
10117 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
10118 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
10119 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
10120 self._urlconf_module = import_module(self.urlconf_name)
10121 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
10122 return _bootstrap._gcd_import(name[level:], package, level)
10123 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
10124 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
10125 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
10126 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
10127 File "<frozen importlib._bootstrap>", line 1129, in _exec
10128 File "<frozen importlib._bootstrap>", line 1471, in exec_module
10129 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
10130 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
10131 url(r'^ui/', include('swh.web.ui.urls')),
10132 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
10133 urlconf_module = import_module(urlconf_module)
10134 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
10135 return _bootstrap._gcd_import(name[level:], package, level)
10136 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
10137 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
10138 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
10139 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
10140 File "<frozen importlib._bootstrap>", line 1129, in _exec
10141 File "<frozen importlib._bootstrap>", line 1471, in exec_module
10142 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
10143 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
10144 from swh.web.ui.views import (
10145 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
10146 from swh.web.ui.utils import gen_path_info
10147 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
10148 import magic
10149nose.proxy.ImportError: No module named 'magic'
10150-------------------- >> begin captured logging << --------------------
10151django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
10152django.request: ERROR: Internal Server Error: /api/1/revision/8834ef7e7c357ce2af928115c6c6a42b7e2a44e6/log/
10153Traceback (most recent call last):
10154 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
10155 return self._urlconf_module
10156AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
10157
10158During handling of the above exception, another exception occurred:
10159
10160Traceback (most recent call last):
10161 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
10162 resolver_match = resolver.resolve(request.path_info)
10163 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
10164 for pattern in self.url_patterns:
10165 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
10166 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
10167 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
10168 self._urlconf_module = import_module(self.urlconf_name)
10169 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
10170 return _bootstrap._gcd_import(name[level:], package, level)
10171 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
10172 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
10173 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
10174 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
10175 File "<frozen importlib._bootstrap>", line 1129, in _exec
10176 File "<frozen importlib._bootstrap>", line 1471, in exec_module
10177 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
10178 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
10179 url(r'^ui/', include('swh.web.ui.urls')),
10180 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
10181 urlconf_module = import_module(urlconf_module)
10182 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
10183 return _bootstrap._gcd_import(name[level:], package, level)
10184 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
10185 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
10186 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
10187 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
10188 File "<frozen importlib._bootstrap>", line 1129, in _exec
10189 File "<frozen importlib._bootstrap>", line 1471, in exec_module
10190 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
10191 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
10192 from swh.web.ui.views import (
10193 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
10194 from swh.web.ui.utils import gen_path_info
10195 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
10196 import magic
10197ImportError: No module named 'magic'
10198--------------------- >> end captured logging << ---------------------
10199
10200======================================================================
10201ERROR: api_revision_not_found (tests.api.views.test_revision.ReleaseApiTestCase)
10202----------------------------------------------------------------------
10203Traceback (most recent call last):
10204 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
10205 return func(*args, **keywargs)
10206 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_revision.py", line 101, in api_revision_not_found
10207 rv = self.client.get('/api/1/revision/12345/')
10208 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
10209 return self.generic('GET', path, **r)
10210 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
10211 return self.request(**r)
10212 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
10213 return super(APIClient, self).request(**kwargs)
10214 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
10215 request = super(APIRequestFactory, self).request(**kwargs)
10216 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
10217 six.reraise(*exc_info)
10218 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
10219 raise value
10220 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
10221 resolver_match = resolver.resolve(request.path_info)
10222 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
10223 for pattern in self.url_patterns:
10224 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
10225 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
10226 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
10227 self._urlconf_module = import_module(self.urlconf_name)
10228 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
10229 return _bootstrap._gcd_import(name[level:], package, level)
10230 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
10231 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
10232 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
10233 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
10234 File "<frozen importlib._bootstrap>", line 1129, in _exec
10235 File "<frozen importlib._bootstrap>", line 1471, in exec_module
10236 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
10237 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
10238 url(r'^ui/', include('swh.web.ui.urls')),
10239 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
10240 urlconf_module = import_module(urlconf_module)
10241 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
10242 return _bootstrap._gcd_import(name[level:], package, level)
10243 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
10244 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
10245 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
10246 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
10247 File "<frozen importlib._bootstrap>", line 1129, in _exec
10248 File "<frozen importlib._bootstrap>", line 1471, in exec_module
10249 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
10250 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
10251 from swh.web.ui.views import (
10252 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
10253 from swh.web.ui.utils import gen_path_info
10254 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
10255 import magic
10256nose.proxy.ImportError: No module named 'magic'
10257-------------------- >> begin captured logging << --------------------
10258django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
10259django.request: ERROR: Internal Server Error: /api/1/revision/12345/
10260Traceback (most recent call last):
10261 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
10262 return self._urlconf_module
10263AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
10264
10265During handling of the above exception, another exception occurred:
10266
10267Traceback (most recent call last):
10268 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
10269 resolver_match = resolver.resolve(request.path_info)
10270 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
10271 for pattern in self.url_patterns:
10272 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
10273 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
10274 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
10275 self._urlconf_module = import_module(self.urlconf_name)
10276 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
10277 return _bootstrap._gcd_import(name[level:], package, level)
10278 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
10279 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
10280 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
10281 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
10282 File "<frozen importlib._bootstrap>", line 1129, in _exec
10283 File "<frozen importlib._bootstrap>", line 1471, in exec_module
10284 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
10285 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
10286 url(r'^ui/', include('swh.web.ui.urls')),
10287 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
10288 urlconf_module = import_module(urlconf_module)
10289 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
10290 return _bootstrap._gcd_import(name[level:], package, level)
10291 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
10292 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
10293 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
10294 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
10295 File "<frozen importlib._bootstrap>", line 1129, in _exec
10296 File "<frozen importlib._bootstrap>", line 1471, in exec_module
10297 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
10298 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
10299 from swh.web.ui.views import (
10300 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
10301 from swh.web.ui.utils import gen_path_info
10302 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
10303 import magic
10304ImportError: No module named 'magic'
10305--------------------- >> end captured logging << ---------------------
10306
10307======================================================================
10308ERROR: api_revision_raw_ko_no_rev (tests.api.views.test_revision.ReleaseApiTestCase)
10309----------------------------------------------------------------------
10310Traceback (most recent call last):
10311 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
10312 return func(*args, **keywargs)
10313 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_revision.py", line 159, in api_revision_raw_ko_no_rev
10314 rv = self.client.get('/api/1/revision/'
10315 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
10316 return self.generic('GET', path, **r)
10317 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
10318 return self.request(**r)
10319 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
10320 return super(APIClient, self).request(**kwargs)
10321 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
10322 request = super(APIRequestFactory, self).request(**kwargs)
10323 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
10324 six.reraise(*exc_info)
10325 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
10326 raise value
10327 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
10328 resolver_match = resolver.resolve(request.path_info)
10329 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
10330 for pattern in self.url_patterns:
10331 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
10332 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
10333 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
10334 self._urlconf_module = import_module(self.urlconf_name)
10335 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
10336 return _bootstrap._gcd_import(name[level:], package, level)
10337 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
10338 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
10339 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
10340 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
10341 File "<frozen importlib._bootstrap>", line 1129, in _exec
10342 File "<frozen importlib._bootstrap>", line 1471, in exec_module
10343 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
10344 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
10345 url(r'^ui/', include('swh.web.ui.urls')),
10346 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
10347 urlconf_module = import_module(urlconf_module)
10348 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
10349 return _bootstrap._gcd_import(name[level:], package, level)
10350 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
10351 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
10352 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
10353 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
10354 File "<frozen importlib._bootstrap>", line 1129, in _exec
10355 File "<frozen importlib._bootstrap>", line 1471, in exec_module
10356 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
10357 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
10358 from swh.web.ui.views import (
10359 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
10360 from swh.web.ui.utils import gen_path_info
10361 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
10362 import magic
10363nose.proxy.ImportError: No module named 'magic'
10364-------------------- >> begin captured logging << --------------------
10365django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
10366django.request: ERROR: Internal Server Error: /api/1/revision/18d8be353ed3480476f032475e7c233eff7371d5/raw/
10367Traceback (most recent call last):
10368 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
10369 return self._urlconf_module
10370AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
10371
10372During handling of the above exception, another exception occurred:
10373
10374Traceback (most recent call last):
10375 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
10376 resolver_match = resolver.resolve(request.path_info)
10377 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
10378 for pattern in self.url_patterns:
10379 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
10380 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
10381 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
10382 self._urlconf_module = import_module(self.urlconf_name)
10383 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
10384 return _bootstrap._gcd_import(name[level:], package, level)
10385 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
10386 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
10387 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
10388 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
10389 File "<frozen importlib._bootstrap>", line 1129, in _exec
10390 File "<frozen importlib._bootstrap>", line 1471, in exec_module
10391 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
10392 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
10393 url(r'^ui/', include('swh.web.ui.urls')),
10394 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
10395 urlconf_module = import_module(urlconf_module)
10396 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
10397 return _bootstrap._gcd_import(name[level:], package, level)
10398 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
10399 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
10400 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
10401 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
10402 File "<frozen importlib._bootstrap>", line 1129, in _exec
10403 File "<frozen importlib._bootstrap>", line 1471, in exec_module
10404 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
10405 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
10406 from swh.web.ui.views import (
10407 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
10408 from swh.web.ui.utils import gen_path_info
10409 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
10410 import magic
10411ImportError: No module named 'magic'
10412--------------------- >> end captured logging << ---------------------
10413
10414======================================================================
10415ERROR: api_revision_raw_ok (tests.api.views.test_revision.ReleaseApiTestCase)
10416----------------------------------------------------------------------
10417Traceback (most recent call last):
10418 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
10419 return func(*args, **keywargs)
10420 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_revision.py", line 119, in api_revision_raw_ok
10421 rv = self.client.get('/api/1/revision/18d8be353ed3480476f032475e7c2'
10422 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
10423 return self.generic('GET', path, **r)
10424 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
10425 return self.request(**r)
10426 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
10427 return super(APIClient, self).request(**kwargs)
10428 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
10429 request = super(APIRequestFactory, self).request(**kwargs)
10430 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
10431 six.reraise(*exc_info)
10432 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
10433 raise value
10434 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
10435 resolver_match = resolver.resolve(request.path_info)
10436 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
10437 for pattern in self.url_patterns:
10438 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
10439 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
10440 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
10441 self._urlconf_module = import_module(self.urlconf_name)
10442 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
10443 return _bootstrap._gcd_import(name[level:], package, level)
10444 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
10445 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
10446 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
10447 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
10448 File "<frozen importlib._bootstrap>", line 1129, in _exec
10449 File "<frozen importlib._bootstrap>", line 1471, in exec_module
10450 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
10451 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
10452 url(r'^ui/', include('swh.web.ui.urls')),
10453 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
10454 urlconf_module = import_module(urlconf_module)
10455 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
10456 return _bootstrap._gcd_import(name[level:], package, level)
10457 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
10458 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
10459 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
10460 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
10461 File "<frozen importlib._bootstrap>", line 1129, in _exec
10462 File "<frozen importlib._bootstrap>", line 1471, in exec_module
10463 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
10464 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
10465 from swh.web.ui.views import (
10466 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
10467 from swh.web.ui.utils import gen_path_info
10468 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
10469 import magic
10470nose.proxy.ImportError: No module named 'magic'
10471-------------------- >> begin captured logging << --------------------
10472django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
10473django.request: ERROR: Internal Server Error: /api/1/revision/18d8be353ed3480476f032475e7c233eff7371d5/raw/
10474Traceback (most recent call last):
10475 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
10476 return self._urlconf_module
10477AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
10478
10479During handling of the above exception, another exception occurred:
10480
10481Traceback (most recent call last):
10482 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
10483 resolver_match = resolver.resolve(request.path_info)
10484 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
10485 for pattern in self.url_patterns:
10486 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
10487 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
10488 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
10489 self._urlconf_module = import_module(self.urlconf_name)
10490 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
10491 return _bootstrap._gcd_import(name[level:], package, level)
10492 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
10493 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
10494 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
10495 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
10496 File "<frozen importlib._bootstrap>", line 1129, in _exec
10497 File "<frozen importlib._bootstrap>", line 1471, in exec_module
10498 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
10499 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
10500 url(r'^ui/', include('swh.web.ui.urls')),
10501 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
10502 urlconf_module = import_module(urlconf_module)
10503 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
10504 return _bootstrap._gcd_import(name[level:], package, level)
10505 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
10506 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
10507 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
10508 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
10509 File "<frozen importlib._bootstrap>", line 1129, in _exec
10510 File "<frozen importlib._bootstrap>", line 1471, in exec_module
10511 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
10512 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
10513 from swh.web.ui.views import (
10514 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
10515 from swh.web.ui.utils import gen_path_info
10516 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
10517 import magic
10518ImportError: No module named 'magic'
10519--------------------- >> end captured logging << ---------------------
10520
10521======================================================================
10522ERROR: api_revision_raw_ok_no_msg (tests.api.views.test_revision.ReleaseApiTestCase)
10523----------------------------------------------------------------------
10524Traceback (most recent call last):
10525 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
10526 return func(*args, **keywargs)
10527 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_revision.py", line 137, in api_revision_raw_ok_no_msg
10528 rv = self.client.get('/api/1/revision/'
10529 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
10530 return self.generic('GET', path, **r)
10531 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
10532 return self.request(**r)
10533 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
10534 return super(APIClient, self).request(**kwargs)
10535 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
10536 request = super(APIRequestFactory, self).request(**kwargs)
10537 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
10538 six.reraise(*exc_info)
10539 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
10540 raise value
10541 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
10542 resolver_match = resolver.resolve(request.path_info)
10543 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
10544 for pattern in self.url_patterns:
10545 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
10546 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
10547 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
10548 self._urlconf_module = import_module(self.urlconf_name)
10549 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
10550 return _bootstrap._gcd_import(name[level:], package, level)
10551 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
10552 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
10553 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
10554 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
10555 File "<frozen importlib._bootstrap>", line 1129, in _exec
10556 File "<frozen importlib._bootstrap>", line 1471, in exec_module
10557 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
10558 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
10559 url(r'^ui/', include('swh.web.ui.urls')),
10560 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
10561 urlconf_module = import_module(urlconf_module)
10562 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
10563 return _bootstrap._gcd_import(name[level:], package, level)
10564 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
10565 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
10566 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
10567 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
10568 File "<frozen importlib._bootstrap>", line 1129, in _exec
10569 File "<frozen importlib._bootstrap>", line 1471, in exec_module
10570 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
10571 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
10572 from swh.web.ui.views import (
10573 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
10574 from swh.web.ui.utils import gen_path_info
10575 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
10576 import magic
10577nose.proxy.ImportError: No module named 'magic'
10578-------------------- >> begin captured logging << --------------------
10579django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
10580django.request: ERROR: Internal Server Error: /api/1/revision/18d8be353ed3480476f032475e7c233eff7371d5/raw/
10581Traceback (most recent call last):
10582 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
10583 return self._urlconf_module
10584AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
10585
10586During handling of the above exception, another exception occurred:
10587
10588Traceback (most recent call last):
10589 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
10590 resolver_match = resolver.resolve(request.path_info)
10591 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
10592 for pattern in self.url_patterns:
10593 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
10594 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
10595 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
10596 self._urlconf_module = import_module(self.urlconf_name)
10597 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
10598 return _bootstrap._gcd_import(name[level:], package, level)
10599 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
10600 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
10601 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
10602 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
10603 File "<frozen importlib._bootstrap>", line 1129, in _exec
10604 File "<frozen importlib._bootstrap>", line 1471, in exec_module
10605 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
10606 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
10607 url(r'^ui/', include('swh.web.ui.urls')),
10608 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
10609 urlconf_module = import_module(urlconf_module)
10610 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
10611 return _bootstrap._gcd_import(name[level:], package, level)
10612 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
10613 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
10614 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
10615 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
10616 File "<frozen importlib._bootstrap>", line 1129, in _exec
10617 File "<frozen importlib._bootstrap>", line 1471, in exec_module
10618 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
10619 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
10620 from swh.web.ui.views import (
10621 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
10622 from swh.web.ui.utils import gen_path_info
10623 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
10624 import magic
10625ImportError: No module named 'magic'
10626--------------------- >> end captured logging << ---------------------
10627
10628======================================================================
10629ERROR: api_revision_with_origin (tests.api.views.test_revision.ReleaseApiTestCase)
10630----------------------------------------------------------------------
10631Traceback (most recent call last):
10632 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
10633 return func(*args, **keywargs)
10634 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_revision.py", line 211, in api_revision_with_origin
10635 rv = self.client.get('/api/1/revision/origin/1/')
10636 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
10637 return self.generic('GET', path, **r)
10638 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
10639 return self.request(**r)
10640 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
10641 return super(APIClient, self).request(**kwargs)
10642 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
10643 request = super(APIRequestFactory, self).request(**kwargs)
10644 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
10645 six.reraise(*exc_info)
10646 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
10647 raise value
10648 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
10649 resolver_match = resolver.resolve(request.path_info)
10650 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
10651 for pattern in self.url_patterns:
10652 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
10653 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
10654 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
10655 self._urlconf_module = import_module(self.urlconf_name)
10656 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
10657 return _bootstrap._gcd_import(name[level:], package, level)
10658 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
10659 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
10660 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
10661 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
10662 File "<frozen importlib._bootstrap>", line 1129, in _exec
10663 File "<frozen importlib._bootstrap>", line 1471, in exec_module
10664 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
10665 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
10666 url(r'^ui/', include('swh.web.ui.urls')),
10667 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
10668 urlconf_module = import_module(urlconf_module)
10669 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
10670 return _bootstrap._gcd_import(name[level:], package, level)
10671 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
10672 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
10673 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
10674 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
10675 File "<frozen importlib._bootstrap>", line 1129, in _exec
10676 File "<frozen importlib._bootstrap>", line 1471, in exec_module
10677 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
10678 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
10679 from swh.web.ui.views import (
10680 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
10681 from swh.web.ui.utils import gen_path_info
10682 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
10683 import magic
10684nose.proxy.ImportError: No module named 'magic'
10685-------------------- >> begin captured logging << --------------------
10686django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
10687django.request: ERROR: Internal Server Error: /api/1/revision/origin/1/
10688Traceback (most recent call last):
10689 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
10690 return self._urlconf_module
10691AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
10692
10693During handling of the above exception, another exception occurred:
10694
10695Traceback (most recent call last):
10696 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
10697 resolver_match = resolver.resolve(request.path_info)
10698 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
10699 for pattern in self.url_patterns:
10700 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
10701 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
10702 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
10703 self._urlconf_module = import_module(self.urlconf_name)
10704 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
10705 return _bootstrap._gcd_import(name[level:], package, level)
10706 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
10707 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
10708 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
10709 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
10710 File "<frozen importlib._bootstrap>", line 1129, in _exec
10711 File "<frozen importlib._bootstrap>", line 1471, in exec_module
10712 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
10713 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
10714 url(r'^ui/', include('swh.web.ui.urls')),
10715 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
10716 urlconf_module = import_module(urlconf_module)
10717 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
10718 return _bootstrap._gcd_import(name[level:], package, level)
10719 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
10720 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
10721 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
10722 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
10723 File "<frozen importlib._bootstrap>", line 1129, in _exec
10724 File "<frozen importlib._bootstrap>", line 1471, in exec_module
10725 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
10726 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
10727 from swh.web.ui.views import (
10728 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
10729 from swh.web.ui.utils import gen_path_info
10730 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
10731 import magic
10732ImportError: No module named 'magic'
10733--------------------- >> end captured logging << ---------------------
10734
10735======================================================================
10736ERROR: api_revision_with_origin_and_branch_name (tests.api.views.test_revision.ReleaseApiTestCase)
10737----------------------------------------------------------------------
10738Traceback (most recent call last):
10739 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
10740 return func(*args, **keywargs)
10741 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_revision.py", line 244, in api_revision_with_origin_and_branch_name
10742 rv = self.client.get('/api/1/revision/origin/1'
10743 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
10744 return self.generic('GET', path, **r)
10745 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
10746 return self.request(**r)
10747 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
10748 return super(APIClient, self).request(**kwargs)
10749 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
10750 request = super(APIRequestFactory, self).request(**kwargs)
10751 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
10752 six.reraise(*exc_info)
10753 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
10754 raise value
10755 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
10756 resolver_match = resolver.resolve(request.path_info)
10757 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
10758 for pattern in self.url_patterns:
10759 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
10760 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
10761 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
10762 self._urlconf_module = import_module(self.urlconf_name)
10763 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
10764 return _bootstrap._gcd_import(name[level:], package, level)
10765 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
10766 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
10767 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
10768 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
10769 File "<frozen importlib._bootstrap>", line 1129, in _exec
10770 File "<frozen importlib._bootstrap>", line 1471, in exec_module
10771 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
10772 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
10773 url(r'^ui/', include('swh.web.ui.urls')),
10774 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
10775 urlconf_module = import_module(urlconf_module)
10776 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
10777 return _bootstrap._gcd_import(name[level:], package, level)
10778 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
10779 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
10780 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
10781 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
10782 File "<frozen importlib._bootstrap>", line 1129, in _exec
10783 File "<frozen importlib._bootstrap>", line 1471, in exec_module
10784 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
10785 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
10786 from swh.web.ui.views import (
10787 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
10788 from swh.web.ui.utils import gen_path_info
10789 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
10790 import magic
10791nose.proxy.ImportError: No module named 'magic'
10792-------------------- >> begin captured logging << --------------------
10793django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
10794django.request: ERROR: Internal Server Error: /api/1/revision/origin/1/branch/refs/origin/dev/
10795Traceback (most recent call last):
10796 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
10797 return self._urlconf_module
10798AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
10799
10800During handling of the above exception, another exception occurred:
10801
10802Traceback (most recent call last):
10803 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
10804 resolver_match = resolver.resolve(request.path_info)
10805 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
10806 for pattern in self.url_patterns:
10807 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
10808 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
10809 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
10810 self._urlconf_module = import_module(self.urlconf_name)
10811 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
10812 return _bootstrap._gcd_import(name[level:], package, level)
10813 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
10814 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
10815 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
10816 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
10817 File "<frozen importlib._bootstrap>", line 1129, in _exec
10818 File "<frozen importlib._bootstrap>", line 1471, in exec_module
10819 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
10820 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
10821 url(r'^ui/', include('swh.web.ui.urls')),
10822 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
10823 urlconf_module = import_module(urlconf_module)
10824 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
10825 return _bootstrap._gcd_import(name[level:], package, level)
10826 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
10827 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
10828 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
10829 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
10830 File "<frozen importlib._bootstrap>", line 1129, in _exec
10831 File "<frozen importlib._bootstrap>", line 1471, in exec_module
10832 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
10833 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
10834 from swh.web.ui.views import (
10835 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
10836 from swh.web.ui.utils import gen_path_info
10837 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
10838 import magic
10839ImportError: No module named 'magic'
10840--------------------- >> end captured logging << ---------------------
10841
10842======================================================================
10843ERROR: api_revision_with_origin_and_branch_name_and_timestamp (tests.api.views.test_revision.ReleaseApiTestCase)
10844----------------------------------------------------------------------
10845Traceback (most recent call last):
10846 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
10847 return func(*args, **keywargs)
10848 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_revision.py", line 286, in api_revision_with_origin_and_branch_name_and_timestamp
10849 rv = self.client.get('/api/1/revision'
10850 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
10851 return self.generic('GET', path, **r)
10852 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
10853 return self.request(**r)
10854 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
10855 return super(APIClient, self).request(**kwargs)
10856 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
10857 request = super(APIRequestFactory, self).request(**kwargs)
10858 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
10859 six.reraise(*exc_info)
10860 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
10861 raise value
10862 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
10863 resolver_match = resolver.resolve(request.path_info)
10864 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
10865 for pattern in self.url_patterns:
10866 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
10867 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
10868 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
10869 self._urlconf_module = import_module(self.urlconf_name)
10870 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
10871 return _bootstrap._gcd_import(name[level:], package, level)
10872 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
10873 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
10874 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
10875 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
10876 File "<frozen importlib._bootstrap>", line 1129, in _exec
10877 File "<frozen importlib._bootstrap>", line 1471, in exec_module
10878 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
10879 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
10880 url(r'^ui/', include('swh.web.ui.urls')),
10881 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
10882 urlconf_module = import_module(urlconf_module)
10883 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
10884 return _bootstrap._gcd_import(name[level:], package, level)
10885 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
10886 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
10887 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
10888 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
10889 File "<frozen importlib._bootstrap>", line 1129, in _exec
10890 File "<frozen importlib._bootstrap>", line 1471, in exec_module
10891 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
10892 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
10893 from swh.web.ui.views import (
10894 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
10895 from swh.web.ui.utils import gen_path_info
10896 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
10897 import magic
10898nose.proxy.ImportError: No module named 'magic'
10899-------------------- >> begin captured logging << --------------------
10900django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
10901django.request: ERROR: Internal Server Error: /api/1/revision/origin/1/branch/refs/origin/dev/ts/1452591542/
10902Traceback (most recent call last):
10903 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
10904 return self._urlconf_module
10905AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
10906
10907During handling of the above exception, another exception occurred:
10908
10909Traceback (most recent call last):
10910 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
10911 resolver_match = resolver.resolve(request.path_info)
10912 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
10913 for pattern in self.url_patterns:
10914 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
10915 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
10916 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
10917 self._urlconf_module = import_module(self.urlconf_name)
10918 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
10919 return _bootstrap._gcd_import(name[level:], package, level)
10920 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
10921 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
10922 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
10923 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
10924 File "<frozen importlib._bootstrap>", line 1129, in _exec
10925 File "<frozen importlib._bootstrap>", line 1471, in exec_module
10926 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
10927 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
10928 url(r'^ui/', include('swh.web.ui.urls')),
10929 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
10930 urlconf_module = import_module(urlconf_module)
10931 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
10932 return _bootstrap._gcd_import(name[level:], package, level)
10933 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
10934 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
10935 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
10936 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
10937 File "<frozen importlib._bootstrap>", line 1129, in _exec
10938 File "<frozen importlib._bootstrap>", line 1471, in exec_module
10939 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
10940 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
10941 from swh.web.ui.views import (
10942 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
10943 from swh.web.ui.utils import gen_path_info
10944 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
10945 import magic
10946ImportError: No module named 'magic'
10947--------------------- >> end captured logging << ---------------------
10948
10949======================================================================
10950ERROR: api_revision_with_origin_and_branch_name_and_timestamp_with_escapes (tests.api.views.test_revision.ReleaseApiTestCase)
10951----------------------------------------------------------------------
10952Traceback (most recent call last):
10953 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
10954 return func(*args, **keywargs)
10955 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_revision.py", line 327, in api_revision_with_origin_and_branch_name_and_timestamp_with_escapes
10956 rv = self.client.get('/api/1/revision'
10957 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
10958 return self.generic('GET', path, **r)
10959 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
10960 return self.request(**r)
10961 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
10962 return super(APIClient, self).request(**kwargs)
10963 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
10964 request = super(APIRequestFactory, self).request(**kwargs)
10965 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
10966 six.reraise(*exc_info)
10967 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
10968 raise value
10969 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
10970 resolver_match = resolver.resolve(request.path_info)
10971 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
10972 for pattern in self.url_patterns:
10973 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
10974 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
10975 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
10976 self._urlconf_module = import_module(self.urlconf_name)
10977 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
10978 return _bootstrap._gcd_import(name[level:], package, level)
10979 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
10980 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
10981 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
10982 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
10983 File "<frozen importlib._bootstrap>", line 1129, in _exec
10984 File "<frozen importlib._bootstrap>", line 1471, in exec_module
10985 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
10986 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
10987 url(r'^ui/', include('swh.web.ui.urls')),
10988 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
10989 urlconf_module = import_module(urlconf_module)
10990 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
10991 return _bootstrap._gcd_import(name[level:], package, level)
10992 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
10993 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
10994 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
10995 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
10996 File "<frozen importlib._bootstrap>", line 1129, in _exec
10997 File "<frozen importlib._bootstrap>", line 1471, in exec_module
10998 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
10999 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
11000 from swh.web.ui.views import (
11001 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
11002 from swh.web.ui.utils import gen_path_info
11003 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
11004 import magic
11005nose.proxy.ImportError: No module named 'magic'
11006-------------------- >> begin captured logging << --------------------
11007django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
11008django.request: ERROR: Internal Server Error: /api/1/revision/origin/1/branch/refs/origin/dev/ts/Today is January 1, 2047 at 8:21:00AM/
11009Traceback (most recent call last):
11010 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
11011 return self._urlconf_module
11012AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
11013
11014During handling of the above exception, another exception occurred:
11015
11016Traceback (most recent call last):
11017 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
11018 resolver_match = resolver.resolve(request.path_info)
11019 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
11020 for pattern in self.url_patterns:
11021 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
11022 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
11023 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
11024 self._urlconf_module = import_module(self.urlconf_name)
11025 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
11026 return _bootstrap._gcd_import(name[level:], package, level)
11027 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
11028 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
11029 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
11030 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
11031 File "<frozen importlib._bootstrap>", line 1129, in _exec
11032 File "<frozen importlib._bootstrap>", line 1471, in exec_module
11033 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
11034 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
11035 url(r'^ui/', include('swh.web.ui.urls')),
11036 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
11037 urlconf_module = import_module(urlconf_module)
11038 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
11039 return _bootstrap._gcd_import(name[level:], package, level)
11040 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
11041 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
11042 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
11043 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
11044 File "<frozen importlib._bootstrap>", line 1129, in _exec
11045 File "<frozen importlib._bootstrap>", line 1471, in exec_module
11046 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
11047 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
11048 from swh.web.ui.views import (
11049 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
11050 from swh.web.ui.utils import gen_path_info
11051 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
11052 import magic
11053ImportError: No module named 'magic'
11054--------------------- >> end captured logging << ---------------------
11055
11056======================================================================
11057ERROR: api_revision_with_origin_not_found (tests.api.views.test_revision.ReleaseApiTestCase)
11058----------------------------------------------------------------------
11059Traceback (most recent call last):
11060 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
11061 return func(*args, **keywargs)
11062 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_revision.py", line 177, in api_revision_with_origin_not_found
11063 rv = self.client.get('/api/1/revision/origin/123/')
11064 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
11065 return self.generic('GET', path, **r)
11066 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
11067 return self.request(**r)
11068 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
11069 return super(APIClient, self).request(**kwargs)
11070 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
11071 request = super(APIRequestFactory, self).request(**kwargs)
11072 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
11073 six.reraise(*exc_info)
11074 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
11075 raise value
11076 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
11077 resolver_match = resolver.resolve(request.path_info)
11078 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
11079 for pattern in self.url_patterns:
11080 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
11081 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
11082 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
11083 self._urlconf_module = import_module(self.urlconf_name)
11084 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
11085 return _bootstrap._gcd_import(name[level:], package, level)
11086 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
11087 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
11088 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
11089 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
11090 File "<frozen importlib._bootstrap>", line 1129, in _exec
11091 File "<frozen importlib._bootstrap>", line 1471, in exec_module
11092 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
11093 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
11094 url(r'^ui/', include('swh.web.ui.urls')),
11095 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
11096 urlconf_module = import_module(urlconf_module)
11097 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
11098 return _bootstrap._gcd_import(name[level:], package, level)
11099 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
11100 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
11101 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
11102 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
11103 File "<frozen importlib._bootstrap>", line 1129, in _exec
11104 File "<frozen importlib._bootstrap>", line 1471, in exec_module
11105 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
11106 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
11107 from swh.web.ui.views import (
11108 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
11109 from swh.web.ui.utils import gen_path_info
11110 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
11111 import magic
11112nose.proxy.ImportError: No module named 'magic'
11113-------------------- >> begin captured logging << --------------------
11114django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
11115django.request: ERROR: Internal Server Error: /api/1/revision/origin/123/
11116Traceback (most recent call last):
11117 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
11118 return self._urlconf_module
11119AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
11120
11121During handling of the above exception, another exception occurred:
11122
11123Traceback (most recent call last):
11124 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
11125 resolver_match = resolver.resolve(request.path_info)
11126 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
11127 for pattern in self.url_patterns:
11128 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
11129 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
11130 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
11131 self._urlconf_module = import_module(self.urlconf_name)
11132 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
11133 return _bootstrap._gcd_import(name[level:], package, level)
11134 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
11135 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
11136 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
11137 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
11138 File "<frozen importlib._bootstrap>", line 1129, in _exec
11139 File "<frozen importlib._bootstrap>", line 1471, in exec_module
11140 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
11141 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
11142 url(r'^ui/', include('swh.web.ui.urls')),
11143 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
11144 urlconf_module = import_module(urlconf_module)
11145 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
11146 return _bootstrap._gcd_import(name[level:], package, level)
11147 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
11148 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
11149 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
11150 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
11151 File "<frozen importlib._bootstrap>", line 1129, in _exec
11152 File "<frozen importlib._bootstrap>", line 1471, in exec_module
11153 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
11154 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
11155 from swh.web.ui.views import (
11156 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
11157 from swh.web.ui.utils import gen_path_info
11158 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
11159 import magic
11160ImportError: No module named 'magic'
11161--------------------- >> end captured logging << ---------------------
11162
11163======================================================================
11164ERROR: api_1_stat_counters (tests.api.views.test_stat.StatApiTestCase)
11165----------------------------------------------------------------------
11166Traceback (most recent call last):
11167 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
11168 return func(*args, **keywargs)
11169 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_stat.py", line 90, in api_1_stat_counters
11170 rv = self.client.get('/api/1/stat/counters/')
11171 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
11172 return self.generic('GET', path, **r)
11173 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
11174 return self.request(**r)
11175 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
11176 return super(APIClient, self).request(**kwargs)
11177 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
11178 request = super(APIRequestFactory, self).request(**kwargs)
11179 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
11180 six.reraise(*exc_info)
11181 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
11182 raise value
11183 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
11184 resolver_match = resolver.resolve(request.path_info)
11185 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
11186 for pattern in self.url_patterns:
11187 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
11188 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
11189 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
11190 self._urlconf_module = import_module(self.urlconf_name)
11191 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
11192 return _bootstrap._gcd_import(name[level:], package, level)
11193 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
11194 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
11195 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
11196 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
11197 File "<frozen importlib._bootstrap>", line 1129, in _exec
11198 File "<frozen importlib._bootstrap>", line 1471, in exec_module
11199 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
11200 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
11201 url(r'^ui/', include('swh.web.ui.urls')),
11202 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
11203 urlconf_module = import_module(urlconf_module)
11204 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
11205 return _bootstrap._gcd_import(name[level:], package, level)
11206 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
11207 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
11208 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
11209 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
11210 File "<frozen importlib._bootstrap>", line 1129, in _exec
11211 File "<frozen importlib._bootstrap>", line 1471, in exec_module
11212 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
11213 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
11214 from swh.web.ui.views import (
11215 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
11216 from swh.web.ui.utils import gen_path_info
11217 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
11218 import magic
11219nose.proxy.ImportError: No module named 'magic'
11220-------------------- >> begin captured logging << --------------------
11221django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
11222django.request: ERROR: Internal Server Error: /api/1/stat/counters/
11223Traceback (most recent call last):
11224 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
11225 return self._urlconf_module
11226AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
11227
11228During handling of the above exception, another exception occurred:
11229
11230Traceback (most recent call last):
11231 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
11232 resolver_match = resolver.resolve(request.path_info)
11233 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
11234 for pattern in self.url_patterns:
11235 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
11236 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
11237 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
11238 self._urlconf_module = import_module(self.urlconf_name)
11239 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
11240 return _bootstrap._gcd_import(name[level:], package, level)
11241 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
11242 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
11243 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
11244 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
11245 File "<frozen importlib._bootstrap>", line 1129, in _exec
11246 File "<frozen importlib._bootstrap>", line 1471, in exec_module
11247 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
11248 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
11249 url(r'^ui/', include('swh.web.ui.urls')),
11250 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
11251 urlconf_module = import_module(urlconf_module)
11252 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
11253 return _bootstrap._gcd_import(name[level:], package, level)
11254 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
11255 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
11256 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
11257 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
11258 File "<frozen importlib._bootstrap>", line 1129, in _exec
11259 File "<frozen importlib._bootstrap>", line 1471, in exec_module
11260 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
11261 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
11262 from swh.web.ui.views import (
11263 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
11264 from swh.web.ui.utils import gen_path_info
11265 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
11266 import magic
11267ImportError: No module named 'magic'
11268--------------------- >> end captured logging << ---------------------
11269
11270======================================================================
11271ERROR: api_1_stat_counters_raise_error (tests.api.views.test_stat.StatApiTestCase)
11272----------------------------------------------------------------------
11273Traceback (most recent call last):
11274 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
11275 return func(*args, **keywargs)
11276 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_stat.py", line 22, in api_1_stat_counters_raise_error
11277 rv = self.client.get('/api/1/stat/counters/')
11278 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
11279 return self.generic('GET', path, **r)
11280 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
11281 return self.request(**r)
11282 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
11283 return super(APIClient, self).request(**kwargs)
11284 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
11285 request = super(APIRequestFactory, self).request(**kwargs)
11286 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
11287 six.reraise(*exc_info)
11288 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
11289 raise value
11290 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
11291 resolver_match = resolver.resolve(request.path_info)
11292 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
11293 for pattern in self.url_patterns:
11294 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
11295 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
11296 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
11297 self._urlconf_module = import_module(self.urlconf_name)
11298 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
11299 return _bootstrap._gcd_import(name[level:], package, level)
11300 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
11301 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
11302 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
11303 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
11304 File "<frozen importlib._bootstrap>", line 1129, in _exec
11305 File "<frozen importlib._bootstrap>", line 1471, in exec_module
11306 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
11307 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
11308 url(r'^ui/', include('swh.web.ui.urls')),
11309 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
11310 urlconf_module = import_module(urlconf_module)
11311 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
11312 return _bootstrap._gcd_import(name[level:], package, level)
11313 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
11314 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
11315 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
11316 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
11317 File "<frozen importlib._bootstrap>", line 1129, in _exec
11318 File "<frozen importlib._bootstrap>", line 1471, in exec_module
11319 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
11320 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
11321 from swh.web.ui.views import (
11322 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
11323 from swh.web.ui.utils import gen_path_info
11324 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
11325 import magic
11326nose.proxy.ImportError: No module named 'magic'
11327-------------------- >> begin captured logging << --------------------
11328django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
11329django.request: ERROR: Internal Server Error: /api/1/stat/counters/
11330Traceback (most recent call last):
11331 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
11332 return self._urlconf_module
11333AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
11334
11335During handling of the above exception, another exception occurred:
11336
11337Traceback (most recent call last):
11338 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
11339 resolver_match = resolver.resolve(request.path_info)
11340 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
11341 for pattern in self.url_patterns:
11342 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
11343 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
11344 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
11345 self._urlconf_module = import_module(self.urlconf_name)
11346 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
11347 return _bootstrap._gcd_import(name[level:], package, level)
11348 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
11349 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
11350 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
11351 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
11352 File "<frozen importlib._bootstrap>", line 1129, in _exec
11353 File "<frozen importlib._bootstrap>", line 1471, in exec_module
11354 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
11355 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
11356 url(r'^ui/', include('swh.web.ui.urls')),
11357 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
11358 urlconf_module = import_module(urlconf_module)
11359 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
11360 return _bootstrap._gcd_import(name[level:], package, level)
11361 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
11362 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
11363 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
11364 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
11365 File "<frozen importlib._bootstrap>", line 1129, in _exec
11366 File "<frozen importlib._bootstrap>", line 1471, in exec_module
11367 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
11368 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
11369 from swh.web.ui.views import (
11370 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
11371 from swh.web.ui.utils import gen_path_info
11372 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
11373 import magic
11374ImportError: No module named 'magic'
11375--------------------- >> end captured logging << ---------------------
11376
11377======================================================================
11378ERROR: api_1_stat_counters_raise_swh_storage_error_api (tests.api.views.test_stat.StatApiTestCase)
11379----------------------------------------------------------------------
11380Traceback (most recent call last):
11381 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
11382 return func(*args, **keywargs)
11383 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_stat.py", line 55, in api_1_stat_counters_raise_swh_storage_error_api
11384 rv = self.client.get('/api/1/stat/counters/')
11385 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
11386 return self.generic('GET', path, **r)
11387 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
11388 return self.request(**r)
11389 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
11390 return super(APIClient, self).request(**kwargs)
11391 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
11392 request = super(APIRequestFactory, self).request(**kwargs)
11393 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
11394 six.reraise(*exc_info)
11395 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
11396 raise value
11397 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
11398 resolver_match = resolver.resolve(request.path_info)
11399 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
11400 for pattern in self.url_patterns:
11401 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
11402 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
11403 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
11404 self._urlconf_module = import_module(self.urlconf_name)
11405 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
11406 return _bootstrap._gcd_import(name[level:], package, level)
11407 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
11408 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
11409 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
11410 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
11411 File "<frozen importlib._bootstrap>", line 1129, in _exec
11412 File "<frozen importlib._bootstrap>", line 1471, in exec_module
11413 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
11414 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
11415 url(r'^ui/', include('swh.web.ui.urls')),
11416 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
11417 urlconf_module = import_module(urlconf_module)
11418 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
11419 return _bootstrap._gcd_import(name[level:], package, level)
11420 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
11421 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
11422 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
11423 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
11424 File "<frozen importlib._bootstrap>", line 1129, in _exec
11425 File "<frozen importlib._bootstrap>", line 1471, in exec_module
11426 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
11427 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
11428 from swh.web.ui.views import (
11429 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
11430 from swh.web.ui.utils import gen_path_info
11431 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
11432 import magic
11433nose.proxy.ImportError: No module named 'magic'
11434-------------------- >> begin captured logging << --------------------
11435django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
11436django.request: ERROR: Internal Server Error: /api/1/stat/counters/
11437Traceback (most recent call last):
11438 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
11439 return self._urlconf_module
11440AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
11441
11442During handling of the above exception, another exception occurred:
11443
11444Traceback (most recent call last):
11445 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
11446 resolver_match = resolver.resolve(request.path_info)
11447 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
11448 for pattern in self.url_patterns:
11449 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
11450 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
11451 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
11452 self._urlconf_module = import_module(self.urlconf_name)
11453 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
11454 return _bootstrap._gcd_import(name[level:], package, level)
11455 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
11456 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
11457 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
11458 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
11459 File "<frozen importlib._bootstrap>", line 1129, in _exec
11460 File "<frozen importlib._bootstrap>", line 1471, in exec_module
11461 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
11462 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
11463 url(r'^ui/', include('swh.web.ui.urls')),
11464 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
11465 urlconf_module = import_module(urlconf_module)
11466 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
11467 return _bootstrap._gcd_import(name[level:], package, level)
11468 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
11469 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
11470 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
11471 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
11472 File "<frozen importlib._bootstrap>", line 1129, in _exec
11473 File "<frozen importlib._bootstrap>", line 1471, in exec_module
11474 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
11475 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
11476 from swh.web.ui.views import (
11477 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
11478 from swh.web.ui.utils import gen_path_info
11479 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
11480 import magic
11481ImportError: No module named 'magic'
11482--------------------- >> end captured logging << ---------------------
11483
11484======================================================================
11485ERROR: api_1_stat_counters_raise_swh_storage_error_db (tests.api.views.test_stat.StatApiTestCase)
11486----------------------------------------------------------------------
11487Traceback (most recent call last):
11488 File "/usr/lib/python3.4/unittest/mock.py", line 1136, in patched
11489 return func(*args, **keywargs)
11490 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/views/test_stat.py", line 37, in api_1_stat_counters_raise_swh_storage_error_db
11491 rv = self.client.get('/api/1/stat/counters/')
11492 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
11493 return self.generic('GET', path, **r)
11494 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
11495 return self.request(**r)
11496 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
11497 return super(APIClient, self).request(**kwargs)
11498 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
11499 request = super(APIRequestFactory, self).request(**kwargs)
11500 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
11501 six.reraise(*exc_info)
11502 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
11503 raise value
11504 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
11505 resolver_match = resolver.resolve(request.path_info)
11506 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
11507 for pattern in self.url_patterns:
11508 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
11509 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
11510 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
11511 self._urlconf_module = import_module(self.urlconf_name)
11512 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
11513 return _bootstrap._gcd_import(name[level:], package, level)
11514 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
11515 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
11516 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
11517 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
11518 File "<frozen importlib._bootstrap>", line 1129, in _exec
11519 File "<frozen importlib._bootstrap>", line 1471, in exec_module
11520 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
11521 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
11522 url(r'^ui/', include('swh.web.ui.urls')),
11523 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
11524 urlconf_module = import_module(urlconf_module)
11525 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
11526 return _bootstrap._gcd_import(name[level:], package, level)
11527 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
11528 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
11529 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
11530 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
11531 File "<frozen importlib._bootstrap>", line 1129, in _exec
11532 File "<frozen importlib._bootstrap>", line 1471, in exec_module
11533 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
11534 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
11535 from swh.web.ui.views import (
11536 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
11537 from swh.web.ui.utils import gen_path_info
11538 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
11539 import magic
11540nose.proxy.ImportError: No module named 'magic'
11541-------------------- >> begin captured logging << --------------------
11542django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
11543django.request: ERROR: Internal Server Error: /api/1/stat/counters/
11544Traceback (most recent call last):
11545 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
11546 return self._urlconf_module
11547AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
11548
11549During handling of the above exception, another exception occurred:
11550
11551Traceback (most recent call last):
11552 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
11553 resolver_match = resolver.resolve(request.path_info)
11554 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
11555 for pattern in self.url_patterns:
11556 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
11557 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
11558 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
11559 self._urlconf_module = import_module(self.urlconf_name)
11560 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
11561 return _bootstrap._gcd_import(name[level:], package, level)
11562 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
11563 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
11564 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
11565 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
11566 File "<frozen importlib._bootstrap>", line 1129, in _exec
11567 File "<frozen importlib._bootstrap>", line 1471, in exec_module
11568 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
11569 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
11570 url(r'^ui/', include('swh.web.ui.urls')),
11571 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
11572 urlconf_module = import_module(urlconf_module)
11573 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
11574 return _bootstrap._gcd_import(name[level:], package, level)
11575 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
11576 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
11577 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
11578 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
11579 File "<frozen importlib._bootstrap>", line 1129, in _exec
11580 File "<frozen importlib._bootstrap>", line 1471, in exec_module
11581 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
11582 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
11583 from swh.web.ui.views import (
11584 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
11585 from swh.web.ui.utils import gen_path_info
11586 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
11587 import magic
11588ImportError: No module named 'magic'
11589--------------------- >> end captured logging << ---------------------
11590
11591======================================================================
11592ERROR: apidoc_full_stack_doc (tests.api.test_apidoc.APIDocTestCase)
11593----------------------------------------------------------------------
11594Traceback (most recent call last):
11595 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/test_apidoc.py", line 109, in apidoc_full_stack_doc
11596 rv = self.client.get('/api/1/some/complete/doc/route/')
11597 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
11598 return self.generic('GET', path, **r)
11599 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
11600 return self.request(**r)
11601 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
11602 return super(APIClient, self).request(**kwargs)
11603 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
11604 request = super(APIRequestFactory, self).request(**kwargs)
11605 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
11606 six.reraise(*exc_info)
11607 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
11608 raise value
11609 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
11610 resolver_match = resolver.resolve(request.path_info)
11611 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
11612 for pattern in self.url_patterns:
11613 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
11614 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
11615 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
11616 self._urlconf_module = import_module(self.urlconf_name)
11617 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
11618 return _bootstrap._gcd_import(name[level:], package, level)
11619 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
11620 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
11621 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
11622 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
11623 File "<frozen importlib._bootstrap>", line 1129, in _exec
11624 File "<frozen importlib._bootstrap>", line 1471, in exec_module
11625 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
11626 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
11627 url(r'^ui/', include('swh.web.ui.urls')),
11628 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
11629 urlconf_module = import_module(urlconf_module)
11630 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
11631 return _bootstrap._gcd_import(name[level:], package, level)
11632 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
11633 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
11634 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
11635 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
11636 File "<frozen importlib._bootstrap>", line 1129, in _exec
11637 File "<frozen importlib._bootstrap>", line 1471, in exec_module
11638 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
11639 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
11640 from swh.web.ui.views import (
11641 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
11642 from swh.web.ui.utils import gen_path_info
11643 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
11644 import magic
11645nose.proxy.ImportError: No module named 'magic'
11646-------------------- >> begin captured logging << --------------------
11647django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
11648django.request: ERROR: Internal Server Error: /api/1/some/complete/doc/route/
11649Traceback (most recent call last):
11650 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
11651 return self._urlconf_module
11652AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
11653
11654During handling of the above exception, another exception occurred:
11655
11656Traceback (most recent call last):
11657 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
11658 resolver_match = resolver.resolve(request.path_info)
11659 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
11660 for pattern in self.url_patterns:
11661 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
11662 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
11663 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
11664 self._urlconf_module = import_module(self.urlconf_name)
11665 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
11666 return _bootstrap._gcd_import(name[level:], package, level)
11667 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
11668 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
11669 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
11670 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
11671 File "<frozen importlib._bootstrap>", line 1129, in _exec
11672 File "<frozen importlib._bootstrap>", line 1471, in exec_module
11673 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
11674 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
11675 url(r'^ui/', include('swh.web.ui.urls')),
11676 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
11677 urlconf_module = import_module(urlconf_module)
11678 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
11679 return _bootstrap._gcd_import(name[level:], package, level)
11680 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
11681 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
11682 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
11683 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
11684 File "<frozen importlib._bootstrap>", line 1129, in _exec
11685 File "<frozen importlib._bootstrap>", line 1471, in exec_module
11686 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
11687 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
11688 from swh.web.ui.views import (
11689 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
11690 from swh.web.ui.utils import gen_path_info
11691 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
11692 import magic
11693ImportError: No module named 'magic'
11694--------------------- >> end captured logging << ---------------------
11695
11696======================================================================
11697ERROR: apidoc_full_stack_fn (tests.api.test_apidoc.APIDocTestCase)
11698----------------------------------------------------------------------
11699Traceback (most recent call last):
11700 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/test_apidoc.py", line 118, in apidoc_full_stack_fn
11701 rv = self.client.get('/api/1/some/full/1/1/')
11702 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
11703 return self.generic('GET', path, **r)
11704 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
11705 return self.request(**r)
11706 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
11707 return super(APIClient, self).request(**kwargs)
11708 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
11709 request = super(APIRequestFactory, self).request(**kwargs)
11710 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
11711 six.reraise(*exc_info)
11712 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
11713 raise value
11714 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
11715 resolver_match = resolver.resolve(request.path_info)
11716 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
11717 for pattern in self.url_patterns:
11718 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
11719 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
11720 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
11721 self._urlconf_module = import_module(self.urlconf_name)
11722 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
11723 return _bootstrap._gcd_import(name[level:], package, level)
11724 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
11725 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
11726 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
11727 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
11728 File "<frozen importlib._bootstrap>", line 1129, in _exec
11729 File "<frozen importlib._bootstrap>", line 1471, in exec_module
11730 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
11731 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
11732 url(r'^ui/', include('swh.web.ui.urls')),
11733 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
11734 urlconf_module = import_module(urlconf_module)
11735 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
11736 return _bootstrap._gcd_import(name[level:], package, level)
11737 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
11738 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
11739 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
11740 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
11741 File "<frozen importlib._bootstrap>", line 1129, in _exec
11742 File "<frozen importlib._bootstrap>", line 1471, in exec_module
11743 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
11744 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
11745 from swh.web.ui.views import (
11746 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
11747 from swh.web.ui.utils import gen_path_info
11748 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
11749 import magic
11750nose.proxy.ImportError: No module named 'magic'
11751-------------------- >> begin captured logging << --------------------
11752django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
11753django.request: ERROR: Internal Server Error: /api/1/some/full/1/1/
11754Traceback (most recent call last):
11755 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
11756 return self._urlconf_module
11757AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
11758
11759During handling of the above exception, another exception occurred:
11760
11761Traceback (most recent call last):
11762 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
11763 resolver_match = resolver.resolve(request.path_info)
11764 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
11765 for pattern in self.url_patterns:
11766 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
11767 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
11768 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
11769 self._urlconf_module = import_module(self.urlconf_name)
11770 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
11771 return _bootstrap._gcd_import(name[level:], package, level)
11772 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
11773 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
11774 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
11775 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
11776 File "<frozen importlib._bootstrap>", line 1129, in _exec
11777 File "<frozen importlib._bootstrap>", line 1471, in exec_module
11778 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
11779 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
11780 url(r'^ui/', include('swh.web.ui.urls')),
11781 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
11782 urlconf_module = import_module(urlconf_module)
11783 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
11784 return _bootstrap._gcd_import(name[level:], package, level)
11785 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
11786 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
11787 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
11788 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
11789 File "<frozen importlib._bootstrap>", line 1129, in _exec
11790 File "<frozen importlib._bootstrap>", line 1471, in exec_module
11791 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
11792 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
11793 from swh.web.ui.views import (
11794 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
11795 from swh.web.ui.utils import gen_path_info
11796 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
11797 import magic
11798ImportError: No module named 'magic'
11799--------------------- >> end captured logging << ---------------------
11800
11801======================================================================
11802ERROR: apidoc_route_doc (tests.api.test_apidoc.APIDocTestCase)
11803----------------------------------------------------------------------
11804Traceback (most recent call last):
11805 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/test_apidoc.py", line 66, in apidoc_route_doc
11806 rv = self.client.get('/api/1/some/doc/route/')
11807 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
11808 return self.generic('GET', path, **r)
11809 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
11810 return self.request(**r)
11811 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
11812 return super(APIClient, self).request(**kwargs)
11813 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
11814 request = super(APIRequestFactory, self).request(**kwargs)
11815 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
11816 six.reraise(*exc_info)
11817 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
11818 raise value
11819 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
11820 resolver_match = resolver.resolve(request.path_info)
11821 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
11822 for pattern in self.url_patterns:
11823 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
11824 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
11825 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
11826 self._urlconf_module = import_module(self.urlconf_name)
11827 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
11828 return _bootstrap._gcd_import(name[level:], package, level)
11829 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
11830 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
11831 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
11832 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
11833 File "<frozen importlib._bootstrap>", line 1129, in _exec
11834 File "<frozen importlib._bootstrap>", line 1471, in exec_module
11835 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
11836 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
11837 url(r'^ui/', include('swh.web.ui.urls')),
11838 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
11839 urlconf_module = import_module(urlconf_module)
11840 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
11841 return _bootstrap._gcd_import(name[level:], package, level)
11842 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
11843 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
11844 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
11845 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
11846 File "<frozen importlib._bootstrap>", line 1129, in _exec
11847 File "<frozen importlib._bootstrap>", line 1471, in exec_module
11848 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
11849 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
11850 from swh.web.ui.views import (
11851 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
11852 from swh.web.ui.utils import gen_path_info
11853 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
11854 import magic
11855nose.proxy.ImportError: No module named 'magic'
11856-------------------- >> begin captured logging << --------------------
11857django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
11858django.request: ERROR: Internal Server Error: /api/1/some/doc/route/
11859Traceback (most recent call last):
11860 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
11861 return self._urlconf_module
11862AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
11863
11864During handling of the above exception, another exception occurred:
11865
11866Traceback (most recent call last):
11867 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
11868 resolver_match = resolver.resolve(request.path_info)
11869 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
11870 for pattern in self.url_patterns:
11871 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
11872 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
11873 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
11874 self._urlconf_module = import_module(self.urlconf_name)
11875 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
11876 return _bootstrap._gcd_import(name[level:], package, level)
11877 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
11878 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
11879 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
11880 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
11881 File "<frozen importlib._bootstrap>", line 1129, in _exec
11882 File "<frozen importlib._bootstrap>", line 1471, in exec_module
11883 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
11884 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
11885 url(r'^ui/', include('swh.web.ui.urls')),
11886 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
11887 urlconf_module = import_module(urlconf_module)
11888 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
11889 return _bootstrap._gcd_import(name[level:], package, level)
11890 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
11891 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
11892 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
11893 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
11894 File "<frozen importlib._bootstrap>", line 1129, in _exec
11895 File "<frozen importlib._bootstrap>", line 1471, in exec_module
11896 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
11897 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
11898 from swh.web.ui.views import (
11899 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
11900 from swh.web.ui.utils import gen_path_info
11901 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
11902 import magic
11903ImportError: No module named 'magic'
11904--------------------- >> end captured logging << ---------------------
11905
11906======================================================================
11907ERROR: apidoc_route_fn (tests.api.test_apidoc.APIDocTestCase)
11908----------------------------------------------------------------------
11909Traceback (most recent call last):
11910 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/api/test_apidoc.py", line 76, in apidoc_route_fn
11911 rv = self.client.get('/api/1/some/1/1/')
11912 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 86, in get
11913 return self.generic('GET', path, **r)
11914 File "/usr/lib/python3/dist-packages/rest_framework/compat.py", line 150, in generic
11915 return self.request(**r)
11916 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 157, in request
11917 return super(APIClient, self).request(**kwargs)
11918 File "/usr/lib/python3/dist-packages/rest_framework/test.py", line 109, in request
11919 request = super(APIRequestFactory, self).request(**kwargs)
11920 File "/usr/lib/python3/dist-packages/django/test/client.py", line 440, in request
11921 six.reraise(*exc_info)
11922 File "/usr/lib/python3/dist-packages/django/utils/six.py", line 659, in reraise
11923 raise value
11924 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
11925 resolver_match = resolver.resolve(request.path_info)
11926 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
11927 for pattern in self.url_patterns:
11928 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
11929 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
11930 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
11931 self._urlconf_module = import_module(self.urlconf_name)
11932 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
11933 return _bootstrap._gcd_import(name[level:], package, level)
11934 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
11935 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
11936 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
11937 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
11938 File "<frozen importlib._bootstrap>", line 1129, in _exec
11939 File "<frozen importlib._bootstrap>", line 1471, in exec_module
11940 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
11941 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
11942 url(r'^ui/', include('swh.web.ui.urls')),
11943 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
11944 urlconf_module = import_module(urlconf_module)
11945 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
11946 return _bootstrap._gcd_import(name[level:], package, level)
11947 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
11948 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
11949 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
11950 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
11951 File "<frozen importlib._bootstrap>", line 1129, in _exec
11952 File "<frozen importlib._bootstrap>", line 1471, in exec_module
11953 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
11954 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
11955 from swh.web.ui.views import (
11956 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
11957 from swh.web.ui.utils import gen_path_info
11958 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
11959 import magic
11960nose.proxy.ImportError: No module named 'magic'
11961-------------------- >> begin captured logging << --------------------
11962django.db.backends: DEBUG: (0.000) QUERY = 'BEGIN' - PARAMS = (); args=None
11963django.request: ERROR: Internal Server Error: /api/1/some/1/1/
11964Traceback (most recent call last):
11965 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 364, in urlconf_module
11966 return self._urlconf_module
11967AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
11968
11969During handling of the above exception, another exception occurred:
11970
11971Traceback (most recent call last):
11972 File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 98, in get_response
11973 resolver_match = resolver.resolve(request.path_info)
11974 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 343, in resolve
11975 for pattern in self.url_patterns:
11976 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 372, in url_patterns
11977 patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
11978 File "/usr/lib/python3/dist-packages/django/core/urlresolvers.py", line 366, in urlconf_module
11979 self._urlconf_module = import_module(self.urlconf_name)
11980 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
11981 return _bootstrap._gcd_import(name[level:], package, level)
11982 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
11983 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
11984 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
11985 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
11986 File "<frozen importlib._bootstrap>", line 1129, in _exec
11987 File "<frozen importlib._bootstrap>", line 1471, in exec_module
11988 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
11989 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/urls.py", line 41, in <module>
11990 url(r'^ui/', include('swh.web.ui.urls')),
11991 File "/usr/lib/python3/dist-packages/django/conf/urls/__init__.py", line 28, in include
11992 urlconf_module = import_module(urlconf_module)
11993 File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
11994 return _bootstrap._gcd_import(name[level:], package, level)
11995 File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
11996 File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
11997 File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
11998 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
11999 File "<frozen importlib._bootstrap>", line 1129, in _exec
12000 File "<frozen importlib._bootstrap>", line 1471, in exec_module
12001 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
12002 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/urls.py", line 10, in <module>
12003 from swh.web.ui.views import (
12004 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/views/directory.py", line 10, in <module>
12005 from swh.web.ui.utils import gen_path_info
12006 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
12007 import magic
12008ImportError: No module named 'magic'
12009--------------------- >> end captured logging << ---------------------
12010
12011======================================================================
12012ERROR: Failure: ImportError (No module named 'magic')
12013----------------------------------------------------------------------
12014Traceback (most recent call last):
12015 File "/usr/lib/python3/dist-packages/nose/failure.py", line 39, in runTest
12016 raise self.exc_val.with_traceback(self.tb)
12017 File "/usr/lib/python3/dist-packages/nose/loader.py", line 414, in loadTestsFromName
12018 addr.filename, addr.module)
12019 File "/usr/lib/python3/dist-packages/nose/importer.py", line 47, in importFromPath
12020 return self.importFromDir(dir_path, fqname)
12021 File "/usr/lib/python3/dist-packages/nose/importer.py", line 94, in importFromDir
12022 mod = load_module(part_fqname, fh, filename, desc)
12023 File "/usr/lib/python3.4/imp.py", line 235, in load_module
12024 return load_source(name, filename, file)
12025 File "/usr/lib/python3.4/imp.py", line 171, in load_source
12026 module = methods.load()
12027 File "<frozen importlib._bootstrap>", line 1220, in load
12028 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
12029 File "<frozen importlib._bootstrap>", line 1129, in _exec
12030 File "<frozen importlib._bootstrap>", line 1471, in exec_module
12031 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
12032 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/ui/views/test_content.py", line 12, in <module>
12033 from swh.web.ui.utils import gen_path_info
12034 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
12035 import magic
12036ImportError: No module named 'magic'
12037
12038======================================================================
12039ERROR: Failure: ImportError (No module named 'magic')
12040----------------------------------------------------------------------
12041Traceback (most recent call last):
12042 File "/usr/lib/python3/dist-packages/nose/failure.py", line 39, in runTest
12043 raise self.exc_val.with_traceback(self.tb)
12044 File "/usr/lib/python3/dist-packages/nose/loader.py", line 414, in loadTestsFromName
12045 addr.filename, addr.module)
12046 File "/usr/lib/python3/dist-packages/nose/importer.py", line 47, in importFromPath
12047 return self.importFromDir(dir_path, fqname)
12048 File "/usr/lib/python3/dist-packages/nose/importer.py", line 94, in importFromDir
12049 mod = load_module(part_fqname, fh, filename, desc)
12050 File "/usr/lib/python3.4/imp.py", line 235, in load_module
12051 return load_source(name, filename, file)
12052 File "/usr/lib/python3.4/imp.py", line 171, in load_source
12053 module = methods.load()
12054 File "<frozen importlib._bootstrap>", line 1220, in load
12055 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
12056 File "<frozen importlib._bootstrap>", line 1129, in _exec
12057 File "<frozen importlib._bootstrap>", line 1471, in exec_module
12058 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
12059 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/ui/views/test_directory.py", line 12, in <module>
12060 from swh.web.ui.utils import gen_path_info
12061 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
12062 import magic
12063ImportError: No module named 'magic'
12064
12065======================================================================
12066ERROR: Failure: ImportError (No module named 'magic')
12067----------------------------------------------------------------------
12068Traceback (most recent call last):
12069 File "/usr/lib/python3/dist-packages/nose/failure.py", line 39, in runTest
12070 raise self.exc_val.with_traceback(self.tb)
12071 File "/usr/lib/python3/dist-packages/nose/loader.py", line 414, in loadTestsFromName
12072 addr.filename, addr.module)
12073 File "/usr/lib/python3/dist-packages/nose/importer.py", line 47, in importFromPath
12074 return self.importFromDir(dir_path, fqname)
12075 File "/usr/lib/python3/dist-packages/nose/importer.py", line 94, in importFromDir
12076 mod = load_module(part_fqname, fh, filename, desc)
12077 File "/usr/lib/python3.4/imp.py", line 235, in load_module
12078 return load_source(name, filename, file)
12079 File "/usr/lib/python3.4/imp.py", line 171, in load_source
12080 module = methods.load()
12081 File "<frozen importlib._bootstrap>", line 1220, in load
12082 File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
12083 File "<frozen importlib._bootstrap>", line 1129, in _exec
12084 File "<frozen importlib._bootstrap>", line 1471, in exec_module
12085 File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
12086 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/tests/ui/test_utils.py", line 10, in <module>
12087 from swh.web.ui import utils
12088 File "/home/temp-drydock/drydock/workingcopy-180/repo/swh-web/swh/web/ui/utils.py", line 6, in <module>
12089 import magic
12090ImportError: No module named 'magic'
12091
12092----------------------------------------------------------------------
12093Ran 252 tests in 16.760s
12094
12095FAILED (errors=79)
12096

Update environment from working copy

When
Completed at Sep 15 2017, 8:05 PM · Built for 19 s
Status
Passed
1 empty logs are hidden. Show all logs.

Build Log 4403 (remote - stdout)
25 - 50 - 100 - Unlimited Lines

1mr update: /home/temp-drydock/drydock/workingcopy-180/repo/swh-environment/snippets
2mr update: /home/temp-drydock/drydock/workingcopy-180/repo/swh-environment/snippets
3Already up-to-date.
4
5mr update: /home/temp-drydock/drydock/workingcopy-180/repo/swh-environment/swh-indexer
6mr update: /home/temp-drydock/drydock/workingcopy-180/repo/swh-environment/swh-indexer
7Already up-to-date.
8
9mr update: /home/temp-drydock/drydock/workingcopy-180/repo/swh-environment/swh-core
10mr update: /home/temp-drydock/drydock/workingcopy-180/repo/swh-environment/swh-core
11Already up-to-date.
12
13mr update: /home/temp-drydock/drydock/workingcopy-180/repo/swh-environment/swh-archiver
14mr update: /home/temp-drydock/drydock/workingcopy-180/repo/swh-environment/swh-archiver
15Already up-to-date.
16
17mr update: /home/temp-drydock/drydock/workingcopy-180/repo/swh-environment/swh-docs
18mr update: /home/temp-drydock/drydock/workingcopy-180/repo/swh-environment/swh-docs
19From ssh://forge.softwareheritage.org/diffusion/DDOC/swh-docs
20 3910f23..105546c master -> origin/master
21Updating 3910f23..105546c
22Fast-forward
23 Makefile.sphinx | 8 ++++--
24 docs/Makefile | 12 ++++++--
25 docs/bin/ln-sphinx-subprojects | 24 ++++++++--------
26 docs/bin/py-depgraph | 65 ++++++++++++++++++++++++++++++++++++++++++
27 docs/conf.py | 8 ------
28 docs/images/.gitignore | 2 ++
29 docs/images/Makefile | 21 ++++++++++++++
30 swh/docs/sphinx/conf.py | 14 +++++++++
31 8 files changed, 128 insertions(+), 26 deletions(-)
32 create mode 100755 docs/bin/py-depgraph
33 create mode 100644 docs/images/.gitignore
34 create mode 100644 docs/images/Makefile
35
36mr update: /home/temp-drydock/drydock/workingcopy-180/repo/swh-environment/swh-journal
37mr update: /home/temp-drydock/drydock/workingcopy-180/repo/swh-environment/swh-journal
38Already up-to-date.
39
40mr update: /home/temp-drydock/drydock/workingcopy-180/repo/swh-environment/swh-lister
41mr update: /home/temp-drydock/drydock/workingcopy-180/repo/swh-environment/swh-lister
42Already up-to-date.
43
44mr update: /home/temp-drydock/drydock/workingcopy-180/repo/swh-environment/swh-loader-debian
45mr update: /home/temp-drydock/drydock/workingcopy-180/repo/swh-environment/swh-loader-debian
46Already up-to-date.
47
48mr update: /home/temp-drydock/drydock/workingcopy-180/repo/swh-environment/swh-loader-core
49mr update: /home/temp-drydock/drydock/workingcopy-180/repo/swh-environment/swh-loader-core
50Already up-to-date.
51
52mr update: /home/temp-drydock/drydock/workingcopy-180/repo/swh-environment/swh-loader-dir
53mr update: /home/temp-drydock/drydock/workingcopy-180/repo/swh-environment/swh-loader-dir
54Already up-to-date.
55
56mr update: /home/temp-drydock/drydock/workingcopy-180/repo/swh-environment/swh-loader-git
57mr update: /home/temp-drydock/drydock/workingcopy-180/repo/swh-environment/swh-loader-git
58Already up-to-date.
59
60mr update: /home/temp-drydock/drydock/workingcopy-180/repo/swh-environment/swh-loader-mercurial
61mr update: /home/temp-drydock/drydock/workingcopy-180/repo/swh-environment/swh-loader-mercurial
62Already up-to-date.
63
64mr update: /home/temp-drydock/drydock/workingcopy-180/repo/swh-environment/swh-loader-svn
65mr update: /home/temp-drydock/drydock/workingcopy-180/repo/swh-environment/swh-loader-svn
66Already up-to-date.
67
68mr update: /home/temp-drydock/drydock/workingcopy-180/repo/swh-environment/swh-loader-tar
69mr update: /home/temp-drydock/drydock/workingcopy-180/repo/swh-environment/swh-loader-tar
70Already up-to-date.
71
72mr update: /home/temp-drydock/drydock/workingcopy-180/repo/swh-environment/swh-mirror-forge
73mr update: /home/temp-drydock/drydock/workingcopy-180/repo/swh-environment/swh-mirror-forge
74Already up-to-date.
75
76mr update: /home/temp-drydock/drydock/workingcopy-180/repo/swh-environment/swh-model
77mr update: /home/temp-drydock/drydock/workingcopy-180/repo/swh-environment/swh-model
78From ssh://forge.softwareheritage.org/diffusion/DMOD/swh-model
79 bd43a7f..8bafb40 master -> origin/master
80Updating bd43a7f..8bafb40
81Fast-forward
82 swh/model/hashutil.py | 53 +++++++++++++++++++++++++++++++++++++++++----------
83 1 file changed, 43 insertions(+), 10 deletions(-)
84
85mr update: /home/temp-drydock/drydock/workingcopy-180/repo/swh-environment/swh-scheduler
86mr update: /home/temp-drydock/drydock/workingcopy-180/repo/swh-environment/swh-scheduler
87Already up-to-date.
88
89mr update: /home/temp-drydock/drydock/workingcopy-180/repo/swh-environment/swh-objstorage
90mr update: /home/temp-drydock/drydock/workingcopy-180/repo/swh-environment/swh-objstorage
91From ssh://forge.softwareheritage.org/diffusion/DOBJS/swh-objstorage
92 3072809..091fe8f master -> origin/master
93Updating 3072809..091fe8f
94Fast-forward
95 swh/objstorage/api/client.py | 8 ++++--
96 swh/objstorage/api/server.py | 7 +++++
97 swh/objstorage/cloud/objstorage_azure.py | 16 ++++++++++-
98 swh/objstorage/cloud/objstorage_cloud.py | 8 +++++-
99 swh/objstorage/multiplexer/filter/filter.py | 3 +++
100 .../multiplexer/filter/read_write_filter.py | 3 +++
101 .../multiplexer/multiplexer_objstorage.py | 7 ++++-
102 swh/objstorage/objstorage.py | 20 ++++++++++++++
103 swh/objstorage/objstorage_pathslicing.py | 15 ++++++++++-
104 swh/objstorage/tests/objstorage_testing.py | 31 ++++++++++++++++++++++
105 swh/objstorage/tests/server_testing.py | 2 +-
106 swh/objstorage/tests/test_objstorage_api.py | 1 +
107 swh/objstorage/tests/test_objstorage_azure.py | 9 +++++++
108 swh/objstorage/tests/test_objstorage_cloud.py | 10 +++++++
109 .../tests/test_objstorage_multiplexer.py | 12 +++++++++
110 15 files changed, 145 insertions(+), 7 deletions(-)
111
112mr update: /home/temp-drydock/drydock/workingcopy-180/repo/swh-environment/swh-py-template
113mr update: /home/temp-drydock/drydock/workingcopy-180/repo/swh-environment/swh-py-template
114Already up-to-date.
115
116mr update: /home/temp-drydock/drydock/workingcopy-180/repo/swh-environment/swh-storage
117mr update: /home/temp-drydock/drydock/workingcopy-180/repo/swh-environment/swh-storage
118From ssh://forge.softwareheritage.org/diffusion/DSTO/swh-storage
119 118a962..e67765b master -> origin/master
120Updating 118a962..e67765b
121Fast-forward
122 debian/control | 15 ++-
123 debian/rules | 5 +-
124 setup.py | 4 +
125 swh/storage/schemata/distribution.py | 227 +++++++++++++++++++++++++++++++++++
126 4 files changed, 247 insertions(+), 4 deletions(-)
127 create mode 100644 swh/storage/schemata/distribution.py
128
129mr update: /home/temp-drydock/drydock/workingcopy-180/repo/swh-environment/swh-storage-testdata
130mr update: /home/temp-drydock/drydock/workingcopy-180/repo/swh-environment/swh-storage-testdata
131Already up-to-date.
132
133mr update: /home/temp-drydock/drydock/workingcopy-180/repo/swh-environment/swh-vault
134mr update: /home/temp-drydock/drydock/workingcopy-180/repo/swh-environment/swh-vault
135From ssh://forge.softwareheritage.org/diffusion/DVAU/swh-vault
136 f190b6a..b034ed7 master -> origin/master
137Updating f190b6a..b034ed7
138Fast-forward
139 setup.py | 1 +
140 sql/swh-vault-schema.sql | 2 +
141 swh/vault/backend.py | 76 ++++++++--
142 swh/vault/cache.py | 8 +-
143 swh/vault/cookers/base.py | 14 +-
144 swh/vault/cooking_tasks.py | 4 +-
145 swh/vault/tests/test_backend.py | 290 +++++++++++++++++++++++++++++++++++++++
146 swh/vault/tests/test_cookers.py | 274 ++++++++++++++++++++++++++++++++++++
147 swh/vault/tests/vault_testing.py | 56 ++++++++
148 9 files changed, 707 insertions(+), 18 deletions(-)
149 create mode 100644 swh/vault/tests/test_backend.py
150 create mode 100644 swh/vault/tests/test_cookers.py
151 create mode 100644 swh/vault/tests/vault_testing.py
152
153mr update: /home/temp-drydock/drydock/workingcopy-180/repo/swh-environment/swh-web
154mr update: /home/temp-drydock/drydock/workingcopy-180/repo/swh-environment/swh-web
155From ssh://forge.softwareheritage.org/source/swh-web
156 917fb7b..84e69ea master -> origin/master
157 * [new tag] v0.0.86 -> v0.0.86
158 * [new tag] v0.0.87 -> v0.0.87
159 * [new tag] v0.0.88 -> v0.0.88
160Updating 917fb7b..84e69ea
161Fast-forward
162 MANIFEST.in | 2 +-
163 Makefile.local | 3 +
164 docs/conf.py | 2 +-
165 resources/test/webapp.yml | 21 ---
166 setup.py | 6 +-
167 swh/web/api/apidoc.py | 15 +-
168 swh/web/api/apiresponse.py | 5 +-
169 swh/web/api/apiurls.py | 2 +-
170 swh/web/api/templatetags/__init__.py | 0
171 swh/web/api/utils.py | 87 +---------
172 swh/web/api/views/__init__.py | 2 +-
173 swh/web/api/views/content.py | 14 +-
174 swh/web/api/views/directory.py | 3 +-
175 swh/web/api/views/entity.py | 3 +-
176 swh/web/api/views/origin.py | 13 +-
177 swh/web/api/views/person.py | 2 +-
178 swh/web/api/views/release.py | 3 +-
179 swh/web/api/views/revision.py | 25 +--
180 swh/web/api/views/stat.py | 2 +-
181 swh/web/{api => common}/converters.py | 0
182 swh/web/{api => common}/exc.py | 0
183 swh/web/{api => common}/query.py | 2 +-
184 swh/web/{api => common}/service.py | 6 +-
185 .../api_extras.py => common/swh_templatetags.py} | 1 -
186 swh/web/common/throttling.py | 18 ++-
187 swh/web/common/utils.py | 120 ++++++++++++++
188 swh/web/config.py | 18 ++-
189 swh/web/manage.py | 3 +-
190 swh/web/{settings.py => settings/common.py} | 14 +-
191 swh/web/settings/development.py | 7 +
192 swh/web/settings/production.py | 15 ++
193 swh/web/{api => }/templates/about.html | 0
194 swh/web/{api => }/templates/api-endpoints.html | 2 +-
195 swh/web/{api => }/templates/api.html | 0
196 swh/web/{api => }/templates/apidoc.html | 10 +-
197 swh/web/{api => }/templates/browse.html | 0
198 .../{api => }/templates/content-with-origin.html | 0
199 swh/web/{api => }/templates/content.html | 0
200 swh/web/{api => }/templates/directory.html | 0
201 swh/web/{api => }/templates/entity.html | 0
202 .../templates/includes/apidoc-header-toc.html | 0
203 .../templates/includes/apidoc-header.html | 0
204 .../{api => }/templates/includes/apidoc-header.md | 0
205 .../{api => }/templates/includes/home-content.html | 0
206 .../templates/includes/home-directory.html | 0
207 .../{api => }/templates/includes/home-origin.html | 0
208 .../templates/includes/home-revision.html | 0
209 .../templates/includes/home-search-symbol.html | 0
210 .../{api => }/templates/includes/search-form.html | 0
211 swh/web/{api => }/templates/layout.html | 1 -
212 swh/web/{api => }/templates/origin.html | 0
213 swh/web/{api => }/templates/person.html | 0
214 swh/web/{api => }/templates/release.html | 0
215 .../{api => }/templates/revision-directory.html | 0
216 swh/web/{api => }/templates/revision-log.html | 0
217 swh/web/{api => }/templates/revision.html | 0
218 swh/web/{api => }/templates/search.html | 0
219 swh/web/{api => }/templates/symbols.html | 0
220 swh/web/tests/__init__.py | 35 ++--
221 swh/web/tests/api/test_api_lookup.py | 2 +-
222 swh/web/tests/api/test_apiresponse.py | 2 +-
223 swh/web/tests/api/test_utils.py | 75 ---------
224 swh/web/tests/api/views/test_entity.py | 2 +-
225 swh/web/tests/api/views/test_revision.py | 24 +--
226 swh/web/tests/{api => common}/test_converters.py | 2 +-
227 swh/web/tests/{api => common}/test_query.py | 10 +-
228 swh/web/tests/{api => common}/test_service.py | 180 ++++++++++-----------
229 swh/web/tests/{api => common}/test_templatetags.py | 12 +-
230 swh/web/tests/common/test_utils.py | 87 ++++++++++
231 swh/web/wsgi.py | 2 +-
232 70 files changed, 474 insertions(+), 386 deletions(-)
233 delete mode 100644 resources/test/webapp.yml
234 delete mode 100644 swh/web/api/templatetags/__init__.py
235 rename swh/web/{api => common}/converters.py (100%)
236 rename swh/web/{api => common}/exc.py (100%)
237 rename swh/web/{api => common}/query.py (98%)
238 rename swh/web/{api => common}/service.py (99%)
239 rename swh/web/{api/templatetags/api_extras.py => common/swh_templatetags.py} (99%)
240 create mode 100644 swh/web/common/utils.py
241 mode change 100644 => 100755 swh/web/manage.py
242 rename swh/web/{settings.py => settings/common.py} (91%)
243 create mode 100644 swh/web/settings/development.py
244 create mode 100644 swh/web/settings/production.py
245 rename swh/web/{api => }/templates/about.html (100%)
246 rename swh/web/{api => }/templates/api-endpoints.html (98%)
247 rename swh/web/{api => }/templates/api.html (100%)
248 rename swh/web/{api => }/templates/apidoc.html (94%)
249 rename swh/web/{api => }/templates/browse.html (100%)
250 rename swh/web/{api => }/templates/content-with-origin.html (100%)
251 rename swh/web/{api => }/templates/content.html (100%)
252 rename swh/web/{api => }/templates/directory.html (100%)
253 rename swh/web/{api => }/templates/entity.html (100%)
254 rename swh/web/{api => }/templates/includes/apidoc-header-toc.html (100%)
255 rename swh/web/{api => }/templates/includes/apidoc-header.html (100%)
256 rename swh/web/{api => }/templates/includes/apidoc-header.md (100%)
257 rename swh/web/{api => }/templates/includes/home-content.html (100%)
258 rename swh/web/{api => }/templates/includes/home-directory.html (100%)
259 rename swh/web/{api => }/templates/includes/home-origin.html (100%)
260 rename swh/web/{api => }/templates/includes/home-revision.html (100%)
261 rename swh/web/{api => }/templates/includes/home-search-symbol.html (100%)
262 rename swh/web/{api => }/templates/includes/search-form.html (100%)
263 rename swh/web/{api => }/templates/layout.html (99%)
264 rename swh/web/{api => }/templates/origin.html (100%)
265 rename swh/web/{api => }/templates/person.html (100%)
266 rename swh/web/{api => }/templates/release.html (100%)
267 rename swh/web/{api => }/templates/revision-directory.html (100%)
268 rename swh/web/{api => }/templates/revision-log.html (100%)
269 rename swh/web/{api => }/templates/revision.html (100%)
270 rename swh/web/{api => }/templates/search.html (100%)
271 rename swh/web/{api => }/templates/symbols.html (100%)
272 rename swh/web/tests/{api => common}/test_converters.py (99%)
273 rename swh/web/tests/{api => common}/test_query.py (95%)
274 rename swh/web/tests/{api => common}/test_service.py (94%)
275 rename swh/web/tests/{api => common}/test_templatetags.py (83%)
276 create mode 100644 swh/web/tests/common/test_utils.py
277
278mr update: finished (23 ok)
279

Clone on Software Heritage Worker

When
Completed at Sep 15 2017, 8:04 PM · Built instantly
Status
Passed