#5035 NORM Retriag: Activity bundles build fails (bad localization files)

Zarro Boogs per Child bugtracker at laptop.org
Wed Nov 21 12:53:34 EST 2007


#5035: Activity bundles build fails (bad localization files)
---------------------------+------------------------------------------------
  Reporter:  gcerchio      |       Owner:  xavi                             
      Type:  defect        |      Status:  reopened                         
  Priority:  normal        |   Milestone:  Retriage, Please!                
 Component:  localization  |     Version:  Development build as of this date
Resolution:                |    Keywords:  sugar-jhbuild build Update.1?    
  Verified:  0             |  
---------------------------+------------------------------------------------

Comment(by gcerchio):

 All activities except journal-activity are fixed. We have a new problem
 with the es.po file of the journal-activity. It looks like the some of the
 lines after line 220 were duplicated in the edit:

 python setup.py install /home/gjpc/olpc2/sugar-jhbuild/build
 po/es.po:248: duplicate message definition...
 po/es.po:220: ...this is the location of the first definition
 po/es.po:252: duplicate message definition...
 po/es.po:223: ...this is the location of the first definition
 po/es.po:256: duplicate message definition...
 po/es.po:226: ...this is the location of the first definition
 po/es.po:276: duplicate message definition...
 po/es.po:229: ...this is the location of the first definition
 po/es.po:280: duplicate message definition...
 po/es.po:232: ...this is the location of the first definition
 po/es.po:284: duplicate message definition...
 po/es.po:235: ...this is the location of the first definition
 po/es.po:288: duplicate message definition...
 po/es.po:238: ...this is the location of the first definition
 po/es.po:292: duplicate message definition...
 po/es.po:241: ...this is the location of the first definition
 msgfmt: found 8 fatal errors
 ERROR - msgfmt failed with return code 1.
 Traceback (most recent call last):
   File "setup.py", line 21, in <module>
     bundlebuilder.start('Journal')
   File "/home/gjpc/olpc2/sugar-jhbuild/build/lib/python2.5/site-
 packages/sugar/activity/bundlebuilder.py", line 372, in start
     cmd_install(bundle_name, manifest, sys.argv[2])
   File "/home/gjpc/olpc2/sugar-jhbuild/build/lib/python2.5/site-
 packages/sugar/activity/bundlebuilder.py", line 196, in cmd_install
     cmd_dist(bundle_name, manifest)
   File "/home/gjpc/olpc2/sugar-jhbuild/build/lib/python2.5/site-
 packages/sugar/activity/bundlebuilder.py", line 180, in cmd_dist
     cmd_genl10n(bundle_name, manifest)
   File "/home/gjpc/olpc2/sugar-jhbuild/build/lib/python2.5/site-
 packages/sugar/activity/bundlebuilder.py", line 265, in cmd_genl10n
     cat = gettext.GNUTranslations(open(mo_file, 'r'))
 IOError: [Errno 2] No such file or directory: '/home/gjpc/olpc2/sugar-
 jhbuild/source/journal-
 activity/locale/es/LC_MESSAGES/org.laptop.JournalActivity.mo'
 *** error during stage install of journal-activity: ########## Error
 running python setup.py install /home/gjpc/olpc2/sugar-jhbuild/build ***
 [44/50]

-- 
Ticket URL: <http://dev.laptop.org/ticket/5035#comment:20>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list