Hi All, Some of you might know me from irc.freenode.net #sword, I'm tjs there, and I'm new to the SWORD project.
A friend and I are interested in using SWORD via its python SWIG api, but I'm having some issues. I've got a recent version from CVS and built/installed it with the python bindings. However, it doesn't seem to be able to find its modules, even though gnomesword is also installed and it has access to the 'WEB' text. here is an example of what I mean: Python 2.3.3 (#2, Feb 24 2004, 09:29:20) [GCC 3.3.3 (Debian)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from Sword import SWMgr Checking working directory for mods.conf... Checking working directory for mods.d... Checking SWORD_PATH... Parsing /usr/local/etc/sword.conf... Checking for /usr/local/etc/sword.conf...found DataPath in /usr/local/etc/sword.conf is set to: /usr/local/share/sword/ Checking for mods.conf in DataPath Checking for mods.d in DataPath found created default StringMgr LocaleMgr::loadConfigDir loading /usr/local/share/sword/locales.dLocaleMgr::getLocale failed to find en_US >>> m = SWMgr() Checking working directory for mods.conf... Checking working directory for mods.d... Checking SWORD_PATH... Parsing /usr/local/etc/sword.conf... Checking for /usr/local/etc/sword.conf...found DataPath in /usr/local/etc/sword.conf is set to: /usr/local/share/sword/ Checking for mods.conf in DataPath Checking for mods.d in DataPath found >>> m.moduleCount() 0 >>> It seemed to have an issue with en_US, so on a hunch I did: >>> l = Sword.LocaleMgr() Checking working directory for mods.conf... Checking working directory for mods.d...found LocaleMgr::loadConfigDir loading ./locales.d >>> l.getAvailableLocales() '_b8922408_p_std__listTSWBuf_t' >>> l.getDefaultLocaleName() 'en_US' >>> l.setDefaultLocaleName('en_GB') >>> m.moduleCount() 0 >>> What am I missing? -tjs _______________________________________________ sword-devel mailing list [EMAIL PROTECTED] http://www.crosswire.org/mailman/listinfo/sword-devel