flatfly (OP)
Legendary
Offline
Activity: 1092
Merit: 1016
760930
|
|
January 02, 2014, 12:28:10 AM |
|
Which version of websocket do you use? Somehow my install says AttributeError: 'module' object has no attribute 'create_connection' Installed using pip This should be the correct library: https://github.com/liris/websocket-client"Pip install websocket" should grab it, IIRC... Which version of Python do you have? 2.7 would work best.
|
|
|
|
|
|
flatfly (OP)
Legendary
Offline
Activity: 1092
Merit: 1016
760930
|
|
January 02, 2014, 09:06:46 AM Last edit: January 02, 2014, 09:28:49 AM by flatfly |
|
Version 0.415 is now available.
Changes: - millisecond display for timestamps - switched to UTC format for timestamps (will make that an config option soon) - fixed transaction density calculation on Linux / OS X
|
|
|
|
zeryl
Newbie
Offline
Activity: 14
Merit: 0
|
|
January 02, 2014, 05:56:37 PM |
|
What would it take, to get you to either do a gist, or put this on github proper, to make it easy to stay up to date?
|
|
|
|
flatfly (OP)
Legendary
Offline
Activity: 1092
Merit: 1016
760930
|
|
January 02, 2014, 07:35:55 PM Last edit: January 02, 2014, 09:08:17 PM by flatfly |
|
What would it take, to get you to either do a gist, or put this on github proper, to make it easy to stay up to date?
I might put up a gist soon, but it could take a little while, as I have to deal with a serious issue right now, which is taking up a lot of mental energy - I prefer not to go into detail. In the meantime, please watch or subscribe to this thread for updates. Thanks!
|
|
|
|
Praeconium
Member
Offline
Activity: 102
Merit: 10
|
|
January 02, 2014, 08:39:58 PM |
|
Hi I am trying to use Your tool, and I also have issue with ubuntu@ip-172-31-47-182:~/bot$ sudo python first.py chainsnort 0.415: 51406 new transactions in the last 24 hours - 0.59 tx/sec
AttributeError: 'module' object has no attribute 'create_connection' ubuntu@ip-172-31-47-182:~/bot$ I installed websocket-client ubuntu@ip-172-31-47-182:~/bot$ sudo easy_install websocket-client Searching for websocket-client Reading http://pypi.python.org/simple/websocket-client/ Best match: websocket-client 0.12.0 Downloading https://pypi.python.org/packages/source/w/websocket-client/websocket-client-0.12.0.tar.gz#md5=15bf7acb9caec87144d39ffcff765966 Processing websocket-client-0.12.0.tar.gz Running websocket-client-0.12.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-D9v0Tt/websocket-client-0.12.0/egg-dist-tmp-QruTjI zip_safe flag not set; analyzing archive contents... Adding websocket-client 0.12.0 to easy-install.pth file Installing wsdump.py script to /usr/local/bin
Installed /usr/local/lib/python2.7/dist-packages/websocket_client-0.12.0-py2.7.egg Processing dependencies for websocket-client Finished processing dependencies for websocket-client
it doesnt seems to work properly ubuntu@ip-172-31-47-182:~/bot$ python -c 'import websocket; print websocket.__file__' /usr/local/lib/python2.7/dist-packages/websocket-0.2.1-py2.7.egg/websocket/__init__.pyc
ubuntu@ip-172-31-47-182:~/bot$ python -c 'import websocket; print websocket.create_connection' Traceback (most recent call last): File "<string>", line 1, in <module> AttributeError: 'module' object has no attribute 'create_connection'
Anyone has some kind of solution?
|
|
|
|
flatfly (OP)
Legendary
Offline
Activity: 1092
Merit: 1016
760930
|
|
January 02, 2014, 09:00:15 PM |
|
Hi I am trying to use Your tool, and I also have issue with ubuntu@ip-172-31-47-182:~/bot$ sudo python first.py chainsnort 0.415: 51406 new transactions in the last 24 hours - 0.59 tx/sec
AttributeError: 'module' object has no attribute 'create_connection' ubuntu@ip-172-31-47-182:~/bot$ I installed websocket-client ubuntu@ip-172-31-47-182:~/bot$ sudo easy_install websocket-client Searching for websocket-client Reading http://pypi.python.org/simple/websocket-client/ Best match: websocket-client 0.12.0 Downloading https://pypi.python.org/packages/source/w/websocket-client/websocket-client-0.12.0.tar.gz#md5=15bf7acb9caec87144d39ffcff765966 Processing websocket-client-0.12.0.tar.gz Running websocket-client-0.12.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-D9v0Tt/websocket-client-0.12.0/egg-dist-tmp-QruTjI zip_safe flag not set; analyzing archive contents... Adding websocket-client 0.12.0 to easy-install.pth file Installing wsdump.py script to /usr/local/bin
Installed /usr/local/lib/python2.7/dist-packages/websocket_client-0.12.0-py2.7.egg Processing dependencies for websocket-client Finished processing dependencies for websocket-client
it doesnt seems to work properly ubuntu@ip-172-31-47-182:~/bot$ python -c 'import websocket; print websocket.__file__' /usr/local/lib/python2.7/dist-packages/websocket-0.2.1-py2.7.egg/websocket/__init__.pyc
ubuntu@ip-172-31-47-182:~/bot$ python -c 'import websocket; print websocket.create_connection' Traceback (most recent call last): File "<string>", line 1, in <module> AttributeError: 'module' object has no attribute 'create_connection'
Anyone has some kind of solution? Try using wget instead of pip for a quick and dirty way to fix the issue: wget https://raw.github.com/liris/websocket-client/master/websocket.py
|
|
|
|
Praeconium
Member
Offline
Activity: 102
Merit: 10
|
|
January 03, 2014, 12:51:27 AM |
|
It worked, thank You so much!
|
|
|
|
arnuschky
|
|
January 03, 2014, 06:43:15 PM |
|
Which version of websocket do you use? Somehow my install says AttributeError: 'module' object has no attribute 'create_connection' Installed using pip This should be the correct library: https://github.com/liris/websocket-client"Pip install websocket" should grab it, IIRC... Which version of Python do you have? 2.7 would work best. 2.7. I had to grab the websocket-client package, didn't work without it. Maybe you should update your docs... May I suggest sticking the script on github? Using copy and paste is really annoying, especially with python due to the indentation problems. Thanks for the help!
|
|
|
|
flatfly (OP)
Legendary
Offline
Activity: 1092
Merit: 1016
760930
|
|
January 04, 2014, 10:28:26 AM |
|
Which version of websocket do you use? Somehow my install says AttributeError: 'module' object has no attribute 'create_connection' Installed using pip This should be the correct library: https://github.com/liris/websocket-client"Pip install websocket" should grab it, IIRC... Which version of Python do you have? 2.7 would work best. 2.7. I had to grab the websocket-client package, didn't work without it. Maybe you should update your docs... May I suggest sticking the script on github? Using copy and paste is really annoying, especially with python due to the indentation problems. Thanks for the help! I've just made a quick gist with the latest version. When I have more time, I'll put up a proper little web page for it.
|
|
|
|
flatfly (OP)
Legendary
Offline
Activity: 1092
Merit: 1016
760930
|
|
January 04, 2014, 10:30:27 AM Last edit: January 05, 2014, 11:29:35 AM by flatfly |
|
Version 0.42.2 is ready... (I just changed the version numbers so they make more sense, at least to me...)
Changes: - Switched to fully encrypted websockets (WSS protocol) - Minor code cleanup
Source code only for now - Windows build will follow soon.
|
|
|
|
flatfly (OP)
Legendary
Offline
Activity: 1092
Merit: 1016
760930
|
|
January 04, 2014, 08:36:03 PM Last edit: January 05, 2014, 11:32:11 AM by flatfly |
|
Windows build for 0.42.2 is ready, and as a way to thank early users, it is the color version that is currently available for free. (See link and signatures in OP)
|
|
|
|
bitpop
Legendary
Offline
Activity: 2912
Merit: 1060
|
|
January 05, 2014, 11:27:12 AM |
|
Colors! Edit: Not getting colors. Also, I don't see any code for the easter egg.
|
|
|
|
RoxxR
|
|
January 05, 2014, 02:28:34 PM Last edit: January 05, 2014, 05:06:24 PM by RoxxR |
|
Colors! Edit: Not getting colors. Also, I don't see any code for the easter egg. I think only the executable windows version has colors and the easter egg
|
|
|
|
RoxxR
|
|
January 05, 2014, 05:06:45 PM |
|
I'm happily chainsnorting on OS X:
|
|
|
|
|
flatfly (OP)
Legendary
Offline
Activity: 1092
Merit: 1016
760930
|
|
January 05, 2014, 08:41:03 PM |
|
I have just updated the OP with some legal stuff, to cover some use cases - However it's still a draft while I work out a proper license. Feel free to ask if there are any questions. (I'll be offline until tomorrow, though)
|
|
|
|
flatfly (OP)
Legendary
Offline
Activity: 1092
Merit: 1016
760930
|
|
January 06, 2014, 09:30:17 PM |
|
Now performing some (very early) testing of the bitcoind RPC connector...
|
|
|
|
robanswe
Newbie
Offline
Activity: 24
Merit: 0
|
|
January 06, 2014, 10:51:56 PM |
|
Now performing some (very early) testing of the bitcoind RPC connector...
Good luck! I'm really looking forward to the RPC version:)
|
|
|
|
|