Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

svn-gource.py crach in national filename in repositories #20

Closed
GoogleCodeExporter opened this issue Apr 12, 2016 · 2 comments
Closed

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. cd my-svn-project 
my-svn-project contains file with national filename in repositories
2. svn log --verbose --xml > my-project.log
3. python svn-gource.py --filter-dirs my-project.log > my-project-gource.log
Console session:
C:\dump\gource>python svn-gource.py --filter-dirs my-project.log >
my-project-gource.log
Traceback (most recent call last):
  File "svn-gource.py", line 106, in <module>
    processXmltree(xmltree)
  File "svn-gource.py", line 72, in processXmltree
    print "|".join( ("%d" % int(timestamp), author,
pathentry.get("action"), pathentry.text, "") )
UnicodeEncodeError: 'ascii' codec can't encode characters in position
34-39: ordinal not in range(128)


Os: Windows Vista Homa Basic Ru + sp2
Python 2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32 bit
(Intel)] on win32

path for correct: svn-gource.py.diff

Original issue reported on code.google.com by tonal.pr...@gmail.com on 30 Nov 2009 at 7:03

Attachments:

@GoogleCodeExporter
Copy link
Author

Hi. Someone else reported this too. I will update the script to fix this.

Original comment by acaudw...@gmail.com on 30 Nov 2009 at 9:19

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

Ok I have updated the script. The updated version is here:

http://gource.googlecode.com/files/svn-gource-1.0.tar.gz

Original comment by acaudw...@gmail.com on 30 Nov 2009 at 9:41

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant