bzr export breaks on non-ascii error

Bug #533668 reported by Jeroen T. Vermeulen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LAZR Javascript Library
Invalid
Undecided
Unassigned
Launchpad itself
Fix Released
High
Jeroen T. Vermeulen

Bug Description

This is what happens while trying to report an exception that came up in translations-to-branch export for µBlogger (ublogger):

2010-03-07 05:31:45 INFO Exporting μBlogger trunk series.
Traceback (most recent call last):
  File "/srv/bazaar.launchpad.net/production/launchpad/cronscripts/translations-export-to-branch.py", line 28, in <module>
    script.lock_and_run()
  File "/srv/bazaar.launchpad.net/production/launchpad-rev-9072/lib/lp/services/scripts/base.py", line 290, in lock_and_run
    implicit_begin=implicit_begin, isolation=isolation)
  File "/srv/bazaar.launchpad.net/production/launchpad-rev-9072/lib/lp/services/scripts/base.py", line 248, in run
    self.main()
  File "/srv/bazaar.launchpad.net/production/launchpad-rev-9072/lib/lp/translations/scripts/translations_to_branch.py", line 279, in main
    self._exportToBranches(productseries)
  File "/srv/bazaar.launchpad.net/production/launchpad-rev-9072/lib/lp/translations/scripts/translations_to_branch.py", line 241, in _exportToBranches
    message = unicode(e)
UnicodeEncodeError: 'ascii' codec can't encode character u'\u03bc' in position 24: ordinal not in range(128)

Related branches

Revision history for this message
Jeroen T. Vermeulen (jtv) wrote :

See also bug 385086.

Changed in rosetta:
importance: Critical → High
Changed in lazr-js:
status: New → Triaged
status: Triaged → Invalid
Revision history for this message
Ursula Junque (ursinha) wrote : Bug fixed by a commit
Changed in rosetta:
status: Triaged → Fix Committed
tags: added: qa-needstesting
tags: added: qa-ok
removed: qa-needstesting
Changed in rosetta:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.