From: Espen B. <es...@gm...> - 2011-06-16 19:50:06
|
I was not able to start gramps at all using the Gramps 3.3 package I downloaded from sourceforge. Fixing the stupid mistake in nb.po (made by me) made Gramps run like before. Espen On Thu, Jun 16, 2011 at 9:30 PM, Jérôme <rom...@ya...> wrote: > Maybe that's why this crashes only by using plural form. > > ex: we are able to run advanced textual and ancestors reports in Norwegian > (both)! > > > Jérôme > > > Espen Berg a écrit : >> >> Hi devs, >> I found the reason why Gramps 3.3 does not start using Norwegian >> translation. The reason is due to an error in the header of nb.po. I >> have revised nb.po and Gramps starts like anything again. I hope there >> will be an updated version of Gramps 3.3 soon so that Norwegians that >> download Gramps 3.3 can have a working version. >> >> I am very sorry for introducing this typo in the language file. >> >> >> Cheers >> >> Espen >> >> >> On Mon, Jun 13, 2011 at 9:02 AM, Benny Malengier >> <ben...@gm...> wrote: >>> >>> Ok, >>> >>> This is the defenition of how plurals must be handled that crashes on >>> parsing the file at startup. >>> See samples link here: >>> >>> http://gramps-project.org/wiki/index.php?title=Translating_GRAMPS#Plural_forms >>> >>> benny >>> >>> >>> 2011/6/12 Espen Berg <es...@gm...> >>>> >>>> Hi, >>>> I guess I have managed to mess up the Norwegian translation file in >>>> some way since I cannot start Gramps using Norwegian locale. If I try >>>> any other language it works as it should. This is what I get from the >>>> last version (branches/maintenance/gramps32): >>>> >>>> >>>> espenbe@ministerial:~/Source/gramps/branches/maintenance/gramps32$ >>>> LANGUAGE=nb_NO python src/gramps.py >>>> Locale dir does not exist at/usr/local/share/locale >>>> Running ./configure --prefix=YourPrefixDir might fix the problem >>>> Traceback (most recent call last): >>>> File "src/gramps.py", line 68, in <module> >>>> gettext.install(TransUtils.LOCALEDOMAIN, localedir=None, >>>> unicode=1) #None is sys default locale >>>> File "/usr/lib/python2.6/gettext.py", line 508, in install >>>> t = translation(domain, localedir, fallback=True, codeset=codeset) >>>> File "/usr/lib/python2.6/gettext.py", line 493, in translation >>>> t = _translations.setdefault(key, class_(open(mofile, 'rb'))) >>>> File "/usr/lib/python2.6/gettext.py", line 180, in __init__ >>>> self._parse(fp) >>>> File "/usr/lib/python2.6/gettext.py", line 314, in _parse >>>> plural = v[1].split('plural=')[1] >>>> IndexError: list index out of range >>>> espenbe@ministerial:~/Source/gramps/branches/maintenance/gramps32$ >>>> >>>> >>>> Is there any way I can trace down where the problem is? >>>> >>>> >>>> Espen >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> EditLive Enterprise is the world's most technically advanced content >>>> authoring tool. Experience the power of Track Changes, Inline Image >>>> Editing and ensure content is compliant with Accessibility Checking. >>>> http://p.sf.net/sfu/ephox-dev2dev >>>> _______________________________________________ >>>> Gramps-devel mailing list >>>> Gra...@li... >>>> https://lists.sourceforge.net/lists/listinfo/gramps-devel >>> >> >> >> ------------------------------------------------------------------------------ >> EditLive Enterprise is the world's most technically advanced content >> authoring tool. Experience the power of Track Changes, Inline Image >> Editing and ensure content is compliant with Accessibility Checking. >> http://p.sf.net/sfu/ephox-dev2dev >> _______________________________________________ >> Gramps-devel mailing list >> Gra...@li... >> https://lists.sourceforge.net/lists/listinfo/gramps-devel >> > > |