claytron/ever2simple — Issue #1: TypeError: initial_value must be unicode or None, not str
Author: zhaocai
Created: 2011-10-11 09:44:30+00:00
State: open

# just installed using pip as instructed and tried with the following error.

> ever2simple Notes.enex > simplenote.json
Traceback (most recent call last):
File "/usr/local/bin/ever2simple", line 8, in
load_entry_point('ever2simple==1.0a1', 'console_scripts', 'ever2simple')()
File "/Library/Python/2.7/site-packages/ever2simple/core.py", line 16, in main
converter.convert()
File "/Library/Python/2.7/site-packages/ever2simple/converter.py", line 73, in convert
notes = self.prepare_notes(xml_tree)
File "/Library/Python/2.7/site-packages/ever2simple/converter.py", line 43, in prepare_notes
created_string = parse(note.xpath('created')[0].text)
File "/Library/Python/2.7/site-packages/dateutil/parser.py", line 698, in parse
return DEFAULTPARSER.parse(timestr, **kwargs)
File "/Library/Python/2.7/site-packages/dateutil/parser.py", line 302, in parse
res = self._parse(timestr, **kwargs)
File "/Library/Python/2.7/site-packages/dateutil/parser.py", line 350, in _parse
l = _timelex.split(timestr)
File "/Library/Python/2.7/site-packages/dateutil/parser.py", line 144, in split
return list(cls(s))
File "/Library/Python/2.7/site-packages/dateutil/parser.py", line 44, in __init__
instream = StringIO(instream)
TypeError: initial_value must be unicode or None, not str