Projet

Général

Profil

Bug #20540 » trace.html

Frédéric Péters, 08 décembre 2017 13:27

 
1

    
2
<!DOCTYPE html>
3
<html lang="en">
4
<head>
5
  <meta http-equiv="content-type" content="text/html; charset=utf-8">
6
  <meta name="robots" content="NONE,NOARCHIVE">
7
  <title>DoesNotExist</title>
8
  <style type="text/css">
9
    html * { padding:0; margin:0; }
10
    body * { padding:10px 20px; }
11
    body * * { padding:0; }
12
    body { font:small sans-serif; }
13
    body>div { border-bottom:1px solid #ddd; }
14
    h1 { font-weight:normal; }
15
    h2 { margin-bottom:.8em; }
16
    h2 span { font-size:80%; color:#666; font-weight:normal; }
17
    h3 { margin:1em 0 .5em 0; }
18
    h4 { margin:0 0 .5em 0; font-weight: normal; }
19
    code, pre { font-size: 100%; white-space: pre-wrap; }
20
    table { border:1px solid #ccc; border-collapse: collapse; width:100%; background:white; }
21
    tbody td, tbody th { vertical-align:top; padding:2px 3px; }
22
    thead th {
23
      padding:1px 6px 1px 3px; background:#fefefe; text-align:left;
24
      font-weight:normal; font-size:11px; border:1px solid #ddd;
25
    }
26
    tbody th { width:12em; text-align:right; color:#666; padding-right:.5em; }
27
    table.vars { margin:5px 0 2px 40px; }
28
    table.vars td, table.req td { font-family:monospace; }
29
    table td.code { width:100%; }
30
    table td.code pre { overflow:hidden; }
31
    table.source th { color:#666; }
32
    table.source td { font-family:monospace; white-space:pre; border-bottom:1px solid #eee; }
33
    ul.traceback { list-style-type:none; color: #222; }
34
    ul.traceback li.frame { padding-bottom:1em; color:#666; }
35
    ul.traceback li.user { background-color:#e0e0e0; color:#000 }
36
    div.context { padding:10px 0; overflow:hidden; }
37
    div.context ol { padding-left:30px; margin:0 10px; list-style-position: inside; }
38
    div.context ol li { font-family:monospace; white-space:pre; color:#777; cursor:pointer; }
39
    div.context ol li pre { display:inline; }
40
    div.context ol.context-line li { color:#505050; background-color:#dfdfdf; }
41
    div.context ol.context-line li span { position:absolute; right:32px; }
42
    .user div.context ol.context-line li { background-color:#bbb; color:#000; }
43
    .user div.context ol li { color:#666; }
44
    div.commands { margin-left: 40px; }
45
    div.commands a { color:#555; text-decoration:none; }
46
    .user div.commands a { color: black; }
47
    #summary { background: #ffc; }
48
    #summary h2 { font-weight: normal; color: #666; }
49
    #explanation { background:#eee; }
50
    #template, #template-not-exist { background:#f6f6f6; }
51
    #template-not-exist ul { margin: 0 0 0 20px; }
52
    #unicode-hint { background:#eee; }
53
    #traceback { background:#eee; }
54
    #requestinfo { background:#f6f6f6; padding-left:120px; }
55
    #summary table { border:none; background:transparent; }
56
    #requestinfo h2, #requestinfo h3 { position:relative; margin-left:-100px; }
57
    #requestinfo h3 { margin-bottom:-1em; }
58
    .error { background: #ffc; }
59
    .specific { color:#cc3300; font-weight:bold; }
60
    h2 span.commands { font-size:.7em;}
61
    span.commands a:link {color:#5E5694;}
62
    pre.exception_value { font-family: sans-serif; color: #666; font-size: 1.5em; margin: 10px 0 10px 0; }
63
  </style>
64
  
65
</head>
66
<body>
67
<div id="summary">
68
  <h1>DoesNotExist</h1>
69
  <pre class="exception_value">OrganizationalUnit matching query does not exist.</pre>
70
  <table class="meta">
71

    
72
    <tr>
73
      <th>Django Version:</th>
74
      <td>1.8.18</td>
75
    </tr>
76

    
77
    <tr>
78
      <th>Exception Type:</th>
79
      <td>DoesNotExist</td>
80
    </tr>
81

    
82

    
83
    <tr>
84
      <th>Exception Value:</th>
85
      <td><pre>OrganizationalUnit matching query does not exist.</pre></td>
86
    </tr>
87

    
88

    
89
    <tr>
90
      <th>Exception Location:</th>
91
      <td>/usr/lib/python2.7/dist-packages/django/db/models/query.py in get, line 334</td>
92
    </tr>
93

    
94
    <tr>
95
      <th>Python Executable:</th>
96
      <td>/usr/bin/python</td>
97
    </tr>
98
    <tr>
99
      <th>Python Version:</th>
100
      <td>2.7.9</td>
101
    </tr>
102
    <tr>
103
      <th>Python Path:</th>
104
      <td><pre>[&#39;/&#39;,
105
 &#39;/usr/bin&#39;,
106
 &#39;/usr/lib/python2.7&#39;,
107
 &#39;/usr/lib/python2.7/plat-x86_64-linux-gnu&#39;,
108
 &#39;/usr/lib/python2.7/lib-tk&#39;,
109
 &#39;/usr/lib/python2.7/lib-old&#39;,
110
 &#39;/usr/lib/python2.7/lib-dynload&#39;,
111
 &#39;/usr/local/lib/python2.7/dist-packages&#39;,
112
 &#39;/usr/lib/python2.7/dist-packages&#39;,
113
 &#39;/usr/lib/pymodules/python2.7&#39;,
114
 &#39;/usr/lib/python2.7/dist-packages/authentic2/vendor&#39;]</pre></td>
115
    </tr>
116
    <tr>
117
      <th>Server time:</th>
118
      <td>ven, 8 Déc 2017 13:09:45 +0100</td>
119
    </tr>
120
  </table>
121
</div>
122

    
123

    
124

    
125

    
126
<div id="traceback">
127
  <h2>Traceback <span class="commands">
128
  </h2>
129
  
130
  <div id="browserTraceback">
131
    <ul class="traceback">
132
      
133
        <li class="frame user">
134
          <code>/usr/lib/python2.7/dist-packages/hobo/agent/authentic2/provisionning.py</code> in <code>do_provision</code>
135

    
136
          
137
            <div class="context" id="c140296515977728">
138
              
139
              <ol start="253" class="context-line">
140
                <li onclick="toggle('pre140296515977728', 'post140296515977728')"><pre>
141
                        self.notify_roles(ous, deleted.get(self.Role, []), mode=&#39;deprovision&#39;)</pre></li></ol>
142
              
143
            </div>
144
          
145

    
146
          
147
            <div class="commands">
148
                
149
                    <h2>Local Vars</h2>
150
                
151
            </div>
152
            <table class="vars" id="v140296515977728">
153
              <thead>
154
                <tr>
155
                  <th>Variable</th>
156
                  <th>Value</th>
157
                </tr>
158
              </thead>
159
              <tbody>
160
                
161
                  <tr>
162
                    <td>ous</td>
163
                    <td class="code"><pre>{1: &lt;OrganizationalUnit u&#39;default&#39; u&#39;Demo&#39;&gt;}</pre></td>
164
                  </tr>
165
                
166
                  <tr>
167
                    <td>deleted</td>
168
                    <td class="code"><pre>{&lt;class &#39;authentic2.a2_rbac.models.Role&#39;&gt;: set([&lt;Role u&#39;rechercheur2&#39; u&#39;Rechercheur2&#39;&gt;,
169
                                                &lt;Role u&#39;_a2-administrateur-des-roles-pouet&#39; u&#39;R\xf4les - Pouet&#39;&gt;,
170
                                                &lt;Role u&#39;_a2-managers-of-role-rechercheur2&#39; u&#39;Administrateur du r\xf4le \xab\xa0Rechercheur2\xa0\xbb&#39;&gt;,
171
                                                &lt;Role u&#39;_a2-administrateur-des-utilisateurs-pouet&#39; u&#39;Utilisateurs - Pouet&#39;&gt;,
172
                                                &lt;Role u&#39;_a2-managers-of-role-role_test&#39; u&#39;Administrateur du r\xf4le \xab\xa0Role_test\xa0\xbb&#39;&gt;,
173
                                                &lt;Role u&#39;role_test&#39; u&#39;Role_test&#39;&gt;,
174
                                                &lt;Role u&#39;_a2-managers-of-pouet&#39; u&#39;Administrateur de la collectivit\xe9 \xab\xa0Pouet\xa0\xbb&#39;&gt;]),
175
 &lt;class &#39;authentic2.custom_user.models.User&#39;&gt;: set([&lt;User: u&#39;ca03 (5347c4)&#39;&gt;])}</pre></td>
176
                  </tr>
177
                
178
                  <tr>
179
                    <td>self</td>
180
                    <td class="code"><pre>&lt;hobo.agent.authentic2.provisionning.Provisionning object at 0x7f995b7e32d0&gt;</pre></td>
181
                  </tr>
182
                
183
                  <tr>
184
                    <td>saved</td>
185
                    <td class="code"><pre>{&lt;class &#39;authentic2.a2_rbac.models.Role&#39;&gt;: set([]),
186
 &lt;class &#39;authentic2.custom_user.models.User&#39;&gt;: set([&lt;User: u&#39;ca03 (5347c4)&#39;&gt;])}</pre></td>
187
                  </tr>
188
                
189
                  <tr>
190
                    <td>thread</td>
191
                    <td class="code"><pre>None</pre></td>
192
                  </tr>
193
                
194
              </tbody>
195
            </table>
196
          
197
        </li>
198
      
199
        <li class="frame user">
200
          <code>/usr/lib/python2.7/dist-packages/hobo/agent/authentic2/provisionning.py</code> in <code>notify_roles</code>
201

    
202
          
203
            <div class="context" id="c140296597727496">
204
              
205
              <ol start="193" class="context-line">
206
                <li onclick="toggle('pre140296597727496', 'post140296597727496')"><pre>
207
                        ous.setdefault(role.ou, []).append(role)</pre></li></ol>
208
              
209
            </div>
210
          
211

    
212
          
213
            <div class="commands">
214
                
215
                    <h2>Local Vars</h2>
216
                
217
            </div>
218
            <table class="vars" id="v140296597727496">
219
              <thead>
220
                <tr>
221
                  <th>Variable</th>
222
                  <th>Value</th>
223
                </tr>
224
              </thead>
225
              <tbody>
226
                
227
                  <tr>
228
                    <td>full</td>
229
                    <td class="code"><pre>False</pre></td>
230
                  </tr>
231
                
232
                  <tr>
233
                    <td>roles</td>
234
                    <td class="code"><pre>set([&lt;Role u&#39;rechercheur2&#39; u&#39;Rechercheur2&#39;&gt;, &lt;Role u&#39;role_test&#39; u&#39;Role_test&#39;&gt;])</pre></td>
235
                  </tr>
236
                
237
                  <tr>
238
                    <td>self</td>
239
                    <td class="code"><pre>&lt;hobo.agent.authentic2.provisionning.Provisionning object at 0x7f995b7e32d0&gt;</pre></td>
240
                  </tr>
241
                
242
                  <tr>
243
                    <td>role</td>
244
                    <td class="code"><pre>&lt;Role u&#39;rechercheur2&#39; u&#39;Rechercheur2&#39;&gt;</pre></td>
245
                  </tr>
246
                
247
                  <tr>
248
                    <td>mode</td>
249
                    <td class="code"><pre>&#39;deprovision&#39;</pre></td>
250
                  </tr>
251
                
252
                  <tr>
253
                    <td>ous</td>
254
                    <td class="code"><pre>{}</pre></td>
255
                  </tr>
256
                
257
              </tbody>
258
            </table>
259
          
260
        </li>
261
      
262
        <li class="frame django">
263
          <code>/usr/lib/python2.7/dist-packages/django/db/models/fields/related.py</code> in <code>__get__</code>
264

    
265
          
266
            <div class="context" id="c140296598237552">
267
              
268
              <ol start="614" class="context-line">
269
                <li onclick="toggle('pre140296598237552', 'post140296598237552')"><pre>
270
                            rel_obj = qs.get()</pre></li></ol>
271
              
272
            </div>
273
          
274

    
275
          
276
            <div class="commands">
277
                
278
                    <h2>Local Vars</h2>
279
                
280
            </div>
281
            <table class="vars" id="v140296598237552">
282
              <thead>
283
                <tr>
284
                  <th>Variable</th>
285
                  <th>Value</th>
286
                </tr>
287
              </thead>
288
              <tbody>
289
                
290
                  <tr>
291
                    <td>qs</td>
292
                    <td class="code"><pre>[]</pre></td>
293
                  </tr>
294
                
295
                  <tr>
296
                    <td>val</td>
297
                    <td class="code"><pre>(8,)</pre></td>
298
                  </tr>
299
                
300
                  <tr>
301
                    <td>instance_type</td>
302
                    <td class="code"><pre>&lt;class &#39;authentic2.a2_rbac.models.Role&#39;&gt;</pre></td>
303
                  </tr>
304
                
305
                  <tr>
306
                    <td>self</td>
307
                    <td class="code"><pre>&lt;django.db.models.fields.related.ReverseSingleRelatedObjectDescriptor object at 0x7f995c6bf3d0&gt;</pre></td>
308
                  </tr>
309
                
310
                  <tr>
311
                    <td>instance</td>
312
                    <td class="code"><pre>&lt;Role u&#39;rechercheur2&#39; u&#39;Rechercheur2&#39;&gt;</pre></td>
313
                  </tr>
314
                
315
                  <tr>
316
                    <td>params</td>
317
                    <td class="code"><pre>{u&#39;id&#39;: 8}</pre></td>
318
                  </tr>
319
                
320
                  <tr>
321
                    <td>extra_filter</td>
322
                    <td class="code"><pre>{}</pre></td>
323
                  </tr>
324
                
325
              </tbody>
326
            </table>
327
          
328
        </li>
329
      
330
        <li class="frame django">
331
          <code>/usr/lib/python2.7/dist-packages/django/db/models/query.py</code> in <code>get</code>
332

    
333
          
334
            <div class="context" id="c140296514636976">
335
              
336
              <ol start="334" class="context-line">
337
                <li onclick="toggle('pre140296514636976', 'post140296514636976')"><pre>
338
                            self.model._meta.object_name</pre></li></ol>
339
              
340
            </div>
341
          
342

    
343
          
344
            <div class="commands">
345
                
346
                    <h2>Local Vars</h2>
347
                
348
            </div>
349
            <table class="vars" id="v140296514636976">
350
              <thead>
351
                <tr>
352
                  <th>Variable</th>
353
                  <th>Value</th>
354
                </tr>
355
              </thead>
356
              <tbody>
357
                
358
                  <tr>
359
                    <td>clone</td>
360
                    <td class="code"><pre>[]</pre></td>
361
                  </tr>
362
                
363
                  <tr>
364
                    <td>num</td>
365
                    <td class="code"><pre>0</pre></td>
366
                  </tr>
367
                
368
                  <tr>
369
                    <td>self</td>
370
                    <td class="code"><pre>[]</pre></td>
371
                  </tr>
372
                
373
                  <tr>
374
                    <td>args</td>
375
                    <td class="code"><pre>()</pre></td>
376
                  </tr>
377
                
378
                  <tr>
379
                    <td>kwargs</td>
380
                    <td class="code"><pre>{}</pre></td>
381
                  </tr>
382
                
383
              </tbody>
384
            </table>
385
          
386
        </li>
387
      
388
    </ul>
389
  </div>
390
  
391
  <form action="http://dpaste.com/" name="pasteform" id="pasteform" method="post">
392

    
393

    
394

    
395
<div id="requestinfo">
396
  <h2>Request information</h2>
397

    
398

    
399
  <p>Request data not supplied</p>
400

    
401

    
402
  <h3 id="settings-info">Settings</h3>
403
  <h4>Using settings module <code></code></h4>
404
  <table class="req">
405
    <thead>
406
      <tr>
407
        <th>Setting</th>
408
        <th>Value</th>
409
      </tr>
410
    </thead>
411
    <tbody>
412
      
413
    </tbody>
414
  </table>
415

    
416
</div>
417

    
418
</body>
419
</html>