problem od synchronisation with 2 files

edited November 2, 2021
Hello,
I have an unlimited account, and I have a recurrent problem with the synchronisation.
Everything works fine, except with 2 files, which take almost 1/2h to be synchronised.
I had for another reason to reinstall my windows system. And I still have these 2 files lagging behind to be sync.
They seem to be on the 2 sides (online and in my PC), but definitively online, as my zotero (PC's) worked perfectly before the first sync (after the system reinstalled).

I have tried, of course lots of things, to sort out the pb, without any success.
How can I detect these 2 problematical files in order to delete them for good and be able to use zotero on a daily basis.
I now use it very little, as the sync process with these last 2 files for more than 1/2h slow down my PC, (though with an I5 and a good processor) and heat it up a lot.

Many thanks for your help/solution to get rid of these 2 problematical files.

ps: just a thought: is it possible "to see" the weight of each file. I have a vague feeling that it could be some very heavy ones or corrupted ones; but finding them is like finding a fish in the ocean as I can not see any ways to order the files by size.

best,
Emmanuèle
  • Can you provide a Debug ID for a few minutes of syncing these two files?
  • Yes here it is :1475253215


    [JavaScript Error: "Win error 2 during operation open on file C:\Users\ecunningham\AppData\Roaming\Zotero\Zotero\Profiles\c1y460n2.default\session.json (Le fichier spécifié est introuvable.

    )"]

    [JavaScript Error: "HTTP POST https://api.zotero.org/users/116964/items/ZBV86GLB/file failed with status code 400:

    Files above 4 GB are not currently supported"]

    [JavaScript Error: "Unexpected status code 400 in Zotero.Sync.Storage.ZFS._getFileUploadParameters() (1/ZBV86GLB)"]

    [JavaScript Error: "Upload request 1/ZBV86GLB failed"]

    [JavaScript Error: "Une erreur de synchronisation de fichier s'est produite. Veuillez essayer de synchroniser à nouveau.

    Si vous recevez ce message de manière répétée, redémarrez Zotero et/ou votre ordinateur et essayez à nouveau. Si vous recevez encore ce message, soumettez un rapport d'erreur et postez son Report ID -numéro de rapport- dans un nouveau fil de discussion du forum Zotero." {file: "chrome://zotero/content/xpcom/storage/zfs.js" line: 462}]

    version => 5.0.97-beta.51+6206209ed, platform => Win32, oscpu => Windows NT 10.0; WOW64, locale => fr-FR, appName => Zotero, appVersion => 5.0.97-beta.51+6206209ed, extensions => Zotero LibreOffice Integration (5.0.25.SA.5.0.97-beta.51+6206209ed, extension), Zotero Word for Windows Integration (5.0.19.SA.5.0.97-beta.51+6206209ed, extension)

    (3)(+1509439): itemTree.render(). Displaying Item Tree

    (3)(+0012055): HTTP POST "error=true&errorData=%5BJavaScript%20Error%3A%20%22Win%20error%202%20during%20operation%20open%20on%20file%20C%3A%5CUsers%5Cecunningham%5CAppData%5CRoaming%5CZotero%5CZotero%5CProfiles%5Cc1y460n2.default%5Csession.json%20(Le%20fichier%20sp%C3%A9cifi%C3%A9%20est%20introuvable.%0D%0A)%22%5D%0A%5BJavaScript%20Error%3A%20%22HTTP%20POST%20https%3A%2F%2Fapi.zotero.org%2Fusers%2F116964%2Fitems%2FZBV86GLB%2Ffile%20failed%20with%20status%20code%20400%3A%0A%0AFiles%20above%204%20GB%20are%20not%20currently%20supported%22%5D%0A%5BJavaScript%20Error%3A%20%22Unexpected%20status%20code%20400%20in%20Zotero.Sync.Storage.ZFS._getFileUploadParameters()%20(1%2FZBV86GLB)%22%5D%0A%5BJavaScript%20Error%3A%20%22Upload%20request%201%2FZBV86GLB%20failed%22%5D%0A%5BJavaScript%20Error%3A%20%22Une%20erreur%20de%20synchronisation%20de%20fichier%20s'est%20produite.%20Veuillez%20essayer%20de%20synchroniser%20%C3%A0%20nouveau.%0A%20%0A%20Si%20vous%20recevez%20ce%20message%20de%20mani%C3%A8re%20r%C3%A9p%C3%A9t%C3%A9e%2C%20red%C3%A9marrez%20Zo…" (1909 chars) to https://repo.zotero.org/repo/report

    (3)(+0000324): HTTP POST https://repo.zotero.org/repo/report succeeded with 200
  • Sorry, this is the right one : D372880268
    many thanks
  • Files above 4 GB are not currently supported
    The file is too big to upload.

    If you paste ZBV86GLB into the Zotero search bar in All Fields & Tags mode, and do right-click → Show File on the attachment that shows up, how big is it?
  • Ok great, thank you so much, indeed, I cut and paste a file commenting a documentary with the documentary itself in a separate file (this particular one).
    It seems that I probably have another big one. As Zotero is struggling with 2 files.

    Is there any way to search the biggest files in this library? (and/or a way to ask not to sync these ones specifically?)

  • It says the 8-character item key in the error message, which you can use to search for the attachment. You can also just use your OS to search for all files within your Zotero data directory and look at the name of the parent folder, which will be the same 8-character key.

    You can't sync files selectively, so you have to delete those two attachments and empty the trash. But you can first make a copy of those files, store them elsewhere on your computer, and add them as linked files.
  • Many thanks for your help. I got rid of the biggest, (emtying the bin on both sides). There's obviously one more, not detected by debug id this time.

    2145470564

    Any other ways to find the faulty one if there's no mention of the 8-character?

    Thank you already for this, I know what to look for.
    Kind regards,
    Cladie,
  • If you're still having trouble, we'd need another Debug ID for a sync.
  • Yes it seems that I have naother one, but not detected : 1188968541

    Aucune erreur n'a été enregistrée depuis le démarrage de Zotero.

    version => 5.0.97-beta.51+6206209ed, platform => Win32, oscpu => Windows NT 10.0; WOW64, locale => fr-FR, appName => Zotero, appVersion => 5.0.97-beta.51+6206209ed, extensions => Zotero LibreOffice Integration (5.0.25.SA.5.0.97-beta.51+6206209ed, extension), Zotero Word for Windows Integration (5.0.19.SA.5.0.97-beta.51+6206209ed, extension)
  • edited November 3, 2021
    No, that's a Report ID, with nothing in it. We need a Debug ID for a few minutes of a sync attempt.
  • oups sorry, this is the one D1625395804
  • amazing, where do you see it?
  • edited November 3, 2021
    It's in the debug output. Debug output is for developers and isn't something you're expected to be able to read. The non-technical solution here would just be to do a search for the multi-gigabyte files in your storage folder.
  • Great, thank you soooo much! It was also a documentary I use sometimes.
    It still turns around but so far doesn't mention any numbers.
    Many many thanks!
    I'll be able to use zotero again, as before.
    thank you dstillman :-)
  • Dan, I have this same sync issue of files larger than 4 GB and have a related question about how the Zotero database tracks attachments. Will I corrupt the database if I just delete my oversize files directly through the Mac OS file system instead of going into the Zotero UI and deleting each attachment and then emptying the Zotero library's trash? I ask because the quickest solution would be to search for the 8 character ID on the file system and delete the files that way, while going into Zotero and tracking each one down is slower because of the size of my Zotero library. If using the file system risks corrupting the Zotero database, however, I won't want to go that route. Thanks for any clarification.
  • the quickest solution would be to search for the 8 character ID on the file system and delete the files that way
    @davidamichelson: If you already have the 8-character item key, you can just paste it into the Zotero search bar in All Fields & Tags mode to find the attachment in question.

    The reason to go through the filesystem would be if you wanted to use some external utility to find the multi-gigabyte files in your storage folder and delete them. If you do that, you won't corrupt the database, but you'll obviously end up with attachment items in your Zotero library with missing files. You can, however, sort by the Attachments column to find those attachments, press + to expand the parent items, and then fairly quickly go through and select the attachment items for deletion.

    In any case, I've created a ticket to add a button to the error dialog for this error to select the attachment in question.
Sign In or Register to comment.