Closed bp88 closed 6 years ago
I'm noticing this same error on every FF57 install that auto-upgrades to FF58.
It is also happening on fresh installs of FF58 - I did a complete wipe of FF57.0.4 (uninstalled and removed all folders and registry entries) on a fresh Windows 7 install. Still gives same error on 58 and it doesn't implement any of the CCK2 modifications.
Odd. I am not able to recreate.
Can you please look at the file Preferences.jsm in your CCK2 package and see if it has this change:
https://github.com/mkaply/cck2wizard/blame/master/cck2/modules/Preferences.jsm#L191
Mike
Looks like I have an older CCK2 - I guess I'd better re-download and recreate. Actually, can I just replace my preferences.jsm with the current one?
When I check the CCK2 autoconfig that I generated, here's what I see under cck2/modules/Preferences.jsm at line 191
try {
this._prefSvc.setStringPref(prefName, prefValue);
} catch (e) {
let string = Cc["@mozilla.org/supports-string;1"].
createInstance(Ci.nsISupportsString);
string.data = prefValue;
this._prefSvc.setComplexValue(prefName, Ci.nsISupportsString, string);
}
So it appears that maybe the setStringPref is failing with bad values for prefName/prefValue?
That's all I can guess. Can you send me your complete autoconfig.zip?
I tried just replacing the Preferences.jsm with a new one, but had the same problem. Then I downloaded a new copy of CCK2, created a new autoconfig and it works fine.
Is there a mailing list I can get on to find out about updates to CCK2?
Sure. What's the best way to get it to you?
Just wanted to check in and report that I resolve the issue I was having. I was using autopkg to package up the CCK2 autoconfig.zip with Firefox 58 and I was screwing up where I put the autoconfig.zip which meant I was still packaging up the older autoconfig.zip with Firefox 58. Everything is working as expected now. Sorry for the false alarm.
I'm wondering if there is a simple fix for this - I found that uninstalling and reinstalling FF58 with the new autoconfig works, but is it possible to just replace the offending file or files?
I created a CCK2 config (with CCK 2.2.3.5) where all I did was disable auto update for Firefox.
Here is the cck2.config.json file:
Here is the error I receive. I do get an OK button which then proceeds to open Firefox 58 but without any of the CCK2 config changes enforced: