Seems like it does not work anymore with keys without "umlaut"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gedit-Zotero-Plugin |
Fix Committed
|
Critical
|
Frederik Elwert |
Bug Description
When inserting titles without "umlaut" in the key it does not work anymore:
SOAP-ENV:Envelope xmlns:SOAP-ENV="http://
<SOAP-ENV:Body>
<m:
<output xmlns="http://
</m:
</SOAP-ENV:Body>
</SOAP-
DEBUG:root:['!', '!', '0', {u'sort': True, u'citationItems': [{u'itemID': 7163}]}, 'schwerdtfeger_
DEBUG:root:
Traceback (most recent call last):
File "/home/
cite_key = process_
File "/home/
key = unicodedata.
TypeError: normalize() argument 2 must be unicode, not str
DEBUG:root:['X']
DEBUG:root:Update parameters: [u'3XTOz7RH', 'false', 'updated', '!', '0', 'X']
DEBUG:root:
DEBUG:root:Response Status: 200
DEBUG:root:<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://
<SOAP-ENV:Body>
<m:
<output xmlns="http://
</m:
</SOAP-ENV:Body>
</SOAP-
DEBUG:root:['!', '!', '0', {u'sort': True, u'citationItems': [{u'itemID': 13815}]}, 'pekrun_
DEBUG:root:
Traceback (most recent call last):
File "/home/
cite_key = process_
File "/home/
key = unicodedata.
TypeError: normalize() argument 2 must be unicode, not str
with "Umlaut":
DEBUG:root:Response Status: 200
DEBUG:root:<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://
<SOAP-ENV:Body>
<m:
<output xmlns="http://
</m:
</SOAP-ENV:Body>
</SOAP-
DEBUG:root:[u'!', u'!', u'0', {u'sort': True, u'citationItems': [{u'itemID': 5052}]}, u'g\xf6tz_
DEBUG:root:
Oh, that's not the way fixing non-ascii keys was meant... ;-)
Should now be fixed in trunk.