Return-Path: X-Original-To: apmail-incubator-allura-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-allura-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 376D210976 for ; Thu, 23 Jan 2014 14:08:05 +0000 (UTC) Received: (qmail 35905 invoked by uid 500); 23 Jan 2014 14:08:05 -0000 Delivered-To: apmail-incubator-allura-dev-archive@incubator.apache.org Received: (qmail 35834 invoked by uid 500); 23 Jan 2014 14:08:04 -0000 Mailing-List: contact allura-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: allura-dev@incubator.apache.org Delivered-To: mailing list allura-dev@incubator.apache.org Received: (qmail 35780 invoked by uid 99); 23 Jan 2014 14:07:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jan 2014 14:07:59 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of noreply@sourceforge.net designates 216.34.181.60 as permitted sender) Received: from [216.34.181.60] (HELO smtp.ch3.sourceforge.com) (216.34.181.60) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jan 2014 14:07:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.com; s=x; h=Date:References:In-Reply-To:Message-ID:Subject:Reply-To:From:To:MIME-Version:Content-Type; bh=rgInjabUb9QBfu3na2RkioKH7NMUoJqqz49VfB0WsFA=; b=TZVYNl5RURbSZrUkpjz8tCMezmbYBp3OpOK3erhITvJp1SMwYSjVfrBgwL6lRM3QFh5hSfUYvY6fCb8HaA2pOWz9mnbl7LJaf4eW1SAwGk9+GgqDQxJqutLJQBYCCQbHCORLXGrkP6EDWrlecGRuTKV9/5LfVqrSEnnvC/N8RAQ=; Received: from localhost ([127.0.0.1] helo=sfs-alluradaemon-2.v29.ch3.sourceforge.com) by sfs-alluradaemon-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1W6KwQ-0007Ep-Et for allura-dev@incubator.apache.org; Thu, 23 Jan 2014 14:07:34 +0000 Content-Type: multipart/related; boundary="===============4135492699188765859==" MIME-Version: 1.0 To: allura-dev@incubator.apache.org From: "Igor Bondarenko" Reply-To: "[allura:tickets] " <7022@tickets.allura.p.re.sf.net> Subject: [allura:tickets] #7022 UnicodeDecodeError on side-by-side diff text Message-ID:

In-Reply-To: <52c5ba8c0910d46f0d8bf307.tickets@allura.p.sourceforge.net> References: <52c5ba8c0910d46f0d8bf307.tickets@allura.p.sourceforge.net> Date: Thu, 23 Jan 2014 14:07:34 +0000 X-Virus-Checked: Checked by ClamAV on apache.org --===============4135492699188765859== Content-Type: multipart/alternative; boundary="===============9102542675232352836==" MIME-Version: 1.0 --===============9102542675232352836== MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit - **status**: in-progress --> code-review --- ** [tickets:#7022] UnicodeDecodeError on side-by-side diff text** **Status:** code-review **Labels:** 42cc **Created:** Thu Jan 02, 2014 07:14 PM UTC by Dave Brondsema **Last Updated:** Mon Jan 06, 2014 04:58 PM UTC **Owner:** nobody There are a variety of repos that can trigger this, one example is at https://sourceforge.net/p/smpf/smpf/146/tree/trunk/Client/Model/Menus.cs?diff=515be58eea406b647df7ff4f:145&diformat=sidebyside ~~~~ File '/var/local/allura/Allura/allura/templates/repo/diff.html', line 69 in block "content" {{diff|safe}} File '/var/local/env-allura/lib/python2.7/site-packages/Jinja2-2.6-py2.7.egg/jinja2/filters.py', line 705 in do_mark_safe return Markup(value) File '/var/local/env-allura/lib/python2.7/site-packages/MarkupSafe-0.15-py2.7-linux-x86_64.egg/markupsafe/__init__.py', line 71 in __new__ return unicode.__new__(cls, base) UnicodeDecodeError: 'ascii' codec can't decode byte 0xe6 in position 4090: ordinal not in range(128) ~~~~ --- Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. --===============9102542675232352836== MIME-Version: 1.0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: 7bit
  • status: in-progress --> code-review

[tickets:#7022] UnicodeDecodeError on side-by-side diff text

Status: code-review
Labels: 42cc
Created: Thu Jan 02, 2014 07:14 PM UTC by Dave Brondsema
Last Updated: Mon Jan 06, 2014 04:58 PM UTC
Owner: nobody

There are a variety of repos that can trigger this, one example is at https://sourceforge.net/p/smpf/smpf/146/tree/trunk/Client/Model/Menus.cs?diff=515be58eea406b647df7ff4f:145&diformat=sidebyside

File '/var/local/allura/Allura/allura/templates/repo/diff.html', line 69 in block "content"
  {{diff|safe}}
File '/var/local/env-allura/lib/python2.7/site-packages/Jinja2-2.6-py2.7.egg/jinja2/filters.py', line 705 in do_mark_safe
  return Markup(value)
File '/var/local/env-allura/lib/python2.7/site-packages/MarkupSafe-0.15-py2.7-linux-x86_64.egg/markupsafe/__init__.py', line 71 in __new__
  return unicode.__new__(cls, base)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe6 in position 4090: ordinal not in range(128)

Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.

--===============9102542675232352836==-- --===============4135492699188765859==--