[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2725: Unicode-related failure in test_web.Web.test_welcome on Windows

Tahoe-LAFS trac at tahoe-lafs.org
Tue Feb 2 19:23:54 UTC 2016


#2725: Unicode-related failure in test_web.Web.test_welcome on Windows
------------------------------------------+------------------------
 Reporter:  daira                         |          Owner:
     Type:  defect                        |         Status:  new
 Priority:  normal                        |      Milestone:  1.10.3
Component:  code-frontend-web             |        Version:  1.10.2
 Keywords:  tests blocks-release windows  |  Launchpad Bug:
------------------------------------------+------------------------
 {{{
 [FAIL]
 Traceback (most recent call last):
   File
 "c:\users\buildslave\tahoe\daira_win7-64_py2_7\build\src\allmydata\test\test_web.py",
 line 637, in _check
     self.failUnless(re.search(u'<div class="status-indicator"><img
 (src="img/connected-yes.png" |alt="Connected" ){2}/></div>\n
 <a( class="timestamp"| title="1970-01-01
 13:00:10"){2}>1d\u00A00h\u00A00m\u00A050s</a>', res_u), res_u)
   File "C:\Python27\lib\site-packages\twisted\trial\_synctest.py", line
 400, in assertTrue
     super(_Assertions, self).assertTrue(condition, msg)
   File "C:\Python27\lib\unittest\case.py", line 422, in assertTrue
     raise self.failureException(msg)
 twisted.trial.unittest.FailTest: <FailTest instance at 0x5ef5240 with str
 error:
  Traceback (most recent call last):
   File "C:\Python27\lib\site-packages\twisted\python\reflect.py", line
 443, in safe_str
     return str(o)
 UnicodeEncodeError: 'ascii' codec can't encode character u'\u263a' in
 position 1004: ordinal not in range(128)
 >

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

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2725>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


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