Bitcoin Forum
April 27, 2024, 02:42:07 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 [3] 4 5 6 7 8 »  All
  Print  
Author Topic: goxgui - a Graphical Bitcoin Trading Tool for MtGox  (Read 29579 times)
sebastopol (OP)
Newbie
*
Offline Offline

Activity: 38
Merit: 0



View Profile WWW
April 15, 2013, 09:44:33 PM
 #41

Thanks, mrlithium  Smiley
"There should not be any signed int. If you've found a signed int somewhere, please tell me (within the next 25 years please) and I'll change it to unsigned int." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
sebastopol (OP)
Newbie
*
Offline Offline

Activity: 38
Merit: 0



View Profile WWW
April 15, 2013, 09:52:10 PM
 #42

A philosophical word on grahps: I have added that feature on the "ToDo" list, but I believe that there are so many excellent sites out there that do graphs so much better than me that I would like to focus on a lean, easy-to-use trading tool.
sebastopol (OP)
Newbie
*
Offline Offline

Activity: 38
Merit: 0



View Profile WWW
April 15, 2013, 10:01:16 PM
 #43

Very nice.  Works very well on Windows 8.  Thanks!

Works great on Gentoo Linux!  Grin  Grin  Grin

But it is working for me now so yeah [Mac OSX 10.8.3]

You guys don't know what this means for a developer  Smiley I'm delirious  Grin
BCB
CTG
VIP
Legendary
*
Offline Offline

Activity: 1078
Merit: 1002


BCJ


View Profile
April 15, 2013, 10:36:08 PM
 #44

sebastopol

looks slick but I can't get it to run on ubunut

any ideas why:

getting this error on ubuntu

$ ./start.sh
Traceback (most recent call last):
  File "../goxgui/application.py", line 68, in <module>
    app = Application(sys.argv)
  File "../goxgui/application.py", line 40, in __init__
    self.logfile = open('log.txt', 'w')
IOError: [Errno 13] Permission denied: 'log.txt'


then when I run

$ sudo ./start.sh
application.py: cannot connect to X server


thx.
OdinHephaestus
Member
**
Offline Offline

Activity: 70
Merit: 10



View Profile
April 15, 2013, 11:54:37 PM
 #45

sebastopol

looks slick but I can't get it to run on ubunut

any ideas why:

getting this error on ubuntu

$ ./start.sh
Traceback (most recent call last):
  File "../goxgui/application.py", line 68, in <module>
    app = Application(sys.argv)
  File "../goxgui/application.py", line 40, in __init__
    self.logfile = open('log.txt', 'w')
IOError: [Errno 13] Permission denied: 'log.txt'


then when I run

$ sudo ./start.sh
application.py: cannot connect to X server


thx.

We need more information.  Where is the goxgui folder at?  Is your ubuntu setup up headless (without KDE, GNOME, XDE, etc.)?  What are the permissions for the goxgui folder (eg. 777, 551, etc)?

Bitcoin: 1odinQ5YUdbfuopNF2D1FZRN8qcrC4y1L
Litecoin: LeodinXzG7CgHqPDZxaUgsDKUKBUu46qa5
BCB
CTG
VIP
Legendary
*
Offline Offline

Activity: 1078
Merit: 1002


BCJ


View Profile
April 16, 2013, 01:51:12 AM
 #46

sebastopol

looks slick but I can't get it to run on ubunut

any ideas why:

getting this error on ubuntu

$ ./start.sh
Traceback (most recent call last):
  File "../goxgui/application.py", line 68, in <module>
    app = Application(sys.argv)
  File "../goxgui/application.py", line 40, in __init__
    self.logfile = open('log.txt', 'w')
IOError: [Errno 13] Permission denied: 'log.txt'


then when I run

$ sudo ./start.sh
application.py: cannot connect to X server


thx.

We need more information.  Where is the goxgui folder at?  Is your ubuntu setup up headless (without KDE, GNOME, XDE, etc.)?  What are the permissions for the goxgui folder (eg. 777, 551, etc)?

gxogui folder is in ~
setup is headless
I've updated permissions for goxgui folder
755 goxgui
numismatics
Member
**
Offline Offline

Activity: 96
Merit: 10



View Profile
April 16, 2013, 02:10:06 AM
 #47

Works beautifully in osx mountain lion—used macports to install dependencies except for PyQt, which I built from source. So far, so good: accepted credentials, displays balances correctly, and is surprisingly snappy. Great work!

OdinHephaestus
Member
**
Offline Offline

Activity: 70
Merit: 10



View Profile
April 16, 2013, 02:23:01 AM
 #48

gxogui folder is in ~
setup is headless
I've updated permissions for goxgui folder
755 goxgui

