Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 28968

Summary: generate-use : does not seem to work with pygtk-2.0.0
Product: Gentoo Linux Reporter: Stephane Loeuillet <leroutier>
Component: New packagesAssignee: Thomas Raschbacher <lordvan>
Status: RESOLVED INVALID    
Severity: normal CC: python
Priority: High    
Version: 1.4   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: dia config.log as requested

Description Stephane Loeuillet 2003-09-17 04:37:17 UTC
myprompt# generate-use
Traceback (most recent call last):
  File "/usr/bin/generate-use", line 26, in ?
    import gtk
ImportError: No module named gtk


*  dev-python/pygtk
      Latest version available: 2.0.0
      Latest version installed: 2.0.0
      Size of downloaded files: 514 kB
      Homepage:    http://www.daa.com.au/~james/pygtk/
      Description: GTK+2 bindings for Python

*  app-portage/generate-use
      Latest version available: 0.3
      Latest version installed: 0.3
      Size of downloaded files: 7 kB
      Homepage:    http://www.lordvan.com/Projects/Linux/Gentoo/gentoolkit-gui/
      Description: A USE var generator for Gentoo Linux(gtk+2)
Comment 1 Thomas Raschbacher gentoo-dev 2003-10-01 23:51:30 UTC
sorry forgot the .sh file which is needed for that ..
Comment 2 Stephane Loeuillet 2003-10-02 06:49:44 UTC
same symptom for dia configure : can't find pygtk

checking for python... /usr/bin/python
checking if Python version >= 1.5.2... okay
checking local Python configuration... looks good
checking for python module gtk... no
configure: error: could not find pygtk module
 
!!! ERROR: app-office/dia-0.92_pre4 failed.
!!! Function econf, Line 324, Exitcode 1
!!! econf failed

same thing or completly different ?
Comment 3 Alastair Tse (RETIRED) gentoo-dev 2003-10-02 07:13:44 UTC
hrmm, seems like a local problem. can you attach the config.log from dia?
Comment 4 Stephane Loeuillet 2003-10-02 07:22:46 UTC
Created attachment 18603 [details]
dia config.log as requested
Comment 5 Stephane Loeuillet 2003-10-13 13:19:04 UTC
after re emerging pygtk-2.0.0, dia emerge worked well, as generate-use emerge

so, i don't know from where the problem went but it is gone