<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: hplip-plugin in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/hplip-plugin/m-p/1864091#M18843</link>
    <description>&lt;P&gt;too old ...&lt;BR /&gt;but must add python3-distro to image&lt;/P&gt;</description>
    <pubDate>Mon, 13 May 2024 06:31:51 GMT</pubDate>
    <dc:creator>macrobert</dc:creator>
    <dc:date>2024-05-13T06:31:51Z</dc:date>
    <item>
      <title>hplip-plugin</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/hplip-plugin/m-p/1797618#M18824</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I'm using SABRE board and it's runnig yocto (Linux imx6qeisd 5.10.52)&lt;/P&gt;&lt;P&gt;I successfully added &lt;STRONG&gt;cups cups-doc cups-filters hplip&lt;/STRONG&gt; packages to the image.&lt;/P&gt;&lt;P&gt;The problem is that some hp printers, such as&amp;nbsp;&lt;SPAN&gt;&lt;U&gt;Hp laserjet CP1025&lt;/U&gt;&amp;nbsp;need hplip-plugin for printing (after running hp-setup) but when i try to install the plugin i get these errors:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Downloading plug-in from: file:///home/root/hplip-3.19.12-plugin.run
Downloading plug-in: [\                                                                                                                                                                      ] 0%     Traceback (most recent call last):
  File "/usr/share/hplip/base/password.py", line 85, in get_distro_name
    os_name = platform.dist()[0]
AttributeError: module 'platform' has no attribute 'dist'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/hp-plugin", line 363, in &amp;lt;module&amp;gt;
    status, plugin_path, error_str = pluginObj.download(plugin_path, plugin_download_callback)
  File "/usr/share/hplip/installer/pluginhandler.py", line 254, in download
    core = core_install.CoreInstall()
  File "/usr/share/hplip/installer/core_install.py", line 240, in __init__
    self.passwordObj = password.Password(ui_mode)
  File "/usr/share/hplip/base/password.py", line 118, in __init__
    self.__readAuthType()  # self.__authType
  File "/usr/share/hplip/base/password.py", line 140, in __readAuthType
    distro_name = get_distro_name().lower()
  File "/usr/share/hplip/base/password.py", line 87, in get_distro_name
    import distro
ModuleNotFoundError: No module named 'distro'&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Seems that the plugin doesn't recognize yocto as distro to install some files.&lt;/P&gt;&lt;P&gt;Is there any way to add hplip-plugin to the yocto image ?&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2024 09:06:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/hplip-plugin/m-p/1797618#M18824</guid>
      <dc:creator>milad</dc:creator>
      <dc:date>2024-01-30T09:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: hplip-plugin</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/hplip-plugin/m-p/1800921#M18826</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Make sure that you have install the python version that the apps need, it look like you need to have 3.7 version.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2024 14:37:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/hplip-plugin/m-p/1800921#M18826</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2024-02-02T14:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: hplip-plugin</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/hplip-plugin/m-p/1864091#M18843</link>
      <description>&lt;P&gt;too old ...&lt;BR /&gt;but must add python3-distro to image&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2024 06:31:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/hplip-plugin/m-p/1864091#M18843</guid>
      <dc:creator>macrobert</dc:creator>
      <dc:date>2024-05-13T06:31:51Z</dc:date>
    </item>
  </channel>
</rss>

