Edgewall Software

Changes between Version 12 and Version 13 of TracFaq


Ignore:
Timestamp:
Apr 7, 2014, 5:12:25 AM (6 years ago)
Author:
Ryan J Ollos
Comment:

Backlash characters in notification emails. Refs #11572.

Legend:

Unmodified
Added
Removed
Modified
  • TracFaq

    v12 v13  
    5555
    5656**A:** You most certainly forgot to stop and restart your server during an upgrade. The zip importer  mechanism keeps an internal cache which has trouble detecting replaced files, so a restart is needed (see TracUpgrade#ZipImportError). Do it now.
     57
     58==== Q: Why do ticket notification emails contain unexpected backslash characters?
     59
     60You installed Trac from PyPI using `easy_install` or `pip`, along with Genshi 0.7. Your ticket notification emails have unexpected backslash characters (for an example, see #11572).
     61
     62**A:** This is due to a defect in Genshi 0.7 (genshi:#569). Until Genshi 0.7.1 is released, your options are:
     63 * Downgrade to Genshi 0.6.1
     64 * Convert the line endings of the ticket notification email template from `CRLF` to `LF`. For example, on a Unix-like system you can run the following from the directory in which the egg is installed (you may need elevated privileges, and your egg may have a different name depending on your Trac and Python versions):
     65 {{{#!sh
     66 dos2unix Trac-1.0.1-py2.7.egg/trac/ticket/templates/ticket_notify_email.txt
     67}}}
    5768
    5869=== Upgrade troubleshooting