Mac Word 2008 plugin error
When I try to insert a citation in a document I've been working on, I get this:
An unexpected error occured while performing this operation:
File "/Users/jpdiond/Documents/Microsoft User Data/Word Script Menu Items/Zotero/Zotero.py" line 340, in send
self._getFields()
File "/Users/jpdimond/Documents/Microsoft User data/Word Script
Menu Items/Zotero/Zotero.py", line 396, in _getFields
self.docFields =
self.doc.getFields(self.data.prefs['fieldType'])
File "./MacWord.py", line 260, in getFields
if collections[noteType]
[i].filed_code.content.get().startswith(FIELD_PREFIX)]);
AttributeError: Keyword instance has no attribute 'startswith'
It works fine with a new document. I checked bookmarks and there are no Zotero ones.
An unexpected error occured while performing this operation:
File "/Users/jpdiond/Documents/Microsoft User Data/Word Script Menu Items/Zotero/Zotero.py" line 340, in send
self._getFields()
File "/Users/jpdimond/Documents/Microsoft User data/Word Script
Menu Items/Zotero/Zotero.py", line 396, in _getFields
self.docFields =
self.doc.getFields(self.data.prefs['fieldType'])
File "./MacWord.py", line 260, in getFields
if collections[noteType]
[i].filed_code.content.get().startswith(FIELD_PREFIX)]);
AttributeError: Keyword instance has no attribute 'startswith'
It works fine with a new document. I checked bookmarks and there are no Zotero ones.
I did find that cutting and pasting the whole document into a new one fixed things, but it's not a pretty fix.
According to the changelog this should fix errors like this.