[Bug 1128948] New: python scripts on (double) referenced URL are buggy

bugzilla at redhat.com bugzilla at redhat.com
Mon Aug 11 22:43:11 UTC 2014


https://bugzilla.redhat.com/show_bug.cgi?id=1128948

            Bug ID: 1128948
           Summary: python scripts on (double) referenced URL are buggy
           Product: Fedora Documentation
           Version: devel
         Component: install-guide
          Assignee: pbokoc at redhat.com
          Reporter: franta at hanzlici.cz
        QA Contact: docs-qa at lists.fedoraproject.org
                CC: pbokoc at redhat.com, zach at oglesby.co



Description of problem:
First, I must apologize for the inacurrate problem labeling - problem is not in
the F20 IG itself, but in (indirect) reference from it.
And as I not know how/where to report it
('https://fedoraproject.org/wiki/Bugs_and_feature_requests?rd=BugsAndFeatureRequests'
does not contain instructions how report bugs in wiki pages nor in there
referenced articles.
Then I report it here in Bugzilla and hope someone here point me or this
problem to right direction.
Problem:
In chapter '15.4. Kickstart Options', for available --xlayouts and --switch
'keyboard' options IG refers to
'https://fedoraproject.org/wiki/Anaconda/Kickstart'. And this Wiki page for
list of all available layouts and switching options refers to these scripts:
http://vpodzime.fedorapeople.org/layouts_list.py
http://vpodzime.fedorapeople.org/switching_list.py

And both these scripts seems not working, they give these results:
./layouts_list.py
Traceback (most recent call last):
  File "./layouts_list.py", line 42, in get_language_variants
    lang_name, lang_desc = item_str(item.name), item_str(item.description)
  File "./layouts_list.py", line 8, in item_str
    i = s.find(b'\x00')
AttributeError: 'list' object has no attribute 'find'
...
(this error appears 124 times and nothin else is printed)

./switching_list.py 
Traceback (most recent call last):
  File "./switching_list.py", line 15, in _get_switch_option
    desc = item_str(item.description)
  File "./switching_list.py", line 8, in item_str
    i = s.find(b'\x00')
AttributeError: 'list' object has no attribute 'find'
...
(this error appears 34 times and nothin else is printed)



Version-Release number of selected component (if applicable):
Fedora 20 Installation Guide(OK) -> Anaconda Kickstart wiki(OK) -> scripts

I run these scripts on F19 i686, with this SW installed:
python-2.7.5-13.fc19.i686
libxklavier-5.3-2.fc19.i686
python-xklavier-0.2-11.fc19.i686

-- 
You are receiving this mail because:
You are the QA Contact for the bug.


More information about the docs-qa mailing list