Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strange Unicode-related ProgrammingError when doing an import from Dative. #73

Open
jrwdunham opened this issue Dec 7, 2015 · 0 comments

Comments

@jrwdunham
Copy link
Member

ProgrammingError: (ProgrammingError) You must not use 8-bit bytestrings unless you use a text_factory that can interpret 8-bit bytestrings (like text_factory = str). It is highly recommended that you instead just switch your application to Unicode strings. u'UPDATE form SET datetime_modified=?, syntactic_category_string=?, morpheme_break_ids=?, morpheme_gloss_ids=?, break_gloss_category=?, modifier_id=? WHERE form.id = ?' ((datetime.datetime(2015, 12, 7, 7, 56, 35, 950828), 'anan', '[[[[3, "the.one.with.the.child,.parent", "anan"], [14, "the.one.with.the.child,.parent", "anan"]]]]', '[[[[3, "iiko\u0301'si", "anan"], [14, "iiko\u0301'si", "anan"]]]]', "iiko\xcc\x81'si|the.one.with.the.child,.parent|anan", 1, 3), (datetime.datetime(2015, 12, 7, 7, 56, 35, 950828), 'anan', '[[[[3, "the.one.with.the.child,.parent", "anan"], [14, "the.one.with.the.child,.parent", "anan"]]]]', '[[[[3, "iiko\u0301'si", "anan"], [14, "iiko\u0301'si", "anan"]]]]', "iiko\xcc\x81'si|the.one.with.the.child,.parent|anan", 1, 10), (datetime.datetime(2015, 12, 7, 7, 56, 35, 950828), 'anan', '[[[[3, "the.one.with.the.child,.parent", "anan"], [14, "the.one.with.the.child,.parent", "anan"]]]]', '[[[[3, "iiko\u0301'si", "anan"], [14, "iiko\u0301'si", "anan"]]]]', "iiko\xcc\x81'si|the.one.with.the.child,.parent|anan", 1, 14))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant