<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>27930</bug_id>
          
          <creation_ts>2009-08-02 00:52:30 -0700</creation_ts>
          <short_desc>bugzilla-tool hates Tor Arne Vestbø</short_desc>
          <delta_ts>2009-08-02 11:06:06 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Adam Barth">abarth</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ddkilzer</cc>
    
    <cc>eric</cc>
    
    <cc>vestbo</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>136522</commentid>
    <comment_count>0</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2009-08-02 00:52:30 -0700</bug_when>
    <thetext>abarth@zenque:~/git/webkit$ ./WebKitTools/Scripts/bugzilla-tool land-diff 27866 --no-build
Fetching: https://bugs.webkit.org/show_bug.cgi?id=27866&amp;ctype=xml
Guessing &quot;Tor Arne Vestbø&quot; as reviewer from attachment 33856 on bug 27866.
Traceback (most recent call last):
  File &quot;./WebKitTools/Scripts/bugzilla-tool&quot;, line 663, in &lt;module&gt;
    main()
  File &quot;./WebKitTools/Scripts/bugzilla-tool&quot;, line 660, in main
    return tool.main()
  File &quot;./WebKitTools/Scripts/bugzilla-tool&quot;, line 655, in main
    return command_object.execute(command_options, command_args, self)
  File &quot;./WebKitTools/Scripts/bugzilla-tool&quot;, line 251, in execute
    self.update_changelogs_with_reviewer(options.reviewer, bug_id, tool)
  File &quot;./WebKitTools/Scripts/bugzilla-tool&quot;, line 245, in update_changelogs_with_reviewer
    set_reviewer_in_changelog(changelog, reviewer)
  File &quot;./WebKitTools/Scripts/bugzilla-tool&quot;, line 89, in set_reviewer_in_changelog
    print line.replace(&quot;NOBODY (OOPS!)&quot;, reviewer),
UnicodeEncodeError: &apos;ascii&apos; codec can&apos;t encode character u&apos;\xf8&apos; in position 34: ordinal not in range(128)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>136551</commentid>
    <comment_count>1</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2009-08-02 06:28:50 -0700</bug_when>
    <thetext>The wisdom of the web says this should fix it:

-        print line.replace(&quot;NOBODY (OOPS!)&quot;, reviewer),
+        print line.replace(&quot;NOBODY (OOPS!)&quot;, reviewer.encode(&quot;utf-8&quot;))</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>136552</commentid>
    <comment_count>2</comment_count>
      <attachid>33951</attachid>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2009-08-02 06:50:53 -0700</bug_when>
    <thetext>Created attachment 33951
Patch v1

Reviewed by NOBODY (OOPS!).

* Scripts/bugzilla-tool:
(set_reviewer_in_changelog): Made sure reviewer is properly
encoded when calling replace().
---
 2 files changed, 11 insertions(+), 1 deletions(-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>136557</commentid>
    <comment_count>3</comment_count>
      <attachid>33951</attachid>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2009-08-02 07:27:49 -0700</bug_when>
    <thetext>Comment on attachment 33951
Patch v1

Clearing review flag on attachment: 33951

Committing to http://svn.webkit.org/repository/webkit/trunk ...
	M	WebKitTools/ChangeLog
	M	WebKitTools/Scripts/bugzilla-tool
Committed r46700
	M	WebKitTools/ChangeLog
	M	WebKitTools/Scripts/bugzilla-tool
r46700 = eb267d44bd231e0ebd2bff224253aeef38af6591 (trunk)
No changes between current HEAD and refs/remotes/trunk
Resetting to the latest refs/remotes/trunk
http://trac.webkit.org/changeset/46700</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>136558</commentid>
    <comment_count>4</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2009-08-02 07:27:54 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>136561</commentid>
    <comment_count>5</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-08-02 08:00:20 -0700</bug_when>
    <thetext>Does bugzilla 3.0 now have everything encoded as utf8 now?  You would think in this modern world we wouldn&apos;t have to re-encode everything all the time. ;)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>136565</commentid>
    <comment_count>6</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2009-08-02 10:20:48 -0700</bug_when>
    <thetext>(In reply to comment #5)
&gt; Does bugzilla 3.0 now have everything encoded as utf8 now?  You would think in
&gt; this modern world we wouldn&apos;t have to re-encode everything all the time. ;)

We&apos;re using Bugzilla 3.2, and yes, the UTF-8 encoding option is enabled for bugs.webkit.org.

The other thing I just realized is that I landed the patch with &quot;old&quot; version of this tool, and it worked just fine.  Maybe it&apos;s related to Adam&apos;s local setup?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>136566</commentid>
    <comment_count>7</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2009-08-02 10:22:48 -0700</bug_when>
    <thetext>(In reply to comment #6)
&gt; The other thing I just realized is that I landed the patch with &quot;old&quot; version
&gt; of this tool, and it worked just fine.  Maybe it&apos;s related to Adam&apos;s local
&gt; setup?

It&apos;s possible.  I just use a mac.  Maybe the system version of python needs an upgrade?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>136567</commentid>
    <comment_count>8</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-08-02 11:06:06 -0700</bug_when>
    <thetext>I&apos;ve never touched my system version of python, and I&apos;ve not had trouble.  But this change is also fine. :)</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>33951</attachid>
            <date>2009-08-02 06:50:53 -0700</date>
            <delta_ts>2009-08-02 07:27:49 -0700</delta_ts>
            <desc>Patch v1</desc>
            <filename>bug-27930-20090802065047.patch</filename>
            <type>text/plain</type>
            <size>1206</size>
            <attacher name="David Kilzer (:ddkilzer)">ddkilzer</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1dlYktpdFRvb2xzL0NoYW5nZUxvZyBiL1dlYktpdFRvb2xzL0NoYW5nZUxv
ZwppbmRleCA1ZGI0ODgxLi43ZmQ0OWM3IDEwMDY0NAotLS0gYS9XZWJLaXRUb29scy9DaGFuZ2VM
b2cKKysrIGIvV2ViS2l0VG9vbHMvQ2hhbmdlTG9nCkBAIC0xLDMgKzEsMTMgQEAKKzIwMDktMDgt
MDIgIERhdmlkIEQuIEtpbHplciAgPGRka2lsemVyQHdlYmtpdC5vcmc+CisKKyAgICAgICAgPGh0
dHA6Ly93ZWJraXQub3JnL2IvMjc5MzA+IGJ1Z3ppbGxhLXRvb2wgaGF0ZXMgVG9yIEFybmUgVmVz
dGLDuAorCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgICog
U2NyaXB0cy9idWd6aWxsYS10b29sOgorICAgICAgICAoc2V0X3Jldmlld2VyX2luX2NoYW5nZWxv
Zyk6IE1hZGUgc3VyZSByZXZpZXdlciBpcyBwcm9wZXJseQorICAgICAgICBlbmNvZGVkIHdoZW4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