OpenPrinting / system-config-printer

Graphical user interface for CUPS administration
GNU General Public License v2.0
157 stars 88 forks source link

Lack of python-smbc fails silently #174

Closed mirh closed 4 years ago

mirh commented 4 years ago

I suppose also handling the case where it isn't available cannot hurt.. But if you just let the SAMBA entry and everything where they normally are, it's just recipe for problems. I just lost one hour trying to understand why clicking the browse button didn't do anything.

zdohnal commented 4 years ago

Hi @mirh,

there are two ways how it is handled now: 1) everytime you click on 'Browse' it triggers PackageKit with notification that there is an additional software to be installed. At least how it works for me in Fedora 31 - what OS do you use and is there PackageKit available? 2) when you focus on 'Verify' or 'Browse', there should appear the text - 'Verification requires pysmbc module' - which is not shown right now in F31, so I'll look into why it isn't.

mirh commented 4 years ago

I'm on Manjaro and packagekit isn't installed (by default at least).

zdohnal commented 4 years ago

Ok, so now it will work like this:

When pysmbc is not installed:

When pysmbc is installed:

zdohnal commented 4 years ago

Fixed in commit 5f243b36