Roundup Tracker - Issues

Message6236

Author schlatterbeck
Recipients schlatterbeck
Date 2018-09-03.12:10:21
Message-id <1535976623.04.0.56676864532.issue2550999@psf.upfronthosting.co.za>
In-reply-to
I'm calling the mail-gateway with outdated locale .po files in the local
instance (I have an instance with its own locale directory) and I'm
getting the attached traceback.

Note that when I go back to 2d6a92c3e212 (before the python3 changes to
i18n.py) compilation of the locale files works fine. I don't see any
obvious changes that would explain the traceback to i18n.py, though.

Note that I'm getting this error with python2.7 not python3

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/roundup/mailgw.py", line
1450, in handle_Message
    return self.handle_message(message)
  File "/usr/local/lib/python2.7/dist-packages/roundup/mailgw.py", line
1516, in handle_message
    self.db = self.instance.open ('admin')
  File "/usr/local/lib/python2.7/dist-packages/roundup/instance.py",
line 148, in open
    extension(self)
  File "/home/ralf/roundup/ttt_track/extensions/ext_tracker.py", line
69, in init
    (instance.config.TRACKER_LANGUAGE, instance.config.TRACKER_HOME).gettext
  File
"/usr/local/lib/python2.7/dist-packages/roundup/cgi/TranslationService.py",
line 116, in get_translation
    null_translation_class=null_translation_class)
  File "/usr/local/lib/python2.7/dist-packages/roundup/i18n.py", line
172, in get_translation
    mofiles.append(get_mofile(locales, tracker_locale))
  File "/usr/local/lib/python2.7/dist-packages/roundup/i18n.py", line
140, in get_mofile
    msgfmt.make(pofile, mofile)
AttributeError: 'module' object has no attribute 'make'
History
Date User Action Args
2018-09-03 12:10:23schlatterbecksetrecipients: + schlatterbeck
2018-09-03 12:10:23schlatterbecksetmessageid: <1535976623.04.0.56676864532.issue2550999@psf.upfronthosting.co.za>
2018-09-03 12:10:22schlatterbecklinkissue2550999 messages
2018-09-03 12:10:21schlatterbeckcreate