Okay, to fix your needing to be root:
Code:
sudo chmod 775 ~/goxgui/*

To fix your X server issue, you need to have a display manager (it's a gui, so this really should have been obvious).
Find the one you like, and install it with a window manager.

Example (GNOME):
Code:
sudo apt-get install gdm gnome-shell

Bitcoin: 1odinQ5YUdbfuopNF2D1FZRN8qcrC4y1L
Litecoin: LeodinXzG7CgHqPDZxaUgsDKUKBUu46qa5
BCB
CTG
VIP
Legendary
*
Offline Offline

Activity: 1078
Merit: 1002


BCJ


View Profile
April 16, 2013, 03:19:25 AM
 #49

gxogui folder is in ~
setup is headless
I've updated permissions for goxgui folder
755 goxgui

Okay, to fix your needing to be root:
Code:
sudo chmod 775 ~/goxgui/*

To fix your X server issue, you need to have a display manager (it's a gui, so this really should have been obvious).
Find the one you like, and install it with a window manager.

Example (GNOME):
Code:
sudo apt-get install gdm gnome-shell


odin,

thanks for you help.

I've run those commands and i'm still getting:

application.py: cannot connect to X server :0.0

Huh?
OdinHephaestus
Member
**
Offline Offline

Activity: 70
Merit: 10



View Profile
April 16, 2013, 03:48:33 AM
 #50

gxogui folder is in ~
setup is headless
I've updated permissions for goxgui folder
755 goxgui

Okay, to fix your needing to be root:
Code:
sudo chmod 775 ~/goxgui/*

To fix your X server issue, you need to have a display manager (it's a gui, so this really should have been obvious).
Find the one you like, and install it with a window manager.

Example (GNOME):
Code:
sudo apt-get install gdm gnome-shell


odin,

thanks for you help.

I've run those commands and i'm still getting:

application.py: cannot connect to X server :0.0

Huh?

If your not already in the x server, run
Code:
startx

Bitcoin: 1odinQ5YUdbfuopNF2D1FZRN8qcrC4y1L
Litecoin: LeodinXzG7CgHqPDZxaUgsDKUKBUu46qa5
BCB
CTG
VIP
Legendary
*
Offline Offline

Activity: 1078
Merit: 1002


BCJ


View Profile
April 16, 2013, 04:46:25 AM
 #51

gxogui folder is in ~
setup is headless
I've updated permissions for goxgui folder
755 goxgui

Okay, to fix your needing to be root:
Code:
sudo chmod 775 ~/goxgui/*

To fix your X server issue, you need to have a display manager (it's a gui, so this really should have been obvious).
Find the one you like, and install it with a window manager.

Example (GNOME):
Code:
sudo apt-get install gdm gnome-shell


odin,

thanks for you help.

I've run those commands and i'm still getting:

application.py: cannot connect to X server :0.0

Huh?

If your not already in the x server, run
Code:
startx

Fatal server error:
no screens found
OdinHephaestus
Member
**
Offline Offline

Activity: 70
Merit: 10



View Profile
April 16, 2013, 04:50:16 AM
 #52

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.

Bitcoin: 1odinQ5YUdbfuopNF2D1FZRN8qcrC4y1L
Litecoin: LeodinXzG7CgHqPDZxaUgsDKUKBUu46qa5
BCB
CTG
VIP
Legendary
*
Offline Offline

Activity: 1078
Merit: 1002


BCJ


View Profile
April 16, 2013, 04:51:34 AM
 #53

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.
gweedo
Legendary
*
Offline Offline

Activity: 1498
Merit: 1000


View Profile
April 16, 2013, 04:54:55 AM
 #54

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
CTG
VIP
Legendary
*
Offline Offline

Activity: 1078
Merit: 1002


BCJ


View Profile
April 16, 2013, 05:01:04 AM
 #55

but goxgui looks so slick.

Waiting for the windows executible

or the Windows XP installation.
OdinHephaestus
Member
**
Offline Offline

Activity: 70
Merit: 10



View Profile
April 16, 2013, 05:12:45 AM
 #56

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.

Bitcoin: 1odinQ5YUdbfuopNF2D1FZRN8qcrC4y1L
Litecoin: LeodinXzG7CgHqPDZxaUgsDKUKBUu46qa5
sebastopol (OP)
Newbie
*
Offline Offline

Activity: 38
Merit: 0



View Profile WWW
April 16, 2013, 06:39:04 AM
 #57

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.
prof7bit
Hero Member
*****
Offline Offline

Activity: 938
Merit: 500


https://youengine.io/


View Profile WWW
April 16, 2013, 10:55:36 AM
 #58

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.

mrlithium
Newbie
*
Offline Offline

Activity: 46
Merit: 0


View Profile
April 16, 2013, 11:30:27 AM
 #59

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')

mrlithium
Newbie
*
Offline Offline

Activity: 46
Merit: 0


View Profile
April 16, 2013, 01:12:49 PM
 #60

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)
Pages: « 1 2 [3] 4 5 6 7 8 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!