Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32983 - straw 0.20 will not start, can't find module "gconf"
Summary: straw 0.20 will not start, can't find module "gconf"
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: foser (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-07 19:21 UTC by Yi Quang (RETIRED)
Modified: 2003-11-20 14:36 UTC (History)
1 user (show)

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


Attachments
emerge log of gnome-python (gnome-python.log,167.66 KB, text/plain)
2003-11-15 10:20 UTC, khai
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yi Quang (RETIRED) gentoo-dev 2003-11-07 19:21:18 UTC
I emerged straw, and it won't start.  Error message is this:
Traceback (most recent call last):
  File "/usr/bin/straw", line 30, in ?
    import straw
  File "/usr/lib/python2.2/site-packages/straw/__init__.py", line 18, in ?
    from Config import Config, ConfigSaver
  File "/usr/lib/python2.2/site-packages/straw/Config.py", line 8, in ?
    import gconf
ImportError: No module named gconf
------------------------------------
I think the module gconf for python comes with the gnome-python package, which
I've remerged to no avail, any other ideas?

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 foser (RETIRED) gentoo-dev 2003-11-10 11:45:29 UTC
it should come with gnome-python afaik yep.. i think after the configuration
phase you can see which libs it is gonna build support for, check if it includes
gconf. This should always go ok if you have a working gconf around.
Comment 2 khai 2003-11-14 18:46:24 UTC
Tried new version, straw 0.21.1, still won't find gconf module, I'm thinking that this is probably a gentoo problem, but I don't know any python so I can't look into it further.  
Comment 3 Alastair Tse (RETIRED) gentoo-dev 2003-11-15 01:48:33 UTC
try merging gnome-python with 

emerge gnome-python 2>&1 | tee /tmp/gnome-python.log 

and then attach the log
Comment 4 khai 2003-11-15 10:20:06 UTC
Created attachment 20786 [details]
emerge log of gnome-python
Comment 5 foser (RETIRED) gentoo-dev 2003-11-15 10:39:51 UTC
well its looks like the module gets built, but theres some warnings and other stuff there. Those seem to be normal.

Are you sure you have no old/self-installed/etc. material interfering with the modules, i actually think its a problem on your side and not gentoo in general (or we wouldve seen more of this).

it might be as simple as a path problem, it seems like gconf is the first imported g* related dep. Do you have any other gnome-python 2 using apps.. can you make sure those work. 
Comment 6 khai 2003-11-15 10:58:25 UTC
I'm pretty certain I did not do anything custom with gnome-python, or anything that would intefere.  I'm not sure what other programs use gnome-python, if you give me one I'll be sure to try it.
Comment 7 foser (RETIRED) gentoo-dev 2003-11-15 12:41:33 UTC
none that i am aware of (directly at least).

see if any of the packges come with test scripts in the source
Comment 8 Yi Quang (RETIRED) gentoo-dev 2003-11-18 16:01:11 UTC
Straw works fine now after I've moved up to python-2.3.  
Comment 9 foser (RETIRED) gentoo-dev 2003-11-20 14:36:32 UTC
thats weird, it should work fine with both. I see no reason why it would build properly vs. 2.3 and not vs. 2.2. Makes me think more along the lines of a local path problem somewhere. 

closing (you couldve it when the problem got resolved)