mirror of
https://github.com/floccusaddon/floccus.git
synced 2026-04-26 06:35:59 +03:00
[GH-ISSUE #922] Brave sync failing with parse error (Empty document) #596
Labels
No labels
browser-specific
bug
correctness issues
enhancement
feature: Google Drive
feature: Linkwarden
feature: git
feature: nextcloud-bookmarks
feature: tabs
feature: webdav
help wanted
native-app
priority: high
priority: low
priority: medium
pull-request
question
question
stale
upstream
waiting for more information
wontfix
🙁 Not following issue template
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/floccus#596
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Victor4X on GitHub (Jul 28, 2021).
Original GitHub issue: https://github.com/floccusaddon/floccus/issues/922
Describe the bug
When trying to sync bookmarks from Brave to Google drive, it fails with a parse error (see debug log)
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expect my bookmarks to be synced to the bookmarks file on Google drive without an error
Screenshots
Account configuration:

Desktop
Server
Not applicable
Debug log
Additional context
I previously set up Floccus (with Google drive) on Firefox on a different machine running Fedora without problems. I have tried removing the bookmarks.xbel file from the Fedora sync, but that did not change the error, and the file is not recreated when syncing from Brave.
@marcelklehr commented on GitHub (Jul 28, 2021):
Hey @Victor4X
I'm sorry for your trouble. I'll try to help troubleshoot.
Does the file exist in your GDrive? Did you enable encryption in firefox? Are there multiple bookmarks.xbel files in your GDrive (perhaps in your Trash even)?
This is likely because your local folder is empty (which is the default if you leave the default settings).
@Victor4X commented on GitHub (Jul 28, 2021):
Hi!
After reading your reply, I tried deleting the file from Trash, and I successfully synced after that!
I might have to tweak the firefox settings if I want to do cross-syncing, as the bookmarks.xbel that it generated seems to have been what caused the trouble.
Is there a way to look at the bookmarks.xbel file in a readable format, so I can try to spot the problem or upload them here?
@marcelklehr commented on GitHub (Jul 28, 2021):
Feel free to upload the file to my file drop: https://cloud.marcelklehr.de/s/PCi3iLWrzdMZSmw
@Victor4X commented on GitHub (Jul 28, 2021):
Done =)
@marcelklehr commented on GitHub (Jul 28, 2021):
Yep, you set an encryption passphrase in Firefox but not in Brave. For successful sync, both instances need the passphrase (or set it to empty in both, for no encryption).
@Victor4X commented on GitHub (Jul 28, 2021):
Damn, I didn't remember doing that at all. Thank you! Maybe parsing errors should hint at this potentially being the problem? I don't think I would've thought about it myself :p
@marcelklehr commented on GitHub (Jul 28, 2021):
Yeah, just thought the same thing. I'll change the error message :)
Cheers!
@github-actions[bot] commented on GitHub (Mar 20, 2023):
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.