I really love this client. It's up and running really fast (provided you have the dependencies), and I love coding in python. As a windows user, maybe I can help with some issues.
Message for Windows users: This seems to be Linux-only right now.
I suppose it should be possible to run the python code under windows, but I did not try it.
you 'd need to install pygtk.
I have indeed installed pygtk and its dependencies. I had to make one change to the code to get it running:
wallet_dir = os.environ["HOME"] + '/.bitcoin/'
There is no "HOME" environment variable on windows, of course, so I changed that to:
if "HOME" in os.environ:
wallet_dir = os.environ["HOME"] + '/.bitcoin/'
elif "LOCALAPPDATA" in os.environ:
wallet_dir = os.environ["LOCALAPPDATA"] + '/.bitcoin/'
elif "APPDATA" in os.environ:
wallet_dir = os.environ["APPDATA"] + '/.bitcoin/'
else:
print "No home directory found in environment variables."
raise
Perhaps you can incorporate something like that. I don't feel like making a gitorious account for changing something as small as that (for now).
EDIT: jepajee (new user, can't post here yet) told me that on XP, there is no LOCALAPPDATA either, so I added APPDATA as an option as well.
I then used Pyinstaller 1.5.1 to incorporate the entire thing along with
all dependencies into a single exe file. Any windows user should be able to run this without downloading anything else (not even python or dlls or whatever)
Electrum-0.2.exe download page(Feel free not to trust me or whatever
I suggest ThomasV generate these binaries at some point, although I can do it if people want me to.)
EDIT: ThomasV can probably not legitimately generate these binaries, since he'd have to check all the licenses, and maybe some don't allow free spreading (Standard windows dlls, etc). So yeah, only "unofficial people" will be able to generate these all-in-one binaries.
Bug(s): (Note, I don't know if these are global bugs, or just don't work because I'm running windows. Please verify.)
When changing settings (gap, fee, etc) they are not saved after clicking OK.
When exiting the client, in the compiled exe a "NameError: name 'exit' is not defined" is thrown. Running the uncompiled version doesn't do this. Nevertheless, I could fix it by putting "from sys import exit" at the top of electrum.py. An alternative solution is to replace all "exit(
)" with "sys.exit()".