Pages:
Author

Topic: goxgui - a Graphical Bitcoin Trading Tool for MtGox - page 5. (Read 29614 times)

newbie
Activity: 38
Merit: 0
Maybe we can work together?

Sure, I'll have some time on the weekend; we can work out a way for you to contribute on github.

BUT what is a major flaw is the hardcoded "ffuuuuuu" ironic bit Tongue You know what i mean. This has to be replaced by an actual user-generated one, that is Created through this new tab, and then verified with a dialog box when you launch the program.

No kidding  Grin I'm aware of that (hence the fffuuuuuuu) and there are a few other things that could be improved.

Edit: I definitely like the Authentication Tab. And yes, it should be possible to secure the user's authentication data with a password. At the same time I want to keep an option for users like me who are too lazy to enter a password every time and prefer to live dangerously.

User orders: also an important feature. Actually, it's that important I think it would be cool to integrate it in the main screen.

Finally: I don't believe in unasked-for pop-ups. I really don't like them in other applications, and I think goxgui should be able to do without them.
newbie
Activity: 46
Merit: 0
Don't worry Grover, like I said, it requires a bit of Python experience to install this at this point.

mrlithium, you said you have successfully compiled a Windows executable, maybe you could help out our Windows users?

Here is the windows exe. Also, I can vouch for HIS code being clear of malicious intent, since I read it all. The exe is theoretically de-compilable (the source is extractable in binary somehow) but if you want to be extra careful about stuff, just run this program in a sandbox and block it from accessing any other websites other than *.mtgox.com

http://www.mediafire.com/download.php?41gu8b0ze1197po

This link above is the .exe of the version with "compress order-spam below 0.6 BTC", and "show Size and Total in BTC, not USD"

Also working on a new version: http://i.imgur.com/LtCPbCD.png
This is page 2: http://i.imgur.com/xuJTnOG.png

From one Developer to another developer: I am trying to learn PyQT as I go since I never did it before. But so far I have come up with the shell of the GUI now I just need to hook the slots into it. Maybe we can work together? I have a _lot_ of code from my other project. One major thing as you can see from the screenshot is the "Authentication" tab. theres no reason to be looking at that everytime you trade. BUT what is a major flaw is the hardcoded "ffuuuuuu" ironic bit Tongue You know what i mean. This has to be replaced by an actual user-generated one, that is Created through this new tab, and then verified with a dialog box when you launch the program. Maybe the process could work something like: On 1st launch = Create password before spawning QApplication, then theres no need to relaunch. Then everytime you load up you can choose to run in authenticated mode "Log In? Ebter your Password or Cancel"
newbie
Activity: 38
Merit: 0
Don't worry Grover, like I said, it requires a bit of Python experience to install this at this point.

mrlithium, you said you have successfully compiled a Windows executable, maybe you could help out our Windows users?
full member
Activity: 137
Merit: 100
I was thinking Stay Puft, but Gozer said Grover
He included a windows startup script. it's in the "run" directory, should just be able to double click on start_win.bat .....

Failing that, you may need to edit this file, mine looks like:

set PYTHONPATH=%PYTHONPATH%;..\goxgui;..\goxtool
cd ..\goxgui\
start pythonw application.py



TY.

I tried the bat, I'll edit it to include what you wrote.

I get an error that it can't find 'pythonw' I assume that's pythonw.exe in the root\python27 folder. I included this in the bat but still can't get it to start. 

I can't believe I'm so clueless.  My noob factor has hit 1000.  Guess I'll wait for a win installer, or I'll dust off the Debian install on another machine.
newbie
Activity: 46
Merit: 0
He included a windows startup script. it's in the "run" directory, should just be able to double click on start_win.bat .....

Failing that, you may need to edit this file, mine looks like:

set PYTHONPATH=%PYTHONPATH%;..\goxgui;..\goxtool
cd ..\goxgui\
start pythonw application.py

full member
Activity: 137
Merit: 100
I was thinking Stay Puft, but Gozer said Grover
Grover

I couldn't get it running on xp either.

??

Did you get it to compile?  I don't even have a clue how to do that. If yes how.

 
I downloaded a zip file and it doesn't appear to be compiled either.  IF this was stuff I did normally like these guys I'm sure there is more than enough information provided, but I know nothing!

You don't compile python scripts...

You guys are probably better off waiting for an executable package to be made for you.

Ok then how do you run the app in windows?
member
Activity: 70
Merit: 10
Grover

I couldn't get it running on xp either.

??

Did you get it to compile?  I don't even have a clue how to do that. If yes how.

 
I downloaded a zip file and it doesn't appear to be compiled either.  IF this was stuff I did normally like these guys I'm sure there is more than enough information provided, but I know nothing!

You don't compile python scripts...

