| 1 | |
|---|
| 2 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
|---|
| 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>UnicodeDecodeError at /djangoswf/gateway/</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 | table { border:1px solid #ccc; border-collapse: collapse; width:100%; background:white; } |
|---|
| 20 | tbody td, tbody th { vertical-align:top; padding:2px 3px; } |
|---|
| 21 | thead th { padding:1px 6px 1px 3px; background:#fefefe; text-align:left; font-weight:normal; font-size:11px; border:1px solid #ddd; } |
|---|
| 22 | tbody th { width:12em; text-align:right; color:#666; padding-right:.5em; } |
|---|
| 23 | table.vars { margin:5px 0 2px 40px; } |
|---|
| 24 | table.vars td, table.req td { font-family:monospace; } |
|---|
| 25 | table td.code { width:100%; } |
|---|
| 26 | table td.code div { overflow:hidden; } |
|---|
| 27 | table.source th { color:#666; } |
|---|
| 28 | table.source td { font-family:monospace; white-space:pre; border-bottom:1px solid #eee; } |
|---|
| 29 | ul.traceback { list-style-type:none; } |
|---|
| 30 | ul.traceback li.frame { margin-bottom:1em; } |
|---|
| 31 | div.context { margin: 10px 0; } |
|---|
| 32 | div.context ol { padding-left:30px; margin:0 10px; list-style-position: inside; } |
|---|
| 33 | div.context ol li { font-family:monospace; white-space:pre; color:#666; cursor:pointer; } |
|---|
| 34 | div.context ol.context-line li { color:black; background-color:#ccc; } |
|---|
| 35 | div.context ol.context-line li span { float: right; } |
|---|
| 36 | div.commands { margin-left: 40px; } |
|---|
| 37 | div.commands a { color:black; text-decoration:none; } |
|---|
| 38 | #summary { background: #ffc; } |
|---|
| 39 | #summary h2 { font-weight: normal; color: #666; } |
|---|
| 40 | #explanation { background:#eee; } |
|---|
| 41 | #template, #template-not-exist { background:#f6f6f6; } |
|---|
| 42 | #template-not-exist ul { margin: 0 0 0 20px; } |
|---|
| 43 | #unicode-hint { background:#eee; } |
|---|
| 44 | #traceback { background:#eee; } |
|---|
| 45 | #requestinfo { background:#f6f6f6; padding-left:120px; } |
|---|
| 46 | #summary table { border:none; background:transparent; } |
|---|
| 47 | #requestinfo h2, #requestinfo h3 { position:relative; margin-left:-100px; } |
|---|
| 48 | #requestinfo h3 { margin-bottom:-1em; } |
|---|
| 49 | .error { background: #ffc; } |
|---|
| 50 | .specific { color:#cc3300; font-weight:bold; } |
|---|
| 51 | </style> |
|---|
| 52 | <script type="text/javascript"> |
|---|
| 53 | //<!-- |
|---|
| 54 | function getElementsByClassName(oElm, strTagName, strClassName){ |
|---|
| 55 | // Written by Jonathan Snook, http://www.snook.ca/jon; Add-ons by Robert Nyman, http://www.robertnyman.com |
|---|
| 56 | var arrElements = (strTagName == "*" && document.all)? document.all : |
|---|
| 57 | oElm.getElementsByTagName(strTagName); |
|---|
| 58 | var arrReturnElements = new Array(); |
|---|
| 59 | strClassName = strClassName.replace(/\-/g, "\-"); |
|---|
| 60 | var oRegExp = new RegExp("(^|\s)" + strClassName + "(\s|$)"); |
|---|
| 61 | var oElement; |
|---|
| 62 | for(var i=0; i<arrElements.length; i++){ |
|---|
| 63 | oElement = arrElements[i]; |
|---|
| 64 | if(oRegExp.test(oElement.className)){ |
|---|
| 65 | arrReturnElements.push(oElement); |
|---|
| 66 | } |
|---|
| 67 | } |
|---|
| 68 | return (arrReturnElements) |
|---|
| 69 | } |
|---|
| 70 | function hideAll(elems) { |
|---|
| 71 | for (var e = 0; e < elems.length; e++) { |
|---|
| 72 | elems[e].style.display = 'none'; |
|---|
| 73 | } |
|---|
| 74 | } |
|---|
| 75 | window.onload = function() { |
|---|
| 76 | hideAll(getElementsByClassName(document, 'table', 'vars')); |
|---|
| 77 | hideAll(getElementsByClassName(document, 'ol', 'pre-context')); |
|---|
| 78 | hideAll(getElementsByClassName(document, 'ol', 'post-context')); |
|---|
| 79 | hideAll(getElementsByClassName(document, 'div', 'pastebin')); |
|---|
| 80 | } |
|---|
| 81 | function toggle() { |
|---|
| 82 | for (var i = 0; i < arguments.length; i++) { |
|---|
| 83 | var e = document.getElementById(arguments[i]); |
|---|
| 84 | if (e) { |
|---|
| 85 | e.style.display = e.style.display == 'none' ? 'block' : 'none'; |
|---|
| 86 | } |
|---|
| 87 | } |
|---|
| 88 | return false; |
|---|
| 89 | } |
|---|
| 90 | function varToggle(link, id) { |
|---|
| 91 | toggle('v' + id); |
|---|
| 92 | var s = link.getElementsByTagName('span')[0]; |
|---|
| 93 | var uarr = String.fromCharCode(0x25b6); |
|---|
| 94 | var darr = String.fromCharCode(0x25bc); |
|---|
| 95 | s.innerHTML = s.innerHTML == uarr ? darr : uarr; |
|---|
| 96 | return false; |
|---|
| 97 | } |
|---|
| 98 | function switchPastebinFriendly(link) { |
|---|
| 99 | s1 = "Switch to copy-and-paste view"; |
|---|
| 100 | s2 = "Switch back to interactive view"; |
|---|
| 101 | link.innerHTML = link.innerHTML == s1 ? s2 : s1; |
|---|
| 102 | toggle('browserTraceback', 'pastebinTraceback'); |
|---|
| 103 | return false; |
|---|
| 104 | } |
|---|
| 105 | //--> |
|---|
| 106 | </script> |
|---|
| 107 | </head> |
|---|
| 108 | <body> |
|---|
| 109 | |
|---|
| 110 | <div id="summary"> |
|---|
| 111 | <h1>UnicodeDecodeError at /djangoswf/gateway/</h1> |
|---|
| 112 | <h2>'ascii' codec can't decode byte 0xc3 in position 41: ordinal not in range(128)</h2> |
|---|
| 113 | <table class="meta"> |
|---|
| 114 | <tr> |
|---|
| 115 | <th>Request Method:</th> |
|---|
| 116 | <td>POST</td> |
|---|
| 117 | </tr> |
|---|
| 118 | <tr> |
|---|
| 119 | <th>Request URL:</th> |
|---|
| 120 | <td>http://collab-mactel.local:8000/djangoswf/gateway/</td> |
|---|
| 121 | </tr> |
|---|
| 122 | <tr> |
|---|
| 123 | <th>Exception Type:</th> |
|---|
| 124 | <td>UnicodeDecodeError</td> |
|---|
| 125 | </tr> |
|---|
| 126 | <tr> |
|---|
| 127 | <th>Exception Value:</th> |
|---|
| 128 | <td>'ascii' codec can't decode byte 0xc3 in position 41: ordinal not in range(128)</td> |
|---|
| 129 | </tr> |
|---|
| 130 | <tr> |
|---|
| 131 | <th>Exception Location:</th> |
|---|
| 132 | <td>/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/remoting/__init__.py in __repr__, line 206</td> |
|---|
| 133 | </tr> |
|---|
| 134 | <tr> |
|---|
| 135 | <th>Python Executable:</th> |
|---|
| 136 | <td>/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python</td> |
|---|
| 137 | </tr> |
|---|
| 138 | <tr> |
|---|
| 139 | <th>Python Version:</th> |
|---|
| 140 | <td>2.5.2</td> |
|---|
| 141 | </tr> |
|---|
| 142 | </table> |
|---|
| 143 | </div> |
|---|
| 144 | |
|---|
| 145 | <div id="unicode-hint"> |
|---|
| 146 | <h2>Unicode error hint</h2> |
|---|
| 147 | <p>The string that could not be encoded/decoded was: <strong>nt: Nᅵᅵᅵᅵmᅵ</strong></p> |
|---|
| 148 | </div> |
|---|
| 149 | |
|---|
| 150 | |
|---|
| 151 | |
|---|
| 152 | <div id="traceback"> |
|---|
| 153 | <h2>Traceback <span>(innermost last)</span></h2> |
|---|
| 154 | <div class="commands"><a href="#" onclick="return switchPastebinFriendly(this);">Switch to copy-and-paste view</a></div> |
|---|
| 155 | <br/> |
|---|
| 156 | <div id="browserTraceback"> |
|---|
| 157 | <ul class="traceback"> |
|---|
| 158 | |
|---|
| 159 | <li class="frame"> |
|---|
| 160 | <code>/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/django/core/handlers/base.py</code> in <code>get_response</code> |
|---|
| 161 | |
|---|
| 162 | |
|---|
| 163 | <div class="context" id="c27376256"> |
|---|
| 164 | |
|---|
| 165 | <ol start="74" class="pre-context" id="pre27376256"><li onclick="toggle('pre27376256', 'post27376256')"> # Apply view middleware</li><li onclick="toggle('pre27376256', 'post27376256')"> for middleware_method in self._view_middleware:</li><li onclick="toggle('pre27376256', 'post27376256')"> response = middleware_method(request, callback, callback_args, callback_kwargs)</li><li onclick="toggle('pre27376256', 'post27376256')"> if response:</li><li onclick="toggle('pre27376256', 'post27376256')"> return response</li><li onclick="toggle('pre27376256', 'post27376256')"></li><li onclick="toggle('pre27376256', 'post27376256')"> try:</li></ol> |
|---|
| 166 | |
|---|
| 167 | <ol start="81" class="context-line"><li onclick="toggle('pre27376256', 'post27376256')"> response = callback(request, *callback_args, **callback_kwargs) <span>...</span></li></ol> |
|---|
| 168 | |
|---|
| 169 | <ol start='82' class="post-context" id="post27376256"><li onclick="toggle('pre27376256', 'post27376256')"> except Exception, e:</li><li onclick="toggle('pre27376256', 'post27376256')"> # If the view raised an exception, run it through exception</li><li onclick="toggle('pre27376256', 'post27376256')"> # middleware, and if the exception middleware returns a</li><li onclick="toggle('pre27376256', 'post27376256')"> # response, use that. Otherwise, reraise the exception.</li><li onclick="toggle('pre27376256', 'post27376256')"> for middleware_method in self._exception_middleware:</li><li onclick="toggle('pre27376256', 'post27376256')"> response = middleware_method(request, e)</li></ol> |
|---|
| 170 | |
|---|
| 171 | </div> |
|---|
| 172 | |
|---|
| 173 | |
|---|
| 174 | |
|---|
| 175 | <div class="commands"> |
|---|
| 176 | <a href="#" onclick="return varToggle(this, '27376256')"><span>▶</span> Local vars</a> |
|---|
| 177 | </div> |
|---|
| 178 | <table class="vars" id="v27376256"> |
|---|
| 179 | <thead> |
|---|
| 180 | <tr> |
|---|
| 181 | <th>Variable</th> |
|---|
| 182 | <th>Value</th> |
|---|
| 183 | </tr> |
|---|
| 184 | </thead> |
|---|
| 185 | <tbody> |
|---|
| 186 | |
|---|
| 187 | <tr> |
|---|
| 188 | <td>callback</td> |
|---|
| 189 | <td class="code"><div><pyamf.remoting.gateway.django.DjangoGateway object at 0x1bb0670></div></td> |
|---|
| 190 | </tr> |
|---|
| 191 | |
|---|
| 192 | <tr> |
|---|
| 193 | <td>callback_args</td> |
|---|
| 194 | <td class="code"><div>()</div></td> |
|---|
| 195 | </tr> |
|---|
| 196 | |
|---|
| 197 | <tr> |
|---|
| 198 | <td>callback_kwargs</td> |
|---|
| 199 | <td class="code"><div>{}</div></td> |
|---|
| 200 | </tr> |
|---|
| 201 | |
|---|
| 202 | <tr> |
|---|
| 203 | <td>debug</td> |
|---|
| 204 | <td class="code"><div><module 'django.views.debug' from '/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/django/views/debug.pyc'></div></td> |
|---|
| 205 | </tr> |
|---|
| 206 | |
|---|
| 207 | <tr> |
|---|
| 208 | <td>e</td> |
|---|
| 209 | <td class="code"><div>UnicodeDecodeError('ascii', '<AcknowledgeMessage body=[<Department: N\xc3\xa9\xc3\xa8m\xc8\xb3sf\xc5\x8dti\xc3\x98>] timestamp=1210622294 destination=None clientId=1ccf5f1c-5507-49b7-9425-4b055723c3e4 headers={} timeToLive=0 messageId=688840f7-593f-4b10-b7ba-51d605215689', 41, 42, 'ordinal not in range(128)')</div></td> |
|---|
| 210 | </tr> |
|---|
| 211 | |
|---|
| 212 | <tr> |
|---|
| 213 | <td>exceptions</td> |
|---|
| 214 | <td class="code"><div><module 'django.core.exceptions' from '/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/django/core/exceptions.pyc'></div></td> |
|---|
| 215 | </tr> |
|---|
| 216 | |
|---|
| 217 | <tr> |
|---|
| 218 | <td>mail_admins</td> |
|---|
| 219 | <td class="code"><div><function mail_admins at 0x1811230></div></td> |
|---|
| 220 | </tr> |
|---|
| 221 | |
|---|
| 222 | <tr> |
|---|
| 223 | <td>middleware_method</td> |
|---|
| 224 | <td class="code"><div><bound method XViewMiddleware.process_view of <django.middleware.doc.XViewMiddleware object at 0x180bf10>></div></td> |
|---|
| 225 | </tr> |
|---|
| 226 | |
|---|
| 227 | <tr> |
|---|
| 228 | <td>request</td> |
|---|
| 229 | <td class="code"><div><WSGIRequest |
|---|
| 230 | GET:<QueryDict: {}>, |
|---|
| 231 | POST:<QueryDict: {u'\x00\x03\x00\x00\x00\x01\x00\x04null\x00\x02/2\x00\x00\x00\ufffd\x01\x11\n\ufffd\x13Oflex.messaging.messages.RemotingMessage\x13operation\rsource\x11clientId\tbody\x13timestamp\x15timeToLive\x13messageId\x17destination\x0fheaders\x06#getAllDepartments\x06\x19usersGateway\x01\t\x01\x01\x04\x00\x04\x00\x06IC97DEAA3-66B5-500E-F54A-DEB63743AC4B\x06\ttest\n\x0b\x01\x15DSEndpoint\x06\x11my-pyamf\tDSId\x06\x07nil\x01': [u'']}>, |
|---|
| 232 | COOKIES:{}, |
|---|
| 233 | META:{'Apple_PubSub_Socket_Render': '/tmp/launch-Me9ogQ/Render', |
|---|
| 234 | 'CLASSPATH': '/usr/local/antlr/lib/antlr-3.0.jar:/usr/local/antlr/lib/antlr-2.7.7.jar:/usr/local/antlr/lib/antlr-runtime-3.0.jar:/usr/local/antlr/lib/stringtemplate-3.0.jar', |
|---|
| 235 | 'COMMAND_MODE': 'unix2003', |
|---|
| 236 | 'CONTENT_LENGTH': '271', |
|---|
| 237 | 'CONTENT_TYPE': 'application/x-amf', |
|---|
| 238 | 'DISPLAY': '/tmp/launch-lZSEup/:0', |
|---|
| 239 | 'DJANGO_SETTINGS_MODULE': 'djangoswf.settings', |
|---|
| 240 | 'FLEX_HOME': '/Developer/SDKs/flex3', |
|---|
| 241 | 'GATEWAY_INTERFACE': 'CGI/1.1', |
|---|
| 242 | 'HOME': '/Users/thijstriemstra', |
|---|
| 243 | 'HTTP_ACCEPT': 'HTTP Accept=HTTP Accept=HTTP Accept=HTTP Accept=HTTP Accept=HTTP Accept=HTTP Accept=text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5', |
|---|
| 244 | 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', |
|---|
| 245 | 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', |
|---|
| 246 | 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', |
|---|
| 247 | 'HTTP_HOST': 'collab-mactel.local:8000', |
|---|
| 248 | 'HTTP_KEEP_ALIVE': '300', |
|---|
| 249 | 'HTTP_REFERER': 'file://localhost/Users/thijstriemstra/Sites/workspace/pyamf-temp2/login/bin-debug/djangoswf.swf', |
|---|
| 250 | 'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14', |
|---|
| 251 | 'JAVA_HOME': '/System/Library/Frameworks/JavaVM.framework/Home', |
|---|
| 252 | 'LANG': 'nl_NL.UTF-8', |
|---|
| 253 | 'LOGNAME': 'thijstriemstra', |
|---|
| 254 | 'MANPATH': '/usr/share/man:/usr/local/share/man:/usr/X11/man', |
|---|
| 255 | 'OLDPWD': '/Users/thijstriemstra', |
|---|
| 256 | 'PAIR': '/Volumes/collab1/Sites/software/pair/trunk', |
|---|
| 257 | 'PATH': '/Library/Frameworks/Python.framework/Versions/Current/bin:/usr/local/graphviz/bin:/Volumes/collab1/eclipse/workspace1/pair/svn/pair/trunk/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/ssl:/usr/local/bin/:/usr/local/maven-2.0.6/bin/:/Developer/SDKs/flex3', |
|---|
| 258 | 'PATH_INFO': '/djangoswf/gateway/', |
|---|
| 259 | 'PWD': '/Users/thijstriemstra/Downloads/djangoswf', |
|---|
| 260 | 'PYTHONPATH': ':/Volumes/collab1/Sites/software/tape/tape/trunk:/Volumes/collab1/Sites/software/tracamf/tracamf/trunk:/Users/thijstriemstra/Sites/rtmpy/rtmpy/branches/solid-channels:/Users/thijstriemstra/Sites/pyamf/pyamf/trunk:/Volumes/collab1/eclipse/workspace1/pair/svn/pair/trunk:/Volumes/collab1/Sites/software/pyflv/trunk:/Volumes/collab1/Sites/software/twisted/trunk:/Volumes/collab1/Sites/software/trac:/Volumes/collab1/Sites/software/sqlalchemy/lib:/Volumes/collab1/Sites/software/django:/Volumes/collab1/Sites/software/buildbot:/Volumes/collab1/Sites/software/pyglet:/usr/local/lib/python2.5/site-packages/gtk-2.0:/usr/local/lib/python2.5/site-packages', |
|---|
| 261 | 'QUERY_STRING': '', |
|---|
| 262 | 'REMOTE_ADDR': '192.168.1.103', |
|---|
| 263 | 'REMOTE_HOST': '', |
|---|
| 264 | 'REQUEST_METHOD': 'POST', |
|---|
| 265 | 'RUN_MAIN': 'true', |
|---|
| 266 | 'SCRIPT_NAME': '', |
|---|
| 267 | 'SECURITYSESSIONID': 'd1caf0', |
|---|
| 268 | 'SERVER_NAME': '192.168.1.103', |
|---|
| 269 | 'SERVER_PORT': '8000', |
|---|
| 270 | 'SERVER_PROTOCOL': 'HTTP/1.1', |
|---|
| 271 | 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.5.2', |
|---|
| 272 | 'SHELL': '/bin/bash', |
|---|
| 273 | 'SHLVL': '1', |
|---|
| 274 | 'SSH_AUTH_SOCK': '/tmp/launch-L8yYuc/Listeners', |
|---|
| 275 | 'SVN_EDITOR': 'nano', |
|---|
| 276 | 'TERM': 'xterm-color', |
|---|
| 277 | 'TERM_PROGRAM': 'Apple_Terminal', |
|---|
| 278 | 'TERM_PROGRAM_VERSION': '240', |
|---|
| 279 | 'TMPDIR': '/var/folders/19/19LcQO4hHs8lWkK6nAZHnU+++TI/-Tmp-/', |
|---|
| 280 | 'TZ': 'America/Chicago', |
|---|
| 281 | 'USER': 'thijstriemstra', |
|---|
| 282 | '_': '/Library/Frameworks/Python.framework/Versions/Current/bin/python', |
|---|
| 283 | '__CF_USER_TEXT_ENCODING': '0x1F5:0:0', |
|---|
| 284 | 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x160b0>, |
|---|
| 285 | 'wsgi.file_wrapper': <class 'django.core.servers.basehttp.FileWrapper'>, |
|---|
| 286 | 'wsgi.input': <socket._fileobject object at 0x1a47970>, |
|---|
| 287 | 'wsgi.multiprocess': False, |
|---|
| 288 | 'wsgi.multithread': True, |
|---|
| 289 | 'wsgi.run_once': False, |
|---|
| 290 | 'wsgi.url_scheme': 'http', |
|---|
| 291 | 'wsgi.version': (1, 0)}></div></td> |
|---|
| 292 | </tr> |
|---|
| 293 | |
|---|
| 294 | <tr> |
|---|
| 295 | <td>resolver</td> |
|---|
| 296 | <td class="code"><div><RegexURLResolver djangoswf.urls ^/></div></td> |
|---|
| 297 | </tr> |
|---|
| 298 | |
|---|
| 299 | <tr> |
|---|
| 300 | <td>response</td> |
|---|
| 301 | <td class="code"><div>None</div></td> |
|---|
| 302 | </tr> |
|---|
| 303 | |
|---|
| 304 | <tr> |
|---|
| 305 | <td>self</td> |
|---|
| 306 | <td class="code"><div><django.core.handlers.wsgi.WSGIHandler object at 0xc989b0></div></td> |
|---|
| 307 | </tr> |
|---|
| 308 | |
|---|
| 309 | <tr> |
|---|
| 310 | <td>settings</td> |
|---|
| 311 | <td class="code"><div><django.conf.LazySettings object at 0x978c50></div></td> |
|---|
| 312 | </tr> |
|---|
| 313 | |
|---|
| 314 | <tr> |
|---|
| 315 | <td>urlconf</td> |
|---|
| 316 | <td class="code"><div>u'djangoswf.urls'</div></td> |
|---|
| 317 | </tr> |
|---|
| 318 | |
|---|
| 319 | <tr> |
|---|
| 320 | <td>urlresolvers</td> |
|---|
| 321 | <td class="code"><div><module 'django.core.urlresolvers' from '/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/django/core/urlresolvers.pyc'></div></td> |
|---|
| 322 | </tr> |
|---|
| 323 | |
|---|
| 324 | </tbody> |
|---|
| 325 | </table> |
|---|
| 326 | |
|---|
| 327 | </li> |
|---|
| 328 | |
|---|
| 329 | <li class="frame"> |
|---|
| 330 | <code>/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/remoting/__init__.py</code> in <code>__repr__</code> |
|---|
| 331 | |
|---|
| 332 | |
|---|
| 333 | <div class="context" id="c16577040"> |
|---|
| 334 | |
|---|
| 335 | <ol start="123" class="pre-context" id="pre16577040"><li onclick="toggle('pre16577040', 'post16577040')"> r = "<Envelope amfVersion=%s clientType=%s>\n" % (</li><li onclick="toggle('pre16577040', 'post16577040')"> self.amfVersion, self.clientType)</li><li onclick="toggle('pre16577040', 'post16577040')"></li><li onclick="toggle('pre16577040', 'post16577040')"> for h in self.headers:</li><li onclick="toggle('pre16577040', 'post16577040')"> r += " " + repr(h) + "\n"</li><li onclick="toggle('pre16577040', 'post16577040')"></li><li onclick="toggle('pre16577040', 'post16577040')"> for request in iter(self):</li></ol> |
|---|
| 336 | |
|---|
| 337 | <ol start="130" class="context-line"><li onclick="toggle('pre16577040', 'post16577040')"> r += " " + repr(request) + "\n" <span>...</span></li></ol> |
|---|
| 338 | |
|---|
| 339 | <ol start='131' class="post-context" id="post16577040"><li onclick="toggle('pre16577040', 'post16577040')"></li><li onclick="toggle('pre16577040', 'post16577040')"> r += "</Envelope>"</li><li onclick="toggle('pre16577040', 'post16577040')"></li><li onclick="toggle('pre16577040', 'post16577040')"> return r</li><li onclick="toggle('pre16577040', 'post16577040')"></li><li onclick="toggle('pre16577040', 'post16577040')"> def __setitem__(self, idx, value):</li></ol> |
|---|
| 340 | |
|---|
| 341 | </div> |
|---|
| 342 | |
|---|
| 343 | |
|---|
| 344 | |
|---|
| 345 | <div class="commands"> |
|---|
| 346 | <a href="#" onclick="return varToggle(this, '16577040')"><span>▶</span> Local vars</a> |
|---|
| 347 | </div> |
|---|
| 348 | <table class="vars" id="v16577040"> |
|---|
| 349 | <thead> |
|---|
| 350 | <tr> |
|---|
| 351 | <th>Variable</th> |
|---|
| 352 | <th>Value</th> |
|---|
| 353 | </tr> |
|---|
| 354 | </thead> |
|---|
| 355 | <tbody> |
|---|
| 356 | |
|---|
| 357 | <tr> |
|---|
| 358 | <td>r</td> |
|---|
| 359 | <td class="code"><div>u'<Envelope amfVersion=0 clientType=3>\n'</div></td> |
|---|
| 360 | </tr> |
|---|
| 361 | |
|---|
| 362 | <tr> |
|---|
| 363 | <td>request</td> |
|---|
| 364 | <td class="code"><div>Error in formatting: 'ascii' codec can't decode byte 0xc3 in position 41: ordinal not in range(128)</div></td> |
|---|
| 365 | </tr> |
|---|
| 366 | |
|---|
| 367 | <tr> |
|---|
| 368 | <td>self</td> |
|---|
| 369 | <td class="code"><div>Error in formatting: 'ascii' codec can't decode byte 0xc3 in position 41: ordinal not in range(128)</div></td> |
|---|
| 370 | </tr> |
|---|
| 371 | |
|---|
| 372 | </tbody> |
|---|
| 373 | </table> |
|---|
| 374 | |
|---|
| 375 | </li> |
|---|
| 376 | |
|---|
| 377 | <li class="frame"> |
|---|
| 378 | <code>/Users/thijstriemstra/Sites/pyamf/pyamf/trunk/pyamf/remoting/__init__.py</code> in <code>__repr__</code> |
|---|
| 379 | |
|---|
| 380 | |
|---|
| 381 | <div class="context" id="c16576760"> |
|---|
| 382 | |
|---|
| 383 | <ol start="199" class="pre-context" id="pre16576760"><li onclick="toggle('pre16576760', 'post16576760')"> Message.__init__(self, envelope, body)</li><li onclick="toggle('pre16576760', 'post16576760')"></li><li onclick="toggle('pre16576760', 'post16576760')"> self.status = status</li><li onclick="toggle('pre16576760', 'post16576760')"></li><li onclick="toggle('pre16576760', 'post16576760')"> def __repr__(self):</li><li onclick="toggle('pre16576760', 'post16576760')"> return "<%s status=%s>%s</%s>" % (</li><li onclick="toggle('pre16576760', 'post16576760')"> type(self).__name__, _get_status(self.status), self.body,</li></ol> |
|---|
| 384 | |
|---|
| 385 | <ol start="206" class="context-line"><li onclick="toggle('pre16576760', 'post16576760')"> type(self).__name__) <span>...</span></li></ol> |
|---|
| 386 | |
|---|
| 387 | <ol start='207' class="post-context" id="post16576760"><li onclick="toggle('pre16576760', 'post16576760')"></li><li onclick="toggle('pre16576760', 'post16576760')">class BaseFault(object):</li><li onclick="toggle('pre16576760', 'post16576760')"> """</li><li onclick="toggle('pre16576760', 'post16576760')"> I represent a Fault message (C{mx.rpc.Fault}).</li><li onclick="toggle('pre16576760', 'post16576760')"></li><li onclick="toggle('pre16576760', 'post16576760')"> @ivar level: The level of the fault.</li></ol> |
|---|
| 388 | |
|---|
| 389 | </div> |
|---|
| 390 | |
|---|
| 391 | |
|---|
| 392 | |
|---|
| 393 | <div class="commands"> |
|---|
| 394 | <a href="#" onclick="return varToggle(this, '16576760')"><span>▶</span> Local vars</a> |
|---|
| 395 | </div> |
|---|
| 396 | <table class="vars" id="v16576760"> |
|---|
| 397 | <thead> |
|---|
| 398 | <tr> |
|---|
| 399 | <th>Variable</th> |
|---|
| 400 | <th>Value</th> |
|---|
| 401 | </tr> |
|---|
| 402 | </thead> |
|---|
| 403 | <tbody> |
|---|
| 404 | |
|---|
| 405 | <tr> |
|---|
| 406 | <td>self</td> |
|---|
| 407 | <td class="code"><div>Error in formatting: 'ascii' codec can't decode byte 0xc3 in position 41: ordinal not in range(128)</div></td> |
|---|
| 408 | </tr> |
|---|
| 409 | |
|---|
| 410 | </tbody> |
|---|
| 411 | usersGateway </able> |
|---|
| 412 | |
|---|
| 413 | </lIC97DEAA3-66B5-500E-F54A-DEB63743AC4Bi test |
|---|
| 414 | > |
|---|
| 415 | DSEndpoint my-pyamf DSId "><div>u''</div></td> |
|---|
| 416 | </tr> |
|---|
| 417 | |
|---|
| 418 | </tbody> |
|---|
| 419 | </table> |
|---|
| 420 | |
|---|
| 421 | |
|---|
| 422 | <h3 id="cookie-info">COOKIES</h3> |
|---|
| 423 | |
|---|
| 424 | <p>No cookie data</p> |
|---|
| 425 | |
|---|
| 426 | |
|---|
| 427 | <h3 id="meta-info">META</h3> |
|---|
| 428 | <table class="req"> |
|---|
| 429 | <thead> |
|---|
| 430 | <tr> |
|---|
| 431 | <th>Variable</th> |
|---|
| 432 | <th>Value</th> |
|---|
| 433 | </tr> |
|---|
| 434 | </thead> |
|---|
| 435 | <tbody> |
|---|
| 436 | |
|---|
| 437 | <tr> |
|---|
| 438 | <td>Apple_PubSub_Socket_Render</td> |
|---|
| 439 | <td class="code"><div>u'/tmp/launch-Me9ogQ/Render'</div></td> |
|---|
| 440 | </tr> |
|---|
| 441 | |
|---|
| 442 | <tr> |
|---|
| 443 | <td>CLASSPATH</td> |
|---|
| 444 | <td class="code"><div>u'/usr/local/antlr/lib/antlr-3.0.jar:/usr/local/antlr/lib/antlr-2.7.7.jar:/usr/local/antlr/lib/antlr-runtime-3.0.jar:/usr/local/antlr/lib/stringtemplate-3.0.jar'</div></td> |
|---|
| 445 | </tr> |
|---|
| 446 | |
|---|
| 447 | <tr> |
|---|
| 448 | <td>COMMAND_MODE</td> |
|---|
| 449 | <td class="code"><div>u'unix2003'</div></td> |
|---|
| 450 | </tr> |
|---|
| 451 | |
|---|
| 452 | <tr> |
|---|
| 453 | <td>CONTENT_LENGTH</td> |
|---|
| 454 | <td class="code"><div>u'271'</div></td> |
|---|
| 455 | </tr> |
|---|
| 456 | |
|---|
| 457 | <tr> |
|---|
| 458 | <td>CONTENT_TYPE</td> |
|---|
| 459 | <td class="code"><div>u'application/x-amf'</div></td> |
|---|
| 460 | </tr> |
|---|
| 461 | |
|---|
| 462 | <tr> |
|---|
| 463 | <td>DISPLAY</td> |
|---|
| 464 | <td class="code"><div>u'/tmp/launch-lZSEup/:0'</div></td> |
|---|
| 465 | </tr> |
|---|
| 466 | |
|---|
| 467 | <tr> |
|---|
| 468 | <td>DJANGO_SETTINGS_MODULE</td> |
|---|
| 469 | <td class="code"><div>u'djangoswf.settings'</div></td> |
|---|
| 470 | </tr> |
|---|
| 471 | |
|---|
| 472 | <tr> |
|---|
| 473 | <td>FLEX_HOME</td> |
|---|
| 474 | <td class="code"><div>u'/Developer/SDKs/flex3'</div></td> |
|---|
| 475 | </tr> |
|---|
| 476 | |
|---|
| 477 | <tr> |
|---|
| 478 | <td>GATEWAY_INTERFACE</td> |
|---|
| 479 | <td class="code"><div>u'CGI/1.1'</div></td> |
|---|
| 480 | </tr> |
|---|
| 481 | |
|---|
| 482 | <tr> |
|---|
| 483 | <td>HOME</td> |
|---|
| 484 | <td class="code"><div>u'/Users/thijstriemstra'</div></td> |
|---|
| 485 | </tr> |
|---|
| 486 | |
|---|
| 487 | <tr> |
|---|
| 488 | <td>HTTP_ACCEPT</td> |
|---|
| 489 | <td class="code"><div>u'HTTP Accept=HTTP Accept=HTTP Accept=HTTP Accept=HTTP Accept=HTTP Accept=HTTP Accept=text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5'</div></td> |
|---|
| 490 | </tr> |
|---|
| 491 | |
|---|
| 492 | <tr> |
|---|
| 493 | <td>HTTP_ACCEPT_CHARSET</td> |
|---|
| 494 | <td class="code"><div>u'ISO-8859-1,utf-8;q=0.7,*;q=0.7'</div></td> |
|---|
| 495 | </tr> |
|---|
| 496 | |
|---|
| 497 | <tr> |
|---|
| 498 | <td>HTTP_ACCEPT_ENCODING</td> |
|---|
| 499 | <td class="code"><div>u'gzip,deflate'</div></td> |
|---|
| 500 | </tr> |
|---|
| 501 | |
|---|
| 502 | <tr> |
|---|
| 503 | <td>HTTP_ACCEPT_LANGUAGE</td> |
|---|
| 504 | <td class="code"><div>u'en-us,en;q=0.5'</div></td> |
|---|
| 505 | </tr> |
|---|
| 506 | |
|---|
| 507 | <tr> |
|---|
| 508 | <td>HTTP_HOST</td> |
|---|
| 509 | <td class="code"><div>u'collab-mactel.local:8000'</div></td> |
|---|
| 510 | </tr> |
|---|
| 511 | |
|---|
| 512 | <tr> |
|---|
| 513 | <td>HTTP_KEEP_ALIVE</td> |
|---|
| 514 | <td class="code"><div>u'300'</div></td> |
|---|
| 515 | </tr> |
|---|
| 516 | |
|---|
| 517 | <tr> |
|---|
| 518 | <td>HTTP_REFERER</td> |
|---|
| 519 | <td class="code"><div>u'file://localhost/Users/thijstriemstra/Sites/workspace/pyamf-temp2/login/bin-debug/djangoswf.swf'</div></td> |
|---|
| 520 | </tr> |
|---|
| 521 | |
|---|
| 522 | <tr> |
|---|
| 523 | <td>HTTP_USER_AGENT</td> |
|---|
| 524 | <td class="code"><div>u'Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14'</div></td> |
|---|
| 525 | </tr> |
|---|
| 526 | |
|---|
| 527 | <tr> |
|---|
| 528 | <td>JAVA_HOME</td> |
|---|
| 529 | <td class="code"><div>u'/System/Library/Frameworks/JavaVM.framework/Home'</div></td> |
|---|
| 530 | </tr> |
|---|
| 531 | |
|---|
| 532 | <tr> |
|---|
| 533 | <td>LANG</td> |
|---|
| 534 | <td class="code"><div>u'nl_NL.UTF-8'</div></td> |
|---|
| 535 | </tr> |
|---|
| 536 | |
|---|
| 537 | <tr> |
|---|
| 538 | <td>LOGNAME</td> |
|---|
| 539 | <td class="code"><div>u'thijstriemstra'</div></td> |
|---|
| 540 | </tr> |
|---|
| 541 | |
|---|
| 542 | <tr> |
|---|
| 543 | <td>MANPATH</td> |
|---|
| 544 | <td class="code"><div>u'/usr/share/man:/usr/local/share/man:/usr/X11/man'</div></td> |
|---|
| 545 | </tr> |
|---|
| 546 | |
|---|
| 547 | <tr> |
|---|
| 548 | <td>OLDPWD</td> |
|---|
| 549 | <td class="code"><div>u'/Users/thijstriemstra'</div></td> |
|---|
| 550 | </tr> |
|---|
| 551 | |
|---|
| 552 | <tr> |
|---|
| 553 | <td>PAIR</td> |
|---|
| 554 | <td class="code"><div>u'/Volumes/collab1/Sites/software/pair/trunk'</div></td> |
|---|
| 555 | </tr> |
|---|
| 556 | |
|---|
| 557 | <tr> |
|---|
| 558 | <td>PATH</td> |
|---|
| 559 | <td class="code"><div>u'/Library/Frameworks/Python.framework/Versions/Current/bin:/usr/local/graphviz/bin:/Volumes/collab1/eclipse/workspace1/pair/svn/pair/trunk/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/ssl:/usr/local/bin/:/usr/local/maven-2.0.6/bin/:/Developer/SDKs/flex3'</div></td> |
|---|
| 560 | </tr> |
|---|
| 561 | |
|---|
| 562 | <tr> |
|---|
| 563 | <td>PATH_INFO</td> |
|---|
| 564 | <td class="code"><div>u'/djangoswf/gateway/'</div></td> |
|---|
| 565 | </tr> |
|---|
| 566 | |
|---|
| 567 | <tr> |
|---|
| 568 | <td>PWD</td> |
|---|
| 569 | <td class="code"><div>u'/Users/thijstriemstra/Downloads/djangoswf'</div></td> |
|---|
| 570 | </tr> |
|---|
| 571 | |
|---|
| 572 | <tr> |
|---|
| 573 | <td>PYTHONPATH</td> |
|---|
| 574 | <td class="code"><div>u':/Volumes/collab1/Sites/software/tape/tape/trunk:/Volumes/collab1/Sites/software/tracamf/tracamf/trunk:/Users/thijstriemstra/Sites/rtmpy/rtmpy/branches/solid-channels:/Users/thijstriemstra/Sites/pyamf/pyamf/trunk:/Volumes/collab1/eclipse/workspace1/pair/svn/pair/trunk:/Volumes/collab1/Sites/software/pyflv/trunk:/Volumes/collab1/Sites/software/twisted/trunk:/Volumes/collab1/Sites/software/trac:/Volumes/collab1/Sites/software/sqlalchemy/lib:/Volumes/collab1/Sites/software/django:/Volumes/collab1/Sites/software/buildbot:/Volumes/collab1/Sites/software/pyglet:/usr/local/lib/python2.5/site-packages/gtk-2.0:/usr/local/lib/python2.5/site-packages'</div></td> |
|---|
| 575 | </tr> |
|---|
| 576 | |
|---|
| 577 | <tr> |
|---|
| 578 | <td>QUERY_STRING</td> |
|---|
| 579 | <td class="code"><div>u''</div></td> |
|---|
| 580 | </tr> |
|---|
| 581 | |
|---|
| 582 | <tr> |
|---|
| 583 | <td>REMOTE_ADDR</td> |
|---|
| 584 | <td class="code"><div>u'192.168.1.103'</div></td> |
|---|
| 585 | </tr> |
|---|
| 586 | |
|---|
| 587 | <tr> |
|---|
| 588 | <td>REMOTE_HOST</td> |
|---|
| 589 | <td class="code"><div>u''</div></td> |
|---|
| 590 | </tr> |
|---|
| 591 | |
|---|
| 592 | <tr> |
|---|
| 593 | <td>REQUEST_METHOD</td> |
|---|
| 594 | <td class="code"><div>u'POST'</div></td> |
|---|
| 595 | </tr> |
|---|
| 596 |
|---|