<?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>9868</bug_id>
          
          <creation_ts>2016-07-01 20:47:16 +0000</creation_ts>
          <short_desc>yocto-bsp: help command throws exception and messes terminal</short_desc>
          <delta_ts>2016-07-29 15:57:09 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>Scripts and Tools</component>
          <version>2.2</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 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Humberto Ibarra">humberto.ibarra.lopez</reporter>
          <assigned_to name="Humberto Ibarra">humberto.ibarra.lopez</assigned_to>
          <cc>jose.perez.carranza</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>ross.burton</cc>
          
          <qa_contact name="David Rodriguez">david.israelx.rodriguez.castellanos</qa_contact>
          <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>63595</commentid>
    <comment_count>0</comment_count>
    <who name="Humberto Ibarra">humberto.ibarra.lopez</who>
    <bug_when>2016-07-01 20:47:16 +0000</bug_when>
    <thetext>Issuing &apos;yocto-bsp help create&apos; throws the following output:

  File &quot;/home/humberto/poky-test43/scripts/lib/bsp/help.py&quot;, line 67, in invoke_subcommand
    yocto_help(args, main_command_usage, subcommands)
  File &quot;/home/humberto/poky-test43/scripts/lib/bsp/help.py&quot;, line 54, in yocto_help
    if len(args) == 1 or not display_help(args[1], subcommands):
  File &quot;/home/humberto/poky-test43/scripts/lib/bsp/help.py&quot;, line 45, in display_help
    pager.communicate(help)
  File &quot;/usr/local/lib/python3.4/subprocess.py&quot;, line 943, in communicate
    self.stdin.write(input)
TypeError: &apos;str&apos; does not support the buffer interface
(END)[humberto@jhibarra-MOBL1 build]$ 


Also after exiting pager, the terminal is messed and needs to be closed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63605</commentid>
    <comment_count>1</comment_count>
    <who name="Humberto Ibarra">humberto.ibarra.lopez</who>
    <bug_when>2016-07-02 18:17:37 +0000</bug_when>
    <thetext>Sent patch

https://lists.yoctoproject.org/pipermail/poky/2016-July/010604.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63721</commentid>
    <comment_count>2</comment_count>
    <who name="Humberto Ibarra">humberto.ibarra.lopez</who>
    <bug_when>2016-07-07 14:56:37 +0000</bug_when>
    <thetext>Already in master

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=71bc7fd8ce9ba4db13ca82f56ff7d8ab8b2a279f</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>