You guys are probably better off waiting for an executable package to be made for you.
full member
Activity: 137
Merit: 100
I was thinking Stay Puft, but Gozer said Grover
Grover

I couldn't get it running on xp either.

??

Did you get it to compile?  I don't even have a clue how to do that. If yes how.

 
I downloaded a zip file and it doesn't appear to be compiled either.  IF this was stuff I did normally like these guys I'm sure there is more than enough information provided, but I know nothing!
BCB
vip
Activity: 1078
Merit: 1002
BCJ
Grover

I couldn't get it running on xp either.

??
full member
Activity: 137
Merit: 100
I was thinking Stay Puft, but Gozer said Grover
I'm lost.

I'm running XP.  I've installed all the prereqs but I have zero clue what application I use to install goxgui.  I'm a windork so I don't know much about all this kind of stuff.

If anyone can point me to the app I use to run the script listed in the OP I'd be very appreciative.


Thanks.
BCB
vip
Activity: 1078
Merit: 1002
BCJ
No, it's true I am planning to release a Windows binary package that contains all dependencies (using py2exe), but I'm not sure when I will get around to do it.

Until then, BCB have you tried installing Xming on your Windows machine? We use that at work in cases like yours, where the application runs on a remote unix box.

Thanks sebastopol

I'll give it a try.
newbie
Activity: 38
Merit: 0
mrlithium, thanks for your work. I've checked in the bugfix and will try your pyinstaller script as soon as I get the time. It looks very promising, I like the fact that pyinstaller supports so many target platforms.
newbie
Activity: 46
Merit: 0
Also just wanted to let you know that this DOES compile into a single EXE very easily. it ends up being around 8.3mb.
The command to generate it is something like this:

Code:
python c:\python27\pyinstaller-2.0\pyinstaller.py specfile.spec

Where specfile.spec is:
Code:
# -*- mode: python -*-
a = Analysis(['C:\\Python27\\goxgui\\goxgui\\application.py'],
             pathex=['C:\\Python27\\goxgui\\goxtool', 'C:\\Python27\\Lib\\site-packages\\Crypto\\Cipher\\'],
             hiddenimports=['AES','goxapi'], hookspath=None)

pyz = PYZ(a.pure)
exe = EXE(pyz,
          a.scripts,
          a.binaries,
          a.zipfiles,
          a.datas,
          a.dependencies,
          name=os.path.join('dist', 'goxgui.exe'),
          debug=False,
          strip=None,
          upx=True,
          console=False)
newbie
Activity: 46
Merit: 0
I think i found a bug.... Line #13 in adaptor.py gave me the error of: 
Code:
TypeError: Adaptor.signal_userorder[long long, long, str, str, str].emit(): argument 2 has unexpected type 'long'
when I went to place an order.
Changing the 2nd arg to "long long" seemed to fix it (and would make sense, since the first two args are usually quite the same size and the second one would usually be even longer (the above is price,volume,typ,oid,status)
Output Similar to:
Code:
(5967021, 500000000, u'bid', u'5fec0501-51eb-4eef-b7ee-1e724f01275d', u'invalid')

hero member
Activity: 938
Merit: 500
https://youengine.io/
application.py: cannot connect to X server :0.0

linux: enable x11 forwarding in ssh

windows: run an x-server on windows and enable x11 forwarding in putty,
or even better: install freenx  (or nomachine nx) server on your linux server and nomachine NX client on your windows and use that instead of putty, this will actually be much faster than x11 forwarding.
newbie
Activity: 38
Merit: 0
No, it's true I am planning to release a Windows binary package that contains all dependencies (using py2exe), but I'm not sure when I will get around to do it.

Until then, BCB have you tried installing Xming on your Windows machine? We use that at work in cases like yours, where the application runs on a remote unix box.
member
Activity: 70
Merit: 10
but goxgui looks so slick.

Waiting for the windows executible

or the Windows XP installation.

There isn't going to be... this is a python script using the Qt framework...

Just download the prerequisites and run run-win.bat from goxgui.
BCB
vip
Activity: 1078
Merit: 1002
BCJ
but goxgui looks so slick.

Waiting for the windows executible

or the Windows XP installation.
legendary
Activity: 1498
Merit: 1000
Are you trying to run a gui though SSH?

It's not going to work mate, just use it on what ever computer your posting on here from.

I'm trying to run in on a remote server from a windows XP box using putty.


Then just use the Goxtool without a gui, cause that will give you a GUI in a shell.
BCB
vip
Activity: 1078
Merit: 1002
BCJ
Are you trying to run a gui though SSH?

It's not going to work mate, just use it on what ever computer your posting on here from.

I'm trying to run in on a remote server from a windows XP box using putty.
Pages:
Jump to: