Import from My_data.rdf file fails, invalid file
I exported my Zotero data (about three years work) to My_data.rdf today prior to resetting Firefox, which was crashing and freezing. I've reinstalled Firefox and created a new Firefox profile but my attempt to import the data I just exported is unsuccessful.
Zotero v. 4.0.19.
I get a message "Error occurred while trying to import selected file. Please ensure file is valid and try again."
Prior attempts prior to reinstalling FF and creating a new FF profile, did result in an apparently partial import before the above error message appeared. It seems to me the original data were more extensive.
Is there a way to check the "validity" of the RDF file?
Is there another way to get my data out of that RDF file, please?
Zotero v. 4.0.19.
I get a message "Error occurred while trying to import selected file. Please ensure file is valid and try again."
Prior attempts prior to reinstalling FF and creating a new FF profile, did result in an apparently partial import before the above error message appeared. It seems to me the original data were more extensive.
Is there a way to check the "validity" of the RDF file?
Is there another way to get my data out of that RDF file, please?
https://www.zotero.org/support/kb/transferring_a_library
so if this is still an option (e.g. via an old back-up) I'd do that. Else we can work through the RDF.
Executive Summary:
I have no existing Zotero data directory (ZDD) though it might reappear if I choose an even earlier restore point. Until I get a new laptop in hand, I'm reluctant to resort to such R/Ps. In the meantime, I would like to try reestablishing my ZDD by uncorrupting the RDF file, if possible.
Discussion:
To answer your question about availability of old data directory, I uninstalled and reinstalled Firefox to solve the problem with crashing I was experiencing. It was prior to that that I "exported" my Zotero entries. Things did not improve with Firefox and even Windows (7) Explorer seemed to be behaving strangely. I restored to an earlier restore point prior to reinstalling Firefox hoping that I would achieve O/S stability and that my Zoetero data dir. would also reappear. Alas, it did not.
There were one or two even earlier restore points that I did not use as some kind of "insurance." If one restore point was problematical, best to keep some in reserve in the hope that they were R/Ps without problems.
If these R/Ps are still available, it's still an option to restore with them in the hope that my Z. data dir. (ZDD) will reappear. As I have a functioning laptop back for the time being (without ZDD) I would rather not try another earlier R/P until I have my new laptop in hand and have successfully transferred all other MS Word settings, etc.
In the meantime, I would like to try to fix the RDF file that export generated. Mostly it contained links to various pages with index entries by means of Z. There were 6 or 7 links with snapshots of the page attached, and two or three PDFs, in my ZDD and I do not know if these snapshots and PDFs made it into the RDF file created by "Export." (Note that I don't use Z. in other than it's plain vanilla version for Firefox. No MS Word links, etc.)
I'd be most grateful if you could help me turn that RDF file into a "valid" file.
http://www.w3schools.com/xml/xml_validator.asp
Also, you never used Zotero sync, correct? If you did, I'd hold off on this because a) sync could be an alternative to re-importing and b) combining export/import with sync creates a mess of duplicates.
If you did in fact reset Firefox, your old Firefox profile, which is where your old Zotero data would have been, would have been moved to your desktop (see if you can find a folder on your desktop that says something like "old profile").
If you simply reinstalled Firefox, this generally should not have resulted in loss of profile, but let's assume that a new profile was created. In this case, your old profile is probably still somewhere on your computer. Search your entire computer for "zotero.sqlite" file. Let us know what you find (locations, file sizes, last modified dates).
Note that using Windows System Restore will not touch any of your files (including your Zotero data) unless you also have Windows Backup set up, so it would not have caused your Zotero files to appear or disappear.
We would also obviously want to find out what happened with that RDF file. Please submit a Debug ID for an attempt to import that file.
All files named "zotero.sqlite" are located in these locations on my C drive.
(1) C:\Users\Ace\Destop\Firefox profiles\npqdefaultOld Firefox Data2\cgskmjwx.defasult\zotero\ 5,912 KB 03/30/2014 06:16 PM
(2) C:\Users\Ace\Destop\Firefox profiles\Old Firefox Data\cgskmjwx.default\zotero\ 5,912 KB 03/30/2014 06:16 PM
(3) C:\Users\Ace\Destop\Firefox profiles\35wb8700.New Firefox profile as of 3_31_14\zotero\ 1,560 KB 03/31/2014 01:45 AM
(4) C:\Users\Ace\Destop\Old Firefox Data\n4r0ntq4.default-1396229353151\zotero\ 3,204 KB 04/01/2014 03:38 PM
(5) C:\Users\Ace\AppData\Roaming\Mozilla\Firefox\Profiles\9zmpcrho.default-1396394211404\zotero\ 2,640 KB 04/04/2014 04:14 PM
Debug ID = D2059103063
File no. 4 appears to have been generated when I reset (or reinstalled?) Firefox.
I appear to have my library back as before. It didn't look quite right as the data don't display quite the way that I had it set before. However, the essential data are there thanks to you.
Thank your very much for your help, gentlemen.
With the top window displaying more I noticed the "Duplicate Items" folder. I was puzzled by the number of dups but they might have been created by my hitting ctrl-s instead of ctrl-z to launch Xotero and save an item.
Lots of items in "Untitled Items" and I have no idea what that is about.
These latter two are not so much oddities of display but rather features I probably didn't see before as I was concerned only about displaying max no. of tags.
The items displayed in the center window had black triangles and bullets on the left just before the name.
I last had the title of the item and "Date Added" as the only two columns displaying. "Date Added" was missing and "Creator" was back again. I think "Attachments" were displaying, hence the triangles and bullets, I assume.
As for your display issues/questions:
You can drag the tag selector on the left to any size you want.
Unfiled items are items that are not in any collection.
You can pick the columns displayed in the center panel by clicking on the little table icon at its top right.
What puzzles me a bit is The triangles would indicate file/note/link attachments, which should have been restored. Take a closer look at your library and make sure that you're not missing file attachments or notes.