Closed
Bug 636324
Opened 13 years ago
Closed 12 years ago
Sync: bookmarks failed: NS_ERROR_MALFORMED_URI
Categories
(Firefox :: Sync, defect)
Firefox
Sync
Tracking
()
RESOLVED
DUPLICATE
of bug 622657
People
(Reporter: chris.moore, Unassigned)
References
Details
Attachments
(4 files)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 ( .NET CLR 3.5.30729; .NET4.0C) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 ( .NET CLR 3.5.30729; .NET4.0C) Bookmark sync returns the following error every time. Error while syncing Sync encounter an error while syncing: unknown error. Sync will automaticly retry this action then it jsut error again and never backups bookmarks etc Reproducible: Always Steps to Reproduce: 1.tool -> sync ->sync now 2.status bar shows error 3.click error anc close
Comment 1•13 years ago
|
||
Please open about:sync-log (enter it as URL), save the log to a file and attach it here using the "add an attachment" link
Component: General → Firefox Sync: Backend
Product: Firefox → Mozilla Services
QA Contact: general → sync-backend
Reporter | ||
Comment 2•13 years ago
|
||
about:sync-log as requested
Comment 3•13 years ago
|
||
You have a bookmark with a malformed URI. If you go to about:config, change the value of services.sync.log.logger.engine.bookmarks to Trace Relaunch Firefox, run a sync, and attach about:sync-log to this bug again. That will allow us to see which record is causing the problem. Thanks!
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Sync → Sync: bookmarks failed: NS_ERROR_MALFORMED_URI
Reporter | ||
Comment 4•13 years ago
|
||
Comment 5•13 years ago
|
||
(In reply to comment #4) > Created attachment 514845 [details] > about:sync-log with trace - as requested Chris, did you set to trace level *and* restart Firefox before syncing again? I don't see any trace messages in that log.
Reporter | ||
Comment 6•13 years ago
|
||
I did set services.sync.log.logger.engine.bookmarks to trace and shut down firefox and restarted. I double clicked services.sync.log.logger.engine.bookmarks and changed the value to trace ... is that correct? I think I have fixed it ... I have un ticked all the items to sync (bookmarks, tabs, history, etc) then synced then re ticked every thing and synced again .... So far no error...
Comment 7•13 years ago
|
||
(In reply to comment #6) > I did set services.sync.log.logger.engine.bookmarks to trace and shut down > firefox and restarted. > > I double clicked services.sync.log.logger.engine.bookmarks and changed the > value to trace ... is that correct? It must be Trace (capital T).
Reporter | ||
Comment 8•13 years ago
|
||
hopefully this is correct
Comment 9•13 years ago
|
||
(In reply to comment #8) > Created attachment 514867 [details] > about:sync-log with Trace - as requested > > hopefully this is correct It is, but unfortunately the log roller kicked in after printing what we're looking for. Would you mind doing another sync and posting the contents of about:sync-log.1 ? Sorry to be a pain. Many of the features that would make debugging or resolving this easier (disabling log rolling, skipping over bad records...) aren't available in Sync 1.6.3. (If you switch to Firefox 4 beta, you should see sync complete even with the error, and there's an easy way to find out which record failed.) Thanks!
Reporter | ||
Comment 10•13 years ago
|
||
Comment 12•13 years ago
|
||
Here's a modern failure: 1318429157188 Sync.Engine.Bookmarks INFO 135 outgoing items pre-reconciliation 1318429157683 Sync.Engine.Bookmarks WARN Got exception "Component returned failure code: 0x804b000a (NS_ERROR_MALFORMED_URI) [nsINavBookmarksService.getBookmarkURI] Stack trace: _buildGUIDMap()@resource:///modules/services-sync/engines/bookmarks.js:291 < resource:///modules/services-sync/engines/bookmarks.js:401 < _mapDupe()@resource:///modules/services-sync/engines/bookmarks.js:358 < _createRecord()@resource:///modules/services-sync/engines/bookmarks.js:441 < SyncEngine__isEqual()@resource://services-sync/engines.js:898 < SyncEngine__reconcile()@resource://services-sync/engines.js:947 < resource://services-sync/engines.js:765 < resource:///modules/services-sync/record.js:828 < Channel_onDataAvail()@resource://services-sync/resource.js:569" building GUID map. Skipping all other incoming items.
OS: Windows Vista → All
Hardware: x86 → All
Comment 13•12 years ago
|
||
I hit this recently. Problem went away after about 12 hours. rnewman had me run the following from the web console after loading a chrome page such as about:config Components.utils.import("resource://services-sync/engines.js"); Components.utils.import("resource://gre/modules/PlacesUtils.jsm"); let bme = Engines.get("bookmarks"); let bms = bme._store; let ids = bms.getAllIDs(); for (let id of Object.keys(ids)) { let i = bms.idForGUID(id); try { if (PlacesUtils.bookmarks.getItemType(i) == PlacesUtils.bookmarks.TYPE_BOOKMARK) { PlacesUtils.bookmarks.getBookmarkURI(i); } no ID * failed: messages were shown.
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Updated•6 years ago
|
Component: Firefox Sync: Backend → Sync
Product: Cloud Services → Firefox
You need to log in
before you can comment on or make changes to this bug.
Description
•