Corrupted localised error message

When trying to synchronise while English (UK) is used I got the error following message:

"The note “Very interesting!!!!!” is too long to sync. Shorten the note and sync again."

When switching the Zotero UI to German locale I observed the following corrupted error message:

"Die Notiz "$S" ist zu lang für die Synchronisation. Bitte die Notiz kürzen und erneut synchronisieren."

Something seems to be broken with the German localisation.
  • Yeah, that's a mistake in the localization — somebody changed %S to $S when translating the string. I've fixed that for the next version. Thanks.
  • @dstillman: Thanks for the upcoming fix!

    Follow-up question: What is the actual size limit for notes? Is the limit configurable?

    I tend to copy screenshots into the field, that way I occasionally receive the described error message.
  • Use the new beta version, which supports images in notes. With the current version, 1screenshot can be enough to go over size (which is in characters. 100000 I believe)
  • adamsmith wrote:

    > Use the new beta version, which supports images in notes.

    Thanks for the proposal. I installed "5.0.97-beta.43+c5d89f6d0". Unfortunately, I still receive the same error message that the size of the note is too large :-(
  • Existing images in notes aren't currently converted, so you'd still get error messages for those. Newly added images will sync.
  • Using the current beta version I removed the images from the affected notes, saved and synced them successfully.

    Afterwards, I added the first image and synced it successfully.

    Then I added the second image to the same note, and I received the error message "The note is too long to sync. Shorten the note and sync again."

    It seems that there is still a size limitation for notes in place. How much is it? Is it configurable?
  • The size limitation is server-side — it's not something you can configure. Local Zotero has no limits.

    But you won't get this due to dragged images in the current beta. It's possible you didn't remove all of the previous images in the note.

    If you can't figure it out, can you provide a Debug ID for a sync attempt that produces this error?
  • dstillman wrote:

    > If you can't figure it out, can you provide a Debug ID for a sync attempt that produces this error?

    Debug ID: D256545682.

    My actions:
    1. Manually triggered sync. Successful.
    2. Added second picture to note.
    3. Manually triggered sync. Error message;: "The note is too long to sync. Shorten the note and sync again."

    Zotero version: "5.0.97-beta.43+c5d89f6d0"
  • "note": "<p>Very interesting!!!!!</p>\n<p> </p>\n<p><img src=\"data:image/png;base64,iVBORw0KGgoAA…
    The image at the very beginning of that note is using the previous method of embedding and will definitely trigger this error. If that's an image you just added, how exactly did you add it? Otherwise, delete it.
  • Debug ID: D688877567 , Zotero version: "5.0.97-beta.43+c5d89f6d0"

    Workflow:

    - Removed all pictures from affected note.
    - Enabled debug log.
    - Manually triggered sync. Successful.
    - Added one (and only one) picture to note by pasting image from Windows clipboard
    - Manually triggered sync. Error message: "The note is too long to sync. Shorten the note and sync again."
  • It's possible pasting from the clipboard — as opposed to dragging in an image file — still triggers the old method of embedding. @martynas_b could say more.
  • Yes, image file pasting from file system doesn't work on Firefox on Linux/macOS, and on Windows it just uncontrollably inserts image. For now we will block this behaviour, although in future there might be improvements on this.
Sign In or Register to comment.