Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 85358 - Traceback if password of user being created contains non-ASCII characters
Summary: Traceback if password of user being created contains non-ASCII characters
Alias: None
Product: Red Hat Public Beta
Classification: Retired
Component: firstboot
Version: phoebe
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Brent Fox
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2003-02-28 15:59 UTC by Miloslav Trmac
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2003-02-28 20:15:30 UTC

Attachments (Terms of Use)
Patch fixing both tracebacks (deleted)
2003-02-28 16:02 UTC, Miloslav Trmac
no flags Details | Diff

Description Miloslav Trmac 2003-02-28 15:59:22 UTC
Description of problem:

Version-Release number of selected component (if applicable):

Steps to Reproduce:
Insert non-ascii character to the password boxes when creating new user

Actual results:
(typed by hand, sorry about typos)
Traceback (most recent call last)
File "/usr/share/firstboot/", line 317, in nextClicked
  result = module.apply (self.notebook)
File "/usr/share/firstboot/modules/", line 127, in apply
  if not self.isPasswordOK(passwrd, self.passwordEntry)
File "/usr/share/firstboot/modules/", line 224, in isPasswordOk
  if i not i in strings.ascii_letters and i not in string.digits and i not in
strings.punctuation and i not in whitespace
NameError: global name "whitespace" not defined

Fixing this leads to another traceback
(same part omitted)
File "/usr/share/firstboot/modules/", line 225, in isPasswordOk
NameError: global name "tag" not defined

Comment 1 Miloslav Trmac 2003-02-28 16:02:41 UTC
Created attachment 90426 [details]
Patch fixing both tracebacks

(Note: I've not been able to test this patch now, so please double-check.)

Comment 2 Brent Fox 2003-02-28 20:15:30 UTC
I had fixed the first part a few weeks back.  I just committed the second part
to cvs.  Thanks for your report.  Should be fixed in firstboot-1.0.5-12.

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