Congratulations on getting through the Mozootle milestone and onto this major project! I'll be happy to help here and there as updating Pootle corresponds to my duties at Creative Commons.
On Fri, 12 Dec 2008, Wynand Winterbach wrote: > The most recent code in our repository already contains a lot of changes. If > you are interested in running the code, visit: > > http://translate.sourceforge.net/wiki/developers/the_great_pootle_migration I missed this link when reading this email before; thanks to zejn on #pootle for helping me find it! I've ben updating my importer to match the new Django-based models (that branch of Pootle I nickname Djootle). When I wrote the importer against Mozootle, one had to run 'initdb.py' before one could use the SQLite-accelerated stats. That link still says to use initdb.py, but upon calling it I get: IntegrityError: pootle_app_pootleprofile.ui_lang_id may not be NULL This comes from: /home/stagootle/python-env/lib/python2.5/site-packages/Pootle/pootle_app/profile.py(89)make_default_profile() 88 # we just created). ---> 89 profile.save() I figured that in the PootleProfile model, ui_lang must not allow a NULL value. However, if you read the source, you see on line 39 of profile.py: ui_lang = models.ForeignKey('Language', blank=True) So I'm officially confused. Can others reproduce this problem, and how can we fix it? (This is a blocker on me finishing testing my importer; I attached the current version to http://bugs.locamotion.org/show_bug.cgi?id=632 and I do hope someone else takes a look at it.) -- Asheesh. -- Q: How do you play religious roulette? A: You stand around in a circle and blaspheme and see who gets struck by lightning first. ------------------------------------------------------------------------------ _______________________________________________ Translate-pootle mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/translate-pootle
