sebastopol (OP)
Newbie
Offline
Activity: 38
Merit: 0
|
|
April 15, 2013, 09:44:33 PM |
|
Thanks, mrlithium
|
|
|
|
|
sebastopol (OP)
Newbie
Offline
Activity: 38
Merit: 0
|
|
April 15, 2013, 10:01:16 PM |
|
Very nice. Works very well on Windows 8. Thanks!
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 I'm delirious
|
|
|
|
BCB
CTG
VIP
Legendary
Offline
Activity: 1078
Merit: 1002
BCJ
|
|
April 15, 2013, 10:36:08 PM |
|
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
Activity: 70
Merit: 10
|
|
April 15, 2013, 11:54:37 PM |
|
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
Activity: 1078
Merit: 1002
BCJ
|
|
April 16, 2013, 01:51:12 AM |
|
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
Activity: 96
Merit: 10
|
|
April 16, 2013, 02:10:06 AM |
|
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
Activity: 70
Merit: 10
|
|
April 16, 2013, 02:23:01 AM |
|
gxogui folder is in ~ setup is headless I've updated permissions for goxgui folder 755 goxgui
Okay, to fix your needing to be root: 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): sudo apt-get install gdm gnome-shell
|
Bitcoin: 1odinQ5YUdbfuopNF2D1FZRN8qcrC4y1L Litecoin: LeodinXzG7CgHqPDZxaUgsDKUKBUu46qa5
|
|
|
BCB
CTG
VIP
Legendary
Offline
Activity: 1078
Merit: 1002
BCJ
|
|
April 16, 2013, 03:19:25 AM |
|
gxogui folder is in ~ setup is headless I've updated permissions for goxgui folder 755 goxgui
Okay, to fix your needing to be root: 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): 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 ?
|
|
|
|
OdinHephaestus
Member
Offline
Activity: 70
Merit: 10
|
|
April 16, 2013, 03:48:33 AM |
|
gxogui folder is in ~ setup is headless I've updated permissions for goxgui folder 755 goxgui
Okay, to fix your needing to be root: 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): 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 ? If your not already in the x server, run
|
Bitcoin: 1odinQ5YUdbfuopNF2D1FZRN8qcrC4y1L Litecoin: LeodinXzG7CgHqPDZxaUgsDKUKBUu46qa5
|
|
|
BCB
CTG
VIP
Legendary
Offline
Activity: 1078
Merit: 1002
BCJ
|
|
April 16, 2013, 04:46:25 AM |
|
gxogui folder is in ~ setup is headless I've updated permissions for goxgui folder 755 goxgui
Okay, to fix your needing to be root: 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): 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 ? If your not already in the x server, run Fatal server error: no screens found
|
|
|
|
OdinHephaestus
Member
Offline
Activity: 70
Merit: 10
|
|
April 16, 2013, 04:50:16 AM |
|
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
Activity: 1078
Merit: 1002
BCJ
|
|
April 16, 2013, 04:51:34 AM |
|
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
Activity: 1498
Merit: 1000
|
|
April 16, 2013, 04:54:55 AM |
|
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
Activity: 1078
Merit: 1002
BCJ
|
|
April 16, 2013, 05:01:04 AM |
|
but goxgui looks so slick.
Waiting for the windows executible
or the Windows XP installation.
|
|
|
|
OdinHephaestus
Member
Offline
Activity: 70
Merit: 10
|
|
April 16, 2013, 05:12:45 AM |
|
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
Activity: 38
Merit: 0
|
|
April 16, 2013, 06:39:04 AM |
|
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
|
|
April 16, 2013, 10:55:36 AM |
|
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
Activity: 46
Merit: 0
|
|
April 16, 2013, 11:30:27 AM |
|
I think i found a bug.... Line #13 in adaptor.py gave me the error of: 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: (5967021, 500000000, u'bid', u'5fec0501-51eb-4eef-b7ee-1e724f01275d', u'invalid')
|
|
|
|
mrlithium
Newbie
Offline
Activity: 46
Merit: 0
|
|
April 16, 2013, 01:12:49 PM |
|
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: python c:\python27\pyinstaller-2.0\pyinstaller.py specfile.spec Where specfile.spec is: # -*- 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)
|
|
|
|
|