Comments (28)
First things first.
At the first glance one of the problems is in
convergence = Components.classes['@thoughtcrime.org/convergence;1'].getService().wrappedJSObject;
settingsManager = convergence.getSettingsManager();
keeps saying that settingsManager isn't set. hope that I'll have some time to fix it during weekend.
Jonns Mostovoys,
DA234FE7
from convergence.
Gave it a shot. The problem is that firefox can't find libraries like libmozsqlite libnssl3 libnspr3.
I was trying to locate those in my library folders and looked through some omni.jars (firefox's and xulrunner's) -- no luck.
Good news are that here #15 jlk says that it works as expected on MacOS running firefox6.
It seems that if Moxie can write where we can get those libraries the issue'd be fixed.
Jonns Mostovoys,
DA234FE7
from convergence.
@manpages, what platform are you running FF on? There's a bug (#8), that is preventing Convergence from running on platforms where Firefox binaries and libraries are distributed, rather than localized in the FF install directory.
from convergence.
I can confirm Convergence is working in FF6.0 on Ubuntu 11.04 (reason for opening this issue). I have also tested under Windows 7 where it did not work as expected (https pages do not load at all). Screenshots provided on request.
from convergence.
@moxie0, I run Archlinux, and -- yes -- ff tends to be distributed here. I'm comfortable with doing ln -s
though just in order to test the addon. The problem is that I can't locate some libraries, see package manager output (seeking for sql in omnijars just to clarify lack of anything related to sql there. | grep \.so$
gives nothing as well).
#!/bin/bash
pacman -Ql firefox xulrunner | grep \.so$ > ~/ffxul.txt
pacman -Ql firefox xulrunner | grep omni >> ~/ffxul.txt
unzip /usr/lib/firefox-6.0/omni.jar | grep -i sql >> ~/ffxul.txt
cd shit
unzip /usr/lib/xulrunner-6.0/omni.jar | grep -i sql >> ~/ffxul.txt
cat ~/ffxul.txt
Returns
firefox /usr/lib/firefox-6.0/components/libbrowsercomps.so
firefox /usr/lib/firefox-6.0/components/libdbusservice.so
firefox /usr/lib/firefox-6.0/components/libmozgnome.so
firefox /usr/lib/firefox-6.0/libmozalloc.so
firefox /usr/lib/firefox-6.0/libxpcom.so
firefox /usr/lib/firefox-6.0/libxul.so
xulrunner /usr/lib/xulrunner-6.0/components/libdbusservice.so
xulrunner /usr/lib/xulrunner-6.0/components/libmozgnome.so
xulrunner /usr/lib/xulrunner-6.0/libmozalloc.so
xulrunner /usr/lib/xulrunner-6.0/libmozjs.so
xulrunner /usr/lib/xulrunner-6.0/libxpcom.so
xulrunner /usr/lib/xulrunner-6.0/libxul.so
xulrunner /usr/lib/xulrunner-devel-6.0/sdk/lib/libmozalloc.so
xulrunner /usr/lib/xulrunner-devel-6.0/sdk/lib/libmozjs.so
xulrunner /usr/lib/xulrunner-devel-6.0/sdk/lib/libxpcom.so
xulrunner /usr/lib/xulrunner-devel-6.0/sdk/lib/libxul.so
firefox /usr/lib/firefox-6.0/omni.jar
xulrunner /usr/lib/xulrunner-6.0/omni.jar
But if we have a look at the dependencies of the ff6 in arch, we'll find both nss, nspr and sqlite there. Does that mean that I can ln -s
some libraries of those, erm, packages? Anyway, that was my original questions -- how do I get those libraries and what is libmozsqlite? Is it the same as libsqlite3.so (shipped by sqlite in archlinux)?
Also, as far as I remember, convergence addon was seeking for nspr3, but ff6 depends on nspr >=4.8.8 but that's minor.
I have no problems in linking appropriate libraries, testing addon then fixing it for linux in order to lookup correct library paths, all I want to know what are those libraries that are to be looked up exactly (as in case of libmozsqlite google keeps giving links about libmozsqlite.dll omitting linux-world).
Jonns Mostovoys,
DA234FE7
from convergence.
@taylorjohnson
what exactly is the point of closing an issue when you report that it doesn't work in windows 7?
I had it tested in windows seven either and can confirm that it doesn't work.
Jonns Mostovoys,
DA234FE7
from convergence.
Talked to mozilla developers they confirmed that those libraries are locally compiled libraries of according projects.
So I won't bother with softlinking but fix the convergence code instead.
Hopefully, I will push the pull request in several hours (when I'll be at home).
Jonns Mostovoys,
DA234FE7
from convergence.
@manpages
Wow, sorry. I must have accidentally clicked clicked 'Comment and Close'.
Reopened.
from convergence.
I'm hoping that what is currently in master fixes whatever was wrong with FF6 on Windows 7. Can anyone confirm?
from convergence.
I have never packaged a Firefox extension before, but I cloned the repo, zipped the client folder, renamed to convergence.xpi, and still got an "Incompatible with Firefox 6" error.
from convergence.
Doesn't seem to work on Fedora Linux 64-bit, where for compatibility with 32-bit applications, 64-bit libraries are in /lib64 and /usr/lib64
from convergence.
I manually replaced the plugin installed from the homepage with what is currently in master on Windows 7 Professional 64 bit. I can confirm that (at least in my case) this fixed the issue for Windows 7. What's in master is also working on Ubuntu 11.04 64 bit.
@Meyermagic
I don't believe the status will be changed to officially support 6.0 until it's working across the board. You'll need to use the Nightly Tester Tools or manually edit about:config to install it.
from convergence.
@Hircus You mean ctypes.open fails with a "distributed" FF install on that platform? Should we re-open #8 ?
from convergence.
@moxie0 -- apologies, I just didn't notice that the extension was still flagged at being compatible only up to Firefox 5.*
Out of curiosity, what is the proper way of testing Firefox extensions? There must be an easier way than just watching one's stdout / stderr for error messages.
from convergence.
@Hircus Well, we should probably have unit tests for all this JS, but that wouldn't address compatibility testing. Given all the shit we're currently having to go through to get this working, I can't think of a better way than what you've described. =(
And so just to be clear, this is working on FF6 for you now (once you've changed the install.rdf field)?
from convergence.
Just a quick note that I'm experiencing this, as well. https connections stall completely.
Here's a little something to confuse the matter a bit more. I also run a nightly build of Firefox. This reports its version as 9.0a1 (2011-08-30). By all appearances, Convergence is working as intended. That is to say that it's enabled, I have all of the notaries installed and activated (from this wiki), and I can connect to https sites. Under the "Advanced" tab in options, all options are checked and "Require notary consensus" is enabled.
from convergence.
@StepnSteph Hah, FF9? We're having enough trouble getting this working with FF6. =) Can you test with that and let us know how it goes, along with what platform you're on?
from convergence.
Yeah, sorry. My post wasn't very clear. I am running FF 6 as my primary browser and Convergence does not work. It's not loading any HTTPS connection, as others have previously mentioned. This is on Firefox 6 running on Win 7 x64 Home Premium.
Regarding FF9, I just meant to mention that - strangely enough - it does appear to work in the Nightly build of v9.x :) Which is a bit odd since FF6 seems to dislike the add-on.
from convergence.
@StepnSteph Alright so you're running the most recent version of Convergence out of the master HEAD in FF6 on Windows, and you experience stalled connections. Could you see what's in the console output? Set up all the FF properties defined on this page: https://developer.mozilla.org/index.php?title=Special:Userlogin&returntotitle=en%2Fsetting+up+extension+development+environment , then run firefox.exe -console from the commandline.
Thanks!
from convergence.
@StepnSteph I was experiencing the exact same problem before upgrading the files to the current master. After that the problem disappeared.
@moxie0 Is there a more appropriate way to update to master, other than directly replacing the files? Just not sure if there are any other configuration files or other that might not be updated properly.
from convergence.
@taylorjohnson There are some tips here: https://developer.mozilla.org/en/setting_up_extension_development_environment
...you can basically symlink your development directory to the extensions directory in your development profile.
from convergence.
I don't know if this is the latest "master head" version or not. Regarding the version of Convergence that I'm running, I can only say that I'm running the version that's available from the Convergence website on the evening of Aug. 30th.
The graphical error console doesn't appear to have anything that's related to Convergence. However, the terminal window console has numerous lines about convergence*.js files being loaded.
After those lines, it says:
http://tinypic.com/r/10pdkkh/7
Hopefully that is somewhat useful.
from convergence.
@StepnSteph There has never been a version for FF6 on the website, we're working on developing a version that works for FF6 here on GitHub. You'll have to pull the code out of GitHub in order to test.
from convergence.
I'm thinking that there should be packaging scripts and separate branches for firefox versions. I'll fork the repo and add a simple.shell script later tonight.
Also, I'll provide test results for Firefox 6 on 64-bit Arch Linux, and 64-bit Windows 7 Home Premium.
from convergence.
@Meyermagic You're right, just pushed a FF6 branch with an appropriate install.rdf RC to the repo. Look forward to those shell scripts and test results, thanks!
from convergence.
Running on an Ubuntu 11.04 64-bit Virtualization with "firefox -console 2>ffstderr.txt", I get https://gist.github.com/1182608 on the stderr.
Session consisted of loading browser with https://encrypted.google.com/ as the only open tab, restored from previous session. The page loaded as expected with no errors visible to the user (aside from those ouput on stderr). Is there a site with a certificate that should be recognized as invalid by Convergence that I can test?
from convergence.
@Meyermagic citibank.com is sometimes good for a convergence failure. =)
from convergence.
Alright I've merged the FF6 branch into master and released 0.03, which is compatible with FF6 and hopefully addresses all the issues folks were seeing.
from convergence.
Related Issues (20)
- Yahoo mail domain fails cert UCC match HOT 1
- Make Convergence standalone HOT 2
- Make Convergence standalone HOT 1
- Make Convergence standalone HOT 2
- No Longer Works with Firefox 18.0 new beta update HOT 4
- Notary Source missing HOT 2
- certificate verification is sucesseful, but firefox dont accept certificate HOT 1
- 404
- Changing to non standart ports HOT 1
- Convergence Addon Breaking in Firefox 18 HOT 2
- Adding notary from URL doesn't work HOT 4
- SSL slows to a crawl HOT 3
- Convergence doesn't work on Firefox Aurora 22 HOT 1
- recentbadcerts undefined (Firefox 22.0) HOT 2
- Connectivity failure - notaries overloaded? HOT 4
- Unable to add notaries HOT 14
- Automated reporting of new notaries HOT 1
- Is this project dead? HOT 6
- You need to sign the extension for it to install in Firefox HOT 2
- convergence.io is pointing to a different project HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from convergence.