#8152 UnicodeDecodeError on svn tarball export's cleanup

v1.7.0
closed
None
General
nobody
2017-06-27
2017-04-14
No

Looks very similar to what we did in [b1c127] for a fix

Traceback (most recent call last):
  File "/var/local/allura/Allura/allura/model/monq_model.py", line 260, in __call__
    self.result = func(*self.args, **self.kwargs)
  File "/var/local/allura/Allura/allura/tasks/repo_tasks.py", line 142, in tarball
    repo.tarball(revision, path)
  File "/var/local/allura/Allura/allura/model/repository.py", line 737, in tarball
    self._impl.tarball(revision, path)
  File "/var/local/env-allura/lib/python2.7/site-packages/TimerMiddleware-0.4.4-py2.7.egg/timermiddleware/__init__.py", line 117, in wrapper
    return self.run_and_log(func, inst, *args, **kwargs)
  File "/var/local/env-allura/lib/python2.7/site-packages/TimerMiddleware-0.4.4-py2.7.egg/timermiddleware/__init__.py", line 126, in run_and_log
    return func(*args, **kwargs)
  File "/var/local/allura/ForgeSVN/forgesvn/model/svn.py", line 725, in tarball
    rmtree(dest, ignore_errors=True)
  File "/usr/lib64/python2.7/shutil.py", line 247, in rmtree
    rmtree(fullname, ignore_errors, onerror)
  File "/usr/lib64/python2.7/shutil.py", line 241, in rmtree
    fullname = os.path.join(path, name)
  File "/var/local/env-allura/lib64/python2.7/posixpath.py", line 80, in join
    path += '/' + b
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position 7: ordinal not in range(128)

Discussion

  • Dave Brondsema

    Dave Brondsema - 2017-04-14
    • status: open --> review
     
  • Dave Brondsema

    Dave Brondsema - 2017-04-14

    db/8152

     
  • Kenton Taylor - 2017-04-17

    Mergd.

     
  • Kenton Taylor - 2017-04-17
    • status: review --> closed
     
  • Dave Brondsema

    Dave Brondsema - 2017-06-27
    • Milestone: unreleased --> v1.7.0
     

Log in to post a comment.