You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@allura.apache.org by Alexander Luberg <al...@users.sf.net> on 2014/07/08 19:36:40 UTC

[allura:tickets] #7507 Project API errors on unicode screenshot name

- **status**: open --> in-progress
- **assigned_to**: Alexander Luberg



---

** [tickets:#7507] Project API errors on unicode screenshot name**

**Status:** in-progress
**Milestone:** forge-jul-11
**Created:** Mon Jun 30, 2014 03:07 PM UTC by Dave Brondsema
**Last Updated:** Mon Jun 30, 2014 04:40 PM UTC
**Owner:** Alexander Luberg

This screenshot filename: https://sourceforge.net/p/echaracter/screenshot/Pantalla%20Inicial-v3-ConSelecci%C3%B3n.jpg causes this error on /rest/p/echaracter/

~~~~
File '/var/local/allura/Allura/allura/controllers/rest.py', line 298 in index
  return c.project.__json__()
File '/var/local/allura/Allura/allura/model/project.py', line 1103 in __json__
  for ss in self.get_screenshots()
File '/usr/lib64/python2.7/urllib.py', line 1268 in quote
  return ''.join(map(quoter, s))
KeyError: u'\\xf3'
~~~~


---

Sent from sourceforge.net because dev@allura.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.