rahulpathakgit / codeswarm

Automatically exported from code.google.com/p/codeswarm
GNU General Public License v3.0
0 stars 0 forks source link

convert_logs.py Hangs #9

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When I run

"python convert_logs.py -s test_files/svn_log.txt -o my.xml"

the script never returns anything. The traceback:

  File "convert_logs.py", line 136, in <module>
    main()
  File "convert_logs.py", line 96, in main
    line = file_handle.readline()

I've tried changing the enline of the log to remove the ---- line, etc. Nothing 
seems to change 
anything.

What version of the product are you using? On what operating system?

Using version 2.5.1 of Python on 10.5

Original issue reported on code.google.com by whitefa...@gmail.com on 23 Jun 2008 at 10:21

GoogleCodeExporter commented 8 years ago
Additional note, the README as of r42 incorrectly points to convert_log.py 
rather than convert_logs.py

Original comment by whitefa...@gmail.com on 24 Jun 2008 at 1:37

GoogleCodeExporter commented 8 years ago
Hey whitefalls,

I was able to reproduce your hanging error on an OS X 10.5 machine.  The 
problem was
that the svn_log.txt file was checked in with CR+LF line endings(from windows 
:( ),
which was screwing with the script on non-windows platforms for some reason.  I 
have
checked in an svn_log.txt with proper line endings and this fixed the issue for 
me.

Also, I corrected the typo you pointed out in the README.

Original comment by cgalvan1...@gmail.com on 24 Jun 2008 at 5:22