Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 339443 - dev-lang/python with USE="tk" missing a dependency
Summary: dev-lang/python with USE="tk" missing a dependency
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-02 10:54 UTC by regomodo
Modified: 2010-10-02 13:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description regomodo 2010-10-02 10:54:12 UTC
When in the python interactive shell run "help()" then "modules spam". 'spam' can be anything.

An exception will occur along with a small tk window appearing. The exception is:

No handlers could be found for logger "OpenGL.Tk"
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib64/python2.6/site.py", line 430, in __call__
    return pydoc.help(*args, **kwds)
  File "/usr/lib64/python2.6/pydoc.py", line 1723, in __call__
    self.interact()
  File "/usr/lib64/python2.6/pydoc.py", line 1741, in interact
    self.help(request)
  File "/usr/lib64/python2.6/pydoc.py", line 1761, in help
    self.listmodules(split(request)[1])
  File "/usr/lib64/python2.6/pydoc.py", line 1866, in listmodules
    apropos(key)
  File "/usr/lib64/python2.6/pydoc.py", line 1966, in apropos
    ModuleScanner().run(callback, key)
  File "/usr/lib64/python2.6/pydoc.py", line 1931, in run
    for importer, modname, ispkg in pkgutil.walk_packages(onerror=onerror):
  File "/usr/lib64/python2.6/pkgutil.py", line 125, in walk_packages
    for item in walk_packages(path, name+'.', onerror):
  File "/usr/lib64/python2.6/pkgutil.py", line 110, in walk_packages
    __import__(name)
  File "/usr/lib64/python2.6/site-packages/OpenGL/Tk/__init__.py", line 114, in <module>
    _default_root.tk.call('package', 'require', 'Togl')
_tkinter.TclError: can't find package Togl


Installing dev-tcltk/togl solves the issue.

Reproducible: Always

Steps to Reproduce:
1. Install dev-lang/python with USE="tk"
2. Run the aforementioned steps
3.

Actual Results:  
Exception and small Tk window.

Expected Results:  
The module search results.
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-10-02 13:45:12 UTC
You would need dev-python/pyopengl with USE="tk".