Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 214590 - sci-chemistry/pymol needs python build with USE=tk
Summary: sci-chemistry/pymol needs python build with USE=tk
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement
Assignee: Gentoo Chemistry-Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-24 20:03 UTC by Justin Lecher (RETIRED)
Modified: 2008-07-07 04:40 UTC (History)
0 users

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


Attachments
pymol-1.0-r1.diff (pymol-1.0-r1.diff,854 bytes, patch)
2008-03-24 20:05 UTC, Justin Lecher (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Lecher (RETIRED) gentoo-dev 2008-03-24 20:03:54 UTC
Pymol needs python build with tk support.

Withou following error occurs:

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/pymol/__init__.py", line 269, in exec_deferred
    cmd.config_mouse(quiet=1)
  File "/usr/lib/python2.4/site-packages/pymol/__init__.py", line 300, in adapt_to_hardware
    cmd.set('ribbon_smooth',0,quiet=1)
  File "/usr/lib/python2.4/site-packages/pymol/__init__.py", line 390, in launch_gui
    __import__(self.invocation.options.gui)
  File "/usr/lib/python2.4/site-packages/pmg_tk/__init__.py", line 22, in ?
    from PMGApp import *
  File "/usr/lib/python2.4/site-packages/pmg_tk/PMGApp.py", line 27, in ?
    from Tkinter import *
ImportError: No module named Tkinter


I added some lines to the ebuild in pkg_setup.
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2008-03-24 20:05:18 UTC
Created attachment 147168 [details, diff]
pymol-1.0-r1.diff
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2008-07-07 04:40:56 UTC
Fixed in the science overlay.