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 325955 - Missing ./configure checks for python module dependencies
Missing ./configure checks for python module dependencies
Status: RESOLVED FIXED
Product: gnome-schedule
Classification: Other
Component: general
1.0.0
Other Mac OS
: Normal normal
: ---
Assigned To: GNOME Schedule Maintainers
GNOME Schedule Maintainers
Depends on:
Blocks: 325978
 
 
Reported: 2006-01-06 08:48 UTC by Daniel Macks
Modified: 2006-01-06 16:44 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Daniel Macks 2006-01-06 08:48:12 UTC
./configure checks for the gtk.glade module and for the pygtk package. However, the various *.py of gnome-schedule also import the gconf module and several gnome* modules. Those are part of gnome-python, not pygtk, on my system. Need a ./cnofigure test for them...that's much more polite than waiting for a runtime crash on a machine that doesn't have them. There also appears to be a version requirement for gnome-python, as when I use v2.0.0 of that package, gnome-schedule crashes:

Traceback (most recent call last):
  • File "/sw/share/gnome-schedule/gnome-schedule.py", line 67 in ?
    pr = gnome.program_init ("gnome-schedule", config.getVersion(), properties=props)
TypeError: 'properties' is an invalid keyword argument for this function

but not with 2.12.0.
Comment 1 Gaute Hope 2006-01-06 12:11:36 UTC
So we need to check for gnome-python, and version >= 2.12. Is the other modules part of gnome-python?
Comment 2 Gaute Hope 2006-01-06 12:38:03 UTC
Now it is checking for gnome-python>=2.12.0
http://cvs.gnome.org/viewcvs/gnome-schedule/configure.ac?r1=1.63&r2=1.64
Comment 3 Gaute Hope 2006-01-06 12:52:59 UTC
I suppose this is fixed when we check for this package. Reopen if not.
Comment 4 Daniel Macks 2006-01-06 16:44:59 UTC
I believe "gnome-python-2.0 >= 2.12.0" does cover all the needed gnome-related modules, so you're all set here. (2.12.0 might be a bit too strict, but I don't know exactly when the needed functionality was added, so it's a safe choice).