Unicode/ASCII error

Bug #602763 reported by Tomas Metz
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bzr-email-notifier
Confirmed
Medium
Unassigned

Bug Description

After one commit, cron start to send this error message, the last line is IMO important:

usr/lib/python2.5/site-packages/creoleparser/dialects.py:381: UserWarning:
Use of Creole10 is depreciated, use create_dialect() instead.

  """
Traceback (most recent call last):
  File "./bzr_email_notifier.py", line 371, in <module>
    main()
  File "./bzr_email_notifier.py", line 105, in main
    send_commit_emails_for_branch(branch, relative_path, last_emailed_revisions)
  File "./bzr_email_notifier.py", line 216, in send_commit_emails_for_branch
    message = compose_commit_email(branch, revid, relative_path)
  File "./bzr_email_notifier.py", line 293, in compose_commit_email
    msg = config.commit_email_config.compose_email(template_data)
  File "/var/bazaar/tools/bzr-email-notifier-1.5/configuration.py", line 192, in compose_email
    body = unicode(self._body_template(actual_data))
  File "/var/lib/python-support/python2.5/Cheetah/Template.py", line 981, in __str__
    def __str__(self): return getattr(self, mainMethName)()
  File "templates_loggerhead_commit_message_html.py", line 279, in respond
  File "/var/lib/python-support/python2.5/Cheetah/DummyTransaction.py", line 31, in getvalue
    return ''.join(outputChunks)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc4 in position 8: ordinal not in range(128)

Related branches

Revision history for this message
Tomas Metz (tomas-metzovi) wrote :

This '0xc4' is a long dash, it also happens with '0xc5', which is '#'. The notifier is not capable of working with Unicode characters in commit comments.

Revision history for this message
Luis Arias (kaaloo) wrote :

I'm getting a similar error :(

UnicodeEncodeError: 'ascii' codec can't encode character u'\u200b' in position 17: ordinal not in range(128)

Jelmer Vernooij (jelmer)
Changed in bzr-email-notifier:
status: New → Confirmed
importance: Undecided → Medium
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.