From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: [ISSUE] hplip missing "python3-distro" dependency
Date: Mon, 13 Jan 2020 22:07:50 +0100 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-18295@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 1821 bytes --]
New issue by Sarkasper on void-packages repository
https://github.com/void-linux/void-packages/issues/18295
Description:
### System
* xuname:
*Void 5.4.11_1 x86_64 AuthenticAMD uptodate rrrmFFF*
* package:
*hplip-3.19.12_2*
### Expected behavior
run setup and download the plugin
### Actual behavior
ends with this error:
```
[\ ] 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 <module>
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'
```
### Steps to reproduce the behavior
1. run `# hp-setup -i` or `$ hp-plugin` to see the error
2. `# xbps-install -S python3-distro`, run command again and it is working
next reply other threads:[~2020-01-13 21:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-13 21:07 voidlinux-github [this message]
2020-01-16 18:18 ` [ISSUE] [CLOSED] " voidlinux-github
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-18295@inbox.vuxu.org \
--to=voidlinux-github@inbox.vuxu.org \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).