Bug 561419 - pydoc -k Popen causes a traceback
Summary: pydoc -k Popen causes a traceback
Keywords:
Status: CLOSED DUPLICATE of bug 461419
Alias: None
Product: Fedora
Classification: Fedora
Component: python
Version: 12
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Dave Malcolm
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-02-03 16:16 UTC by Jeff Moyer
Modified: 2010-02-06 16:03 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-02-06 16:03:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jeff Moyer 2010-02-03 16:16:40 UTC
Description of problem:
$ pydoc -k Popen
commands - Execute shell commands via os.popen() and return status, output.
popen2 - Spawn a command with pipes to its stdin, stdout, and optionally stderr.
dm.c: 1640: not running as root returning empty list

** (pydoc:2689): WARNING **: Trying to register gtype 'WnckWindowState' as flags when in fact it is of type 'GEnum'

** (pydoc:2689): WARNING **: Trying to register gtype 'WnckWindowActions' as flags when in fact it is of type 'GEnum'

** (pydoc:2689): WARNING **: Trying to register gtype 'WnckWindowMoveResizeMask' as flags when in fact it is of type 'GEnum'
Traceback (most recent call last):
  File "/usr/bin/pydoc", line 5, in <module>
    pydoc.cli()
  File "/usr/lib64/python2.6/pydoc.py", line 2264, in cli
    apropos(val)
  File "/usr/lib64/python2.6/pydoc.py", line 1962, in apropos
    ModuleScanner().run(callback, key)
  File "/usr/lib64/python2.6/pydoc.py", line 1927, in run
    for importer, modname, ispkg in pkgutil.walk_packages(onerror=onerror):
  File "/usr/lib64/python2.6/pkgutil.py", line 110, in walk_packages
    __import__(name)
  File "/usr/lib64/python2.6/site-packages/parted/__init__.py", line 28, in <module>
    from _ped import AlignmentException
RuntimeError: pyparted requires root access


Version-Release number of selected component (if applicable):
python-2.6.2-2.fc12.x86_64


How reproducible:
100%

Comment 1 Dave Malcolm 2010-02-06 16:03:54 UTC

*** This bug has been marked as a duplicate of bug 461419 ***


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