Can't sync from computer to server

Hi, I have just installed Zotero standalone and would like to sync my data for the first time to the Zotero server. Each time I try there is an error ID:179932404.
Thanks,
  • edited January 29, 2012
    How many items are in your Zotero library?

    Be sure you've emptied the Zotero trash before trying to sync, in case you have many items in there.
  • There are 9505 items in the library. It is an old database that came originally from Endnote and may have problems but always worked in Zotero.

    The trash is empty.
  • I have also noticed that I have a large number of items in duplicates - some I can't merge because I get a message that items must be the same to be merged (I don't know why they would be identified as dups?); could this have anything to do with syncing problem?
    Thanks,
  • edited February 1, 2012
    I get a message that items must be the same to be merged
    That's not quite what the message says—it says that items must be of the same type (e.g., book, journal article, etc.) to be merged.

    9,500 items is large for an initial sync. It should be able to go through regardless, but if you have a large number of duplicate items you should remove as many as possible, empty the trash, and try to sync again.

    If you still have trouble syncing, provide another Report ID and we'll try to figure out why it's failing.
  • I have removed all duplicates and the trash is empty but still can't sync.

    The new error report is: 8913835
    Thanks,
  • Can you provide a Debug ID for a sync attempt that produces the error? Ideally don't do anything else in Zotero between when you start the sync and when you get the error.
  • The Debug ID is D424348425.
  • You seem to be hitting a timeout or limit in some part of our infrastructure, though I'm still trying to figure out where. I've added a bit more logging on the server. Can you trigger another sync and post here when you do? No IDs necessary.
  • I have sent two log's to the server - the first was sent before the error occurred (sorry); the second was sent after re-starting Zotero and after the error occurred.
  • It may not fix it, but it should get you closer: do a Restore to Zotero Server from the Sync->Reset pane of the Zotero preferences. In the upload log on the server I see that there's some detritus left over in your database from all the items you deleted, and a Restore to Server will clear that out.

    Try again, and let me know again if it fails.

    (The issue that's currently preventing your sync is a number of overly long tags in your database. Zotero should automatically help you deal with those when the server returns that error, but for some reason—the size of your upload, and/or possibly something related to your network connection—your connection to the Zotero server is getting cut off before you get that error back. I'm still trying to figure out what's causing that, but you could actually go through your tags and delete any very long ones manually. There might be other issues, though, and dealing with those by hand is a pain, so we may need to continue to address the connection failure anyway.)
  • I tried the Sync->Reset and got the same error I get when I try a normal sync "Invalid response from server". I'm not on a very fast link.
    I looked at the tags and as you say some are very long; the ones I saw seemed to be from metadata I retrieved for PDF's - is that likely?

    Should I try uploading a small part of the library to see if it is a connection problem?
  • OK, I think I found the problem here. Give it another try. With any luck you'll see a dialog about long tags.
    I looked at the tags and as you say some are very long; the ones I saw seemed to be from metadata I retrieved for PDF's - is that likely?
    It's certainly possible. If you provide examples (in a separate thread) we can fix the translators to avoid saving those tags.
  • many thanks for the consistent help - the library is now on the server.

    I'm a bit confused about how I would "provide examples" of the long tags. I probably erased most during the upload but I assume it will happen again with the next meta data retrieval - what should I put in the new thread? This would still be under syncing, right?
  • we would want to know how the tags got into your library. Presumably you didn't type them in by hand, which means they got automatically imported somehow.
    If possible, we would like to prevent that by fixing the automatic import (aka translator), but for that we'd need to know where those tags came from.
    So what you'd put in the new thread would be something like:
    "When importing this record from www.weird-database.org to Zotero, I got a tag that was too long to sync."
  • Great. Sorry for the trouble.
    I'm a bit confused about how I would "provide examples" of the long tags.
    If you cancel the tag-fixer dialog and find the identified tag in the tag selector and click on it, you'll see what item it's associated with. You can then see where that item came from and provide an example URL so that we can fix the site translator.

    And no, this isn't really related to syncing. Generally, if a tag is too long to sync, it's bad data anyway.
  • my tags come from pubmed entries imported into an endnote database.
    I imported the endnote data base into zotero without problems but they are too long for the server. it asks for the symbol to split, which is / but there are 4000 entries so manually pressing this for each one is not an option. Below is an example
    Brain/*abnormalities/physiopathology Cerebral Ventricles/pathology Corpus Callosum/anatomy & histology Feasibility Studies Humans *Imaging, Three-Dimensional Infant, Newborn *Magnetic Resonance Imaging Schizophrenia/physiopathology
Sign In or Register to comment.