[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1030043: hplip-gui: traceback when launching hp-toolbox



> On Tue, 7 Feb 2023 21:52:11 -0600 Ryan Thoryk <ryan@thoryk.com>
> wrote:
> > Changing line 119 in /usr/share/hplip/base/password.py
> > from:
> > get_distro_std_name(os_name)
> > to:
> > get_distro_name()
> > 
> > appears to fix the issue.
> 
> With this change I see a different error when running hp-check:
> 
> -Traceback (most recent call last):
>   File "/usr/bin/hp-check", line 861, in <module>
>     dep.core.init()
>   File "/usr/share/hplip/installer/core_install.py", line 523, in
> init
>     self.get_distro()
>   File "/usr/share/hplip/installer/core_install.py", line 661, in 
> get_distro
>     if 'MX' in distro_release_name:
>                ^^^^^^^^^^^^^^^^^^^
> NameError: name 'distro_release_name' is not defined
> 
> Looking at the code, distro_release_name really just is not present
> in 
> that file anywhere that I can see.
> 
> 
> 
> 
> > 
> > -- 
> > Ryan Thoryk
> > ryan@thoryk.com
> > ryan@tliquest.net
> > 
> > 
> 
Dear Ryan

Comment out line 661-663 in file "core_install.py" and your problem is
solved

Greetings 
Jan Outhuis


Reply to: