mlistdata-mysql-neo4j icon indicating copy to clipboard operation
mlistdata-mysql-neo4j copied to clipboard

Unicode Decode Error in one of the migration scripts.

Open pramttl opened this issue 9 years ago • 0 comments

Reported by @azarbakht via email:

"I just installed Neo4j community version on my laptop (it's a GNU/Linuxl; Ubuntu 13.10), got it running. Downloaded the latest version of Github repo, installed it, ran the first script fine, but the second script produces the following error":

Traceback (most recent call last): File "migrate_2_messages.py", line 60, in n4j_properties = PropertySet(properties) File "/home/aha/Documents/Neo4jAmarokMLDB/venv/local/lib/python2.7/site-packages/py2neo/core.py", line 1118, in init self.update(iterable, **kwargs) File "/home/aha/Documents/Neo4jAmarokMLDB/venv/local/lib/python2.7/site-packages/py2neo/core.py", line 1176, in update self[key] = value File "/home/aha/Documents/Neo4jAmarokMLDB/venv/local/lib/python2.7/site-packages/py2neo/core.py", line 1147, in setitem dict.setitem(self, key, cast_property(value)) File "/home/aha/Documents/Neo4jAmarokMLDB/venv/local/lib/python2.7/site-packages/py2neo/types.py", line 55, in cast_property value = ustr(value) File "/home/aha/Documents/Neo4jAmarokMLDB/venv/local/lib/python2.7/site-packages/py2neo/util.py", line 210, in ustr return s.decode(encoding) File "/home/aha/Documents/Neo4jAmarokMLDB/venv/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xb4 in position 7: invalid start byte right after I enter the database password.

pramttl avatar Jan 26 '15 08:01 pramttl