Comments (5)
Patch has been applied. Please verify.
Original comment by [email protected]
on 20 Feb 2009 at 2:24
- Changed state: Started
from codeswarm.
python convert_logs.py -c cvslog.log -o cvslog.xml
Traceback (most recent call last):
File "convert_logs.py", line 408, in <module>
main()
File "convert_logs.py", line 162, in main
date = time.strptime(date_without_plus[0].strip(), '%Y-%m-%d %H:%M:%S')
File "/usr/lib/python2.6/_strptime.py", line 454, in _strptime_time
return _strptime(data_string, format)[0]
File "/usr/lib/python2.6/_strptime.py", line 325, in _strptime
(data_string, format))
ValueError: time data '2005/10/25 12:46:44' does not match format '%Y-%m-%d
%H:%M:%S'
Looks like the problem still exists. The Download says May 2009 so I'm assuming
it has the applied patch
Original comment by [email protected]
on 9 Jun 2010 at 4:14
from codeswarm.
[deleted comment]
from codeswarm.
Replace lines 161 - 162
date_without_plus = date_parts[1].split("+");
date = time.strptime(date_without_plus[0].strip(), '%Y-%m-%d %H:%M:%S')
with
ymddate = date_parts[1].split(" ")
date = time.strptime(ymddate[0] + " " + ymddate[1], '%Y-%m-%d %H:%M:%S')
The split on + doesn't seem to work. (Escape it?)
Original comment by [email protected]
on 10 Oct 2010 at 9:03
from codeswarm.
Follow up to previous comment. This problem looks like an issue of what your
time difference is with GMT. In my case, the variable date_parts[1] contains
2005-04-06 22:14:36 -0500
Splitting on a + leaves the -0500 which causes time.strptime to choke.
Splitting on a - is not good as the date has -'s.
While the change I made is messy, it works.
Original comment by [email protected]
on 10 Oct 2010 at 10:58
from codeswarm.
Related Issues (20)
- Refactor the code_swarm class to be more readable and maintainable
- run.sh does not work from /usr/local/bin or equivalent HOT 1
- significant dot-size variation when ran on desktop vs laptop (subpuxel rendering?)
- window expose events can cause code_swarm to hang sometimes
- Older CVS version uses different date format (convert_logs.py)
- Mercurial support HOT 4
- Subversion log entrys are not differentied for conversion.
- Processing Code HOT 1
- Hangs on Chaotic engine
- Histogram configuration and documentation HOT 1
- convert_logs.py - fails to convery SVN logs that contain square braces in the comments
- Allow commiter names to be translated
- Convert TFS Log
- Doesn't work for huge activity logs HOT 2
- Mercurial Log Generation - requirement 'dotencode' not supported! HOT 1
- hg_log.py doesn't work with OSX Lion HOT 3
- 3D support
- [Fatal Error] activity.xml:22858:78: Element type "event" must be followed by either attribute specifications, ">" or "/>". HOT 1
- Patch to allow svn xml log parsing
- Gravatars overlayed on non-blank backgrounds HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codeswarm.