[tahoe-lafs-trac-stream] [Tahoe-LAFS] #1973: wui: "since" and "announced" columns are confusing

Tahoe-LAFS trac at tahoe-lafs.org
Tue Nov 25 17:53:55 UTC 2014


#1973: wui: "since" and "announced" columns are confusing
-------------------------+-------------------------------------------------
     Reporter:  leif     |      Owner:  leif
         Type:  defect   |     Status:  new
     Priority:  normal   |  Milestone:  soon
    Component:  code-    |    Version:  1.10.0
  frontend-web           |   Keywords:  usability wui welcome time test-
   Resolution:           |  needed
Launchpad Bug:           |
-------------------------+-------------------------------------------------

Comment (by daira):

 I get a test failure:
 {{{
 [FAIL]
 Traceback (most recent call last):
   File "/home/davidsarah/tahoe/git/trunk/src/allmydata/test/test_web.py",
 line 638, in _check
     self.failUnlessIn('<div class="status-indicator service-
 Connected"></div>\n<div class="status-description">Connected<br /><a
 class="timestamp" title="00:00:10 01-Jan-1970">1d0h0m50s</a></div></td>',
 res_u)
   File "/usr/lib/python2.7/dist-packages/twisted/trial/_synctest.py", line
 416, in assertIn
     % (containee, container))
 twisted.trial.unittest.FailTest: '<div class="status-indicator service-
 Connected"></div>\n<div class="status-description">Connected<br /><a
 class="timestamp" title="00:00:10 01-Jan-1970">1d0h0m50s</a></div></td>'
 not in u'<!DOCTYPE html\n  PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"\n
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\n<html lang="en">\n
 <head>\n    <meta charset="utf-8" />\n    <title>Tahoe-LAFS -
 Welcome</title>\n    <meta content="width=device-width, initial-scale=1.0"
 name="viewport" />\n    <meta content="Tahoe-LAFS is a free and open
 distributed storage system" name="description" />\n    <meta content
 ="Tahoe-LAFS" name="author" />\n\n    <!-- Le styles -->\n    <link
 href="/css/bootstrap.css" rel="stylesheet" />\n    <link href="/css/new-
 tahoe.css" rel="stylesheet" />\n\n    <!-- Le fav and touch icons -->\n
 <link href="/icon.png" rel="shortcut icon" />\n  </head>\n\n  <body>\n\n
 <div class="navbar navbar-fixed-top">\n      <div class="navbar-inner">\n
 <div class="container-fluid">\n          <a href="/" class="brand"><img
 src="/img/logo.png" alt="Tahoe-LAFS" /></a>\n          <table class="node-
 info pull-right">\n            <tr>\n              <th>Nickname:</th>\n
 <td>fake_nickname \u263a</td>\n            </tr>\n            <tr>\n
 <th>Node ID:</th>\n              <td title="TubID: tubid">v0-nodeid</td>\n
 </tr>\n          </table>\n        </div>\n      </div>\n    </div>\n\n
 <div class="container-fluid">\n      <div class="row-fluid">\n        <div
 class="span3">\n          <div class="well sidebar-nav nav">\n
 <div class="nav-header">Open Tahoe-URI:</div>\n             <div class
 ="nav-form">\n               <form action="uri" method="get"
 enctype="multipart/form-data">\n                 <input type="text"
 name="uri" />\n                 <p><input type="submit" class="btn"
 value="View File or Directory \xbb" /></p>\n               </form>\n
 </div>\n            <hr />\n\n            <div class="nav-header">Download
 Tahoe-URI:</div>\n            <div class="nav-form">\n              <form
 action="uri" method="get" enctype="multipart/form-data">\n
 <label for="download-uri">\n                  URI\n
 <input type="text" name="uri" />\n                </label>\n
 <label for="download-filename">\n                  Filename\n
 <input type="text" name="filename" />\n                </label>\n
 <input type="hidden" name="save" value="true" />\n
 <p><input type="submit" class="btn" value="Download File \xbb" /></p>\n
 </form>\n            </div>\n            <hr />\n\n            <div class
 ="nav-header">Upload File</div>\n            <div class="nav-form">\n
 <form action="uri" method="post" enctype="multipart/form-data">\n
 <input type="file" class="freeform-input-file" name="file" />\n
 <input type="hidden" name="t" value="upload" />\n\n                <label
 class="radio" for="upload-chk"> \n                  <input
 checked="checked" type="radio" id="upload-chk" value="chk" name="format"
 />\n                  Immutable\n                </label>\n\n
 <label class="radio" for="upload-sdmf">\n                  <input
 type="radio" id="upload-sdmf" value="sdmf" name="format" />\n
 <acronym title="Small Distributed Mutable File">SDMF</acronym>\n
 </label>\n\n                <label class="radio" for="upload-mdmf">\n
 <input type="radio" id="upload-mdmf" value="mdmf" name="format" />\n
 <acronym title="Medium Distributed Mutable File">MDMF</acronym>
 (experimental)\n                </label>\n\n                <p><input
 type="submit" class="btn" value="Upload File \xbb" /></p>\n
 </form>\n            </div>\n            <hr />\n\n            <div class
 ="nav-header">Create Directory</div>\n            <div class="nav-form">\n
 <form action="uri" method="post" enctype="multipart/form-data">\n
 <label class="radio" for="mkdir-sdmf"> \n                  <input
 checked="checked" type="radio" id="mkdir-sdmf" value="sdmf" name="format"
 />\n                  <acronym title="Small Distributed Mutable
 File">SDMF</acronym>\n                </label>\n\n                <label
 class="radio" for="mkdir-mdmf">\n                  <input type="radio" id
 ="mkdir-mdmf" value="mdmf" name="format" />\n                  <acronym
 title="Medium Distributed Mutable File">MDMF</acronym> (experimental)\n
 </label>\n\n                <input type="hidden" name="t" value="mkdir"
 />\n                <input type="hidden" name="redirect_to_result"
 value="true" />\n                <input type="submit" class="btn"
 value="Create a directory \xbb" />\n              </form>\n
 </div>\n\n          </div><!--/.well -->\n          <div class="well
 sidebar-nav">\n            <div class="nav-header">\n              <ul
 class="nav nav-list">\n                <li class="nav-header">Tools</li>\n
 <li><a href="status">Recent and Active Operations</a></li>\n
 <li><a href="statistics">Operational Statistics</a></li>\n
 </ul>\n            </div>\n            <hr />\n            <div class
 ="nav-header">\n              <ul class="nav nav-list">\n
 <li class="nav-header">Save incident report</li>\n
 <li><div><form action="report_incident" method="post" enctype="multipart
 /form-data"><fieldset><input type="hidden" name="t" value="report-
 incident" />What went wrong?\xa0\xa0<input type="text" name="details"
 />\xa0\xa0<input type="submit" value="Save \xbb"
 /></fieldset></form></div></li>\n              </ul>\n            </div>\n
 </div><!--/.well -->\n        </div><!--/span-->\n        <div
 class="span9">\n          <div style="margin-bottom: 16px">\n
 <h1 style="font-size: 48px">Grid Status</h1>\n          </div>\n
 <div class="grid-status">\n            <div class="row-fluid">\n
 <div class="span6">\n                <div>\n                  <h3>\n
 <div class="status-indicator connected-no"></div>\n
 <div>Introducer not connected</div>\n                  </h3>\n
 <div class="furl">/[censored]</div>\n                </div>\n
 <div>\n                  <h3>\n                    <div class="status-
 indicator connected-not-configured"></div>\n
 <div>Helper</div>\n                  </h3>\n                  <div
 class="furl">None</div>\n                </div>\n
 </div><!--/span-->\n              <div class="span6">\n
 <div class="span4 services">\n                  <h3>Services</h3>\n
 <div><ul><li><a href="storage">Storage Server</a>: not accepting new
 shares (read-only)</li><li>Not running helper</li></ul></div>\n
 </div><!--/span-->\n              </div><!--/span-->\n
 </div><!--/row-->\n          </div>\n          <div class="row-fluid">\n
 <h2>\n              Connected to <span>1</span>\n              of
 <span>2</span> known storage servers\n            </h2>\n
 </div><!--/row-->\n          <table class="table table-striped table-
 bordered peer-status"><tr>\n                <td><h3>Status</h3></td>\n
 <td><h3>Nickname</h3></td>\n                <td><h3>Address</h3></td>\n
 <td><h3>Last RX</h3></td>\n                <td><h3>Version</h3></td>\n
 <td><h3>Available</h3></td>\n              </tr><tr>\n              <td
 class="service-connection-status">\n              <div class="status-
 indicator service-Disconnected"></div>\n<div class="status-
 description">Disconnected<br /><a class="timestamp" title="01:00:25
 01-Jan-1970">1d0h0m35s</a></div></td>\n              <td class="nickname-
 and-peerid">\n                <div class="nickname">disconnected_nickname
 \u263b</div>\n                <div
 class="nodeid">n52gqzlsl5xg6zdfnfsa</div>\n              </td>\n
 <td class="address">N/A</td>\n              <td class="service-last-
 received-data"><a class="timestamp" title="01:00:35
 01-Jan-1970">1d0h0m25s</a></td>\n              <td class="service-version
 ">allmydata-tahoe-fake</td>\n              <td class="service-available-
 space">123.5kB</td>\n            </tr><tr>\n              <td class
 ="service-connection-status">\n              <div class="status-indicator
 service-Connected"></div>\n<div class="status-description">Connected<br
 /><a class="timestamp" title="01:00:10
 01-Jan-1970">1d0h0m50s</a></div></td>\n              <td class="nickname-
 and-peerid">\n                <div class="nickname">other_nickname
 \u263b</div>\n                <div
 class="nodeid">n52gqzlsl5xg6zdfnfsa</div>\n              </td>\n
 <td class="address"></td>\n              <td class="service-last-received-
 data"><a class="timestamp" title="01:00:30
 01-Jan-1970">1d0h0m30s</a></td>\n              <td class="service-version
 ">allmydata-tahoe-fake</td>\n              <td class="service-available-
 space">123.5kB</td>\n            </tr></table>\n
 </div><!--/span-->\n      </div><!--/row-->\n\n      <hr />\n\n
 <footer>\n        <p>\xa9 <a href="https://tahoe-lafs.org/">Tahoe-LAFS
 Software Foundation 2013</a></p>\n        <p class="minutia">Page rendered
 at <span>17:44:14 25-Nov-2014</span></p>\n        <p class="minutia
 ">allmydata-tahoe: 1.10.0.post212 [1973-status-last-rx-rebased:
 486dbfc7bd3c0bbba42a6df8e4564601120aec0e]\nfoolscap: 0.6.4\npycryptopp:
 0.6.0.1206569328141510525648634803928199668821045408958\nzfec:
 1.4.5\nTwisted: 13.0.0\nNevow: 0.11.1\nzope.interface: unknown\npython:
 2.7.5+\nplatform: Linux-LinuxMint_1-x86_64-64bit_ELF\npyOpenSSL:
 0.14\nsimplejson: 2.6.2\npycrypto: 2.6\npyasn1: 0.1.7\nmock:
 1.0.1\nsetuptools: 0.6c16dev5\nservice-identity: 14.0.0\ncharacteristic:
 14.1.0\npyasn1-modules: 0.0.5\ncryptography: 0.3\ncffi: 0.8.2\nsix:
 1.8.0\npycparser: 2.10\n</p>\n        <p class="minutia">Tahoe-LAFS code
 imported from: <span><module \'allmydata\' from
 \'/home/davidsarah/tahoe/git/trunk/src/allmydata/__init__.py\'></span></p>\n
 </footer>\n\n    </div><!--/.fluid-container-->\n  </body>\n</html>'

 allmydata.test.test_web.Web.test_welcome
 -------------------------------------------------------------------------------
 }}}

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1973#comment:12>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list