| 1 | (dp1 |
|---|
| 2 | S'output' |
|---|
| 3 | p2 |
|---|
| 4 | S"<type 'exceptions.TypeError'> unbound method xml() must be called with HR instance as first argument (got nothing instead)" |
|---|
| 5 | p3 |
|---|
| 6 | sS'layer' |
|---|
| 7 | p4 |
|---|
| 8 | S'/home/jdalbey/Dropbox/web2py/applications/HLD/views/default/results.html' |
|---|
| 9 | p5 |
|---|
| 10 | sS'code' |
|---|
| 11 | p6 |
|---|
| 12 | S'response.write(\'<!DOCTYPE html>\\n<!--[if (gt IE 9)|!(IE)]><!--> <html class="no-js" lang="\', escape=False)\nresponse.write(T.accepted_language or \'en\')\nresponse.write(\'"> <!--<![endif]-->\\n <head>\\n <meta charset="utf-8">\\n <!-- www.phpied.com/conditional-comments-block-downloads/ -->\\n <!-- Always force latest IE rendering engine\\n (even in intranet) & Chrome Frame\\n Remove this if you use the .htaccess -->\\n <meta http-equiv="X-UA-Compatible" content="IE=edge\', escape=False)\nresponse.write(not request.is_local and \',chrome=1\' or \'\')\nresponse.write(\'">\\n <!-- Mobile Viewport Fix\\n j.mp/mobileviewport & davidbcalhoun.com/2010/viewport-metatag\\n device-width: Occupy full width of the screen in its current orientation\\n initial-scale = 1.0 retains dimensions instead of zooming out if page height > device height\\n user-scalable = yes allows the user to zoom in -->\\n <meta name="viewport" content="width=device-width, initial-scale=1.0">\\n <title>\', escape=False)\nresponse.write(response.title or request.application)\nresponse.write(\'</title>\\n <!-- http://dev.w3.org/html5/markup/meta.name.html -->\\n <meta name="application-name" content="\', escape=False)\nresponse.write(request.application)\nresponse.write(\'">\\n <!-- Speaking of Google, don\\\'t forget to set your site up:\\n http://google.com/webmasters -->\\n <meta name="google-site-verification" content="">\\n <!-- include stylesheets -->\\n <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"/>\\n <link rel="stylesheet" href="\', escape=False)\nresponse.write(URL(\'static\',\'css/bootstrap.min.css\'))\nresponse.write(\'"/>\\n <link rel="stylesheet" href="\', escape=False)\nresponse.write(URL(\'static\',\'css/web2py-bootstrap4.css\'))\nresponse.write(\'"/>\\n <link rel="shortcut icon" href="\', escape=False)\nresponse.write(URL(\'static\',\'images/favicon.ico\'))\nresponse.write(\'" type="image/x-icon">\\n <link rel="apple-touch-icon" href="\', escape=False)\nresponse.write(URL(\'static\',\'images/favicon.png\'))\nresponse.write(\'">\\n <!-- All JavaScript at the bottom, except for Modernizr which enables\\n HTML5 elements & feature detects -->\\n <script src="\', escape=False)\nresponse.write(URL(\'static\',\'js/modernizr-2.8.3.min.js\'))\nresponse.write(\'"></script>\\n <!-- Favicons -->\\n \', escape=False)\nresponse.write(\'<script type="text/javascript"><!--\\n // These variables are used by the web2py_ajax_init function in web2py_ajax.js (which is loaded below).\\n \', escape=False)\nresponse.write(ASSIGNJS(\nw2p_ajax_confirm_message = T(\'Are you sure you want to delete this object?\'),\nw2p_ajax_disable_with_message = T(\'Working...\'),\nw2p_ajax_date_format = T(\'%Y-%m-%d\'),\nw2p_ajax_datetime_format = T(\'%Y-%m-%d %H:%M:%S\'),\najax_error_500 = T.M(\'An error occured, please [[reload %s]] the page\') % URL(args=request.args, vars=request.get_vars)\n))\nresponse.write(\'\\n //--></script>\\n\', escape=False)\nresponse.files.insert(0,URL(\'static\',\'js/jquery.js\'))\nresponse.files.insert(1,URL(\'static\',\'css/calendar.css\'))\nresponse.files.insert(2,URL(\'static\',\'js/calendar.js\'))\nresponse.files.insert(3,URL(\'static\',\'js/web2py.js\'))\nresponse.include_meta()\nresponse.include_files()\nresponse.write(\'\\n\', escape=False)\nresponse.write(\' <!-- this includes jquery.js, calendar.js/.css and web2py.js -->\\n \', escape=False)\nresponse.write(\'\\n </head>\\n <body>\\n <div class="w2p_flash alert alert-dismissable">\', escape=False)\nresponse.write(response.flash or \'\')\nresponse.write(\'</div>\\n <div class="container" id="banner">\\n <div class="title">\\n <h2>\\n Lane Closure System\\n </h2>\\n </div>\\n <div class = "toplinks">\\n Help Logout\\n </div>\\n </div>\\n</div>\\n <!-- Navbar ======================================= -->\\n <nav class="navbar navbar-light navbar-expand-md bg-faded bg-dark navbar-dark justify-content-center">\\n <a href="http://dev.tmcacad.com:8888" class="navbar-brand d-flex w-50 mr-auto">LCS</a>\\n <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">\\n <span class="navbar-toggler-icon"></span>\\n </button>\\n <div class="navbar-collapse collapse w-100" id="navbarNavDropdown">\\n <ul class="navbar-nav w-100 justify-content-center">\\n \', escape=False)\nfor _item in response.menu or []:\n response.write(\'\\n \', escape=False)\n if len(_item)<4 or not _item[3]:\n response.write(\'\\n <li class="nav-item \', escape=False)\n if _item[1]:\n response.write(\'active\', escape=False)\n pass\n response.write(\'">\\n <a class="nav-link" href="\', escape=False)\n response.write(_item[2])\n response.write(\'">\', escape=False)\n response.write(_item[0])\n response.write(\'</a>\\n </li>\\n \', escape=False)\n else:\n response.write(\'\\n <li class="nav-item dropdown">\\n <a class="nav-link dropdown-toggle" href="\', escape=False)\n response.write(_item[2])\n response.write(\'" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">\', escape=False)\n response.write(_item[0])\n response.write(\'</a>\\n <div class="dropdown-menu">\\n \', escape=False)\n for _subitem in _item[3]:\n response.write(\'\\n <a class="dropdown-item" href="\', escape=False)\n response.write(_subitem[2])\n response.write(\'">\', escape=False)\n response.write(_subitem[0])\n response.write(\'</a>\\n \', escape=False)\n pass\n response.write(\'\\n </div>\\n </li>\\n \', escape=False)\n pass\n response.write(\'\\n \', escape=False)\n pass\nresponse.write(\'\\n </ul>\\n <form class="form-inline my-2 my-lg-0">\\n <input class="form-control mr-sm-2" type="text" placeholder="">\\n </form>\\n \', escape=False)\nif \'auth\' in globals():\n response.write(\'\\n <ul class="nav navbar-nav ml-auto w-100 justify-content-end">\\n <li class="nav-item dropdown">\\n <a class="nav-link dropdown-toggle" href="#" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">\\n \', escape=False)\n if auth.user:\n response.write(auth.user.first_name)\n else:\n response.write(\'LOGIN\', escape=False)\n pass\n response.write(\'\\n </a>\\n <div class="dropdown-menu dropdown-menu-right">\\n \', escape=False)\n if auth.user:\n response.write(\'\\n <a class="dropdown-item" href="\', escape=False)\n response.write(URL(\'default\',\'user/profile\'))\n response.write(\'">\', escape=False)\n response.write(T(\'Profile\'))\n response.write(\'</a>\\n \', escape=False)\n if \'change_password\' not in auth.settings.actions_disabled:\n response.write(\'\\n <a class="dropdown-item" href="\', escape=False)\n response.write(URL(\'default\',\'user/change_password\'))\n response.write(\'">\', escape=False)\n response.write(T(\'Change Password\'))\n response.write(\'</a>\\n \', escape=False)\n pass\n response.write(\'\\n <a class="dropdown-item" href="\', escape=False)\n response.write(URL(\'default\',\'user/logout\'))\n response.write(\'">\', escape=False)\n response.write(T(\'Logout\'))\n response.write(\'</a>\\n \', escape=False)\n else:\n response.write(\'\\n <a class="dropdown-item" href="\', escape=False)\n response.write(URL(\'default\',\'user/login\'))\n response.write(\'">\', escape=False)\n response.write(T(\'Login\'))\n response.write(\'</a>\\n \', escape=False)\n if \'register\' not in auth.settings.actions_disabled:\n response.write(\'\\n <a class="dropdown-item" href="\', escape=False)\n response.write(URL(\'default\',\'user/register\'))\n response.write(\'">\', escape=False)\n response.write(T(\'Sign up\'))\n response.write(\'</a>\\n \', escape=False)\n pass\n response.write(\'\\n \', escape=False)\n if \'retrieve_password\' not in auth.settings.actions_disabled:\n response.write(\'\\n <a class="dropdown-item" href="\', escape=False)\n response.write(URL(\'default\',\'user/retrieve_password\'))\n response.write(\'">\', escape=False)\n response.write(T(\'Lost Password\'))\n response.write(\'</a>\\n \', escape=False)\n pass\n response.write(\'\\n \', escape=False)\n pass\n response.write(\'\\n </div>\\n </li>\\n </ul>\\n \', escape=False)\n pass\nresponse.write(\'\\n </div>\\n </nav>\\n\\n <!-- Masthead ===================================== -->\\n \', escape=False)\nresponse.write(\'\\n \', escape=False)\nresponse.write(\'\\n <!-- Main ========================================= -->\\n <!-- Begin page content -->\\n <div class="container-fluid main-container">\\n \', escape=False)\nresponse.write(\'\\n\\n<h2>\\n Search Results\\n</h2>\\n\\n<hr>\\n<!-- NB: Python code within comment is STILL executed -->\\nQuery: \', escape=False)\nresponse.write(msg)\nresponse.write(\'\\n<br>\\nNumber of records found: \', escape=False)\nresponse.write(count)\nresponse.write(\'\\n<br>\\n\', escape=False)\nif (count > 0):\n response.write(\'\\n \\n<form action="statuslist.html" enctype="multipart/form-data" method="post">\\n <input type="submit" value="show status form" />\\n <button class="w2p-form-button" onclick="window.location='/HLD/default/showhistory';return false">show history</button><br>\\n <table border="1" cellpadding="5">\\n <tr>\\n <th></th>\\n <th>DTM<br>Area</th>\\n <th>Closure ID / <br>Log No.</th>\\n <th>Route & Dir /<br>Type of Closure</th>\\n <th>Start Date<br>End Date<br>Est. Delay</th>\\n <th>Facility</th>\\n <th>Limits</th>\\n <th>Work<br>Description</th>\\n <th>TMP</th>\\n <th>Requestor/<br>Radio Call No.</th>\\n </tr>\\n\', escape=False)\n for hwy in highways:\n response.write(\'\\n <tr>\\n <td><INPUT type="checkbox" name="ckb1" value="\', escape=False)\n response.write(hwy.closureid)\n response.write(\'"/></td>\\n <td align="center">\', escape=False)\n response.write(hwy.closureid[0])\n response.write(\'</td>\\n <td align="center">\', escape=False)\n response.write(hwy.closureid)\n response.write(\'<BR><HR>\', escape=False)\n response.write(hwy.lognum)\n response.write(\'</td>\\n <td align="center">\', escape=False)\n response.write(hwy.route)\n response.write(\' \', escape=False)\n response.write(hwy.direction)\n response.write(\'<BR><HR>\', escape=False)\n response.write(hwy.closuretype)\n response.write(\'</td>\\n <td align="center">\', escape=False)\n response.write(hwy.startdate)\n response.write(\'<BR><HR>\', escape=False)\n response.write(hwy.enddate)\n response.write(\'<BR><HR>\', escape=False)\n response.write(hwy.estdelay)\n response.write(\'</td>\\n \', escape=False)\n response.write(TD(hwy.facility))\n response.write(\'\\n <td align="center">\', escape=False)\n response.write(hwy.startlocation)\n response.write(\'<BR><HR>\', escape=False)\n response.write(hwy.endlocation)\n response.write(\'</td>\\n \', escape=False)\n response.write(TD(hwy.worktype))\n response.write(\'\\n <td align="center">\', escape=False)\n response.write(hwy.tmpcozeep)\n response.write(\'<BR>\', escape=False)\n response.write(hwy.tmpdetour)\n response.write(\'</td>\\n \', escape=False)\n response.write(TD(hwy.supervisor))\n response.write(\'\\n\', escape=False)\n pass\n response.write(\'\\n </tr>\\n </table>\\n <div style="display:none;">\\n <input name="_formkey" type="hidden" value="8138fabc-b5fc-4787-9f49-80e9ac931cf2" />\\n <input name="_formname" type="hidden" value="default" />\\n </div>\\n</form>\\n\\n\', escape=False)\n pass\nresponse.write(\'\\n<HR>\\n \\n\', escape=False)\nresponse.write(form)\nresponse.write(\'\\n<HR>\\n\', escape=False)\nresponse.write(mytable)\nresponse.write(\'\\n\', escape=False)\nresponse.write(\'\\n \', escape=False)\nresponse.write(response.toolbar() if response.show_toolbar else \'\')\nresponse.write(\'\\n </div>\\n\\n \', escape=False)\nresponse.write(\' <!-- this is default footer -->\\n <footer class="footer container-fluid">\\n <div class="row">\\n <div class="col-md-12">\\n <div class="copyright pull-left">\', escape=False)\nresponse.write(T(\'Copyright\'))\nresponse.write(\' © \', escape=False)\nresponse.write(request.now.year)\nresponse.write(\'</div>\\n <div id="poweredBy" class="pull-right">\\n </div>\\n </div>\\n </div>\\n </footer>\\n \', escape=False)\nresponse.write(\'\\n <!-- The javascript =============================== -->\\n <script src="\', escape=False)\nresponse.write(URL(\'static\',\'js/bootstrap.bundle.min.js\'))\nresponse.write(\'"></script>\\n <script src="\', escape=False)\nresponse.write(URL(\'static\',\'js/web2py-bootstrap4.js\'))\nresponse.write(\'"></script>\\n \', escape=False)\nresponse.write(\'\\n \', escape=False)\nif response.google_analytics_id:\n response.write(\'\\n <!-- Analytics ==================================== -->\\n <script src="\', escape=False)\n response.write(URL(\'static\',\'js/analytics.min.js\'))\n response.write(\'"></script>\\n <script type="text/javascript">\\n analytics.initialize({\\n \\\'Google Analytics\\\':{trackingId:\\\'\', escape=False)\n response.write(response.google_analytics_id)\n response.write("\'}\\n });\\n </script>\\n ", escape=False)\n pass\nresponse.write(\'\\n </body>\\n</html>\\n\', escape=False)' |
|---|
| 13 | p7 |
|---|
| 14 | sS'snapshot' |
|---|
| 15 | p8 |
|---|
| 16 | (dp9 |
|---|
| 17 | S'exception' |
|---|
| 18 | p10 |
|---|
| 19 | (dp11 |
|---|
| 20 | S'__getslice__' |
|---|
| 21 | p12 |
|---|
| 22 | S"<method-wrapper '__getslice__' of exceptions.TypeError object>" |
|---|
| 23 | p13 |
|---|
| 24 | sS'__str__' |
|---|
| 25 | p14 |
|---|
| 26 | S"<method-wrapper '__str__' of exceptions.TypeError object>" |
|---|
| 27 | p15 |
|---|
| 28 | sS'__reduce__' |
|---|
| 29 | p16 |
|---|
| 30 | S'<built-in method __reduce__ of exceptions.TypeError object>' |
|---|
| 31 | p17 |
|---|
| 32 | sS'__dict__' |
|---|
| 33 | p18 |
|---|
| 34 | S'{}' |
|---|
| 35 | p19 |
|---|
| 36 | sS'message' |
|---|
| 37 | p20 |
|---|
| 38 | S"'unbound method xml() must be called with HR instance as first argument (got nothing instead)'" |
|---|
| 39 | p21 |
|---|
| 40 | sS'__sizeof__' |
|---|
| 41 | p22 |
|---|
| 42 | S'<built-in method __sizeof__ of exceptions.TypeError object>' |
|---|
| 43 | p23 |
|---|
| 44 | sS'__init__' |
|---|
| 45 | p24 |
|---|
| 46 | S"<method-wrapper '__init__' of exceptions.TypeError object>" |
|---|
| 47 | p25 |
|---|
| 48 | sS'__setattr__' |
|---|
| 49 | p26 |
|---|
| 50 | S"<method-wrapper '__setattr__' of exceptions.TypeError object>" |
|---|
| 51 | p27 |
|---|
| 52 | sS'__reduce_ex__' |
|---|
| 53 | p28 |
|---|
| 54 | S'<built-in method __reduce_ex__ of exceptions.TypeError object>' |
|---|
| 55 | p29 |
|---|
| 56 | sS'__new__' |
|---|
| 57 | p30 |
|---|
| 58 | S'<built-in method __new__ of type object>' |
|---|
| 59 | p31 |
|---|
| 60 | sS'__format__' |
|---|
| 61 | p32 |
|---|
| 62 | S'<built-in method __format__ of exceptions.TypeError object>' |
|---|
| 63 | p33 |
|---|
| 64 | sS'__class__' |
|---|
| 65 | p34 |
|---|
| 66 | S"<type 'exceptions.TypeError'>" |
|---|
| 67 | p35 |
|---|
| 68 | sS'__doc__' |
|---|
| 69 | p36 |
|---|
| 70 | S"'Inappropriate argument type.'" |
|---|
| 71 | p37 |
|---|
| 72 | sS'__getitem__' |
|---|
| 73 | p38 |
|---|
| 74 | S"<method-wrapper '__getitem__' of exceptions.TypeError object>" |
|---|
| 75 | p39 |
|---|
| 76 | sS'__setstate__' |
|---|
| 77 | p40 |
|---|
| 78 | S'<built-in method __setstate__ of exceptions.TypeError object>' |
|---|
| 79 | p41 |
|---|
| 80 | sS'__getattribute__' |
|---|
| 81 | p42 |
|---|
| 82 | S"<method-wrapper '__getattribute__' of exceptions.TypeError object>" |
|---|
| 83 | p43 |
|---|
| 84 | sS'args' |
|---|
| 85 | p44 |
|---|
| 86 | S"('unbound method xml() must be called with HR instance as first argument (got nothing instead)',)" |
|---|
| 87 | p45 |
|---|
| 88 | sS'__subclasshook__' |
|---|
| 89 | p46 |
|---|
| 90 | S'<built-in method __subclasshook__ of type object>' |
|---|
| 91 | p47 |
|---|
| 92 | sS'__unicode__' |
|---|
| 93 | p48 |
|---|
| 94 | S'<built-in method __unicode__ of exceptions.TypeError object>' |
|---|
| 95 | p49 |
|---|
| 96 | sS'__delattr__' |
|---|
| 97 | p50 |
|---|
| 98 | S"<method-wrapper '__delattr__' of exceptions.TypeError object>" |
|---|
| 99 | p51 |
|---|
| 100 | sS'__repr__' |
|---|
| 101 | p52 |
|---|
| 102 | S"<method-wrapper '__repr__' of exceptions.TypeError object>" |
|---|
| 103 | p53 |
|---|
| 104 | sS'__hash__' |
|---|
| 105 | p54 |
|---|
| 106 | S"<method-wrapper '__hash__' of exceptions.TypeError object>" |
|---|
| 107 | p55 |
|---|
| 108 | ssS'evalue' |
|---|
| 109 | p56 |
|---|
| 110 | S'unbound method xml() must be called with HR instance as first argument (got nothing instead)' |
|---|
| 111 | p57 |
|---|
| 112 | sS'request' |
|---|
| 113 | p58 |
|---|
| 114 | cgluon.html |
|---|
| 115 | XML_unpickle |
|---|
| 116 | p59 |
|---|
| 117 | (S's^`\x00\x00<div><table><tr><td style="font-weight:bold;vertical-align:top;">ajax</td><td style="vertical-align:top;">:</td><td><div>False</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">application</td><td style="vertical-align:top;">:</td><td><div>HLD</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">args</td><td style="vertical-align:top;">:</td><td><div><table></table></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">cid</td><td style="vertical-align:top;">:</td><td><div>None</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">client</td><td style="vertical-align:top;">:</td><td><div>127.0.0.1</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">controller</td><td style="vertical-align:top;">:</td><td><div>default</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">cookies</td><td style="vertical-align:top;">:</td><td><div><table><tr><td style="font-weight:bold;vertical-align:top;">session_id_admin</td><td style="vertical-align:top;">:</td><td><div>127.0.0.1-6c8fcdca-7bc0-492c-9e36-56809a0d6e61<table><tr><td style="font-weight:bold;vertical-align:top;">comment</td><td style="vertical-align:top;">:</td><td><div></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">domain</td><td style="vertical-align:top;">:</td><td><div></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">expires</td><td style="vertical-align:top;">:</td><td><div></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">httponly</td><td style="vertical-align:top;">:</td><td><div></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">max-age</td><td style="vertical-align:top;">:</td><td><div></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">path</td><td style="vertical-align:top;">:</td><td><div></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">samesite</td><td style="vertical-align:top;">:</td><td><div></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">secure</td><td style="vertical-align:top;">:</td><td><div></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">version</td><td style="vertical-align:top;">:</td><td><div></div></td></tr></table></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">session_id_hld</td><td style="vertical-align:top;">:</td><td><div>127.0.0.1-86ce2faf-8145-4eeb-bb14-6efd530235e3<table><tr><td style="font-weight:bold;vertical-align:top;">comment</td><td style="vertical-align:top;">:</td><td><div></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">domain</td><td style="vertical-align:top;">:</td><td><div></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">expires</td><td style="vertical-align:top;">:</td><td><div></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">httponly</td><td style="vertical-align:top;">:</td><td><div></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">max-age</td><td style="vertical-align:top;">:</td><td><div></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">path</td><td style="vertical-align:top;">:</td><td><div></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">samesite</td><td style="vertical-align:top;">:</td><td><div></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">secure</td><td style="vertical-align:top;">:</td><td><div></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">version</td><td style="vertical-align:top;">:</td><td><div></div></td></tr></table></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">session_id_welcome</td><td style="vertical-align:top;">:</td><td><div>127.0.0.1-881d4e33-cbb0-4021-b8f4-322ef41fe9ae<table><tr><td style="font-weight:bold;vertical-align:top;">comment</td><td style="vertical-align:top;">:</td><td><div></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">domain</td><td style="vertical-align:top;">:</td><td><div></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">expires</td><td style="vertical-align:top;">:</td><td><div></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">httponly</td><td style="vertical-align:top;">:</td><td><div></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">max-age</td><td style="vertical-align:top;">:</td><td><div></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">path</td><td style="vertical-align:top;">:</td><td><div></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">samesite</td><td style="vertical-align:top;">:</td><td><div></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">secure</td><td style="vertical-align:top;">:</td><td><div></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">version</td><td style="vertical-align:top;">:</td><td><div></div></td></tr></table></div></td></tr></table></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">env</td><td style="vertical-align:top;">:</td><td><div><table><tr><td style="font-weight:bold;vertical-align:top;">HTTP_ACCEPT</td><td style="vertical-align:top;">:</td><td><div>text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">HTTP_ACCEPT_ENCODING</td><td style="vertical-align:top;">:</td><td><div>gzip, deflate</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">HTTP_ACCEPT_LANGUAGE</td><td style="vertical-align:top;">:</td><td><div>en-US,en;q=0.5</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">HTTP_CACHE_CONTROL</td><td style="vertical-align:top;">:</td><td><div>max-age=0</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">HTTP_CONNECTION</td><td style="vertical-align:top;">:</td><td><div>keep-alive</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">HTTP_COOKIE</td><td style="vertical-align:top;">:</td><td><div>session_id_welcome=127.0.0.1-881d4e33-cbb0-4021-b8f4-322ef41fe9ae; session_id_admin=127.0.0.1-6c8fcdca-7bc0-492c-9e36-56809a0d6e61; session_id_hld=127.0.0.1-86ce2faf-8145-4eeb-bb14-6efd530235e3</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">HTTP_DNT</td><td style="vertical-align:top;">:</td><td><div>1</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">HTTP_HOST</td><td style="vertical-align:top;">:</td><td><div>127.0.0.1:8000</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">HTTP_REFERER</td><td style="vertical-align:top;">:</td><td><div>http://127.0.0.1:8000/HLD/default/search</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">HTTP_UPGRADE_INSECURE_REQUESTS</td><td style="vertical-align:top;">:</td><td><div>1</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">HTTP_USER_AGENT</td><td style="vertical-align:top;">:</td><td><div>Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:73.0) Gecko/20100101 Firefox/73.0</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">PATH_INFO</td><td style="vertical-align:top;">:</td><td><div>/HLD/default/results</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">QUERY_STRING</td><td style="vertical-align:top;">:</td><td><div></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">REMOTE_ADDR</td><td style="vertical-align:top;">:</td><td><div>127.0.0.1</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">REMOTE_PORT</td><td style="vertical-align:top;">:</td><td><div>39582</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">REQUEST_METHOD</td><td style="vertical-align:top;">:</td><td><div>GET</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">SCRIPT_NAME</td><td style="vertical-align:top;">:</td><td><div></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">SERVER_NAME</td><td style="vertical-align:top;">:</td><td><div>Laptop-asus-X510UNR</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">SERVER_PORT</td><td style="vertical-align:top;">:</td><td><div>8000</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">SERVER_PROTOCOL</td><td style="vertical-align:top;">:</td><td><div>HTTP/1.1</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">SERVER_SOFTWARE</td><td style="vertical-align:top;">:</td><td><div>Rocket 1.2.6</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">app_folders</td><td style="vertical-align:top;">:</td><td><div>set(['/home/jdalbey/Dropbox/web2py/applications/welcome', '/home/jdalbey/Dropbox/web2py/applications/admin', '/home/jdalbey/Dropbox/web2py/applications/HLD'])</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">applications_parent</td><td style="vertical-align:top;">:</td><td><div>/home/jdalbey/Dropbox/web2py</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">cmd_args</td><td style="vertical-align:top;">:</td><td><div><table></table></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">cmd_options</td><td style="vertical-align:top;">:</td><td><div><Values at 0x7fb30d1f59b0: {'verbose': False, 'ip': '127.0.0.1', 'debuglevel': 30, 'with_scheduler': False, 'shutdown_timeout': 5, 'taskbar': False, 'with_coverage': False, 'pid_filename': 'httpserver.pid', 'maxthreads': None, 'softcron': False, 'server_name': 'Laptop-asus-X510UNR', 'bpython': False, 'nogui': False, 'port': 8000, 'print_errors': False, 'extcron': False, 'runcron': False, 'run_system_tests': False, 'test': None, 'folder': '/home/jdalbey/Dropbox/web2py', 'config': '', 'minthreads': None, 'shell': None, 'run': '', 'log_filename': 'httpserver.log', 'profiler_dir': None, 'args': [], 'socket_timeout': 5, 'ssl_ca_certificate': None, 'scheduler': None, 'interfaces': None, 'ssl_private_key': '', 'gae': None, 'password': '******', 'request_queue_size': 5, 'ssl_certificate': '', 'cronjob': False, 'numthreads': None, 'quiet': False, 'import_models': False, 'timeout': 10, 'plain': False, 'nobanner': False}></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">db_sessions</td><td style="vertical-align:top;">:</td><td><div>set([])</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">debugging</td><td style="vertical-align:top;">:</td><td><div>True</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">gluon_parent</td><td style="vertical-align:top;">:</td><td><div>/home/jdalbey/Dropbox/web2py</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">http_accept</td><td style="vertical-align:top;">:</td><td><div>text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">http_accept_encoding</td><td style="vertical-align:top;">:</td><td><div>gzip, deflate</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">http_accept_language</td><td style="vertical-align:top;">:</td><td><div>en-US,en;q=0.5</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">http_cache_control</td><td style="vertical-align:top;">:</td><td><div>max-age=0</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">http_connection</td><td style="vertical-align:top;">:</td><td><div>keep-alive</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">http_cookie</td><td style="vertical-align:top;">:</td><td><div>session_id_welcome=127.0.0.1-881d4e33-cbb0-4021-b8f4-322ef41fe9ae; session_id_admin=127.0.0.1-6c8fcdca-7bc0-492c-9e36-56809a0d6e61; session_id_hld=127.0.0.1-86ce2faf-8145-4eeb-bb14-6efd530235e3</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">http_dnt</td><td style="vertical-align:top;">:</td><td><div>1</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">http_host</td><td style="vertical-align:top;">:</td><td><div>127.0.0.1:8000</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">http_referer</td><td style="vertical-align:top;">:</td><td><div>http://127.0.0.1:8000/HLD/default/search</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">http_upgrade_insecure_requests</td><td style="vertical-align:top;">:</td><td><div>1</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">http_user_agent</td><td style="vertical-align:top;">:</td><td><div>Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:73.0) Gecko/20100101 Firefox/73.0</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">is_jython</td><td style="vertical-align:top;">:</td><td><div>False</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">is_py2</td><td style="vertical-align:top;">:</td><td><div>True</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">is_pypy</td><td style="vertical-align:top;">:</td><td><div>False</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">is_source</td><td style="vertical-align:top;">:</td><td><div>True</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">local_hosts</td><td style="vertical-align:top;">:</td><td><div><table><tr><td><div>::1</div></td></tr><tr><td><div>127.0.1.1</div></td></tr><tr><td><div>::ffff:127.0.0.1</div></td></tr><tr><td><div>127.0.0.1</div></td></tr><tr><td><div>Laptop-asus-X510UNR</div></td></tr></table></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">path_info</td><td style="vertical-align:top;">:</td><td><div>/HLD/default/results</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">query_string</td><td style="vertical-align:top;">:</td><td><div></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">remote_addr</td><td style="vertical-align:top;">:</td><td><div>127.0.0.1</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">remote_port</td><td style="vertical-align:top;">:</td><td><div>39582</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">request_method</td><td style="vertical-align:top;">:</td><td><div>GET</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">request_uri</td><td style="vertical-align:top;">:</td><td><div>/HLD/default/results</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">script_name</td><td style="vertical-align:top;">:</td><td><div></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">server_name</td><td style="vertical-align:top;">:</td><td><div>Laptop-asus-X510UNR</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">server_port</td><td style="vertical-align:top;">:</td><td><div>8000</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">server_protocol</td><td style="vertical-align:top;">:</td><td><div>HTTP/1.1</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">server_software</td><td style="vertical-align:top;">:</td><td><div>Rocket 1.2.6</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">web2py_path</td><td style="vertical-align:top;">:</td><td><div>/home/jdalbey/Dropbox/web2py</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">web2py_version</td><td style="vertical-align:top;">:</td><td><div>2.18.5-stable+timestamp.2019.04.08.04.22.03</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">wsgi.errors</td><td style="vertical-align:top;">:</td><td><div><open file '<stderr>', mode 'w' at 0x7fb314271270></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">wsgi.file_wrapper</td><td style="vertical-align:top;">:</td><td><div><class wsgiref.util.FileWrapper at 0x7fb30d22f910></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">wsgi.input</td><td style="vertical-align:top;">:</td><td><div><socket._fileobject object at 0x7fb2cb7c8a50></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">wsgi.multiprocess</td><td style="vertical-align:top;">:</td><td><div>False</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">wsgi.multithread</td><td style="vertical-align:top;">:</td><td><div>True</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">wsgi.run_once</td><td style="vertical-align:top;">:</td><td><div>False</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">wsgi.url_scheme</td><td style="vertical-align:top;">:</td><td><div>http</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">wsgi.version</td><td style="vertical-align:top;">:</td><td><div><table><tr><td><div>1</div></td></tr><tr><td><div>0</div></td></tr></table></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">wsgi_errors</td><td style="vertical-align:top;">:</td><td><div><open file '<stderr>', mode 'w' at 0x7fb314271270></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">wsgi_file_wrapper</td><td style="vertical-align:top;">:</td><td><div><class wsgiref.util.FileWrapper at 0x7fb30d22f910></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">wsgi_input</td><td style="vertical-align:top;">:</td><td><div><socket._fileobject object at 0x7fb2cb7c8a50></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">wsgi_multiprocess</td><td style="vertical-align:top;">:</td><td><div>False</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">wsgi_multithread</td><td style="vertical-align:top;">:</td><td><div>True</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">wsgi_run_once</td><td style="vertical-align:top;">:</td><td><div>False</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">wsgi_url_scheme</td><td style="vertical-align:top;">:</td><td><div>http</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">wsgi_version</td><td style="vertical-align:top;">:</td><td><div><table><tr><td><div>1</div></td></tr><tr><td><div>0</div></td></tr></table></div></td></tr></table></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">extension</td><td style="vertical-align:top;">:</td><td><div>html</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">folder</td><td style="vertical-align:top;">:</td><td><div>/home/jdalbey/Dropbox/web2py/applications/HLD</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">function</td><td style="vertical-align:top;">:</td><td><div>results</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">global_settings</td><td style="vertical-align:top;">:</td><td><div><table><tr><td style="font-weight:bold;vertical-align:top;">app_folders</td><td style="vertical-align:top;">:</td><td><div>set(['/home/jdalbey/Dropbox/web2py/applications/welcome', '/home/jdalbey/Dropbox/web2py/applications/admin', '/home/jdalbey/Dropbox/web2py/applications/HLD'])</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">applications_parent</td><td style="vertical-align:top;">:</td><td><div>/home/jdalbey/Dropbox/web2py</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">cmd_args</td><td style="vertical-align:top;">:</td><td><div><table></table></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">cmd_options</td><td style="vertical-align:top;">:</td><td><div><Values at 0x7fb30d1f59b0: {'verbose': False, 'ip': '127.0.0.1', 'debuglevel': 30, 'with_scheduler': False, 'shutdown_timeout': 5, 'taskbar': False, 'with_coverage': False, 'pid_filename': 'httpserver.pid', 'maxthreads': None, 'softcron': False, 'server_name': 'Laptop-asus-X510UNR', 'bpython': False, 'nogui': False, 'port': 8000, 'print_errors': False, 'extcron': False, 'runcron': False, 'run_system_tests': False, 'test': None, 'folder': '/home/jdalbey/Dropbox/web2py', 'config': '', 'minthreads': None, 'shell': None, 'run': '', 'log_filename': 'httpserver.log', 'profiler_dir': None, 'args': [], 'socket_timeout': 5, 'ssl_ca_certificate': None, 'scheduler': None, 'interfaces': None, 'ssl_private_key': '', 'gae': None, 'password': '******', 'request_queue_size': 5, 'ssl_certificate': '', 'cronjob': False, 'numthreads': None, 'quiet': False, 'import_models': False, 'timeout': 10, 'plain': False, 'nobanner': False}></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">db_sessions</td><td style="vertical-align:top;">:</td><td><div>set([])</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">debugging</td><td style="vertical-align:top;">:</td><td><div>True</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">gluon_parent</td><td style="vertical-align:top;">:</td><td><div>/home/jdalbey/Dropbox/web2py</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">is_jython</td><td style="vertical-align:top;">:</td><td><div>False</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">is_py2</td><td style="vertical-align:top;">:</td><td><div>True</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">is_pypy</td><td style="vertical-align:top;">:</td><td><div>False</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">is_source</td><td style="vertical-align:top;">:</td><td><div>True</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">local_hosts</td><td style="vertical-align:top;">:</td><td><div><table><tr><td><div>::1</div></td></tr><tr><td><div>127.0.1.1</div></td></tr><tr><td><div>::ffff:127.0.0.1</div></td></tr><tr><td><div>127.0.0.1</div></td></tr><tr><td><div>Laptop-asus-X510UNR</div></td></tr></table></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">web2py_version</td><td style="vertical-align:top;">:</td><td><div>2.18.5-stable+timestamp.2019.04.08.04.22.03</div></td></tr></table></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">is_https</td><td style="vertical-align:top;">:</td><td><div>False</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">is_local</td><td style="vertical-align:top;">:</td><td><div>True</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">is_restful</td><td style="vertical-align:top;">:</td><td><div>False</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">is_scheduler</td><td style="vertical-align:top;">:</td><td><div>False</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">is_shell</td><td style="vertical-align:top;">:</td><td><div>False</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">method</td><td style="vertical-align:top;">:</td><td><div>GET</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">now</td><td style="vertical-align:top;">:</td><td><div>datetime.datetime(2020, 3, 11, 8, 33, 39, 386321)</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">raw_args</td><td style="vertical-align:top;">:</td><td><div></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">raw_extension</td><td style="vertical-align:top;">:</td><td><div>None</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">url</td><td style="vertical-align:top;">:</td><td><div>/HLD/default/results</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">utcnow</td><td style="vertical-align:top;">:</td><td><div>datetime.datetime(2020, 3, 11, 15, 33, 39, 386338)</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">wsgi</td><td style="vertical-align:top;">:</td><td><div><gluon.main.LazyWSGI object at 0x7fb2cb988190></div></td></tr></table></div>' |
|---|
| 118 | tRp60 |
|---|
| 119 | sS'frames' |
|---|
| 120 | p61 |
|---|
| 121 | (lp62 |
|---|
| 122 | (dp63 |
|---|
| 123 | S'file' |
|---|
| 124 | p64 |
|---|
| 125 | S'/home/jdalbey/Dropbox/web2py/gluon/restricted.py' |
|---|
| 126 | p65 |
|---|
| 127 | sS'dump' |
|---|
| 128 | p66 |
|---|
| 129 | (dp67 |
|---|
| 130 | S'environment' |
|---|
| 131 | p68 |
|---|
| 132 | S"{'A': <class 'gluon.html.A'>, 'ANY_OF': <class 'pydal.validators.ANY_OF'>, 'ASSIGNJS': <function ASSIGNJS>, 'B': <class 'gluon.html.B'>, 'BEAUTIFY': <class 'gluon.html.BEAUTIFY'>, 'BODY': <class 'gluon.html.BODY'>, 'BR': <class 'gluon.html.BR'>, 'BUTTON': <class 'gluon.html.BUTTON'>, 'CAT': <class 'gluon.html.CAT'>, 'CENTER': <class 'gluon.html.CENTER'>, ...}" |
|---|
| 133 | p69 |
|---|
| 134 | sS'ccode' |
|---|
| 135 | p70 |
|---|
| 136 | S'<code object <module> at 0x7fb2cb88cf30, file "/...ications/HLD/views/default/results.html", line 1>' |
|---|
| 137 | p71 |
|---|
| 138 | ssS'lnum' |
|---|
| 139 | p72 |
|---|
| 140 | I219 |
|---|
| 141 | sS'lines' |
|---|
| 142 | p73 |
|---|
| 143 | (dp74 |
|---|
| 144 | I214 |
|---|
| 145 | S' if environment is None:' |
|---|
| 146 | p75 |
|---|
| 147 | sI215 |
|---|
| 148 | S' environment = {}' |
|---|
| 149 | p76 |
|---|
| 150 | sI216 |
|---|
| 151 | S" environment['__file__'] = layer" |
|---|
| 152 | p77 |
|---|
| 153 | sI217 |
|---|
| 154 | S" environment['__name__'] = '__restricted__'" |
|---|
| 155 | p78 |
|---|
| 156 | sI218 |
|---|
| 157 | S' try:' |
|---|
| 158 | p79 |
|---|
| 159 | sI219 |
|---|
| 160 | S' exec(ccode, environment)' |
|---|
| 161 | p80 |
|---|
| 162 | sI220 |
|---|
| 163 | S' except HTTP:' |
|---|
| 164 | p81 |
|---|
| 165 | sI221 |
|---|
| 166 | S' raise' |
|---|
| 167 | p82 |
|---|
| 168 | sI222 |
|---|
| 169 | S' except RestrictedError:' |
|---|
| 170 | p83 |
|---|
| 171 | sI223 |
|---|
| 172 | S' # do not encapsulate (obfuscate) the original RestrictedError' |
|---|
| 173 | p84 |
|---|
| 174 | ssS'call' |
|---|
| 175 | p85 |
|---|
| 176 | S'(ccode=<code object <module> at 0x7fb2cb88cf30, file "/...ications/HLD/views/default/results.html", line 1>, environment={\'A\': <class \'gluon.html.A\'>, \'ANY_OF\': <class \'pydal.validators.ANY_OF\'>, \'ASSIGNJS\': <function ASSIGNJS>, \'B\': <class \'gluon.html.B\'>, \'BEAUTIFY\': <class \'gluon.html.BEAUTIFY\'>, \'BODY\': <class \'gluon.html.BODY\'>, \'BR\': <class \'gluon.html.BR\'>, \'BUTTON\': <class \'gluon.html.BUTTON\'>, \'CAT\': <class \'gluon.html.CAT\'>, \'CENTER\': <class \'gluon.html.CENTER\'>, ...}, layer=\'/home/jdalbey/Dropbox/web2py/applications/HLD/views/default/results.html\', scode=r"response.write(\'<!DOCTYPE html>\\n<!--[if (gt IE ...nse.write(\'\\n </body>\\n</html>\\n\', escape=False)")' |
|---|
| 177 | p86 |
|---|
| 178 | sS'func' |
|---|
| 179 | p87 |
|---|
| 180 | S'restricted' |
|---|
| 181 | p88 |
|---|
| 182 | sa(dp89 |
|---|
| 183 | g64 |
|---|
| 184 | S'/home/jdalbey/Dropbox/web2py/applications/HLD/views/default/results.html' |
|---|
| 185 | p90 |
|---|
| 186 | sg66 |
|---|
| 187 | (dp91 |
|---|
| 188 | sg72 |
|---|
| 189 | I173 |
|---|
| 190 | sg73 |
|---|
| 191 | (dp92 |
|---|
| 192 | I164 |
|---|
| 193 | S" response.write('</td>\\n ', escape=False)" |
|---|
| 194 | p93 |
|---|
| 195 | sI165 |
|---|
| 196 | S' response.write(TD(hwy.supervisor))' |
|---|
| 197 | p94 |
|---|
| 198 | sI166 |
|---|
| 199 | S" response.write('\\n', escape=False)" |
|---|
| 200 | p95 |
|---|
| 201 | sI167 |
|---|
| 202 | S' pass' |
|---|
| 203 | p96 |
|---|
| 204 | sI168 |
|---|
| 205 | S' response.write(\'\\n </tr>\\n </table>\\n <div style="display:none;">\\n <input name="_formkey" type="hidden" value="8138fabc-b5fc-4787-9f49-80e9ac931cf2" />\\n <input name="_formname" type="hidden" value="default" />\\n </div>\\n</form>\\n\\n\', escape=False)' |
|---|
| 206 | p97 |
|---|
| 207 | sI169 |
|---|
| 208 | S' pass' |
|---|
| 209 | p98 |
|---|
| 210 | sI170 |
|---|
| 211 | S"response.write('\\n<HR>\\n \\n', escape=False)" |
|---|
| 212 | p99 |
|---|
| 213 | sI171 |
|---|
| 214 | S'response.write(form)' |
|---|
| 215 | p100 |
|---|
| 216 | sI172 |
|---|
| 217 | S"response.write('\\n<HR>\\n', escape=False)" |
|---|
| 218 | p101 |
|---|
| 219 | sI173 |
|---|
| 220 | S'response.write(mytable)' |
|---|
| 221 | p102 |
|---|
| 222 | sI174 |
|---|
| 223 | S"response.write('\\n', escape=False)" |
|---|
| 224 | p103 |
|---|
| 225 | sI175 |
|---|
| 226 | S"response.write('\\n ', escape=False)" |
|---|
| 227 | p104 |
|---|
| 228 | sI176 |
|---|
| 229 | S"response.write(response.toolbar() if response.show_toolbar else '')" |
|---|
| 230 | p105 |
|---|
| 231 | sI177 |
|---|
| 232 | S"response.write('\\n </div>\\n\\n ', escape=False)" |
|---|
| 233 | p106 |
|---|
| 234 | sI178 |
|---|
| 235 | S'response.write(\' <!-- this is default footer -->\\n <footer class="footer container-fluid">\\n <div class="row">\\n <div class="col-md-12">\\n <div class="copyright pull-left">\', escape=False)' |
|---|
| 236 | p107 |
|---|
| 237 | sI179 |
|---|
| 238 | S"response.write(T('Copyright'))" |
|---|
| 239 | p108 |
|---|
| 240 | sI180 |
|---|
| 241 | S"response.write(' © ', escape=False)" |
|---|
| 242 | p109 |
|---|
| 243 | sI181 |
|---|
| 244 | S'response.write(request.now.year)' |
|---|
| 245 | p110 |
|---|
| 246 | sI182 |
|---|
| 247 | S'response.write(\'</div>\\n <div id="poweredBy" class="pull-right">\\n </div>\\n </div>\\n </div>\\n </footer>\\n \', escape=False)' |
|---|
| 248 | p111 |
|---|
| 249 | sI183 |
|---|
| 250 | S'response.write(\'\\n <!-- The javascript =============================== -->\\n <script src="\', escape=False)' |
|---|
| 251 | p112 |
|---|
| 252 | ssg85 |
|---|
| 253 | S'()' |
|---|
| 254 | p113 |
|---|
| 255 | sg87 |
|---|
| 256 | S'<module>' |
|---|
| 257 | p114 |
|---|
| 258 | sa(dp115 |
|---|
| 259 | g64 |
|---|
| 260 | S'/home/jdalbey/Dropbox/web2py/gluon/globals.py' |
|---|
| 261 | p116 |
|---|
| 262 | sg66 |
|---|
| 263 | (dp117 |
|---|
| 264 | S'self.body.write' |
|---|
| 265 | p118 |
|---|
| 266 | S'<built-in method write of cStringIO.StringO object>' |
|---|
| 267 | p119 |
|---|
| 268 | sS'global xmlescape' |
|---|
| 269 | p120 |
|---|
| 270 | S'<function xmlescape>' |
|---|
| 271 | p121 |
|---|
| 272 | sS'self' |
|---|
| 273 | p122 |
|---|
| 274 | S"<Storage {'body': <cStringIO.StringO object at 0...0x7fb2cb9727d0>, 'view': 'default/results.html'}>" |
|---|
| 275 | p123 |
|---|
| 276 | sS'self.body' |
|---|
| 277 | p124 |
|---|
| 278 | S'<cStringIO.StringO object>' |
|---|
| 279 | p125 |
|---|
| 280 | sS'global to_native' |
|---|
| 281 | p126 |
|---|
| 282 | S'<function to_native>' |
|---|
| 283 | p127 |
|---|
| 284 | sS'data' |
|---|
| 285 | p128 |
|---|
| 286 | S'<gluon.html.TABLE object>' |
|---|
| 287 | p129 |
|---|
| 288 | ssg72 |
|---|
| 289 | I434 |
|---|
| 290 | sg73 |
|---|
| 291 | (dp130 |
|---|
| 292 | I429 |
|---|
| 293 | S'' |
|---|
| 294 | sI430 |
|---|
| 295 | S' def write(self, data, escape=True):' |
|---|
| 296 | p131 |
|---|
| 297 | sI431 |
|---|
| 298 | S' if not escape:' |
|---|
| 299 | p132 |
|---|
| 300 | sI432 |
|---|
| 301 | S' self.body.write(str(data))' |
|---|
| 302 | p133 |
|---|
| 303 | sI433 |
|---|
| 304 | S' else:' |
|---|
| 305 | p134 |
|---|
| 306 | sI434 |
|---|
| 307 | S' self.body.write(to_native(xmlescape(data)))' |
|---|
| 308 | p135 |
|---|
| 309 | sI435 |
|---|
| 310 | S'' |
|---|
| 311 | sI436 |
|---|
| 312 | S' def render(self, *a, **b):' |
|---|
| 313 | p136 |
|---|
| 314 | sI437 |
|---|
| 315 | S' from gluon.compileapp import run_view_in' |
|---|
| 316 | p137 |
|---|
| 317 | sI438 |
|---|
| 318 | S' if len(a) > 2:' |
|---|
| 319 | p138 |
|---|
| 320 | ssg85 |
|---|
| 321 | S"(self=<Storage {'body': <cStringIO.StringO object at 0...0x7fb2cb9727d0>, 'view': 'default/results.html'}>, data=<gluon.html.TABLE object>, escape=True)" |
|---|
| 322 | p139 |
|---|
| 323 | sg87 |
|---|
| 324 | S'write' |
|---|
| 325 | p140 |
|---|
| 326 | sa(dp141 |
|---|
| 327 | g64 |
|---|
| 328 | S'/home/jdalbey/Dropbox/web2py/gluon/html.py' |
|---|
| 329 | p142 |
|---|
| 330 | sg66 |
|---|
| 331 | (dp143 |
|---|
| 332 | S'data' |
|---|
| 333 | p144 |
|---|
| 334 | S'<gluon.html.TABLE object>' |
|---|
| 335 | p145 |
|---|
| 336 | sS'data.xml' |
|---|
| 337 | p146 |
|---|
| 338 | S'<bound method TABLE.xml of <gluon.html.TABLE object>>' |
|---|
| 339 | p147 |
|---|
| 340 | sS'global to_bytes' |
|---|
| 341 | p148 |
|---|
| 342 | S'<function to_bytes>' |
|---|
| 343 | p149 |
|---|
| 344 | ssg72 |
|---|
| 345 | I149 |
|---|
| 346 | sg73 |
|---|
| 347 | (dp150 |
|---|
| 348 | I144 |
|---|
| 349 | S' quote: optional (default False)' |
|---|
| 350 | p151 |
|---|
| 351 | sI145 |
|---|
| 352 | S' """' |
|---|
| 353 | p152 |
|---|
| 354 | sI146 |
|---|
| 355 | S'' |
|---|
| 356 | sI147 |
|---|
| 357 | S' # first try the xml function' |
|---|
| 358 | p153 |
|---|
| 359 | sI148 |
|---|
| 360 | S" if hasattr(data, 'xml') and callable(data.xml):" |
|---|
| 361 | p154 |
|---|
| 362 | sI149 |
|---|
| 363 | S' return to_bytes(data.xml())' |
|---|
| 364 | p155 |
|---|
| 365 | sI150 |
|---|
| 366 | S'' |
|---|
| 367 | sI151 |
|---|
| 368 | S' if not(isinstance(data, (text_type, bytes))):' |
|---|
| 369 | p156 |
|---|
| 370 | sI152 |
|---|
| 371 | S' # i.e., integers' |
|---|
| 372 | p157 |
|---|
| 373 | sI153 |
|---|
| 374 | S' data = str(data)' |
|---|
| 375 | p158 |
|---|
| 376 | ssg85 |
|---|
| 377 | S'(data=<gluon.html.TABLE object>, quote=True)' |
|---|
| 378 | p159 |
|---|
| 379 | sg87 |
|---|
| 380 | S'xmlescape' |
|---|
| 381 | p160 |
|---|
| 382 | sa(dp161 |
|---|
| 383 | g64 |
|---|
| 384 | S'/home/jdalbey/Dropbox/web2py/gluon/html.py' |
|---|
| 385 | p162 |
|---|
| 386 | sg66 |
|---|
| 387 | (dp163 |
|---|
| 388 | S'fa' |
|---|
| 389 | p164 |
|---|
| 390 | S'undefined' |
|---|
| 391 | p165 |
|---|
| 392 | sS'self' |
|---|
| 393 | p166 |
|---|
| 394 | S'<gluon.html.TABLE object>' |
|---|
| 395 | p167 |
|---|
| 396 | sS'co' |
|---|
| 397 | p168 |
|---|
| 398 | g165 |
|---|
| 399 | sS'self._xml' |
|---|
| 400 | p169 |
|---|
| 401 | S'<bound method TABLE._xml of <gluon.html.TABLE object>>' |
|---|
| 402 | p170 |
|---|
| 403 | ssg72 |
|---|
| 404 | I984 |
|---|
| 405 | sg73 |
|---|
| 406 | (dp171 |
|---|
| 407 | I979 |
|---|
| 408 | S' def xml(self):' |
|---|
| 409 | p172 |
|---|
| 410 | sI980 |
|---|
| 411 | S' """' |
|---|
| 412 | p173 |
|---|
| 413 | sI981 |
|---|
| 414 | S' generates the xml for this component.' |
|---|
| 415 | p174 |
|---|
| 416 | sI982 |
|---|
| 417 | S' """' |
|---|
| 418 | p175 |
|---|
| 419 | sI983 |
|---|
| 420 | S'' |
|---|
| 421 | sI984 |
|---|
| 422 | S' (fa, co) = self._xml()' |
|---|
| 423 | p176 |
|---|
| 424 | sI985 |
|---|
| 425 | S'' |
|---|
| 426 | sI986 |
|---|
| 427 | S' if not self.tag:' |
|---|
| 428 | p177 |
|---|
| 429 | sI987 |
|---|
| 430 | S' return co' |
|---|
| 431 | p178 |
|---|
| 432 | sI988 |
|---|
| 433 | S'' |
|---|
| 434 | ssg85 |
|---|
| 435 | S'(self=<gluon.html.TABLE object>)' |
|---|
| 436 | p179 |
|---|
| 437 | sg87 |
|---|
| 438 | S'xml' |
|---|
| 439 | p180 |
|---|
| 440 | sa(dp181 |
|---|
| 441 | g64 |
|---|
| 442 | S'/home/jdalbey/Dropbox/web2py/gluon/html.py' |
|---|
| 443 | p182 |
|---|
| 444 | sg66 |
|---|
| 445 | (dp183 |
|---|
| 446 | S'component' |
|---|
| 447 | p184 |
|---|
| 448 | S'<gluon.html.TR object>' |
|---|
| 449 | p185 |
|---|
| 450 | sS'self' |
|---|
| 451 | p186 |
|---|
| 452 | S'<gluon.html.TABLE object>' |
|---|
| 453 | p187 |
|---|
| 454 | sS'global xmlescape' |
|---|
| 455 | p188 |
|---|
| 456 | S'<function xmlescape>' |
|---|
| 457 | p189 |
|---|
| 458 | sS'co' |
|---|
| 459 | p190 |
|---|
| 460 | g165 |
|---|
| 461 | sS'self.components' |
|---|
| 462 | p191 |
|---|
| 463 | S'[<gluon.html.TR object>, <gluon.html.TR object>]' |
|---|
| 464 | p192 |
|---|
| 465 | ssg72 |
|---|
| 466 | I976 |
|---|
| 467 | sg73 |
|---|
| 468 | (dp193 |
|---|
| 469 | I971 |
|---|
| 470 | S" fa = b''" |
|---|
| 471 | p194 |
|---|
| 472 | sI972 |
|---|
| 473 | S' for name, value in attr:' |
|---|
| 474 | p195 |
|---|
| 475 | sI973 |
|---|
| 476 | S' fa += (b\' %s="%s"\') % (to_bytes(name), xmlescape(value, True))' |
|---|
| 477 | p196 |
|---|
| 478 | sI974 |
|---|
| 479 | S'' |
|---|
| 480 | sI975 |
|---|
| 481 | S' # get the xml for the inner components' |
|---|
| 482 | p197 |
|---|
| 483 | sI976 |
|---|
| 484 | S" co = b''.join([xmlescape(component) for component in self.components])" |
|---|
| 485 | p198 |
|---|
| 486 | sI977 |
|---|
| 487 | S' return (fa, co)' |
|---|
| 488 | p199 |
|---|
| 489 | sI978 |
|---|
| 490 | S'' |
|---|
| 491 | sI979 |
|---|
| 492 | S' def xml(self):' |
|---|
| 493 | p200 |
|---|
| 494 | sI980 |
|---|
| 495 | S' """' |
|---|
| 496 | p201 |
|---|
| 497 | ssg85 |
|---|
| 498 | S'(self=<gluon.html.TABLE object>)' |
|---|
| 499 | p202 |
|---|
| 500 | sg87 |
|---|
| 501 | S'_xml' |
|---|
| 502 | p203 |
|---|
| 503 | sa(dp204 |
|---|
| 504 | g64 |
|---|
| 505 | S'/home/jdalbey/Dropbox/web2py/gluon/html.py' |
|---|
| 506 | p205 |
|---|
| 507 | sg66 |
|---|
| 508 | (dp206 |
|---|
| 509 | S'data' |
|---|
| 510 | p207 |
|---|
| 511 | S'<gluon.html.TR object>' |
|---|
| 512 | p208 |
|---|
| 513 | sS'data.xml' |
|---|
| 514 | p209 |
|---|
| 515 | S'<bound method TR.xml of <gluon.html.TR object>>' |
|---|
| 516 | p210 |
|---|
| 517 | sS'global to_bytes' |
|---|
| 518 | p211 |
|---|
| 519 | S'<function to_bytes>' |
|---|
| 520 | p212 |
|---|
| 521 | ssg72 |
|---|
| 522 | I149 |
|---|
| 523 | sg73 |
|---|
| 524 | (dp213 |
|---|
| 525 | I144 |
|---|
| 526 | S' quote: optional (default False)' |
|---|
| 527 | p214 |
|---|
| 528 | sI145 |
|---|
| 529 | S' """' |
|---|
| 530 | p215 |
|---|
| 531 | sI146 |
|---|
| 532 | S'' |
|---|
| 533 | sI147 |
|---|
| 534 | S' # first try the xml function' |
|---|
| 535 | p216 |
|---|
| 536 | sI148 |
|---|
| 537 | S" if hasattr(data, 'xml') and callable(data.xml):" |
|---|
| 538 | p217 |
|---|
| 539 | sI149 |
|---|
| 540 | S' return to_bytes(data.xml())' |
|---|
| 541 | p218 |
|---|
| 542 | sI150 |
|---|
| 543 | S'' |
|---|
| 544 | sI151 |
|---|
| 545 | S' if not(isinstance(data, (text_type, bytes))):' |
|---|
| 546 | p219 |
|---|
| 547 | sI152 |
|---|
| 548 | S' # i.e., integers' |
|---|
| 549 | p220 |
|---|
| 550 | sI153 |
|---|
| 551 | S' data = str(data)' |
|---|
| 552 | p221 |
|---|
| 553 | ssg85 |
|---|
| 554 | S'(data=<gluon.html.TR object>, quote=True)' |
|---|
| 555 | p222 |
|---|
| 556 | sg87 |
|---|
| 557 | g160 |
|---|
| 558 | sa(dp223 |
|---|
| 559 | g64 |
|---|
| 560 | S'/home/jdalbey/Dropbox/web2py/gluon/html.py' |
|---|
| 561 | p224 |
|---|
| 562 | sg66 |
|---|
| 563 | (dp225 |
|---|
| 564 | S'fa' |
|---|
| 565 | p226 |
|---|
| 566 | g165 |
|---|
| 567 | sS'self' |
|---|
| 568 | p227 |
|---|
| 569 | S'<gluon.html.TR object>' |
|---|
| 570 | p228 |
|---|
| 571 | sS'co' |
|---|
| 572 | p229 |
|---|
| 573 | g165 |
|---|
| 574 | sS'self._xml' |
|---|
| 575 | p230 |
|---|
| 576 | S'<bound method TR._xml of <gluon.html.TR object>>' |
|---|
| 577 | p231 |
|---|
| 578 | ssg72 |
|---|
| 579 | I984 |
|---|
| 580 | sg73 |
|---|
| 581 | (dp232 |
|---|
| 582 | I979 |
|---|
| 583 | S' def xml(self):' |
|---|
| 584 | p233 |
|---|
| 585 | sI980 |
|---|
| 586 | S' """' |
|---|
| 587 | p234 |
|---|
| 588 | sI981 |
|---|
| 589 | S' generates the xml for this component.' |
|---|
| 590 | p235 |
|---|
| 591 | sI982 |
|---|
| 592 | S' """' |
|---|
| 593 | p236 |
|---|
| 594 | sI983 |
|---|
| 595 | S'' |
|---|
| 596 | sI984 |
|---|
| 597 | S' (fa, co) = self._xml()' |
|---|
| 598 | p237 |
|---|
| 599 | sI985 |
|---|
| 600 | S'' |
|---|
| 601 | sI986 |
|---|
| 602 | S' if not self.tag:' |
|---|
| 603 | p238 |
|---|
| 604 | sI987 |
|---|
| 605 | S' return co' |
|---|
| 606 | p239 |
|---|
| 607 | sI988 |
|---|
| 608 | S'' |
|---|
| 609 | ssg85 |
|---|
| 610 | S'(self=<gluon.html.TR object>)' |
|---|
| 611 | p240 |
|---|
| 612 | sg87 |
|---|
| 613 | g180 |
|---|
| 614 | sa(dp241 |
|---|
| 615 | g64 |
|---|
| 616 | S'/home/jdalbey/Dropbox/web2py/gluon/html.py' |
|---|
| 617 | p242 |
|---|
| 618 | sg66 |
|---|
| 619 | (dp243 |
|---|
| 620 | S'component' |
|---|
| 621 | p244 |
|---|
| 622 | S'<gluon.html.TD object>' |
|---|
| 623 | p245 |
|---|
| 624 | sS'self' |
|---|
| 625 | p246 |
|---|
| 626 | S'<gluon.html.TR object>' |
|---|
| 627 | p247 |
|---|
| 628 | sS'global xmlescape' |
|---|
| 629 | p248 |
|---|
| 630 | S'<function xmlescape>' |
|---|
| 631 | p249 |
|---|
| 632 | sS'co' |
|---|
| 633 | p250 |
|---|
| 634 | g165 |
|---|
| 635 | sS'self.components' |
|---|
| 636 | p251 |
|---|
| 637 | S'[<gluon.html.TD object>, <gluon.html.TD object>, <gluon.html.TD object>]' |
|---|
| 638 | p252 |
|---|
| 639 | ssg72 |
|---|
| 640 | I976 |
|---|
| 641 | sg73 |
|---|
| 642 | (dp253 |
|---|
| 643 | I971 |
|---|
| 644 | S" fa = b''" |
|---|
| 645 | p254 |
|---|
| 646 | sI972 |
|---|
| 647 | S' for name, value in attr:' |
|---|
| 648 | p255 |
|---|
| 649 | sI973 |
|---|
| 650 | S' fa += (b\' %s="%s"\') % (to_bytes(name), xmlescape(value, True))' |
|---|
| 651 | p256 |
|---|
| 652 | sI974 |
|---|
| 653 | S'' |
|---|
| 654 | sI975 |
|---|
| 655 | S' # get the xml for the inner components' |
|---|
| 656 | p257 |
|---|
| 657 | sI976 |
|---|
| 658 | S" co = b''.join([xmlescape(component) for component in self.components])" |
|---|
| 659 | p258 |
|---|
| 660 | sI977 |
|---|
| 661 | S' return (fa, co)' |
|---|
| 662 | p259 |
|---|
| 663 | sI978 |
|---|
| 664 | S'' |
|---|
| 665 | sI979 |
|---|
| 666 | S' def xml(self):' |
|---|
| 667 | p260 |
|---|
| 668 | sI980 |
|---|
| 669 | S' """' |
|---|
| 670 | p261 |
|---|
| 671 | ssg85 |
|---|
| 672 | S'(self=<gluon.html.TR object>)' |
|---|
| 673 | p262 |
|---|
| 674 | sg87 |
|---|
| 675 | g203 |
|---|
| 676 | sa(dp263 |
|---|
| 677 | g64 |
|---|
| 678 | S'/home/jdalbey/Dropbox/web2py/gluon/html.py' |
|---|
| 679 | p264 |
|---|
| 680 | sg66 |
|---|
| 681 | (dp265 |
|---|
| 682 | S'data' |
|---|
| 683 | p266 |
|---|
| 684 | S'<gluon.html.TD object>' |
|---|
| 685 | p267 |
|---|
| 686 | sS'data.xml' |
|---|
| 687 | p268 |
|---|
| 688 | S'<bound method TD.xml of <gluon.html.TD object>>' |
|---|
| 689 | p269 |
|---|
| 690 | sS'global to_bytes' |
|---|
| 691 | p270 |
|---|
| 692 | S'<function to_bytes>' |
|---|
| 693 | p271 |
|---|
| 694 | ssg72 |
|---|
| 695 | I149 |
|---|
| 696 | sg73 |
|---|
| 697 | (dp272 |
|---|
| 698 | I144 |
|---|
| 699 | S' quote: optional (default False)' |
|---|
| 700 | p273 |
|---|
| 701 | sI145 |
|---|
| 702 | S' """' |
|---|
| 703 | p274 |
|---|
| 704 | sI146 |
|---|
| 705 | S'' |
|---|
| 706 | sI147 |
|---|
| 707 | S' # first try the xml function' |
|---|
| 708 | p275 |
|---|
| 709 | sI148 |
|---|
| 710 | S" if hasattr(data, 'xml') and callable(data.xml):" |
|---|
| 711 | p276 |
|---|
| 712 | sI149 |
|---|
| 713 | S' return to_bytes(data.xml())' |
|---|
| 714 | p277 |
|---|
| 715 | sI150 |
|---|
| 716 | S'' |
|---|
| 717 | sI151 |
|---|
| 718 | S' if not(isinstance(data, (text_type, bytes))):' |
|---|
| 719 | p278 |
|---|
| 720 | sI152 |
|---|
| 721 | S' # i.e., integers' |
|---|
| 722 | p279 |
|---|
| 723 | sI153 |
|---|
| 724 | S' data = str(data)' |
|---|
| 725 | p280 |
|---|
| 726 | ssg85 |
|---|
| 727 | S'(data=<gluon.html.TD object>, quote=True)' |
|---|
| 728 | p281 |
|---|
| 729 | sg87 |
|---|
| 730 | g160 |
|---|
| 731 | sa(dp282 |
|---|
| 732 | g64 |
|---|
| 733 | S'/home/jdalbey/Dropbox/web2py/gluon/html.py' |
|---|
| 734 | p283 |
|---|
| 735 | sg66 |
|---|
| 736 | (dp284 |
|---|
| 737 | S'fa' |
|---|
| 738 | p285 |
|---|
| 739 | g165 |
|---|
| 740 | sS'self' |
|---|
| 741 | p286 |
|---|
| 742 | S'<gluon.html.TD object>' |
|---|
| 743 | p287 |
|---|
| 744 | sS'co' |
|---|
| 745 | p288 |
|---|
| 746 | g165 |
|---|
| 747 | sS'self._xml' |
|---|
| 748 | p289 |
|---|
| 749 | S'<bound method TD._xml of <gluon.html.TD object>>' |
|---|
| 750 | p290 |
|---|
| 751 | ssg72 |
|---|
| 752 | I984 |
|---|
| 753 | sg73 |
|---|
| 754 | (dp291 |
|---|
| 755 | I979 |
|---|
| 756 | S' def xml(self):' |
|---|
| 757 | p292 |
|---|
| 758 | sI980 |
|---|
| 759 | S' """' |
|---|
| 760 | p293 |
|---|
| 761 | sI981 |
|---|
| 762 | S' generates the xml for this component.' |
|---|
| 763 | p294 |
|---|
| 764 | sI982 |
|---|
| 765 | S' """' |
|---|
| 766 | p295 |
|---|
| 767 | sI983 |
|---|
| 768 | S'' |
|---|
| 769 | sI984 |
|---|
| 770 | S' (fa, co) = self._xml()' |
|---|
| 771 | p296 |
|---|
| 772 | sI985 |
|---|
| 773 | S'' |
|---|
| 774 | sI986 |
|---|
| 775 | S' if not self.tag:' |
|---|
| 776 | p297 |
|---|
| 777 | sI987 |
|---|
| 778 | S' return co' |
|---|
| 779 | p298 |
|---|
| 780 | sI988 |
|---|
| 781 | S'' |
|---|
| 782 | ssg85 |
|---|
| 783 | S'(self=<gluon.html.TD object>)' |
|---|
| 784 | p299 |
|---|
| 785 | sg87 |
|---|
| 786 | g180 |
|---|
| 787 | sa(dp300 |
|---|
| 788 | g64 |
|---|
| 789 | S'/home/jdalbey/Dropbox/web2py/gluon/html.py' |
|---|
| 790 | p301 |
|---|
| 791 | sg66 |
|---|
| 792 | (dp302 |
|---|
| 793 | S'component' |
|---|
| 794 | p303 |
|---|
| 795 | S"<class 'gluon.html.HR'>" |
|---|
| 796 | p304 |
|---|
| 797 | sS'self' |
|---|
| 798 | p305 |
|---|
| 799 | S'<gluon.html.TD object>' |
|---|
| 800 | p306 |
|---|
| 801 | sS'global xmlescape' |
|---|
| 802 | p307 |
|---|
| 803 | S'<function xmlescape>' |
|---|
| 804 | p308 |
|---|
| 805 | sS'co' |
|---|
| 806 | p309 |
|---|
| 807 | g165 |
|---|
| 808 | sS'self.components' |
|---|
| 809 | p310 |
|---|
| 810 | S"['5', <class 'gluon.html.HR'>, 'N']" |
|---|
| 811 | p311 |
|---|
| 812 | ssg72 |
|---|
| 813 | I976 |
|---|
| 814 | sg73 |
|---|
| 815 | (dp312 |
|---|
| 816 | I971 |
|---|
| 817 | S" fa = b''" |
|---|
| 818 | p313 |
|---|
| 819 | sI972 |
|---|
| 820 | S' for name, value in attr:' |
|---|
| 821 | p314 |
|---|
| 822 | sI973 |
|---|
| 823 | S' fa += (b\' %s="%s"\') % (to_bytes(name), xmlescape(value, True))' |
|---|
| 824 | p315 |
|---|
| 825 | sI974 |
|---|
| 826 | S'' |
|---|
| 827 | sI975 |
|---|
| 828 | S' # get the xml for the inner components' |
|---|
| 829 | p316 |
|---|
| 830 | sI976 |
|---|
| 831 | S" co = b''.join([xmlescape(component) for component in self.components])" |
|---|
| 832 | p317 |
|---|
| 833 | sI977 |
|---|
| 834 | S' return (fa, co)' |
|---|
| 835 | p318 |
|---|
| 836 | sI978 |
|---|
| 837 | S'' |
|---|
| 838 | sI979 |
|---|
| 839 | S' def xml(self):' |
|---|
| 840 | p319 |
|---|
| 841 | sI980 |
|---|
| 842 | S' """' |
|---|
| 843 | p320 |
|---|
| 844 | ssg85 |
|---|
| 845 | S'(self=<gluon.html.TD object>)' |
|---|
| 846 | p321 |
|---|
| 847 | sg87 |
|---|
| 848 | g203 |
|---|
| 849 | sa(dp322 |
|---|
| 850 | g64 |
|---|
| 851 | S'/home/jdalbey/Dropbox/web2py/gluon/html.py' |
|---|
| 852 | p323 |
|---|
| 853 | sg66 |
|---|
| 854 | (dp324 |
|---|
| 855 | S'data' |
|---|
| 856 | p325 |
|---|
| 857 | S"<class 'gluon.html.HR'>" |
|---|
| 858 | p326 |
|---|
| 859 | sS'data.xml' |
|---|
| 860 | p327 |
|---|
| 861 | S'<unbound method HR.xml>' |
|---|
| 862 | p328 |
|---|
| 863 | sS'global to_bytes' |
|---|
| 864 | p329 |
|---|
| 865 | S'<function to_bytes>' |
|---|
| 866 | p330 |
|---|
| 867 | ssg72 |
|---|
| 868 | I149 |
|---|
| 869 | sg73 |
|---|
| 870 | (dp331 |
|---|
| 871 | I144 |
|---|
| 872 | S' quote: optional (default False)' |
|---|
| 873 | p332 |
|---|
| 874 | sI145 |
|---|
| 875 | S' """' |
|---|
| 876 | p333 |
|---|
| 877 | sI146 |
|---|
| 878 | S'' |
|---|
| 879 | sI147 |
|---|
| 880 | S' # first try the xml function' |
|---|
| 881 | p334 |
|---|
| 882 | sI148 |
|---|
| 883 | S" if hasattr(data, 'xml') and callable(data.xml):" |
|---|
| 884 | p335 |
|---|
| 885 | sI149 |
|---|
| 886 | S' return to_bytes(data.xml())' |
|---|
| 887 | p336 |
|---|
| 888 | sI150 |
|---|
| 889 | S'' |
|---|
| 890 | sI151 |
|---|
| 891 | S' if not(isinstance(data, (text_type, bytes))):' |
|---|
| 892 | p337 |
|---|
| 893 | sI152 |
|---|
| 894 | S' # i.e., integers' |
|---|
| 895 | p338 |
|---|
| 896 | sI153 |
|---|
| 897 | S' data = str(data)' |
|---|
| 898 | p339 |
|---|
| 899 | ssg85 |
|---|
| 900 | S"(data=<class 'gluon.html.HR'>, quote=True)" |
|---|
| 901 | p340 |
|---|
| 902 | sg87 |
|---|
| 903 | g160 |
|---|
| 904 | sasS'pyver' |
|---|
| 905 | p341 |
|---|
| 906 | S'Python 2.7.17: /usr/bin/python (prefix: /usr)' |
|---|
| 907 | p342 |
|---|
| 908 | sS'session' |
|---|
| 909 | p343 |
|---|
| 910 | g59 |
|---|
| 911 | (S's=\x02\x00\x00<div><table><tr><td style="font-weight:bold;vertical-align:top;">closureid</td><td style="vertical-align:top;">:</td><td><div></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">last_orderby</td><td style="vertical-align:top;">:</td><td><div>None</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">last_query</td><td style="vertical-align:top;">:</td><td><div>db.closures.id>0</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">startdate</td><td style="vertical-align:top;">:</td><td><div></div></td></tr></table></div>' |
|---|
| 912 | tRp344 |
|---|
| 913 | sS'etype' |
|---|
| 914 | p345 |
|---|
| 915 | S"<type 'exceptions.TypeError'>" |
|---|
| 916 | p346 |
|---|
| 917 | sS'date' |
|---|
| 918 | p347 |
|---|
| 919 | S'Wed Mar 11 08:33:39 2020' |
|---|
| 920 | p348 |
|---|
| 921 | sS'response' |
|---|
| 922 | p349 |
|---|
| 923 | g59 |
|---|
| 924 | (S's\xf0\x1d\x00\x00<div><table><tr><td style="font-weight:bold;vertical-align:top;">body</td><td style="vertical-align:top;">:</td><td><div><cStringIO.StringO object at 0x7fb2cb5b58f0></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">cookies</td><td style="vertical-align:top;">:</td><td><div><table><tr><td style="font-weight:bold;vertical-align:top;">session_id_hld</td><td style="vertical-align:top;">:</td><td><div>127.0.0.1-86ce2faf-8145-4eeb-bb14-6efd530235e3<table><tr><td style="font-weight:bold;vertical-align:top;">comment</td><td style="vertical-align:top;">:</td><td><div></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">domain</td><td style="vertical-align:top;">:</td><td><div></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">expires</td><td style="vertical-align:top;">:</td><td><div></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">httponly</td><td style="vertical-align:top;">:</td><td><div></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">max-age</td><td style="vertical-align:top;">:</td><td><div></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">path</td><td style="vertical-align:top;">:</td><td><div>/</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">samesite</td><td style="vertical-align:top;">:</td><td><div></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">secure</td><td style="vertical-align:top;">:</td><td><div></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">version</td><td style="vertical-align:top;">:</td><td><div></div></td></tr></table></div></td></tr></table></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">delimiters</td><td style="vertical-align:top;">:</td><td><div><table><tr><td><div>{{</div></td></tr><tr><td><div>}}</div></td></tr></table></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">files</td><td style="vertical-align:top;">:</td><td><div><table><tr><td><div>/HLD/static/js/jquery.js</div></td></tr><tr><td><div>/HLD/static/css/calendar.css</div></td></tr><tr><td><div>/HLD/static/js/calendar.js</div></td></tr><tr><td><div>/HLD/static/js/web2py.js</div></td></tr></table></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">flash</td><td style="vertical-align:top;">:</td><td><div></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">form_label_separator</td><td style="vertical-align:top;">:</td><td><div>: </div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">formstyle</td><td style="vertical-align:top;">:</td><td><div>table3cols</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">generic_patterns</td><td style="vertical-align:top;">:</td><td><div><table><tr><td><div>*</div></td></tr></table></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">headers</td><td style="vertical-align:top;">:</td><td><div><table><tr><td style="font-weight:bold;vertical-align:top;">X-Powered-By</td><td style="vertical-align:top;">:</td><td><div>web2py</div></td></tr></table></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">menu</td><td style="vertical-align:top;">:</td><td><div><table><tr><td><div><table><tr><td><div>Home</div></td></tr><tr><td><div>False</div></td></tr><tr><td><div>/HLD/default/index</div></td></tr></table></div></td></tr><tr><td><div><table><tr><td><div>List</div></td></tr><tr><td><div>False</div></td></tr><tr><td><div>/HLD/default/list</div></td></tr></table></div></td></tr><tr><td><div><table><tr><td><div>Search</div></td></tr><tr><td><div>False</div></td></tr><tr><td><div>/HLD/default/search</div></td></tr></table></div></td></tr><tr><td><div><table><tr><td><div>Request</div></td></tr><tr><td><div>False</div></td></tr><tr><td><div>/HLD/default/submit</div></td></tr></table></div></td></tr></table></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">meta</td><td style="vertical-align:top;">:</td><td><div><table><tr><td style="font-weight:bold;vertical-align:top;">author</td><td style="vertical-align:top;">:</td><td><div>Author</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">description</td><td style="vertical-align:top;">:</td><td><div>describe your app</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">keywords</td><td style="vertical-align:top;">:</td><td><div>keyword</div></td></tr></table></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">models_to_run</td><td style="vertical-align:top;">:</td><td><div><table><tr><td><div>^\\w+\\.py$</div></td></tr><tr><td><div>^default/\\w+\\.py$</div></td></tr><tr><td><div>^default/results/\\w+\\.py$</div></td></tr></table></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">postprocessing</td><td style="vertical-align:top;">:</td><td><div><table></table></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">session_client</td><td style="vertical-align:top;">:</td><td><div>127.0.0.1</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">session_cookie_compression_level</td><td style="vertical-align:top;">:</td><td><div>None</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">session_cookie_expires</td><td style="vertical-align:top;">:</td><td><div>None</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">session_data_name</td><td style="vertical-align:top;">:</td><td><div>session_data_hld</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">session_file</td><td style="vertical-align:top;">:</td><td><div><open file '/home/jdalbey/Dropbox/web2py/applications/HLD/sessions/1a6/017/127.0.0.1-86ce2faf-8145-4eeb-bb14-6efd530235e3', mode 'rb+' at 0x7fb2cb82eb70></div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">session_filename</td><td style="vertical-align:top;">:</td><td><div>/home/jdalbey/Dropbox/web2py/applications/HLD/sessions/127.0.0.1-86ce2faf-8145-4eeb-bb14-6efd530235e3</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">session_hash</td><td style="vertical-align:top;">:</td><td><div>f269a4d22dd868a50b87a24ba1be6903</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">session_id</td><td style="vertical-align:top;">:</td><td><div>127.0.0.1-86ce2faf-8145-4eeb-bb14-6efd530235e3</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">session_id_name</td><td style="vertical-align:top;">:</td><td><div>session_id_hld</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">session_locked</td><td style="vertical-align:top;">:</td><td><div>True</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">session_masterapp</td><td style="vertical-align:top;">:</td><td><div>HLD</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">session_new</td><td style="vertical-align:top;">:</td><td><div>False</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">session_storage_type</td><td style="vertical-align:top;">:</td><td><div>file</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">status</td><td style="vertical-align:top;">:</td><td><div>200</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">subtitle</td><td style="vertical-align:top;">:</td><td><div>subtitle customize me!</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">title</td><td style="vertical-align:top;">:</td><td><div>HLD</div></td></tr><tr><td style="font-weight:bold;vertical-align:top;">view</td><td style="vertical-align:top;">:</td><td><div>default/results.html</div></td></tr></table></div>' |
|---|
| 925 | tRp350 |
|---|
| 926 | sS'locals' |
|---|
| 927 | p351 |
|---|
| 928 | (dp352 |
|---|
| 929 | S'quote' |
|---|
| 930 | p353 |
|---|
| 931 | S'True' |
|---|
| 932 | p354 |
|---|
| 933 | sS'data' |
|---|
| 934 | p355 |
|---|
| 935 | S"<class 'gluon.html.HR'>" |
|---|
| 936 | p356 |
|---|
| 937 | sssS'traceback' |
|---|
| 938 | p357 |
|---|
| 939 | S'Traceback (most recent call last):\n File "/home/jdalbey/Dropbox/web2py/gluon/restricted.py", line 219, in restricted\n exec(ccode, environment)\n File "/home/jdalbey/Dropbox/web2py/applications/HLD/views/default/results.html", line 173, in <module>\n File "/home/jdalbey/Dropbox/web2py/gluon/globals.py", line 434, in write\n self.body.write(to_native(xmlescape(data)))\n File "/home/jdalbey/Dropbox/web2py/gluon/html.py", line 149, in xmlescape\n return to_bytes(data.xml())\n File "/home/jdalbey/Dropbox/web2py/gluon/html.py", line 984, in xml\n (fa, co) = self._xml()\n File "/home/jdalbey/Dropbox/web2py/gluon/html.py", line 976, in _xml\n co = b\'\'.join([xmlescape(component) for component in self.components])\n File "/home/jdalbey/Dropbox/web2py/gluon/html.py", line 149, in xmlescape\n return to_bytes(data.xml())\n File "/home/jdalbey/Dropbox/web2py/gluon/html.py", line 984, in xml\n (fa, co) = self._xml()\n File "/home/jdalbey/Dropbox/web2py/gluon/html.py", line 976, in _xml\n co = b\'\'.join([xmlescape(component) for component in self.components])\n File "/home/jdalbey/Dropbox/web2py/gluon/html.py", line 149, in xmlescape\n return to_bytes(data.xml())\n File "/home/jdalbey/Dropbox/web2py/gluon/html.py", line 984, in xml\n (fa, co) = self._xml()\n File "/home/jdalbey/Dropbox/web2py/gluon/html.py", line 976, in _xml\n co = b\'\'.join([xmlescape(component) for component in self.components])\n File "/home/jdalbey/Dropbox/web2py/gluon/html.py", line 149, in xmlescape\n return to_bytes(data.xml())\nTypeError: unbound method xml() must be called with HR instance as first argument (got nothing instead)\n' |
|---|
| 940 | p358 |
|---|
| 941 | s. |
|---|