Package: bpython
Version: 0.9.5.2-1
Severity: normal

--- Please enter the report below this line. ---

When trying to get a list of available modules in help() mode, I get the following:

help> modules

Please wait a moment while I gather a list of all available modules...

Traceback (most recent call last):
  File "<input>", line 1, in <module>
File "/usr/lib/python2.5/site-packages/bpython/_internal.py", line 19, in __call__
    self.helper(*args, **kwargs)
  File "/usr/lib/python2.5/pydoc.py", line 1650, in __call__
    self.interact()
  File "/usr/lib/python2.5/pydoc.py", line 1668, in interact
    self.help(request)
  File "/usr/lib/python2.5/pydoc.py", line 1684, in help
    elif request == 'modules': self.listmodules()
  File "/usr/lib/python2.5/pydoc.py", line 1805, in listmodules
    ModuleScanner().run(callback)
  File "/usr/lib/python2.5/pydoc.py", line 1856, in run
    for importer, modname, ispkg in pkgutil.walk_packages():
  File "/usr/lib/python2.5/pkgutil.py", line 125, in walk_packages
    for item in walk_packages(path, name+'.', onerror):
  File "/usr/lib/python2.5/pkgutil.py", line 125, in walk_packages
    for item in walk_packages(path, name+'.', onerror):
  File "/usr/lib/python2.5/pkgutil.py", line 110, in walk_packages
    __import__(name)
File "/usr/lib/python2.5/site-packages/Ft/Lib/CommandLine/__init__.py", line 12, in <module>
    CONSOLE_WIDTH = GetColumns()
File "/usr/lib/python2.5/site-packages/Ft/Lib/Terminfo.py", line 41, in GetColumns
    if stream.isatty() and os.environ.get('TERM') in TERMTYPES:
AttributeError: 'Repl' object has no attribute 'isatty'

This does not happen in python or ipython interactive modes.

Thanks,
Michael


--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.30-2-686

Debian Release: squeeze/sid
  500 unstable        www.debian-multimedia.org
  500 unstable        ftp.us.debian.org
  500 unstable        debian.harry-b.de
  500 unstable        deb.opera.com
  500 testing         ftp.us.debian.org
    1 experimental    ftp.us.debian.org

--- Package information. ---
Depends                   (Version) | Installed
===================================-+-===========
python                              | 2.5.4-2
python-pygments                     | 1.1.1+dfsg-2
python-pkg-resources                | 0.6.8-1


Package's Recommends field is empty.

Package's Suggests field is empty.



--
Michael D Johnson <[email protected]> redbeardcreator.deviantart.com

"Marketing research...[has] shown that energy weapons that make sounds sell
 better..." - Kevin Siembieda (Rifts Game Master Guide, pg 111)



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to