Bug: Export/Import fails
My colleague is using Zotero 1.5b2 and I am using b2.1
He exported a collection as RDF and shared that for me with DropBox. When I try to import the collection, the import goes on forever. The last message on the console is
zotero(2)(+0000005): Translate: Translation using RDF failed:
message => mimeType is undefined
fileName => chrome://zotero/content/xpcom/attachments.js
lineNumber => 1159
stack => _postProcessFile(22166,[object XPCWrappedNative_NoHelper],(void 0))@chrome://zotero/content/xpcom/attachments.js:1159
importSnapshotFromFile([object XPCWrappedNative_NoHelper],"http://www3.interscience.wiley.com/journal/7902/abstract","Google Scholar Linked Page",(void 0),(void 0),22160)@chrome://zotero/content/xpcom/attachments.js:160
([object Object],22160)@chrome://zotero/content/xpcom/translate.js:1226
([object Object])@chrome://zotero/content/xpcom/translate.js:1468
()@chrome://zotero/content/xpcom/translate.js:726
doImport()@chrome://zotero/content/xpcom/translate.js:1255
("UTF-8")@chrome://zotero/content/xpcom/translate.js:1665
("UTF-8",(void 0))@chrome://zotero/content/xpcom/translate.js:1647
("UTF-8",(void 0))@chrome://zotero/content/xpcom/file.js:243
([object PageTransitionEvent])@chrome://zotero/content/xpcom/file.js:281
loadURI("file:///Users/mronkko/Documents/DropBox/Mikolle/Exported%20Items/Exported%20Items.rdf",0,(void 0),(void 0),null)@:0
loadURIWithFlags("file:///Users/mronkko/Documents/DropBox/Mikolle/Exported%20Items/Exported%20Items.rdf",0,(void 0),(void 0))@chrome://global/content/bindings/browser.xml:186
loadURI("file:///Users/mronkko/Documents/DropBox/Mikolle/Exported%20Items/Exported%20Items.rdf")@chrome://global/content/bindings/browser.xml:160
getCharsetFromFile([object XPCWrappedNative_NoHelper],"text/plain",(function (charset) {me._charset = charset;me._importDoneSniffing(charset);}))@chrome://zotero/content/xpcom/file.js:247
()@chrome://zotero/content/xpcom/translate.js:1645
()@chrome://zotero/content/xpcom/translate.js:1627
()@chrome://zotero/content/xpcom/translate.js:653
(0)@chrome://zotero/content/fileInterface.js:236
name => TypeError
url => /Users/mronkko/Documents/DropBox/Mikolle/Exported Items/Exported Items.rdf
downloadAssociatedFiles => true
automaticSnapshots => false
What I would expect to see is either
1) The import works
or
2) I get an error message
Now I get only a progress dialog that goes on forever.
My colleague uses Windows and I use Mac. However, he is not able to import this particular file himself either.
Mikko
He exported a collection as RDF and shared that for me with DropBox. When I try to import the collection, the import goes on forever. The last message on the console is
zotero(2)(+0000005): Translate: Translation using RDF failed:
message => mimeType is undefined
fileName => chrome://zotero/content/xpcom/attachments.js
lineNumber => 1159
stack => _postProcessFile(22166,[object XPCWrappedNative_NoHelper],(void 0))@chrome://zotero/content/xpcom/attachments.js:1159
importSnapshotFromFile([object XPCWrappedNative_NoHelper],"http://www3.interscience.wiley.com/journal/7902/abstract","Google Scholar Linked Page",(void 0),(void 0),22160)@chrome://zotero/content/xpcom/attachments.js:160
([object Object],22160)@chrome://zotero/content/xpcom/translate.js:1226
([object Object])@chrome://zotero/content/xpcom/translate.js:1468
()@chrome://zotero/content/xpcom/translate.js:726
doImport()@chrome://zotero/content/xpcom/translate.js:1255
("UTF-8")@chrome://zotero/content/xpcom/translate.js:1665
("UTF-8",(void 0))@chrome://zotero/content/xpcom/translate.js:1647
("UTF-8",(void 0))@chrome://zotero/content/xpcom/file.js:243
([object PageTransitionEvent])@chrome://zotero/content/xpcom/file.js:281
loadURI("file:///Users/mronkko/Documents/DropBox/Mikolle/Exported%20Items/Exported%20Items.rdf",0,(void 0),(void 0),null)@:0
loadURIWithFlags("file:///Users/mronkko/Documents/DropBox/Mikolle/Exported%20Items/Exported%20Items.rdf",0,(void 0),(void 0))@chrome://global/content/bindings/browser.xml:186
loadURI("file:///Users/mronkko/Documents/DropBox/Mikolle/Exported%20Items/Exported%20Items.rdf")@chrome://global/content/bindings/browser.xml:160
getCharsetFromFile([object XPCWrappedNative_NoHelper],"text/plain",(function (charset) {me._charset = charset;me._importDoneSniffing(charset);}))@chrome://zotero/content/xpcom/file.js:247
()@chrome://zotero/content/xpcom/translate.js:1645
()@chrome://zotero/content/xpcom/translate.js:1627
()@chrome://zotero/content/xpcom/translate.js:653
(0)@chrome://zotero/content/fileInterface.js:236
name => TypeError
url => /Users/mronkko/Documents/DropBox/Mikolle/Exported Items/Exported Items.rdf
downloadAssociatedFiles => true
automaticSnapshots => false
What I would expect to see is either
1) The import works
or
2) I get an error message
Now I get only a progress dialog that goes on forever.
My colleague uses Windows and I use Mac. However, he is not able to import this particular file himself either.
Mikko
I'm guessing you're using Firefox 3.5b4? There's an incompatibility in 1.5b2 with Firefox 3.5b4 that affects import. It's already fixed on the trunk and will be included in the next beta, which will be available shortly. If you like, you can try the dev XPI and let us know if it's fixed and then switch to the next beta once it's out.
1477746144
Mikko