Skip to content

ValueError: unconverted data remains: -0800 #1

@nickcedwards

Description

@nickcedwards

Hi Alex,

I tried out your nice looking tool to make a wordcount graph of my thesis, but it fails. I'm using OSX 10.8 with Python 2.7.2. Any ideas?

Cheers,

Nick

Temp dir created: /var/folders/5b/7cbhdcfd4h15v6k69940_0yw0000gn/T/tmpyen45r
Cloning repo: thesis/thesis/ -> /var/folders/5b/7cbhdcfd4h15v6k69940_0yw0000gn/T/tmpyen45r
Tidying temp dir: /var/folders/5b/7cbhdcfd4h15v6k69940_0yw0000gn/T/tmpyen45r
Traceback (most recent call last):
File "/usr/local/bin/gitwalk", line 8, in
load_entry_point('gitwalker==0.1.7', 'console_scripts', 'gitwalk')()
File "/Library/Python/2.7/site-packages/gitwalker/main.py", line 74, in main
for comm in git_log(git_new):
File "/Library/Python/2.7/site-packages/gitwalker/git.py", line 28, in git_log
out["date"] = datetime.strptime(l.split(":",1)[1].split("+")[0].strip().rstrip(), "%Y-%m-%d %H:%M:%S")
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/_strptime.py", line 328, in _strptime
data_string[found.end():])
ValueError: unconverted data remains: -0800

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions