hp-plugin tracebacks when used with python3.8
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HPLIP |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
Hi,
I have an issue in Fedora rawhide https:/
File "/usr/bin/
status, plugin_path, error_str = pluginObj.
File "/usr/share/
core = core_install.
File "/usr/share/
self.
File "/usr/share/
self.
File "/usr/share/
distro_name = get_distro_
File "/usr/share/
os_name = platform.dist()[0]
AttributeError: module 'platform' has no attribute 'dist'
It is due platform module does not have dist() method in python3.8. It is recommended to use distro module.
I wrote a patch for fixing it, would you mind adding it to the project?
Best regards,
Zdenek Dohnal
Fedora/RHEL hplip maintainer
Changed in hplip: | |
status: | New → In Progress |
Sorry, previous patch contained indentation error, this one is ok.