Bug 83292 - Python error when configuring SMB printer
Python error when configuring SMB printer
Status: CLOSED RAWHIDE
Product: Red Hat Public Beta
Classification: Retired
Component: redhat-config-printer (Show other bugs)
phoebe
i386 Linux
medium Severity high
: ---
: ---
Assigned To: Tim Waugh
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-02-01 12:47 EST by Felipe Alfaro Solana
Modified: 2007-04-18 12:50 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-02-01 18:51:49 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Felipe Alfaro Solana 2003-02-01 12:47:35 EST
Description of problem:
-------------------------------
On Phoebe2, I get the following error logged to the console when trying to
configure a Networked Windows (SMB) printer:

Traceback (most recent call last):
  File "/usr/share/printconf/util/addQueue.py", line 822, in smb_specify_clicked
    machine, sharename = match.groups ()
AttributeError: 'NoneType' object has no attribute 'groups'

Version-Release number of selected component (if applicable):
----------------------------------------------------------------------------------
redhat-config-printer-0.6.37-1

How reproducible:
-------------------------
Always (only seems to happen with SMB printers and not CUPS/IPP printers)

Steps to Reproduce:
----------------------------
1. Open a terminal
2. Su to root
3. Run "redhat-config-printer"
4. Choose to add a Networked Windows (SMB) printer.
5. Click the "Specify" button to enter the following authentication information
(don't mind if the host, username or else are invalid):
6. Leave Workgroup blank.
7. Enter a valid host name for a Windows print server
8. Enter a valid queue name
9. Enter a Username that contains blank spaces (in my case, it was "Felipe
Alfaro Solana")
10. Enter something as Password
11. Click OK
12. The error message described above is logged to the console and the operation
fails.

Actual results:
--------------------
Can't add a Windows printer.

Expected results:
-----------------------
Some Python problems appear to  keep me from adding a Windows printer.

Additional info:
---------------------
Remote printer server is a Spanish Windows XP Professional, Service Pack 1.
Remote queue is an HP DeskJet 970Cxi USB printer with a queue name of "HP".
My Windows box is called "FAB".
The Username required to print is "Felipe Alfaro Solana".
Comment 1 Tim Waugh 2003-02-01 18:51:49 EST
Please try the latest version from rawhide, which should fix this problem.

Note You need to log in before you can comment on or make changes to this bug.