After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 348737 - Could not find Python module 'dbus'
Could not find Python module 'dbus'
Status: RESOLVED NOTABUG
Product: GARNOME
Classification: Deprecated
Component: general
2.14.x
Other All
: Normal critical
: ---
Assigned To: GARNOME Maintainers
garnome list
Depends on:
Blocks:
 
 
Reported: 2006-07-26 06:00 UTC by Rashad Rustamoff
Modified: 2007-04-21 21:27 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Rashad Rustamoff 2006-07-26 06:00:21 UTC
Steps to reproduce:
1. make paranoid-install
2. 
3. 


Stack trace:
cheking for python module gtk... yes
cheking for python module dbus... no
configure: error: Could not find Python module dbus


Other information:
There are no 'dbus' module in the modules list at python.org
Where can I download it?
Comment 1 Rashad Rustamoff 2006-07-26 08:07:44 UTC
dbus is build normally
'make install' from /home/garnome/freedesktop/dbus is Ok.

but when 'make paranoid-install' from /home/garnome the following error happens:
.......
checking for LIBDAEMON... yes
checking whether /usr/local/bin/python version >= 2.4... yes
checking for /usr/local/bin/python platform... linux2
checking for /usr/local/bin/python script directory... $(prefix)/lib/python2.4/site-packages
checking for /usr/local/bin/python script directory... $(exec_prefix)/lib/python2.4/site-packages
checking for python module gtk... yes
checking for python module dbus... no
configure: error: Could not find Python module dbus
make[3]: *** [configure-work/main.d/avahi-0.6.10/configure] Error 1
........


Comment 2 Joseph Sacco 2006-07-27 02:10:10 UTC
freedesktop/dbus-0.62 contains the python-dbus bindings.  Check to see that dbus successfully built and installed.

-Joseph
Comment 3 Rashad Rustamoff 2006-07-27 07:31:36 UTC
freedesktop/dbus-0.62 has successfully installed.
rashad@math:/home/garnome-2.14.2.1/freedesktop/dbus$ make install
[===== NOW BUILDING:     dbus-0.62     =====]
       [fetch] complete for dbus.
       [checksum] complete for dbus.
       [extract] complete for dbus.
       [patch] complete for dbus.
       [fixup] complete for dbus.
       [configure] complete for dbus.
       [build] complete for dbus.
       [install] complete for dbus.
rashad@math:/home/garnome-2.14.2.1/freedesktop/dbus$

But the problem still exists.
Comment 4 Karsten Bräckelmann 2006-09-17 12:55:45 UTC
Is this still an issue with recent versions? dbus-python has been split out of dbus and now is a freedesktop/ garball of its own.
Comment 5 Anshuman 2006-11-13 23:16:37 UTC
=======================================================
Writing /opt/garnome/lib/python2.5/site-packages/dbus_python-0.71-py2.5.egg-info
        [install] complete for dbus-python.
========================================================

and then

========================================================
checking gdbm.h presence... yes
checking for gdbm.h... yes
checking for LIBDAEMON... yes
checking whether /usr/local/bin/python version >= 2.4... yes
checking for /usr/local/bin/python version... 2.5
checking for /usr/local/bin/python platform... linux2
checking for /usr/local/bin/python script directory... ${prefix}/lib/python2.5/site-packages
checking for /usr/local/bin/python extension module directory... ${exec_prefix}/lib/python2.5/site-packages
checking for python module gtk... yes
checking for python module dbus... no
configure: error: Could not find Python module dbus
make[6]: *** [configure-work/main.d/avahi-0.6.13/configure] Error 1
make[6]: Leaving directory `/opt/garnome-2.16.0/freedesktop/avahi'
make[5]: *** [../../freedesktop/avahi/cookies/main.d/install] Error 2
make[5]: Leaving directory `/opt/garnome-2.16.0/platform/gnome-vfs'
make[4]: *** [../../platform/gnome-vfs/cookies/main.d/install] Error 2
make[4]: Leaving directory `/opt/garnome-2.16.0/platform/libgnome'
make[3]: *** [../../platform/libgnome/cookies/main.d/install] Error 2
make[3]: Leaving directory `/opt/garnome-2.16.0/platform/libbonoboui'
make[2]: *** [../../platform/libbonoboui/cookies/main.d/install] Error 2
make[2]: Leaving directory `/opt/garnome-2.16.0/platform/libgnomeui'
make[1]: *** [../../platform/libgnomeui/cookies/main.d/install] Error 2
make[1]: Leaving directory `/opt/garnome-2.16.0/desktop/bug-buddy'
make: *** [paranoid-install] Error 2

========================================================

Yes this still exists :(

I want this to be resolved so bad, cant download 4gb fedora 6 .. i took so much pain to get upto this.. ( after making make garchive :( ).

PS:-
-------------------------------
cat /etc/*release*
cat: /etc/lsb-release.d: Is a directory
CentOS release 4.4 (Final)
-------------------------------

Best regards,
anshu
Comment 6 Joseph Sacco 2006-11-14 01:35:40 UTC
Anshu,

It appears that you have installed python-2.5 under /usr/local. You will need to edit PYTHONPATH in gar.conf.mk to insure that it contains


  /usr/local/python2.5/site-packages

You might also change the PYTHON variable to

   PYTHON = /usr/local/bin/python

-Joseph
Comment 7 Karsten Bräckelmann 2007-04-21 21:27:15 UTC
Closing as per comment 6. Also, there has been no additional comment in a while.