incubator-allura-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Brondsema" <brond...@users.sf.net>
Subject [allura:tickets] #6518 Handle unicode filenames in SVN snapshot
Date Tue, 01 Oct 2013 20:26:18 GMT
- **status**: open --> duplicate
- **Milestone**: forge-backlog --> forge-oct-04



---

** [tickets:#6518] Handle unicode filenames in SVN snapshot**

**Status:** duplicate
**Created:** Fri Aug 02, 2013 05:38 PM UTC by Cory Johns
**Last Updated:** Tue Oct 01, 2013 08:07 PM UTC
**Owner:** nobody

    16:58:25,107 ERROR [taskd:allura.tasks.repo_tasks.tarball:51fbe528b9363c24978a9baf:allura.tasks.repo_tasks]
Could not create snapshot for repository: dday-ical:code revision 578 pa
    th /DDay.iCal/trunk/Examples/C
    Traceback (most recent call last):
      File "/var/local/allura/Allura/allura/tasks/repo_tasks.py", line 133, in tarball
        repo.tarball(revision, path)
      File "/var/local/allura/Allura/allura/model/repository.py", line 541, in tarball
        self._impl.tarball(revision, path)
      File "/var/local/env-allura/lib/python2.7/site-packages/TimerMiddleware-0.4.3-py2.7.egg/timermiddleware/__init__.py",
line 116, in wrapper
        return self.run_and_log(func, inst, *args, **kwargs)
      File "/var/local/env-allura/lib/python2.7/site-packages/TimerMiddleware-0.4.3-py2.7.egg/timermiddleware/__init__.py",
line 125, in run_and_log
        return func(*args, **kwargs)
      File "/var/local/allura/ForgeSVN/forgesvn/model/svn.py", line 692, in tarball
        revision=pysvn.Revision(pysvn.opt_revision_kind.number, commit))
    ClientError: Can't convert string from 'UTF-8' to native encoding:
    /nfs/allura/code-snapshots/svn/d/dd/dday-ical/code/dday-ical-code-578-DDay.iCal-trunk/Examples/C#/Example1/Calendars/Bar?\195?\167a
2006 - 2007.ics

We probably need to set the locale to utf8 before doing the export.

http://tigris-scm.10930.n7.nabble.com/cant-convert-string-from-utf-8-to-native-encoding-td78763.html
http://stackoverflow.com/questions/2116718/svn-error-cant-convert-string-from-native-encoding-to-utf-8


---

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.
Mime
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message