| Summary: | cannot add samba printer without python-smbc | |||
|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jozef Mlich <jmlich> | |
| Component: | system-config-printer | Assignee: | Tim Waugh <twaugh> | |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 20 | CC: | hhorak, jmlich, jpopelka, neteler, twaugh | |
| Target Milestone: | --- | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | system-config-printer-1.4.4-1.fc20 | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1145739 (view as bug list) | Environment: | ||
| Last Closed: | 2014-03-30 06:03:19 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Bug Depends On: | ||||
| Bug Blocks: | 1145739 | |||
Inaccessible? The Verify button won't work, but surely Forward works fine? I apologize for misleading description of problem. I don't know whether forward button works. I didn't even tried it, because password was "wrong". In case the python-smbc is not installed, the user enters correct password, its verification fails. At the end the users ask administrator of network printer for help. The problem is, the system-config-printer should distinguish whether the password is incorrect, or the necessary package is missing. The expected behaviour is to show correct error message. The error message should lead to installation of package instead of printer password change. But not in the opposite case, when the package is installed and functional. In case of need of additional information, please run "yum remove python-smbc" command. I think the upstream system-config-printer commit 1dffd4a is the final bit of the fix for this. https://git.fedorahosted.org/cgit/system-config-printer.git/commit/?id=1dffd4a system-config-printer-1.4.4-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/system-config-printer-1.4.4-1.fc20 Package system-config-printer-1.4.4-1.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing system-config-printer-1.4.4-1.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-4014/system-config-printer-1.4.4-1.fc20 then log in and leave karma (feedback). system-config-printer-1.4.4-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. I still get this error (using XFCE):
[root@pgis_north ]# system-config-printer
Error creating proxy: The connection is closed (g-io-error-quark, 18)
Error creating proxy: The connection is closed (g-io-error-quark, 18)
Error creating proxy: The connection is closed (g-io-error-quark, 18)
Error creating proxy: The connection is closed (g-io-error-quark, 18)
Error creating proxy: The connection is closed (g-io-error-quark, 18)
Caught non-fatal exception. Traceback:
File "/usr/share/system-config-printer/newprinter.py", line 2528, in on_btnSMBVerify_clicked
ctx = pysmb.smbc.Context (debug=debug, auth_fn=do_auth)
NameError: global name 'pysmb' is not defined
Continuing anyway..
Caught non-fatal exception. Traceback:
File "/usr/share/system-config-printer/newprinter.py", line 2528, in on_btnSMBVerify_clicked
ctx = pysmb.smbc.Context (debug=debug, auth_fn=do_auth)
NameError: global name 'pysmb' is not defined
Continuing anyway..
Caught non-fatal exception. Traceback:
File "/usr/share/system-config-printer/newprinter.py", line 2528, in on_btnSMBVerify_clicked
ctx = pysmb.smbc.Context (debug=debug, auth_fn=do_auth)
NameError: global name 'pysmb' is not defined
Continuing anyway..
[root@pgis_north ]
[neteler@pgis_north tmp]$ uname -a
Linux pgis_north 3.16.6-200.fc20.x86_64 #1 SMP Wed Oct 15 13:06:51 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
[neteler@pgis_north tmp]$ rpm -qa | grep system-config-printer
system-config-printer-udev-1.4.6-1.fc20.x86_64
system-config-printer-1.4.6-1.fc20.x86_64
system-config-printer-libs-1.4.6-1.fc20.noarch
Basically the 'Verify' button shouldn't be sensitive when python-smbc isn't installed. That fix went in last week, a few days after the 1.4.6 release: https://git.fedorahosted.org/cgit/system-config-printer.git/commit/?h=1.4.x&id=8adca607c6f76d7304667a2ffa16b0b628530d38 |
Description of problem: system-config-printer cannot add new printer from samba network without python-smbc $ system-config-printer ** (system-config-printer.py:13193): WARNING **: Can't load fallback CSS resource: Failed to import: The resource at '/org/gnome/adwaita/gtk-fallback.css' does not exist ** (system-config-printer.py:13193): WARNING **: Can't load fallback CSS resource: Failed to import: The resource at '/org/gnome/adwaita/gtk-fallback.css' does not exist Caught non-fatal exception. Traceback: File "/usr/share/system-config-printer/newprinter.py", line 2531, in on_btnSMBVerify_clicked ctx = pysmb.smbc.Context (debug=debug, auth_fn=do_auth) NameError: global name 'pysmb' is not defined Continuing anyway.. Actual results: no error message printer is just inaccessible Expected results: I should see error message: "You are stupid user, you have to install python-smbc before you try to add samba printer" Additional info: