Zotero to OOffice database script - errors (missing TY tag)
I am trying to use the zotero to ooffice db script described here:
- http://forums.zotero.org/discussion/19/openoffice-writer/
- http://bibliographic.openoffice.org/files/documents/124/3078/RISImport.py
but haven't managed to get it working.
When I try to convert a RIS file I get the following error:
<blockquote>*********************************************
ERROR: The RIS tag TY is missing
*********************************************
*********************************************
ERROR: The RIS tag TY is missing
*********************************************
Traceback (most recent call last):
File "/home/user/Local_Repository/Bibliografia/RISImport.py", line 243, in ?
insertToOOo(references)
File "/home/user/Local_Repository/Bibliografia/RISImport.py", line 229, in insertToOOo
rowSet.insertRow()
__main__.com.sun.star.sdbc.SQLException: invalid value for column 'URL'
</blockquote>
The RIS TY tag is not missing in the data I have. I just have exported the zotero collection using the menus in zotero.
This is the library I'm using:
- http://genome.imim.es/~giovanni/archive/zoterolib.ris
I believe I've followed the installation instructions correctly, but the RISimport.py script has never worked.
I've added /usr/lib/openoffice/program on $PATH and $PYTHONPATH variables with the command export PATH=/usr/lib/openoffice/program:$PATH (the same for PYTHONPATH).
Then I've started openoffice with the option described in the instruction file.
Then, I've exported the library from zotero in .ris format and executed the script.
I'm on a debian sid with openoffice 2.2.1.
Zotero version is 1.0.0b4.r5.
- http://forums.zotero.org/discussion/19/openoffice-writer/
- http://bibliographic.openoffice.org/files/documents/124/3078/RISImport.py
but haven't managed to get it working.
When I try to convert a RIS file I get the following error:
<blockquote>*********************************************
ERROR: The RIS tag TY is missing
*********************************************
*********************************************
ERROR: The RIS tag TY is missing
*********************************************
Traceback (most recent call last):
File "/home/user/Local_Repository/Bibliografia/RISImport.py", line 243, in ?
insertToOOo(references)
File "/home/user/Local_Repository/Bibliografia/RISImport.py", line 229, in insertToOOo
rowSet.insertRow()
__main__.com.sun.star.sdbc.SQLException: invalid value for column 'URL'
</blockquote>
The RIS TY tag is not missing in the data I have. I just have exported the zotero collection using the menus in zotero.
This is the library I'm using:
- http://genome.imim.es/~giovanni/archive/zoterolib.ris
I believe I've followed the installation instructions correctly, but the RISimport.py script has never worked.
I've added /usr/lib/openoffice/program on $PATH and $PYTHONPATH variables with the command export PATH=/usr/lib/openoffice/program:$PATH (the same for PYTHONPATH).
Then I've started openoffice with the option described in the instruction file.
Then, I've exported the library from zotero in .ris format and executed the script.
I'm on a debian sid with openoffice 2.2.1.
Zotero version is 1.0.0b4.r5.
That's the point, because I've already used jabref for exporting the rif document.
Please see the instructions at http://openoffice.refbase.net/