-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
problems with Electrum 1.9.5 on MacOSX #454
Comments
I changed the link to 1.9.4 on the download page, until this is resolved |
On OSX 10.8.5 running the Mac App from Terminal works smoothly but directly clicking the App keep it as disconnected. On OSX 10.9 works correctly. I reported it to @maran to se if it is some .plist config problem. |
if it's a plist config issue, logging out and logging back in again will reload the plist configurations. When you just install the app from the dmg file, it doesn't necessarily reload the plist configs. Not sure if this is the issue, but I got the issue with connecting the first time and now I am not getting the same issue anymore. I wasn't able to get a traceback because it only happens when run from the app directly. |
I can reproduce this issue if I run from the command line like this:
If I just run:
I get no error on the network dialog. Still looking into it.... |
Confirming still broken on stable 1.9.6 from DMG. Very strange behaviour. Double clicking the Electrum.app icon opens the app and does not connect. However, running |
After running Electrum from terminal, opening via the icon does appear to work. But it won’t connect until you’ve run it from terminal at least once. On Tuesday, December 17, 2013 at 9:40 AM, Lake Denman wrote:
|
@ldenman Same here. Running from the terminal as @adamipc Nope, even after I opened it manually via the terminal, Electrum will still not connect when I start it via double click. |
@tessus do you get any errors in the Console when you double click the icon? |
I don't think it is OS version related. I'm on 10.6.8, but I also have a 10.9.0 on an external hard disk. I have a feeling that some sort of a socksified stack made it somehow into the package, although this still wouldn't explain why it works from the terminal. This is truly a strange problem. |
@wozz no, until I click on the network tab. Then I get the following output:
|
I tried to build it myself and after some issues (which @maran helped to solve) I was able to build it from the zip file. Building from git is failing with 'aes missing', although I have installed py-crypto. Unfortunately I still have the same problem. I'm not a python developer, so I'm not much of a help debugging this issue. We need to figure out what the difference is between starting Electrum via double click and via terminal. This should help narrowing down this problem. |
@tessus, I think the difference with aes is to install slowaes instead of py-crypto. I believe you can do that with "pip install slowaes" The main difference between Electrum starting from double click and via terminal is the Info.plist file (which sets up the environment when run from double click), so perhaps that's what we should focus on. This is where it's created: https://github.com/spesmilo/electrum/blob/master/setup-release.py#L28 Maybe it needs another config setting in that file to make it work properly. |
I wonder if this helps at all... I notice when I do this, it connects:
But this (which is the same as double clicking the icon) doesn't:
edit: Actually, this works too:
It seems like any valid args that are passed makes it work.... weird. |
@wozz there is no slowaes package on MacPorts, so I used
I looked at the Info.plist files for 1.9.4 and 1.9.6. There are almost no differences, whereas the most noticeable one is I think @ldenman seems to be on the right track. I assume that the argument parsing got screwed up after adding the bitcoin URL code. |
@tessus, when you change the argv_emulation, it still doesn't work? Also, when you change the plist file, you need to log out and log back in for OSX to properly load those settings. Just restarting the program won't necessarily run with the new settings. |
@wozz I didn't logout/login, because changing the Info.plist file usually works with ObjectiveC code w/o having to re-login - at least in my experiences. |
@tessus, yeah I didn't want to test it either because I have other things running :) ... although I'm not sure if it's even broken on mine. I typically run it by using a QuickSilver shortcut though, so maybe it gets started differently. I'm restarting now to install some updates anyway, so I'll see if I can duplicate it and then hopefully fix it. |
Good luck. I'll give it a shot tomorrow. |
Good on you @tessus. |
@wozz sent my pledged reward for #209 - transaction info |
Electrum 1.9.5 behaves very strangely. I can start it, but electrum wants to connect to sn_0_28715873 on TCP port 1080. What is sn_0_28715873 and where's the domain name? Also, I'm using SSL w/o any proxies, so why does electrum want to connect to a socks port?
I can see my wallet, but electrum is not connected (although I allow all connections from electrum, even turned of the outbound fw for testing). When I try to open the network window, I get the following errors and the window does not open:
23.11.13 12:52:31 [0x0-0x1b61b60].org.pythonmac.unspecified.Electrum[53217] Traceback (most recent call last):
23.11.13 12:52:31 [0x0-0x1b61b60].org.pythonmac.unspecified.Electrum[53217] File "/Applications/Electrum.app/Contents/Resources/lib/python2.7/gui/qt/main_window.py", line 2137, in run_network_dialog
23.11.13 12:52:31 [0x0-0x1b61b60].org.pythonmac.unspecified.Electrum[53217] NetworkDialog(self.wallet.network, self.config, self).do_exec()
23.11.13 12:52:31 [0x0-0x1b61b60].org.pythonmac.unspecified.Electrum[53217] File "/Applications/Electrum.app/Contents/Resources/lib/python2.7/gui/qt/network_dialog.py", line 169, in init
23.11.13 12:52:31 [0x0-0x1b61b60].org.pythonmac.unspecified.Electrum[53217] self.proxy_mode.setCurrentIndex(self.proxy_mode.findText(str(proxy_config.get("mode").upper())))
23.11.13 12:52:31 [0x0-0x1b61b60].org.pythonmac.unspecified.Electrum[53217] AttributeError: 'str' object has no attribute 'get'
I'm using MacOSX 10.6.8 and Electrum 1.9.4 worked just fine.
The text was updated successfully, but these errors were encountered: