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

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>9955</bug_id>
          
          <creation_ts>2016-07-15 16:06:54 +0000</creation_ts>
          <short_desc>patchtest-oe: string encoding error on some series</short_desc>
          <delta_ts>2017-12-06 17:03:40 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>Patchwork/Patchtest</product>
          <component>Patchtest</component>
          <version>2.3</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.2 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</reporter>
          <assigned_to name="Daniela Plascencia">daniela.plascencia</assigned_to>
          <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>64054</commentid>
    <comment_count>0</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2016-07-15 16:06:54 +0000</bug_when>
    <thetext>series are being parse by unidiff python module and for some series [1], when converting a specific patch into a string, it raises the following exception:

Traceback (most recent call last):
  File &quot;/usr/lib64/python2.7/unittest/case.py&quot;, line 329, in run
    testMethod()
  File &quot;/home/lsandov1/repos/pt-oe/tests/patch/signed_off_by/test_signed_off_by.py&quot;, line 34, in test_signed_off_by_format
    payload = str(newpatch)
UnicodeEncodeError: &apos;ascii&apos; codec can&apos;t encode character u&apos;\u201c&apos; in position 632: ordinal not in range(128)
None

[1] https://patchwork.openembedded.org/series/47/

This is another problem observed from the unidiff module (the other one is 
https://bugzilla.yoctoproject.org/show_bug.cgi?id=9953).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65648</commentid>
    <comment_count>1</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2016-08-31 15:02:46 +0000</bug_when>
    <thetext>Due to time constrains, moving it to M4.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66693</commentid>
    <comment_count>2</comment_count>
    <who name="Daniela Plascencia">daniela.plascencia</who>
    <bug_when>2016-09-28 16:24:19 +0000</bug_when>
    <thetext>Changing status to resolved fixed</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>