https://bugzilla.wikimedia.org/show_bug.cgi?id=16716

           Summary: UnicodeEncodeError in profiling script report.py
           Product: Wikimedia
           Version: unspecified
          Platform: All
               URL: http://noc.wikimedia.org/cgi-
                    bin/ng/report.py?db=others&sort=count&limit=5000&sample=
                    &compare=&prefix=MessageCache::get
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: General/Unknown
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Given URL gives incomplete output, ending with the following error report:

dbg = 0, comparedformat = '\n<tr class="data"><td
class="name">%s</td>\n<td>%...td><td>%.1f</td><td>%.1f</td><td>%.1f</td>\n</tr>\n',
name = u'MessageCache::get-accesskey-n-\u304a\u77e5\u3089\u305b', name.replace
= <built-in method replace of unicode object>, event = {'count': 1220, 'cpu':
0.074995999999999993, 'cpusq': 0.00052499999999999997, 'onecpu':
6.1472131147540985e-05, 'onereal': 8.372131147540983e-05, 'real':
0.10213999999999999, 'realsq': 6.4999999999999994e-05}, callcount =
4.7277100580675178e-05, countdiff = 0, realpct = 1.9333504993955514e-08,
realpctdiff = 0, onereal = 8.372131147540983e-05, onerealdiff = 0

UnicodeEncodeError: 'ascii' codec can't encode characters in position 65-68:
ordinal not in range(128) 
      args = ('ascii', u'\n<tr class="data"><td
class="name">MessageCache:...0</td><td>0.0</td><td>0.1</td><td>0.0</td>\n</tr>\n',
65, 69, 'ordinal not in range(128)') 
      encoding = 'ascii' 
      end = 69 
      object = u'\n<tr class="data"><td
class="name">MessageCache:...0</td><td>0.0</td><td>0.1</td><td>0.0</td>\n</tr>\n'
 
      reason = 'ordinal not in range(128)' 
      start = 65


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to