Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to add notaries #178

Open
melpomene opened this issue Sep 16, 2013 · 14 comments
Open

Unable to add notaries #178

melpomene opened this issue Sep 16, 2013 · 14 comments

Comments

@melpomene
Copy link

I am using Convergence 0.99 in firefox 23.0.1.

I am unable to add any of the notaries listed here (high availability): https://github.com/moxie0/Convergence/wiki/Notaries

I tried both from the downloaded file and from the URL. I do not get any error messages, but the list remains empty (was empty on install).

@JeremyRand
Copy link

What OS are you on? Windows? Could your issue be the same bug as my issue at mk-fg/convergence#1 ?

@melpomene
Copy link
Author

Running OS X 10.8.5.

@Magrath
Copy link

Magrath commented Sep 27, 2013

Same problem, running Convergence 0.09 with Firefox 24.0 on OSX 10.8.5.

@JeremyRand
Copy link

Could you try with the fork at https://github.com/mk-fg/convergence ? It's received regular updates, while moxie0's repo hasn't been updated in 2 years. If it fails, does it fail in the same way?

@skull-squadron
Copy link

Unable to add notaries either by url or downloaded bundle. The "Add Notary" modal dialog won't accept the notary somehow, so it refuses to dismiss via the OK button.

FF 26.0
OSX 10.9
Convergence 0.09 (current beta) or Convergence Extra 0.11.20131117193258 (built via master @ HEAD of mk-fg's fork)

@SethArchambault
Copy link

Same problem here. No notaries on install. When I try to install a notary via URL the OK button is unclickable. When I upload via file, the OK button works, but the notary screen is blank. '

FF 26
OSA 10.9.1
Convergence - current from convergence.io

@skull-squadron
Copy link

More details on FF 27.0.1 OSX 10.9.1:

JS console says: TypeError: notaries is undefined options.js:97

https://github.com/moxie0/Convergence/blob/master/client/chrome/content/options.js#L97

function onAddNotary() {
  var retVal = {notary: null};
  window.openDialog("chrome://convergence/content/addNotary.xul", "dialog2", "modal", retVal).focus();

  if (retVal.notary) {
    for (var i=0;i<notaries.length;i++) { <<<<<================== 
      if (isDuplicateNotary(notaries[i], retVal.notary)) {
    dump("Found duplicate: " + notaries[i].getName()+ "\n");
    alert("Sorry, this notary conflicts with a notary that you already have configured." +
          "  You can only use two notaries from the same organization if they are"       +
          " configured  for seperate regions.");
    return;
      }
    }

    notaries.push(retVal.notary);
    updateNotarySettings();
  }
}

@skull-squadron
Copy link

convergence.getSettingsManager fails, which causes settingsManager to be undefined, which causes notaries to be undefined

Looks like convergence is just a simple prototyped Object instance.

@skull-squadron
Copy link

Starting FF from the console reveals the silently handled exception dump()s the following to stderr/stdout

ns/[email protected]/components/DatabaseHelper.js
Loaded!
Loading: ________/Library/Application Support/Firefox/Profiles/_____.default/extensions/[email protected]/chrome/content/util/ConvergenceUtil.js
Loaded!
Failed to find nspr4 in installed directory, checking system paths.
Failed to find nspr4 in system paths, trying explicit FreeBSD path.
Error initializing ctypes: Error: couldn't open library /usr/local/lib/libnspr4.so, NSPR.initialize@file:///________/Library/Application%20Support/Firefox/Profiles/________.default/extensions/[email protected]/components/Convergence.js -> file:///________/Library/Application%20Support/Firefox/Profiles/________.default/extensions/[email protected]/chrome/content/ctypes/NSPR.js:40

There is no .+nspr.+ anywhere to be found in the system, Firefox.app or in the extension.

@skull-squadron
Copy link

Don't know if this helps, but I compiled and hosted a nspr4.10 that only depends on itself and libSystem.dylib

https://gist.github.com/9100179

@skull-squadron
Copy link

Taking a gross two-stroke chainsaw to all NSPR code doesn't help. Also tries to load libssl3.dylib. :sadface: Needs TLC by someone that KWTFTD (or fakes it well).

@zzottel
Copy link

zzottel commented Mar 31, 2014

Just to add that: I have the same problem on FF 24 Win 7 here.

@peterclemenko
Copy link

Same problem, FF 28 Ubuntu 14.04 x64.

@JeremyRand
Copy link

@zzottel and @th3flyboy , use mk-fg's version (Convergence Extra). Works fine for me on Windows 8 and Linux Mint 15. Reportedly OSX has other issues which Convergence Extra doesn't fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants