| 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|---|
| 2 | <html xmlns="http://www.w3.org/1999/xhtml">
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 | <head>
|
|---|
| 10 | <title>
|
|---|
| 11 | Internal Error – JOSM
|
|---|
| 12 | </title>
|
|---|
| 13 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
|---|
| 14 | <meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|---|
| 15 | <!--[if IE]><script type="text/javascript">
|
|---|
| 16 | if (/^#__msie303:/.test(window.location.hash))
|
|---|
| 17 | window.location.replace(window.location.hash.replace(/^#__msie303:/, '#'));
|
|---|
| 18 | </script><![endif]-->
|
|---|
| 19 | <link rel="search" href="/search" />
|
|---|
| 20 | <link rel="help" href="/wiki/TracGuide" />
|
|---|
| 21 | <link rel="start" href="/wiki" />
|
|---|
| 22 | <link rel="stylesheet" href="/chrome/common/css/trac.css" type="text/css" />
|
|---|
| 23 | <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
|
|---|
| 24 | <link rel="icon" href="/favicon.ico" type="image/x-icon" />
|
|---|
| 25 | <link type="application/opensearchdescription+xml" rel="search" href="/search/opensearch" title="Search JOSM" />
|
|---|
| 26 | <script type="text/javascript" charset="utf-8" src="/chrome/common/js/jquery.js"></script>
|
|---|
| 27 | <script type="text/javascript" charset="utf-8" src="/chrome/common/js/babel.js"></script>
|
|---|
| 28 | <script type="text/javascript" charset="utf-8" src="/chrome/common/js/messages/en_US.js"></script>
|
|---|
| 29 | <script type="text/javascript" charset="utf-8" src="/chrome/common/js/trac.js"></script>
|
|---|
| 30 | <script type="text/javascript" charset="utf-8" src="/chrome/common/js/search.js"></script>
|
|---|
| 31 | <link rel="stylesheet" type="text/css" href="/chrome/common/css/code.css" />
|
|---|
| 32 | <script type="text/javascript">/*<![CDATA[*/
|
|---|
| 33 | jQuery(document).ready(function($) {
|
|---|
| 34 | $("form.newticket textarea").each(function() {
|
|---|
| 35 | $(this).val($(this).val()
|
|---|
| 36 | .replace(/#USER_AGENT#/m, navigator.userAgent)
|
|---|
| 37 | .replace(/#JQUERY#/m, $().jquery));
|
|---|
| 38 | });
|
|---|
| 39 | });
|
|---|
| 40 | /*]]>*/</script>
|
|---|
| 41 | </head>
|
|---|
| 42 | <body>
|
|---|
| 43 | <div id="banner">
|
|---|
| 44 | <div id="header">
|
|---|
| 45 | <a id="logo" href="https://josm.openstreetmap.de"><img src="/svn/trunk/images/logo.png" alt="JOSM" height="80" width="80" /></a>
|
|---|
| 46 | </div>
|
|---|
| 47 | <form id="search" action="/search" method="get">
|
|---|
| 48 | <div>
|
|---|
| 49 | <label for="proj-search">Search:</label>
|
|---|
| 50 | <input type="text" id="proj-search" name="q" size="18" value="" />
|
|---|
| 51 | <input type="submit" value="Search" />
|
|---|
| 52 | </div>
|
|---|
| 53 | </form>
|
|---|
| 54 | <div id="metanav" class="nav">
|
|---|
| 55 | <ul>
|
|---|
| 56 | <li class="first"><a href="/login">Login</a></li><li><a href="/prefs">Preferences</a></li><li><a href="/wiki/TracGuide">Help/Guide</a></li><li><a href="/about">About Trac</a></li><li><a href="/register">Register</a></li><li class="last"><a href="/rpc">API</a></li>
|
|---|
| 57 | </ul>
|
|---|
| 58 | </div>
|
|---|
| 59 | </div>
|
|---|
| 60 | <div id="mainnav" class="nav">
|
|---|
| 61 | <ul>
|
|---|
| 62 | <li class="first"><a href="/wiki">Wiki</a></li><li><a href="/timeline">Timeline</a></li><li><a href="/log/josm/?verbose=on">Changelog</a></li><li><a href="/browser">Browse Source</a></li><li><a href="/report">View Tickets</a></li><li><a href="/newticket">New Ticket</a></li><li><a href="/roadmap">Roadmap</a></li><li class="last"><a href="/search">Search</a></li>
|
|---|
| 63 | </ul>
|
|---|
| 64 | </div>
|
|---|
| 65 | <div id="main">
|
|---|
| 66 | <div id="ctxtnav" class="nav">
|
|---|
| 67 | <h2>Context Navigation</h2>
|
|---|
| 68 | <hr />
|
|---|
| 69 | </div>
|
|---|
| 70 | <div id="content" class="error">
|
|---|
| 71 | <h1>Oops…</h1>
|
|---|
| 72 | <div class="message">
|
|---|
| 73 | <strong>Trac detected an internal error:</strong>
|
|---|
| 74 | <pre>NameError: global name 'fname' is not defined</pre>
|
|---|
| 75 | </div>
|
|---|
| 76 | <p>There was an internal error in Trac.
|
|---|
| 77 | It is recommended that you notify your local
|
|---|
| 78 | Trac administrator with the information needed to
|
|---|
| 79 | reproduce the issue.</p>
|
|---|
| 80 | <form class="newticket" method="get" action="/newticket#">
|
|---|
| 81 | <p>To that end, you could
|
|---|
| 82 | <input type="hidden" name="reporter" value="anonymous" />
|
|---|
| 83 | <input type="hidden" name="summary" value="NameError: global name 'fname' is not defined" />
|
|---|
| 84 | <textarea name="description" rows="3" cols="10">
|
|---|
| 85 | ==== How to Reproduce ====
|
|---|
| 86 |
|
|---|
| 87 | While doing a GET operation on `/plugin`, Trac issued an internal error.
|
|---|
| 88 |
|
|---|
| 89 | ''(please provide additional details here)''
|
|---|
| 90 |
|
|---|
| 91 | Request parameters:
|
|---|
| 92 | {{{
|
|---|
| 93 | {}
|
|---|
| 94 | }}}
|
|---|
| 95 |
|
|---|
| 96 | User agent: `#USER_AGENT#`
|
|---|
| 97 |
|
|---|
| 98 | ==== System Information ====
|
|---|
| 99 | ''System information not available''
|
|---|
| 100 |
|
|---|
| 101 | ==== Enabled Plugins ====
|
|---|
| 102 | ''Plugin information not available''
|
|---|
| 103 |
|
|---|
| 104 | ==== Python Traceback ====
|
|---|
| 105 | {{{
|
|---|
| 106 | Traceback (most recent call last):
|
|---|
| 107 | File "/usr/lib/python2.7/dist-packages/trac/web/main.py", line 497, in _dispatch_request
|
|---|
| 108 | dispatcher.dispatch(req)
|
|---|
| 109 | File "/usr/lib/python2.7/dist-packages/trac/web/main.py", line 214, in dispatch
|
|---|
| 110 | resp = chosen_handler.process_request(req)
|
|---|
| 111 | File "/home/josm/trac/plugins/JOSM.py", line 135, in process_request
|
|---|
| 112 | req.send_header('Last-Modified', Jars.getwebtimefile(pluginsfile))
|
|---|
| 113 | File "/home/josm/trac/plugins/JOSM.py", line 75, in getwebtimefile
|
|---|
| 114 | ftime = gmtime(getmtime(fname))
|
|---|
| 115 | NameError: global name 'fname' is not defined
|
|---|
| 116 | }}}</textarea>
|
|---|
| 117 | <span class="inlinebuttons">
|
|---|
| 118 | <input type="submit" name="create" value="Create" />
|
|---|
| 119 | </span>
|
|---|
| 120 | a ticket.</p>
|
|---|
| 121 | </form>
|
|---|
| 122 | <p>The action that triggered the error was:</p>
|
|---|
| 123 | <pre>GET: /plugin</pre>
|
|---|
| 124 | <p>
|
|---|
| 125 | <a href="/wiki/TracGuide">TracGuide</a> — The Trac User and Administration Guide
|
|---|
| 126 | </p>
|
|---|
| 127 | </div>
|
|---|
| 128 | </div>
|
|---|
| 129 | <div id="footer" lang="en" xml:lang="en"><hr />
|
|---|
| 130 | <a id="tracpowered" href="http://trac.edgewall.org/"><img src="/chrome/common/trac_logo_mini.png" height="30" width="107" alt="Trac Powered" /></a>
|
|---|
| 131 | <p class="left">Powered by <a href="/about"><strong>Trac 1.0.1</strong></a><br />
|
|---|
| 132 | By <a href="http://www.edgewall.org/">Edgewall Software</a>.</p>
|
|---|
| 133 | <p class="right">Server sponsored by <a href="https://www.hetzner.de/">Hetzner</a>. Visit the Openstreetmap project at <a href="https://www.openstreetmap.org/">https://www.openstreetmap.org/</a><br />Content is available under <a href="https://creativecommons.org/licenses/by-sa/3.0/">Creative Commons (CC-BY-SA)</a> and anything since April 2014 also under <a href="https://www.gnu.org/licenses/lgpl.html">LGPL</a> license.</p>
|
|---|
| 134 | </div>
|
|---|
| 135 | </body>
|
|---|
| 136 | </html>
|
|---|
| 137 |
|
|---|