Xmarks for Chrome: Unable to modify root bookmark folders
Hi. Just started using the Xmarks for Chrome extension a few minutes ago. Running into issues syncing my bookmarks unfortunately! Checking the logs reveals Xmarks is throwing the following errors:
Error during bookmarks.removeTree: Can't modify the root bookmark folders.
Error during bookmarks.create: Can't find parent bookmark for id.
chrome-extension://ajpgkpeckebdhofmmjfgcjjiiejpodla/xmarks-chromemarks.js:258
Uncaught TypeError: Cannot read property 'id' of undefined
chrome-extension://ajpgkpeckebdhofmmjfgcjjiiejpodla/xmarks-chromemarks.js:269
Uncaught TypeError: Cannot read property 'id' of undefined
(these last 4 lines repeat many times, alternating)
Currently using Chrome 4.0.206.1 with Xmarks 0.4.21 under Windows XP w/ SP3.
Any possible solutions?
Error during bookmarks.removeTree: Can't modify the root bookmark folders.
Error during bookmarks.create: Can't find parent bookmark for id.
chrome-extension://ajpgkpeckebdhofmmjfgcjjiiejpodla/xmarks-chromemarks.js:258
Uncaught TypeError: Cannot read property 'id' of undefined
chrome-extension://ajpgkpeckebdhofmmjfgcjjiiejpodla/xmarks-chromemarks.js:269
Uncaught TypeError: Cannot read property 'id' of undefined
(these last 4 lines repeat many times, alternating)
Currently using Chrome 4.0.206.1 with Xmarks 0.4.21 under Windows XP w/ SP3.
Any possible solutions?
4
people have this problem
I have this problem, too!
Tell me when someone solves it.
The more people who report this problem, the more it gets noticed.
The more people who report this problem, the more it gets noticed.
-
Inappropriate?I got the same issue, on a slightly different js method:
Error during bookmarks.move: Can't modify the root bookmark folders.
Error during bookmarks.create: Index out of bounds.
chrome-extension://ajpgkpeckebdhofmmjfgcjjiiejpodla/xmarks-chromemarks.js:258Uncaught TypeError: Cannot read property 'id' of undefined
Error during bookmarks.create: Index out of bounds.
chrome-extension://ajpgkpeckebdhofmmjfgcjjiiejpodla/xmarks-chromemarks.js:258Uncaught TypeError: Cannot read property 'id' of undefined
Error during bookmarks.create: Index out of bounds.
chrome-extension://ajpgkpeckebdhofmmjfgcjjiiejpodla/xmarks-chromemarks.js:258Uncaught TypeError: Cannot read property 'id' of undefined
Error during bookmarks.create: Index out of bounds.
The last lines then keep repeating.
Same Chrome/Xmarks versions as OP, XP SP2. -
Inappropriate?Are you guys, by chance, running a non-English version of Chrome? That would definitely cause these types of issues.
-
Well, I can't speak for the other poster, but as far as I know I am running the English version of Chrome... -
Is this still accurate ? Having a non english (french for me) will make the sync fails ???? -
I completely uninstall my actuel french chrome and download an english version, re-install xmarks and the exact same error occured.
I even tried to delete everything available in the chrome bookmark manager and tried to manually download again... The bookmarks were correctly downloaded but the "download" operation never finished...
SOLUTION THAT WORKED FOR ME :
I then tried the "manual upload" button and BAM!, it solved all my problems. I'm now able to sync, download, upload and change profile (I was unable to do that too)... -
Inappropriate?Hey guys,
I released a couple of updates (now up to version 0.5.5) this week that will hopefully prevent this from happening. Let me know if you're still running into issues after upgrading.
Colin -
Unfortunately, no joy yet...
It is slightly different now though. On attempting to Synchronize Now, I received an error dialogue stating "Error building merge's mcs" and no errors in the console logs.
However, when I tried to Force Download of bookmarks to my system, I received the same errors in the logs found in my original message
I, of course, updated both Chrome and Xmarks prior to trying to synchronize again. Now I'm using Chrome 4.0.213.1 and Xmarks 0.5.5.
Additionally, this is only happening on my Windows XP SP3 install. I'm also using a Windows 7 RC install and Xmarks+Chrome works perfectly there. -
Sorry I didn't get back to you sooner. Have things sorted themselves out yet or are you still having issues with your XP machine? -
Inappropriate?I was actually just able to get the exact same error on another machine today! I think that's a good thing. :) And I think it might be a Chrome bug. Here's what you can do to help me verify it:
- From Chrome navigate to chrome://extensions/
- Under the Xmarks for Chrome Alpha section, find (and click) the "Inspect" link next to background.html. This should open the Chrome development tools.
- Click on the 2nd from the left icon in the bottom left corner (hovering over it should say "Show console.")
- In the console that pops up, copy and paste these three lines, one at a time. Hit enter after every paste, the console should say "undefined" each time:
var allids = {};
function ValidateBookmark(root) { if (allids[root.id]) { throw "Ack! Id already exists: " + root.id; } else { allids[root.id] = true; } if (root.children) { for (var i = 0; i < root.children.length; i++) { ValidateBookmark(root.children[i]); } } }
function ValidateAllBookmark(allRoots) { try { for (var i = 0; i < allRoots.length; i++) { ValidateBookmark(allRoots[i]); } console.log("Your bookmarks look good!"); } catch (ex) { console.log("Error: " + ex); } }
Finally, copy and paste this line:
chrome.bookmarks.getTree(ValidateAllBookmark);
Hit enter one more time. If your Chrome bookmarks are in good shape it should say "Your bookmarks look good!" If not, it'll say an error instead. Let me know what happens!
Colin -
Colin, I tried this and I get this error:
ReferenceError: ValidateAllBookmark is not defined -
Is Xmarks working for you? If not, what error are you seeing? -
I tried and have the "disappointing" "Your bookmarks look good" result... I'm running XMarks 0.5.10...
The automatic sync leads into a "Error with baseline response".
I tried downloading (using the button in the advanced tab) and even running the wizard again to "reset" everything and I have the errors described in this topic... -
If Xmarks fails unexpectedly, it will usually continue to fail until you restart Chrome. The best way to try get things working again is to restart Chrome and then immediately do a download from the advanced tab. -
Inappropriate?I'm still having the same problem, but now that Chrome Bookmark Sync works, I don't need Xmarks! Thanks
Loading Profile...




