diff --git a/src/common/gajim.py b/src/common/gajim.py index 82e125e93..54fcd3ac1 100644 --- a/src/common/gajim.py +++ b/src/common/gajim.py @@ -25,7 +25,13 @@ import config from contacts import Contacts from events import Events -import defs +try: + import defs +except ImportError: + print >> sys.stderr, '''defs.py is missing! +If you start gajim from svn, do: +$ sh autogen.sh''' + sys.exit(1) interface = None # The actual interface (the gtk one for the moment) config = config.Config()