Closed
Bug 587056
Opened 15 years ago
Closed 15 years ago
can't use sync on the latest nightly/beta
Categories
(Firefox :: Sync, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: bhearsum, Unassigned)
Details
I can't seem to interact with any of the sync chrome. When I try to use the Status bar icon I get:
Error: Weave is not defined
Source File: chrome://browser/content/browser.js
Line: 4034
When I try to set-up an account I get:
Error: gSyncSetup is undefined
Source File: chrome://global/content/bindings/wizard.xml
Line: 413
Error: gSyncSetup is undefined
Source File: chrome://browser/content/syncSetup.xul
Line: 1
Running the latest trunk nightly (http://hg.mozilla.org/mozilla-central/rev/d5e211bdd793)
| Reporter | ||
Comment 1•15 years ago
|
||
It must be something in my profile. Worked fine on a clean profile.
I don't have the Weave/Sync extension installed, and I don't think I ever have on this machine.
| Reporter | ||
Comment 2•15 years ago
|
||
mconnor helped me find this error at startup:
Error: [Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIXPCComponents_Utils.import]" nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)" location: "JS frame :: file:///Applications/Minefield.app/Contents/MacOS/components/Weave.js :: anonymous :: line 67" data: no]
Source File: file:///Applications/Minefield.app/Contents/MacOS/components/Weave.js
Line: 67
This file exists, though:
foo-ix-blah:45l5eelb.Work bhearsum$ ls -l /Applications/Minefield.app/Contents/MacOS/components/Weave.js
-rw-r--r-- 1 bhearsum admin 5276 17 Aug 10:40 /Applications/Minefield.app/Contents/MacOS/components/Weave.js
| Reporter | ||
Comment 3•15 years ago
|
||
Getting a new error now, on Beta 6:
Error: uncaught exception: [Exception... "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.setIntPref]" nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)" location: "JS frame :: resource://services-sync/ext/Preferences.js :: anonymous :: line 176" data: no]
Error: uncaught exception: [Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIXPCComponents_Utils.import]" nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)" location: "JS frame :: chrome://browser/content/syncSetup.js :: <TOP_LEVEL> :: line 59" data: no]
Summary: can't use sync on the latest nightly → can't use sync on the latest nightly/beta
Comment 4•15 years ago
|
||
(In reply to comment #2)
> mconnor helped me find this error at startup:
> Error: [Exception... "Component returned failure code: 0x80520012
> (NS_ERROR_FILE_NOT_FOUND) [nsIXPCComponents_Utils.import]" nsresult:
> "0x80520012 (NS_ERROR_FILE_NOT_FOUND)" location: "JS frame ::
> file:///Applications/Minefield.app/Contents/MacOS/components/Weave.js ::
> anonymous :: line 67" data: no]
> Source File:
> file:///Applications/Minefield.app/Contents/MacOS/components/Weave.js
> Line: 67
>
> This file exists, though:
> foo-ix-blah:45l5eelb.Work bhearsum$ ls -l
> /Applications/Minefield.app/Contents/MacOS/components/Weave.js
> -rw-r--r-- 1 bhearsum admin 5276 17 Aug 10:40
> /Applications/Minefield.app/Contents/MacOS/components/Weave.js
It's actually not failing to load Weave.js. The error is happening *in* Weave.js, at line 67. That's where Sync is imported (resource://services-sync/service.js or main.js on more recent builds).
(In reply to comment #3)
> Getting a new error now, on Beta 6:
> Error: uncaught exception: [Exception... "Component returned failure code:
> 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.setIntPref]" nsresult:
> "0x8000ffff (NS_ERROR_UNEXPECTED)" location: "JS frame ::
> resource://services-sync/ext/Preferences.js :: anonymous :: line 176" data:
> no]
That means that Sync is trying to write a preference that should be of type int but isn't...
> Error: uncaught exception: [Exception... "Component returned failure code:
> 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIXPCComponents_Utils.import]"
> nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)" location: "JS frame ::
> chrome://browser/content/syncSetup.js :: <TOP_LEVEL> :: line 59" data: no]
Shrug... it's failing to import resource://gre/modules/XPCOMUtils.jsm? Actually, on the line before that it imports resource://services-sync/main.js which would be consistent with the error in Weave.js... This is very weird, obviously you have resource://services-sync/ available. Can you try importing resource://services-sync/main.js from the Error Console?
| Reporter | ||
Comment 5•15 years ago
|
||
Yeah, I can load resource://services-sync/.
On Beta 6, Components.utils.import("resource://services-sync/main.js") gives me file not found, which philikon tells me is expected.
Comment 6•15 years ago
|
||
(In reply to comment #5)
> Yeah, I can load resource://services-sync/.
>
> On Beta 6, Components.utils.import("resource://services-sync/main.js") gives me
> file not found, which philikon tells me is expected.
Yup. So, somehow you're running the newer UI code from the nightly (which wants to import main.js) on the older beta6. I can only assume it's because you're using one profile for multiple versions and the XUL caches aren't updated. Clear ~/Library/Caches/Firefox/* and try again.
Also, you really shouldn't go back in time on a profile.
| Reporter | ||
Comment 7•15 years ago
|
||
Still no go after closing Firefox and clearing the cache. Getting this when I click "Tools":
Error: uncaught exception: [Exception... "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.setIntPref]" nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)" location: "JS frame :: resource://services-sync/ext/Preferences.js :: anonymous :: line 176" data: no]
Error: uncaught exception: [Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIXPCComponents_Utils.import]" nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)" location: "JS frame :: chrome://browser/content/browser.js :: anonymous :: line 85" data: no]
And then this when I click "Set-up Sync":
Error: uncaught exception: [Exception... "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.setIntPref]" nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)" location: "JS frame :: resource://services-sync/ext/Preferences.js :: anonymous :: line 176" data: no]
Error: uncaught exception: [Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIXPCComponents_Utils.import]" nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)" location: "JS frame :: chrome://browser/content/syncSetup.js :: <TOP_LEVEL> :: line 59" data: no]
| Reporter | ||
Comment 8•15 years ago
|
||
Also note that I can't use Sync on the latest trunk nightly, either. None of the menu items nor the status bar icon do anything, or show any errors in the Web Console.
Comment 9•15 years ago
|
||
(In reply to comment #8)
> Also note that I can't use Sync on the latest trunk nightly, either. None of
> the menu items nor the status bar icon do anything, or show any errors in the
> Web Console.
My sync has been broken for a few days on the nightlies too on both OS X and Linux. I had the latest weave add-ons installed before, and now neither will sync. If I click "Set up sync..." in the menu (I guess it doesn't import settings?) none of the UI is responsive and I have to x out of the window.
I don't know how to bring up the error console on the new nightlies, but I suspect I'm seeing errors similar to yours.
Comment 10•15 years ago
|
||
(In reply to comment #9)
> (In reply to comment #8)
> > Also note that I can't use Sync on the latest trunk nightly, either. None of
> > the menu items nor the status bar icon do anything, or show any errors in the
> > Web Console.
>
> My sync has been broken for a few days on the nightlies too on both OS X and
> Linux. I had the latest weave add-ons installed before, and now neither will
> sync.
The built-in Sync is newer than the add-on, so you want to disable the add-on when you're on the nightlies.
> If I click "Set up sync..." in the menu (I guess it doesn't import
> settings?) none of the UI is responsive and I have to x out of the window.
Sync shouldn't have thrown away the settings.
> I don't know how to bring up the error console on the new nightlies, but I
> suspect I'm seeing errors similar to yours.
You have to set the devtools.errorconsole.enabled pref to true and restart.
Comment 11•15 years ago
|
||
I talked with QA on IRC a bit today, and my problems were caused by having the add-on installed still and overriding compat checking. My fault, sure, but it wasn't obvious what the problem was and most of our testers have compatibility checking disabled so we might want to blog about that at and try to get the word out at least.
As far as this bug goes though, I can no longer reproduce. Thanks.
| Reporter | ||
Comment 12•15 years ago
|
||
Two new errors. When I open the preferences pane:
Error: gSyncPane is undefined
Source File: chrome://global/content/bindings/preferences.xml
Line: 730
When I click the "Sync" tab of it:
Error: gSyncPane is undefined
Source File: chrome://browser/content/preferences/preferences.xul
Line: 1
Comment 13•15 years ago
|
||
Could this bug help about getting a solution to this one 641322 ?
Comment 14•15 years ago
|
||
Ben, could you please file a new bug for your... new bug?
Oliver, I don't know if they're related, but that bug is on our radar.
I'm closing this bug, because the original issue appears to have been addressed.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → INVALID
| Assignee | ||
Updated•7 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
•