GithubHelp home page GithubHelp logo

kpreid / shinysdr Goto Github PK

View Code? Open in Web Editor NEW
1.1K 78.0 112.0 6.1 MB

Software-defined radio receiver application built on GNU Radio with a web-based UI and plugins. In development, usable but incomplete. Compatible with RTL-SDR.

Home Page: https://shinysdr.switchb.org/

License: GNU General Public License v3.0

Python 55.96% JavaScript 35.65% HTML 4.98% CSS 1.73% Shell 0.06% GLSL 1.63%
sdr rtl-sdr gnuradio amateur-radio

shinysdr's Introduction

ShinySDR

ShinySDR is the software component of a software-defined radio receiver. When combined with suitable hardware devices such as the RTL-SDR, HackRF, or USRP, it can be used to listen to or display data from a variety of radio transmissions.

Copyright and License

Copyright 2013, 2014, 2015, 2016, 2017, 2018, 2019 Kevin Reid <[email protected]>

ShinySDR is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

ShinySDR is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with ShinySDR. If not, see http://www.gnu.org/licenses/.

Additional information

shinysdr's People

Contributors

bitglue avatar colindean avatar hofschroeer avatar jeffersonjhunt avatar kpreid avatar quentinmit avatar tdjsnelling avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

shinysdr's Issues

gr buffer allocation error.

Just installed shinysdr, using a nooElec dongle and the server fires up fine however, when the first client connects, it traps as follows:

INFO:shinysdr:127.0.0.1 - - [21/Jan/2015:11:11:41 +0000] "GET /client/plugins/shinysdr.plugins.hamlib/hamlib.js HTTP/1.1" 200 1698 "http://localhost:8100/KLyBsKjF44TGC6U7y1XGlA/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/39.0.2171.65 Chrome/39.0.2171.65 Safari/537.36"
INFO:shinysdr:Starting RFC 6455 conversation
INFO:shinysdr:Stream connection to /KLyBsKjF44TGC6U7y1XGlA/radio
INFO:shinysdr:Starting RFC 6455 conversation
INFO:shinysdr:Stream connection to /KLyBsKjF44TGC6U7y1XGlA/audio?rate=44100
INFO:shinysdr:Flow graph: Rebuilding connections
INFO:shinysdr:Flow graph: ...done reconnecting.
gr::vmcircbuf_sysv_shm: shmget(1): Invalid argument
gr::vmcircbuf_sysv_shm: shmget(1): Invalid argument
gr::vmcircbuf_sysv_shm: shmget(1): Invalid argument
gr::buffer::allocate_buffer: failed to allocate buffer of size 37500 KB
gr::vmcircbuf_sysv_shm: shmget(1): Invalid argument
gr::vmcircbuf_sysv_shm: shmget(1): Invalid argument
gr::vmcircbuf_sysv_shm: shmget(1): Invalid argument
gr::buffer::allocate_buffer: failed to allocate buffer of size 37500 KB
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Aborted

Any thoughts greatly appreciated

Segmentation fault when switching modes

First of all I want to congratulate. This is beautiful...

I complied everything on my Mac (10.9) and it seems to work beautifully except for the Map which doesn't work at all.
The only serious issue I have is that once the demodulator is running I cannot switch from one mode to another. When I do that the serve crashes with a Segmentation fault.

I can provide more details if you need to reproduce this issue.

Again congratulations

Alain

error during create file

python -m shinysdr.main --create shinysdr.conf
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/main.py", line 37, in
from twisted.internet.task import react
ImportError: cannot import name react

ERROR:shinysdr:main function encountered error

pi@kj6dzbSDR ~/shinysdr $ python -m shinysdr.main config
INFO:shinysdr:Log opened.
linux; GNU C++ version 4.6.3; Boost_104900; UHD_003.004.002-0-unknown

gr-osmosdr v0.1.3-4-g42c66fdd (0.1.4git) gnuradio 3.7.5git-0-g2bb2b314
built-in source types: file fcd rtl rtl_tcp uhd hackrf rfspace
Using device #0 Realtek RTL2838UHIDIR SN: 00000001
Found Elonics E4000 tuner
INFO:shinysdr:Constructing flow graph...
Using Volk machine: generic
INFO:shinysdr:Flow graph: Switching RF source
INFO:shinysdr:Flow graph: Changing sample rates
INFO:shinysdr:Flow graph: Rebuilding connections
INFO:shinysdr:Flow graph: ...done reconnecting.
INFO:shinysdr:Restoring state...
INFO:shinysdr:Starting web server...
ERROR:shinysdr:main function encountered error
Traceback (most recent call last):
File "/home/pi/shinysdr/shinysdr/main.py", line 52, in main
react(go)
File "/usr/local/lib/python2.7/dist-packages/Twisted-15.0.0-py2.7-linux-armv6l.egg/twisted/internet/task.py", line 875, in react
finished = main(_reactor, *argv)
File "/home/pi/shinysdr/shinysdr/main.py", line 47, in go
return _main_async(reactor, argv, _abort_for_test)
File "/usr/local/lib/python2.7/dist-packages/Twisted-15.0.0-py2.7-linux-armv6l.egg/twisted/internet/defer.py", line 1253, in unwindGenerator
return _inlineCallbacks(None, gen, Deferred())
--- ---
File "/usr/local/lib/python2.7/dist-packages/Twisted-15.0.0-py2.7-linux-armv6l.egg/twisted/internet/defer.py", line 1107, in _inlineCallbacks
result = g.send(result)
File "/home/pi/shinysdr/shinysdr/main.py", line 120, in _main_async
IService(maker(top, noteDirty)).setServiceParent(services)
File "shinysdr/config.py", line 106, in make_service
import shinysdr.web as lazy_web
File "shinysdr/web.py", line 41, in
import txws
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 30, in
import six
exceptions.ImportError: No module named six

INFO:shinysdr:Main loop terminated.
pi@kj6dzbSDR ~/shinysdr $

remote execution of shinysdr

INFO:shinysdr:Log opened.
linux; GNU C++ version 4.9.2; Boost_105500; UHD_003.007.003-0-unknown

gr-osmosdr 0.1.3 (0.1.3) gnuradio 3.7.5
built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf bladerf rfspace airspy
Using device #0 Realtek RTL2838UHIDIR SN: 00000001
Found Rafael Micro R820T tuner
[R82XX] PLL not locked!
[R82XX] PLL not locked!
gr::log :INFO: audio source - Audio source arch: alsa
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Access denied

gr::log :ERROR: audio_alsa_source0 - [default]: Connection refused
ERROR:shinysdr:main function encountered error
Traceback (most recent call last):
File "/root/shinysdr/shinysdr/main.py", line 55, in main
react(go)
File "/usr/lib/python2.7/dist-packages/twisted/internet/task.py", line 875, in react
finished = main(_reactor, *argv)
File "/root/shinysdr/shinysdr/main.py", line 50, in go
return _main_async(reactor, argv, _abort_for_test)
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1237, in unwindGenerator
return _inlineCallbacks(None, gen, Deferred())
--- ---
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1099, in _inlineCallbacks
result = g.send(result)
File "/root/shinysdr/shinysdr/main.py", line 101, in _main_async
execute_config(configObj, args.configFile)
File "shinysdr/config.py", line 234, in execute_config
execfile(config_file, env)
File "configuration", line 15, in
config.devices.add(u'audio', AudioDevice(''))
File "shinysdr/devices.py", line 374, in AudioDevice
quadrature_as_stereo=quadrature_as_stereo)
File "shinysdr/devices.py", line 430, in init
ok_to_block=True)
File "/usr/lib/python2.7/dist-packages/gnuradio/audio/audio_swig.py", line 133, in make
return _audio_swig.source_make(_args, *_kwargs)
exceptions.RuntimeError: audio_alsa_source

INFO:shinysdr:Main loop terminated.

cannot import name react

Hi,

Which package i have to install to avoid the problem?
I try to run the program and require react module i suppose.

IQ Reversed on HackRF

I've noticed on the HackRF, there doesn't seem to be a way to filp the IQ, and it seems to be reversed. Does anybody know how I could flip the IQ with ShinySDR?

Missing alsa source

Running the latest rasbian on Raspberry Pi2 and installing gnuradio from source, I get the following error after installing and then trying to run shinysdr:

pi@raspberrypi ~/shinysdr $ shinysdr test
INFO:shinysdr:Log opened.
linux; GNU C++ version 4.9.1; Boost_105500; UHD_003.007.003-0-unknown

gr-osmosdr 0.1.3 (0.1.3) gnuradio 3.7.5
built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf bladerf rfspace airspy
Using device #0 Realtek RTL2838UHIDIR SN: 00000001
Found Rafael Micro R820T tuner
gr::log :INFO: audio source - Audio source arch: alsa
gr::log :ERROR: audio_alsa_source0 - [default]: No such file or directory
ERROR:shinysdr:main function encountered error
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/main.py", line 52, in main
react(go)
File "/usr/local/lib/python2.7/dist-packages/Twisted-15.0.0-py2.7-linux-armv7l.egg/twisted/internet/task.py", line 875, in react
finished = main(_reactor, *argv)
File "/usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/main.py", line 47, in go
return _main_async(reactor, argv, _abort_for_test)
File "/usr/local/lib/python2.7/dist-packages/Twisted-15.0.0-py2.7-linux-armv7l.egg/twisted/internet/defer.py", line 1253, in unwindGenerator
return _inlineCallbacks(None, gen, Deferred())
--- ---
File "/usr/local/lib/python2.7/dist-packages/Twisted-15.0.0-py2.7-linux-armv7l.egg/twisted/internet/defer.py", line 1107, in _inlineCallbacks
result = g.send(result)
File "/usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/main.py", line 91, in _main_async
execute_config(configObj, args.configFile)
File "/usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/config.py", line 211, in execute_config
execfile(config_file, env)
File "test", line 15, in
config.devices.add(u'audio', shinysdr.devices.AudioDevice(''))
File "/usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/devices.py", line 335, in AudioDevice
quadrature_as_stereo=quadrature_as_stereo)
File "/usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/devices.py", line 388, in init
ok_to_block=True)
File "/usr/lib/python2.7/dist-packages/gnuradio/audio/audio_swig.py", line 133, in make
return _audio_swig.source_make(_args, *_kwargs)
exceptions.RuntimeError: audio_alsa_source

Any help greatfully appreciated (As you can see, I got a bigger workhorse to run your code!)

In hierarchical block source_impl, output 1 is not connected internally

Hi,

I am using a rtlsdr stick and run shinysdr with the following source configuration:

'osmo': shinysdr.plugins.osmosdr.OsmoSDRSource('')

My browser is google chrome 33.0.1750.91 beta.

After I check the run checkbox in the web interface the following unhandled error is thrown:

ERROR:shinysdr:Unhandled Error
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/twisted/web/http.py", line 1394, in dataReceived
    finishCallback(data[contentLength:])
  File "/usr/lib64/python2.7/site-packages/twisted/web/http.py", line 1623, in _finishRequestBody
    self.allContentReceived()
  File "/usr/lib64/python2.7/site-packages/twisted/web/http.py", line 1686, in allContentReceived
    req.requestReceived(command, path, version)
  File "/usr/lib64/python2.7/site-packages/twisted/web/http.py", line 790, in requestReceived
    self.process()
--- <exception caught here> ---
  File "/usr/lib64/python2.7/site-packages/twisted/web/server.py", line 192, in process
    self.render(resrc)
  File "/usr/lib64/python2.7/site-packages/twisted/web/server.py", line 241, in render
    body = resrc.render(self)
  File "/usr/lib64/python2.7/site-packages/twisted/web/resource.py", line 250, in render
    return m(request)
  File "shinysdr/web.py", line 76, in render_PUT
    self._cell.set(self.grparse(data))
  File "shinysdr/values.py", line 112, in set
    return self._setter(self._ctor(value))
  File "shinysdr/top.py", line 296, in set_unpaused
    self.__start_or_stop()
  File "shinysdr/top.py", line 303, in __start_or_stop
    self.start()
  File "shinysdr/top.py", line 282, in start
    super(Top, self).start()
  File "/usr/lib64/python2.7/site-packages/gnuradio/gr/top_block.py", line 103, in start
    top_block_start_unlocked(self._tb, max_noutput_items)
  File "/usr/lib64/python2.7/site-packages/gnuradio/gr/runtime_swig.py", line 4587, in top_block_start_unlocked
    return _runtime_swig.top_block_start_unlocked(*args, **kwargs)
exceptions.RuntimeError: In hierarchical block source_impl, output 1 is not connected internally

Audio under-run with USRP N200

Hi
I'm using the latest shinysdr on OS X 10.12.1
It runs fine with RTL-SDR, but not with USRP N200. I have audio underrun and glitch. Also, there's no spectrum waterfall.
Here's a comparison between running RTL-SDR and USRP:
https://i.imgsafe.org/24f30d9aa4.png
https://i.imgsafe.org/24f2f9d786.png

Any ideas?

My system info:
MacBook Pro 2015 on OS X 10.12.1
Python 2.7.11
shinysdr and gr-osmosdr: from git, latest.
GNURadio 3.7.9.1
Chrom version 52
USRP's device string in config:
config.devices.add(u'osmo', OsmoSDRDevice('uhd', sample_rate=250000))

Multiple clients corrupt SortedMultimap

When multiple clients are connected, the shinysdr.values._SortedMultimap used by Poller eventually becomes corrupted.

I have not been able to reproduce this in simple test cases. I tried rebuilding self.__sorted from self.__dict when the inconsistency is detected and it did not help.

(New speculation: maybe a bad eq or hash in the key types?)

Add version tests for deps on startup

Improve the error messages in the event that a required library is too old, by checking the version or needed features on startup, so that the user can tell that it is a dependency problem and not an arbitrary bug.

This should be done for all dependencies regardless of source (external, python, submodules, and fetch-js-deps) submodules, because someone upgrading an existing installation could fail to upgrade.

Possible feature tests where versions might be unavailable:

  • python: just check version number
  • gnuradio: gnuradio.blocks.rotator_cc exists
  • gr-osmosdr: device_find supports nofake (well, we don't use that yet, actually)
  • twisted: ???, check previous bug reports
  • txws: binary support
  • jasmine: ???
  • openlayers: ???
  • require.js: ???
  • gr-air-modes: ???
  • multimon-ng: ???

Bad audio with USRP B200mini

I have found a bizarre misbehavior of ShinySDR used with a USRP B200mini but not other hardware: certain modes exhibit stuttering client audio.

The audio stream debug info indicates both overrun and underrun, suggesting that the problem is essentially excessive batching/burstiness, but I'm not sure why the client audio stream isn't adapting properly.

Also, this is demodulator-dependent; for example, it happens with AM, AM-unsel, and WFM, and does not happen with NFM or SSB.

Tons of UnicodeDecodeErrors

I love this project and desperately want to try it, but can't get it to work. New install of Ubuntu 13.10, Gnuradio from PyBOMBS and osmosdr installed from there as well. After installing the prereqs you list and the dependencies, I get tons of errors when I connect to the server with my browser, that all look like:

WebSocket connection to /j-mfkufoyxhipCNTqSiY5g/state
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/twisted/protocols/policies.py", line 120, in dataReceived
self.wrappedProtocol.dataReceived(data)
File "shinysdr/web.py", line 317, in dataReceived
self._sendLoop.start(1.0 / 61)
File "/usr/lib/python2.7/dist-packages/twisted/internet/task.py", line 173, in start
self()
File "/usr/lib/python2.7/dist-packages/twisted/internet/task.py", line 218, in call
d = defer.maybeDeferred(self.f, _self.a, *_self.kw)
--- ---
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 137, in maybeDeferred
result = f(_args, *_kw)
File "shinysdr/web.py", line 342, in __poll
self.inner.poll()
File "shinysdr/web.py", line 260, in poll
self._checkUpdates()
File "shinysdr/web.py", line 232, in _checkUpdates
traverse(self._cell)
File "shinysdr/web.py", line 199, in traverse
meet(block, self._urls[obj])
File "shinysdr/web.py", line 229, in meet
traverse(obj)
File "shinysdr/web.py", line 188, in traverse
meet(cell, url + '/' + urllib.unquote(key))
File "shinysdr/web.py", line 229, in meet
traverse(obj)
File "shinysdr/web.py", line 204, in traverse
self.__send1(True, struct.pack('I', self._registered[obj]) + b)
File "shinysdr/web.py", line 254, in __send1
self.__flush()
File "shinysdr/web.py", line 249, in __flush
self._send(unicode(json.dumps(self._send_batch, ensure_ascii=False)))
File "shinysdr/web.py", line 338, in __send
self.transport.write(message)
File "/usr/local/lib/python2.7/dist-packages/txWS-0.7.1.1-py2.7.egg/txws.py", line 570, in write
self.sendFrames()
File "/usr/local/lib/python2.7/dist-packages/txWS-0.7.1.1-py2.7.egg/txws.py", line 441, in sendFrames
packet = maker(frame)
File "/usr/local/lib/python2.7/dist-packages/txWS-0.7.1.1-py2.7.egg/txws.py", line 224, in make_hybi07_frame
frame = "%s%s%s" % (header, length, buf)
exceptions.UnicodeDecodeError: 'ascii' codec can't decode byte 0x81 in position 0: ordinal not in range(128)

Occasionally I also get ones like this:

Unhandled Error
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/twisted/python/log.py", line 73, in callWithContext
return context.call({ILogContext: newCtx}, func, _args, *_kw)
File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 118, in callWithContext
return self.currentContext().callWithContext(ctx, func, _args, *_kw)
File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 81, in callWithContext
return func(args,*kw)
File "/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 614, in _doReadOrWrite
why = selectable.doRead()
--- ---
File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 1070, in doRead
protocol.makeConnection(transport)
File "/usr/lib/python2.7/dist-packages/twisted/protocols/policies.py", line 75, in makeConnection
self.wrappedProtocol.makeConnection(self)
File "/usr/lib/python2.7/dist-packages/twisted/internet/protocol.py", line 460, in makeConnection
self.connectionMade()
File "shinysdr/web.py", line 321, in connectionMade
self.transport.setBinaryMode(True)
File "/usr/lib/python2.7/dist-packages/twisted/protocols/policies.py", line 114, in getattr
return getattr(self.transport, name)
exceptions.AttributeError: 'Server' object has no attribute 'setBinaryMode'

So I'm guessing I'm doing something wrong, but I'm frankly not sure what it is.

Thanks for your help!

script fails to install twisted on PI 2

fresh os install....got the rtl-sdr driver installed...and gnuradio...ran sudo python setup.py install and I get the following
.
.
.
Installed /usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg
Processing dependencies for ShinySDR==0.0.0
Searching for txws
Reading http://pypi.python.org/simple/txws/
Best match: txWS 0.9.1
Downloading https://pypi.python.org/packages/source/t/txWS/txWS-0.9.1.tar.gz#md5=d113910af0521ea62db8a0f3d7c63abb
Processing txWS-0.9.1.tar.gz
Running txWS-0.9.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-CM4pl0/txWS-0.9.1/egg-dist-tmp-omkqix
Checking .pth file support in .
/usr/bin/python -E -c pass
Searching for vcversioner
Reading http://pypi.python.org/simple/vcversioner/
Best match: vcversioner 2.14.0.0
Downloading https://pypi.python.org/packages/source/v/vcversioner/vcversioner-2.14.0.0.tar.gz#md5=7848a365ced9941053bc25d9a9f8f4b4
Processing vcversioner-2.14.0.0.tar.gz
Running vcversioner-2.14.0.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-CM4pl0/txWS-0.9.1/temp/easy_install-x0Qh8C/vcversioner-2.14.0.0/egg-dist-tmp-_X8F9V
zip_safe flag not set; analyzing archive contents...

Installed /tmp/easy_install-CM4pl0/txWS-0.9.1/vcversioner-2.14.0.0-py2.7.egg
zip_safe flag not set; analyzing archive contents...
Adding txWS 0.9.1 to easy-install.pth file

Installed /usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg
Searching for twisted
Reading http://pypi.python.org/simple/twisted/
Best match: Twisted 15.0.0
Downloading https://pypi.python.org/packages/source/T/Twisted/Twisted-15.0.0.tar.bz2#md5=f52bfe112a3aa33dd1d323c7c1e99f16
Processing Twisted-15.0.0.tar.bz2
Running Twisted-15.0.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-W3BoGN/Twisted-15.0.0/egg-dist-tmp-XZ1L1E
cc1: error: unrecognized command line option โ€˜-fstack-protector-strongโ€™
cc1: error: unrecognized command line option โ€˜-fstack-protector-strongโ€™
error: Setup script exited with error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1

shinysdr breaks with undefined symbol: _ZN3uhd6device4findERKNS_13device_addr_tE

This will probably have something to do with gr-osmosdr(I'm filing a bug report over there right after this one but I have to use their mailing list and it's exceptionally hard to search for bugs so who knows what I'm about to find) but I figured I'd bring it to your attention as well.

I've compiled, recompiled, etc. gr-osmosdr and shinysdr but to no avail.

ERROR:shinysdr:main function encountered error
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/main.py", line 47, in main
react(go)
File "/usr/lib/python2.7/site-packages/twisted/internet/task.py", line 875, in react
finished = main(_reactor, *argv)
File "/usr/lib/python2.7/site-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/main.py", line 42, in go
return _main_async(reactor, argv, _abort_for_test)
File "/usr/lib/python2.7/site-packages/twisted/internet/defer.py", line 1237, in unwindGenerator
return _inlineCallbacks(None, gen, Deferred())
--- ---
File "/usr/lib/python2.7/site-packages/twisted/internet/defer.py", line 1099, in _inlineCallbacks
result = g.send(result)
File "/usr/lib/python2.7/site-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/main.py", line 85, in _main_async
execute_config(configObj, args.configFile)
File "/usr/lib/python2.7/site-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/config.py", line 200, in execute_config
execfile(config_file, env)
File "config.cfg", line 1, in
import shinysdr.plugins.osmosdr
File "/usr/lib/python2.7/site-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/plugins/osmosdr.py", line 29, in
import osmosdr
File "/usr/lib/python2.7/site-packages/osmosdr/init.py", line 26, in
from osmosdr_swig import *
File "/usr/lib/python2.7/site-packages/osmosdr/osmosdr_swig.py", line 26, in
_osmosdr_swig = swig_import_helper()
File "/usr/lib/python2.7/site-packages/osmosdr/osmosdr_swig.py", line 22, in swig_import_helper
_mod = imp.load_module('_osmosdr_swig', fp, pathname, description)
exceptions.ImportError: /lib/libgnuradio-osmosdr-0.1.4git.so.0.0.0: undefined symbol: _ZN3uhd6device4findERKNS_13device_addr_tE

INFO:shinysdr:Main loop terminated.

Improve CPU efficiency

Currently, the audio glitches using Shinysdr (buffer under-runs) when streamed aross my network (from Beaglebone to Laptop), however - when I use a command line similar to the following:

rtl_fm -M -l 10 -f 118.82M | sox -t raw -r24k -es -b16 -c1 -V1 - -t mp3 - | socat -u - TCP-LISTEN:18080

The audio streams fine. Would be great if Shinysdr could do similar (in terms of squeezing the audio server side).

Having a look around github, I noticed a Python module for transocding audio:

https://github.com/devsnd/python-audiotranscode

WebServer does not load

Hi!!!
First of all, congratulations for your job.
The issue is simply; when i start the server it is loading client all time.

ignazio@apolo:~/Desktop/shinySDR$ shinysdr intento2
INFO:shinysdr:Log opened.
linux; GNU C++ version 4.8.4; Boost_105400; UHD_003.010.git-119-g42a3eeb6

gr-osmosdr v0.1.4-67-gac15e789 (0.1.5git) gnuradio 3.7.9
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy redpitaya
Using device #0 Realtek RTL2838UHIDIR SN: 00000001
Found Rafael Micro R820T tuner
[R82XX] PLL not locked!
[R82XX] PLL not locked!
INFO: Audio source arch: alsa
Using Volk machine: avx_64_mmx_orc
INFO:shinysdr:Unable to write to plugin cache /usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/plugins/dropin.cache: error number 13
INFO:shinysdr:Unable to write to plugin cache /usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/plugins/aprs/dropin.cache: error number 13
gr-air-modes warning: numpy+scipy not installed, FlightGear interface not supported
INFO:shinysdr:Unable to write to plugin cache /usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/plugins/mode_s/dropin.cache: error number 13
INFO:shinysdr:Unable to write to plugin cache /usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/plugins/vor/dropin.cache: error number 13
INFO:shinysdr:Unable to write to plugin cache /usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/plugins/hamlib/dropin.cache: error number 13
INFO:shinysdr:Unable to write to plugin cache /usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/plugins/rtty/dropin.cache: error number 13
INFO:shinysdr:dbs/: Error opening database directory: OSError(2, 'No such file or directory')
INFO:shinysdr:Constructing...
INFO:shinysdr:Flow graph: Switching RF device to audio
INFO:shinysdr:Flow graph: Rebuilding connections because: initialization, switched device
INFO:shinysdr:Flow graph: ...done reconnecting (7 ms).
INFO:shinysdr:Restoring state...
INFO:shinysdr:Warning: Discarding nonexistent state <shinysdr.session.AppRoot object at 0x7f1fd9c44d50>.source_name = osmo
INFO:shinysdr:Starting web server...
INFO:shinysdr:Unable to write to plugin cache /usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/plugins/dropin.cache: error number 13
INFO:shinysdr:Unable to write to plugin cache /usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/plugins/aprs/dropin.cache: error number 13
INFO:shinysdr:Unable to write to plugin cache /usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/plugins/mode_s/dropin.cache: error number 13
INFO:shinysdr:Unable to write to plugin cache /usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/plugins/vor/dropin.cache: error number 13
INFO:shinysdr:Unable to write to plugin cache /usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/plugins/hamlib/dropin.cache: error number 13
INFO:shinysdr:Unable to write to plugin cache /usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/plugins/rtty/dropin.cache: error number 13
INFO:shinysdr:OurStreamFactory (WebSocketFactory) starting on 8101
INFO:shinysdr:Starting factory <shinysdr.web.OurStreamFactory instance at 0x7f1fc6287c68>
INFO:shinysdr:Starting factory <txws.WebSocketFactory instance at 0x7f1fc6287cb0>
INFO:shinysdr:Site starting on 8100
INFO:shinysdr:Starting factory <twisted.web.server.Site instance at 0x7f1fc624f7a0>
INFO:shinysdr:ShinySDR is ready.
INFO:shinysdr:Visit http://localhost:8100/kbvjf53fCd9EV9CrJOIG_Q/
INFO:shinysdr:"127.0.0.1" - - [04/Feb/2016:20:26:01 +0000] "GET /kbvjf53fCd9EV9CrJOIG_Q/ HTTP/1.1" 200 4090 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/48.0.2564.82 Chrome/48.0.2564.82 Safari/537.36"
INFO:shinysdr:"127.0.0.1" - - [04/Feb/2016:20:26:01 +0000] "GET /client/require.js HTTP/1.1" 404 145 "http://localhost:8100/kbvjf53fCd9EV9CrJOIG_Q/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/48.0.2564.82 Chrome/48.0.2564.82 Safari/537.36"
INFO:shinysdr:"127.0.0.1" - - [04/Feb/2016:20:26:08 +0000] "GET /kbvjf53fCd9EV9CrJOIG_Q/ HTTP/1.1" 200 4090 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/48.0.2564.82 Chrome/48.0.2564.82 Safari/537.36"
INFO:shinysdr:"127.0.0.1" - - [04/Feb/2016:20:26:08 +0000] "GET /client/require.js HTTP/1.1" 404 145 "http://localhost:8100/kbvjf53fCd9EV9CrJOIG_Q/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/48.0.2564.82 Chrome/48.0.2564.82 Safari/537.36"

Overrun and hang after disconnecting

When a client closes a connection and there are no other clients listening, the ShinySDR hangs and outputs the following text:

INFO:shinysdr:Closing connection: '' (1001)
INFO:shinysdr:Closing connection: '' (1001)
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO

I eventually have to 'kill -9' the process and restart it.

From what I have read, this is a buffer overflow issue related to gnu-radio. Is there any solution to this? I have attempted it on two different computers both with substantial resources.

Any help would be appreciated. I really like this software. You did a great job on it.

shinysdr on odroid

hi, im receiving this error. what is your advice? thank you.

sudo python -m shinysdr.main test.config

INFO:shinysdr:Log opened.
linux; GNU C++ version 4.8.2; Boost_105400; UHD_003.008.002-151-gbf4f50de

gr-osmosdr v0.1.4-16-g61184a19 (0.1.5git) gnuradio 3.7.6.1
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace
Using device #0 Generic RTL2832U SN: 77771111153705700
Found Rafael Micro R820T tuner
INFO: Audio source arch: alsa
Home directory not accessible: Permission denied
ERROR: [default]: No such file or directory
ERROR:shinysdr:main function encountered error
Traceback (most recent call last):
File "/opt/shinysdr/shinysdr/main.py", line 54, in main
react(go)
File "/usr/local/lib/python2.7/dist-packages/twisted/internet/task.py", line 875, in react
finished = main(_reactor, *argv)
File "/opt/shinysdr/shinysdr/main.py", line 49, in go
return _main_async(reactor, argv, _abort_for_test)
File "/usr/local/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1253, in unwindGenerator
return _inlineCallbacks(None, gen, Deferred())
--- ---
File "/usr/local/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1107, in _inlineCallbacks
result = g.send(result)
File "/opt/shinysdr/shinysdr/main.py", line 93, in _main_async
execute_config(configObj, args.configFile)
File "shinysdr/config.py", line 226, in execute_config
execfile(config_file, env)
File "test.config", line 15, in
config.devices.add(u'audio', shinysdr.devices.AudioDevice(''))
File "shinysdr/devices.py", line 343, in AudioDevice
quadrature_as_stereo=quadrature_as_stereo)
File "shinysdr/devices.py", line 399, in init
ok_to_block=True)
File "/usr/local/lib/python2.7/dist-packages/gnuradio/audio/audio_swig.py", line 133, in make
return _audio_swig.source_make(_args, *_kwargs)
exceptions.RuntimeError: audio_alsa_source

INFO:shinysdr:Main loop terminated.

crash on Loading clientโ€ฆ Loading pluginsโ€ฆ Connecting to serverโ€ฆ

installed on fresh Linux Mint 17.1 Rebecca fine but however on trying to access it via chrome it crashes...steps I used to install is as follows and the errors below

sudo apt-get update
sudo apt-get upgrade

sudo apt-get install python-setuptools gr-osmosdr git git-core cmake libusb-1.0-0-dev build-essential libc6-dev libcppunit-1.13-0 libcppunit-dev libcppunit-subunit-dev libcppunit-subunit0 libgsl0-dev libgsl0ldbl python-cheetah g++ python-dev swig pkg-config libfftw3-dev libboost1.55-all-dev libcppunit-dev libgsl0-dev libusb-dev libsdl1.2-dev python-wxgtk2.8 python-numpy python-cheetah python-lxml doxygen libxi-dev python-sip libqt4-opengl-dev libqwt-dev libfontconfig1-dev libxrender-dev python-sip python-sip-dev

git clone git://git.osmocom.org/rtl-sdr.git
cd rtl-sdr; mkdir build; cd build
cmake ../ -DINSTALL_UDEV_RULES=ON -DDETACH_KERNEL_DRIVER=ON
make
sudo make install
sudo ldconfig
sudo cp ~/rtl-sdr/rtl-sdr.rules /etc/udev/rules.d/
rtl_test -t
(the test shows the RTL device...)

export PYTHONPATH=/usr/lib/python2.7/dist-packages

git clone --recursive http://git.gnuradio.org/git/gnuradio.git

cd gnuradio
mkdir build
cd build
cmake ../
make
make test
(tests all come back passed)
sudo make install

git clone https://github.com/kpreid/shinysdr.git
cd shinysdr
./fetch-js-deps.sh
sudo python setup.py install
python -m shinysdr.main --create ~/.shinysdr_settings
python -m shinysdr.main ~/.shinysdr_settings

INFO:shinysdr:Log opened.
linux; GNU C++ version 4.8.2; Boost_105400; UHD_003.005.005-0-unknown

gr-osmosdr 0.1.1 (0.1.1) gnuradio 3.7.2.1
built-in source types: file osmosdr fcd rtl rtl_tcp uhd hackrf bladerf rfspace
Using device #0 Realtek RTL2838UHIDIR SN: 00000001
Found Rafael Micro R820T tuner
INFO: Audio source arch: alsa
Home directory not accessible: Permission denied
Using Volk machine: ssse3_64
Using Volk machine: ssse3_64_orc
INFO:shinysdr:dbs/: Error opening database directory: OSError(2, 'No such file or directory')
INFO:shinysdr:Constructing flow graph...
INFO:shinysdr:Flow graph: Switching RF source
INFO:shinysdr:Flow graph: Changing sample rates
INFO:shinysdr:Flow graph: Rebuilding connections
INFO:shinysdr:Flow graph: ...done reconnecting.
INFO:shinysdr:Restoring state...
INFO:shinysdr:Flow graph: Switching RF source
INFO:shinysdr:Flow graph: Changing sample rates
INFO:shinysdr:Flow graph: Rebuilding connections
INFO:shinysdr:Flow graph: ...done reconnecting.
INFO:shinysdr:Starting web server...
INFO:shinysdr:OurStreamFactory (WebSocketFactory) starting on 8101
INFO:shinysdr:Starting factory <shinysdr.web.OurStreamFactory instance at 0x7f705ff5ecf8>
INFO:shinysdr:Starting factory <txws.WebSocketFactory instance at 0x7f705ff5ed40>
INFO:shinysdr:Site starting on 8100
INFO:shinysdr:Starting factory <twisted.web.server.Site instance at 0x7f705ff0d7e8>
INFO:shinysdr:ShinySDR is ready.
INFO:shinysdr:Visit http://localhost:8100/None/
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOINFO:shinysdr:"10.1.1.10" - - [11/Apr/2015:17:14:52 +0000] "GET /None/ HTTP/1.1" 200 3729 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36"
OINFO:shinysdr:"10.1.1.10" - - [11/Apr/2015:17:14:52 +0000] "GET /client/ui.css HTTP/1.1" 304 - "http://10.1.1.43:8100/None/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36"
INFO:shinysdr:"10.1.1.10" - - [11/Apr/2015:17:14:52 +0000] "GET /client/theme.css HTTP/1.1" 304 - "http://10.1.1.43:8100/None/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36"
INFO:shinysdr:"10.1.1.10" - - [11/Apr/2015:17:14:52 +0000] "GET /client/openlayers/OpenLayers.debug.js HTTP/1.1" 304 - "http://10.1.1.43:8100/None/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36"
INFO:shinysdr:"10.1.1.10" - - [11/Apr/2015:17:14:52 +0000] "GET /client/require.js HTTP/1.1" 304 - "http://10.1.1.43:8100/None/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36"
OINFO:shinysdr:"10.1.1.10" - - [11/Apr/2015:17:14:52 +0000] "GET /favicon.ico HTTP/1.1" 404 145 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36"
INFO:shinysdr:"10.1.1.10" - - [11/Apr/2015:17:14:52 +0000] "GET /client/main.js HTTP/1.1" 304 - "http://10.1.1.43:8100/None/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36"
INFO:shinysdr:"10.1.1.10" - - [11/Apr/2015:17:14:52 +0000] "GET /client/values.js HTTP/1.1" 304 - "http://10.1.1.43:8100/None/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36"
INFO:shinysdr:"10.1.1.10" - - [11/Apr/2015:17:14:52 +0000] "GET /client/events.js HTTP/1.1" 304 - "http://10.1.1.43:8100/None/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36"
INFO:shinysdr:"10.1.1.10" - - [11/Apr/2015:17:14:52 +0000] "GET /client/database.js HTTP/1.1" 304 - "http://10.1.1.43:8100/None/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36"
INFO:shinysdr:"10.1.1.10" - - [11/Apr/2015:17:14:52 +0000] "GET /client/network.js HTTP/1.1" 304 - "http://10.1.1.43:8100/None/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36"
INFO:shinysdr:"10.1.1.10" - - [11/Apr/2015:17:14:52 +0000] "GET /client/maps.js HTTP/1.1" 304 - "http://10.1.1.43:8100/None/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36"
INFO:shinysdr:"10.1.1.10" - - [11/Apr/2015:17:14:52 +0000] "GET /client/widget.js HTTP/1.1" 304 - "http://10.1.1.43:8100/None/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36"
INFO:shinysdr:"10.1.1.10" - - [11/Apr/2015:17:14:52 +0000] "GET /client/widgets.js HTTP/1.1" 304 - "http://10.1.1.43:8100/None/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36"
INFO:shinysdr:"10.1.1.10" - - [11/Apr/2015:17:14:52 +0000] "GET /client/audio.js HTTP/1.1" 304 - "http://10.1.1.43:8100/None/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36"
INFO:shinysdr:"10.1.1.10" - - [11/Apr/2015:17:14:52 +0000] "GET /client/window-manager.js HTTP/1.1" 304 - "http://10.1.1.43:8100/None/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36"
OINFO:shinysdr:"10.1.1.10" - - [11/Apr/2015:17:14:52 +0000] "GET /None/dbs/ HTTP/1.1" 200 39 "http://10.1.1.43:8100/None/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36"
INFO:shinysdr:"10.1.1.10" - - [11/Apr/2015:17:14:52 +0000] "GET /None/wdb/ HTTP/1.1" 200 2 "http://10.1.1.43:8100/None/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36"
INFO:shinysdr:"10.1.1.10" - - [11/Apr/2015:17:14:52 +0000] "GET /client/plugin-index.json HTTP/1.1" 200 215 "http://10.1.1.43:8100/None/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36"
INFO:shinysdr:"10.1.1.10" - - [11/Apr/2015:17:14:52 +0000] "GET /client/plugins/shinysdr.plugins.mode_s/mode_s.js HTTP/1.1" 304 - "http://10.1.1.43:8100/None/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36"
INFO:shinysdr:"10.1.1.10" - - [11/Apr/2015:17:14:52 +0000] "GET /client/plugins/shinysdr.plugins.vor/vor.js HTTP/1.1" 304 - "http://10.1.1.43:8100/None/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36"
INFO:shinysdr:"10.1.1.10" - - [11/Apr/2015:17:14:52 +0000] "GET /client/plugins/shinysdr.plugins.aprs/aprs.js HTTP/1.1" 304 - "http://10.1.1.43:8100/None/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36"
INFO:shinysdr:"10.1.1.10" - - [11/Apr/2015:17:14:52 +0000] "GET /client/plugins/shinysdr.plugins.hamlib/hamlib.js HTTP/1.1" 304 - "http://10.1.1.43:8100/None/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36"
INFO:shinysdr:Starting RFC 6455 conversation
INFO:shinysdr:Stream connection to /None/radio

fetch-js-deps.sh not placing require.js and openlayers in webstatic dir

Fresh install using fetch-js-deps.sh, getting 404 for:
GET http://myhost:8000/client/require.js
GET http://myhost:8000/client/openlayers/OpenLayers.debug.js

Used install.py

Despite putting the files in every place I can find
/home/ryan_turner/shinysdr/build/lib.linux-x86_64-2.7/shinysdr/webstatic/client/
/home/ryan_turner/shinysdr/shinysdr/webstatic/client/
/usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/webstatic/client/

The file shows up in a directory listing when I go to http://myhost:8000/client/, but when I open the file is 404s.

radio.clip_warning ui fix

In some circumstances this warning container appears and disappears continuously, causing the widgets to move up and down inside the sidebar.
This is because of the display:none property.
You can fix this easily using visibility:hidden or some other css tricks in order to reserve the space for the alert.

screen shot 2016-09-01 at 21 23 08

exceptions.AttributeError: 'module' object has no attribute 'rotator_cc'

the pi2 doesnt have enough horsepower to do sdr well.... so I flattened a machine and put a fresh linux mint install on it and did the following:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
reboot
sudo apt-get install git git-core cmake libusb-1.0-0-dev build-essential libc6-dev gnuradio gr-osmosdr python-setuptools python-dev python-numpy python-txws
git clone https://github.com/kpreid/shinysdr.git
./fetch-js-deps.sh
python setup.py install
shinysdr --create shinysdr.config
shinysdr shinysdr.config

but I am getting the following error:
INFO:shinysdr:Log opened.
linux; GNU C++ version 4.8.2; Boost_105400; UHD_003.005.005-0-unknown

gr-osmosdr 0.1.1 (0.1.1) gnuradio 3.7.2.1
built-in source types: file osmosdr fcd rtl rtl_tcp uhd hackrf bladerf rfspace
Using device #0 Realtek RTL2838UHIDIR SN: 00000001
Detached kernel driver
Found Rafael Micro R820T tuner
Home directory not accessible: Permission denied
Using Volk machine: ssse3_64_orc
ERROR:shinysdr:main function encountered error
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/main.py", line 54, in main
react(go)
File "/usr/local/lib/python2.7/dist-packages/Twisted-15.0.0-py2.7-linux-x86_64.egg/twisted/internet/task.py", line 875, in react
finished = main(_reactor, *argv)
File "/usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/main.py", line 49, in go
return _main_async(reactor, argv, _abort_for_test)
File "/usr/local/lib/python2.7/dist-packages/Twisted-15.0.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py", line 1253, in unwindGenerator
return _inlineCallbacks(None, gen, Deferred())
--- ---
File "/usr/local/lib/python2.7/dist-packages/Twisted-15.0.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py", line 1107, in _inlineCallbacks
result = g.send(result)
File "/usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/main.py", line 93, in _main_async
execute_config(configObj, args.configFile)
File "/usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/config.py", line 226, in execute_config
execfile(config_file, env)
File "shinysdr.config", line 18, in
config.devices.add(u'sim', shinysdr.plugins.simulate.SimulatedDevice())
File "/usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/plugins/simulate.py", line 51, in SimulatedDevice
rx_driver=_SimulatedRXDriver(name))
File "/usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/plugins/simulate.py", line 115, in init
add_modulator(0.0, 'usb', 'USB')
File "/usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/plugins/simulate.py", line 103, in add_modulator
tx = _SimulatedTransmitter(modulator, audio_rate, rf_rate, freq)
File "/usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/plugins/simulate.py", line 201, in init
self.__rotator = blocks.rotator_cc(rotator_inc(rate=rf_rate, shift=freq))
exceptions.AttributeError: 'module' object has no attribute 'rotator_cc'

INFO:shinysdr:Main loop terminated.
Reattached kernel driver

anyone have any ideas??

Lost the receiver!

Great work so far!
I was playing around with a remote setup and I clicked the X in the receiver and it closed (well duhhh)
But now I cannot for the life of me get it back
Even went so far as to setup a separate folder to run from!
I've flushed browser history and tried my phone as well
Can't select a freq or change the center
I've purged and reinstalled twisted
Where did it go?
brokenshinysdr

Compact receiver controls

Since the HF band conditions have been a bit more stable the past weeks, and i got my power supply for the remote equipment a bit more nailed down
ive run across a thing that might be of benefit to a "power user"
here is a page grab of Shiny running 4 receivers in the 15m band, i had it stretched across both monitors to give it a bit more of a dramatic effect.
https://goo.gl/mQLVmO
but as you can see one can only garner info from 2 to 3 of the recivers at once.
maybe a compact view with drop down mode selection menu instead of buttons, and maybe even just numbers for the agc,signal level and such.
or even a similar compact receiver across the bottom of the page.
so really just a simple view that allows more concentrated information.

please note the Ionosonde thats passing up band on this shot, pretty cool huh?
im such a radio geek.....

Investigate WebRTC

Right now, receive audio is delivered to the client as a custom protocol over WebSockets and then copied via JavaScript into Web Audio buffers. This is problematic in a number of ways:

  • It is sending audio over a TCP connection. (That is, lost packets cause retries and therefore long interruptions rather than simply forgetting it and continuing.)
  • It requires the client JS to do "real-time" work, and has significant latency.
  • It generally lacks any cleverness in solving the voice-over-IP problem well.

The way to improve this situation that I see is to use WebRTC instead. I assume this would allow the client JS to get out of the way of the audio samples, improve latency, use UDP if possible, compress, etc.

However, most of the documentation I have found for WebRTC describes how to get two browsers to talk to each other, possibly with an off-the-shelf intermediary server. We need to find documentation of the actual VoIP protocol(s) used by WebRTC and figure out whether it would be practical to implement one in Twisted (or use an external process to handle it).

USRP2 problem

I just installed shinysdr ant server runs fine until I try to connect to it ๐Ÿ‘
gr-osmosdr v0.1.4-29-g44c223cb (0.1.5git) gnuradio v3.7.7.1-120-g67463e74
built-in source types: file osmosdr fcd rtl rtl_tcp uhd hackrf bladerf rfspace
-- Opening a USRP2/N-Series device...
-- Current recv frame size: 1472 bytes
-- Current send frame size: 1472 bytes
-- Using subdev spec 'A:AB'.
Using Volk machine: avx_64_mmx
INFO:shinysdr:dbs/: Error opening database directory: OSError(2, 'No such file or directory')
INFO:shinysdr:Constructing flow graph...
INFO:shinysdr:Flow graph: Switching RF device to osmo
INFO:shinysdr:Flow graph: Rebuilding connections because: initialization, switched device
INFO:shinysdr:Flow graph: ...done reconnecting (4 ms).
INFO:shinysdr:Restoring state...
INFO:shinysdr:Starting web server...
INFO:shinysdr:OurStreamFactory (WebSocketFactory) starting on 8101
INFO:shinysdr:Starting factory <shinysdr.web.OurStreamFactory instance at 0x7f8c5835e8c0>
INFO:shinysdr:Starting factory <txws.WebSocketFactory instance at 0x7f8c5835e950>
INFO:shinysdr:Site starting on 8100
INFO:shinysdr:Starting factory <twisted.web.server.Site instance at 0x7f8c58369758>
INFO:shinysdr:ShinySDR is ready.
INFO:shinysdr:Visit http://localhost:8100/T8BO2WdC56UBqFgKeQA1BA/
INFO:shinysdr:Starting RFC 6455 conversation
INFO:shinysdr:Stream connection to /T8BO2WdC56UBqFgKeQA1BA/audio?rate=44100
INFO:shinysdr:Flow graph: Rebuilding connections because: added audio queue
INFO:shinysdr:Flow graph: ...done reconnecting (0 ms).
INFO:shinysdr:Starting RFC 6455 conversation
INFO:shinysdr:Stream connection to /T8BO2WdC56UBqFgKeQA1BA/radio
gr::buffer::allocate_buffer: warning: tried to allocate
4 items of size 4761904. Due to alignment requirements
256 were allocated. If this isn't OK, consider padding
your structure to a power-of-two bytes.
On this platform, our allocation granularity is 4096 bytes.
gr::vmcircbuf_sysv_shm: shmget (1): Invalid argument
gr::vmcircbuf_sysv_shm: shmget (1): Invalid argument
gr::vmcircbuf_sysv_shm: shmget (1): Invalid argument
gr::buffer::allocate_buffer: failed to allocate buffer of size 1190476 KB
gr::buffer::allocate_buffer: warning: tried to allocate
4 items of size 4761904. Due to alignment requirements
256 were allocated. If this isn't OK, consider padding
your structure to a power-of-two bytes.
On this platform, our allocation granularity is 4096 bytes.
gr::vmcircbuf_sysv_shm: shmget (1): Invalid argument
gr::vmcircbuf_sysv_shm: shmget (1): Invalid argument
gr::vmcircbuf_sysv_shm: shmget (1): Invalid argument
gr::buffer::allocate_buffer: failed to allocate buffer of size 1190476 KB
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc

I increased my shmmax
cat /proc/sys/kernel/shmmax
4294967296

but still the same. Osmocom source works fine from GRC.

shinysdr in google chrome at iPad

Hi,

Great development progress. Shortly I did try shinysdr in google chrome at my iPad. I am using the latest iOS version and I want to report how it's working. Good thing is that the web interface elements of shinysdr are controllable. There are some minor design issues, but that's not the problem. One problem is, that you have no sound output. Do you think you can fix it?
Let me know when you need further information.

Regards,
e-skulk

open to the network / world

I can access it via local lan, I was going to put it on the internet, I opened up the port 8100
and to ease usage I removed the following from the conf file
root_cap=

but I get as far as:
Loading clientโ€ฆ
Loading pluginsโ€ฆ
Connecting to serverโ€ฆ

is there something else I can do to let it through??

the problem about installation

hi,when i install you shinysdr,I encounter problems:
mitchell@mitchell-desktop:~/sdr/shinysdr$ sudo shinysdr 1
INFO:shinysdr:Log opened.
linux; GNU C++ version 4.8.2; Boost_105400; UHD_003.005.005-0-unknown

gr-osmosdr 0.1.1 (0.1.1) gnuradio 3.7.2.1
built-in source types: file osmosdr fcd rtl rtl_tcp uhd hackrf bladerf rfspace
Using device #0 Realtek RTL2838UHIDIR SN: 00000001
Found Rafael Micro R820T tuner
Using Volk machine: sse4_2_64_orc
ERROR:shinysdr:main function encountered error
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/main.py", line 54, in main
react(go)
File "/usr/lib/python2.7/dist-packages/twisted/internet/task.py", line 867, in react
finished = main(_reactor, *argv)
File "/usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/main.py", line 49, in go
return _main_async(reactor, argv, _abort_for_test)
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1237, in unwindGenerator
return _inlineCallbacks(None, gen, Deferred())
--- ---
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1099, in _inlineCallbacks
result = g.send(result)
File "/usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/main.py", line 93, in _main_async
execute_config(configObj, args.configFile)
File "/usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/config.py", line 226, in execute_config
execfile(config_file, env)
File "1", line 18, in
config.devices.add(u'sim', shinysdr.plugins.simulate.SimulatedDevice())
File "/usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/plugins/simulate.py", line 52, in SimulatedDevice
rx_driver=_SimulatedRXDriver(name))
File "/usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/plugins/simulate.py", line 117, in init
add_modulator(0.0, 'usb', 'USB')
File "/usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/plugins/simulate.py", line 105, in add_modulator
tx = _SimulatedTransmitter(modulator, audio_rate, rf_rate, freq)
File "/usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/plugins/simulate.py", line 203, in init
self.__rotator = blocks.rotator_cc(rotator_inc(rate=rf_rate, shift=freq))
exceptions.AttributeError: 'module' object has no attribute 'rotator_cc'

INFO:shinysdr:Main loop terminated.
Can you tell me how can I solve it?

gnuradio.blocks not present?

I downloaded ShinySDR to my mac, installed the latest version of gnuradio, but Iโ€™m getting an odd error:

eben$ shinysdr --create ~/shiny.config
INFO:shinysdr:Log opened.
The following libraries/programs are missing:
    GNU Radio  (Check: gnuradio.blocks not present.)
The following libraries/programs are too old:
    GNU Radio  (Check: gnuradio.blocks.rotator_cc not present.)
Please (re)install current versions.
INFO:shinysdr:Main loop terminated.

But gnuradio is there:

eben$ sudo port list gnu radio
Password:
gnuradio                       @3.7.9.2        science/gnuradio

All my web searches for gnuradio.blocks suggest that it's part of gnuradio, and I don't see anything related to 'gnuradio.blocks' in the README file.

Do you have any suggestions?

Thanks!

Telemetry receivers don't run unless there is audio/waterfall

Telemetry receivers (currently APRS and ADS-B/Mode S) produce useful output (messages sent to the telemetry store) which is useful even if nobody is looking, but the start/stop logic in Top doesn't know this and will stop the flow graph if the regular conditions aren't met (client connected and spectrum unpaused or a receiver with audio exists).

This is a long-standing bug but was made worse by commit 626dcc7 which causes telemetry receivers to be recognized as not having audio outputs, so even if a client is connected, telemetry won't work unless the spectrum is unpaused.

Fix: there should be a protocol for demodulators (and hence receivers) to declare that they will be producing message outputs. Such should then be counted as reasons to run the flow graph.

Further considerations:

Whether telemetry receivers should be run if there are no clients connected at all. Pro: Always having fresh data when a client connects. Con: CPU time spent collecting data no one will look at. This might make sense as a server configuration option (along with config.set_stereo and the lite mode I've played with).

There will also eventually be data modes which are not telemetry. However, it's not obvious that they will need different treatment.

Create a troubleshooting guide

There should be a section in the manual about problems people encounter that aren't bugs-to-just-be-fixed and can't be or aren't yet handled in the code. Examples of the kind of thing:

It would also be useful if the manual could be read without having successfully installed and started ShinySDR (i.e. it was on a public web site), but that's another issue.

ImportError: No module named dsd_swig

Hi, i've just built gr-dsd from source but the DSD demodulator is not showing inside shinysdr.
Looking at the source code I've found this snippet:

try:
from dsd import block_ff as dsd_block_ff
_available = True
except ImportError:
_available = False

I think the problem is that shinysdr can't find the dsd python module.
I've manually tried to import this module inside a python script but I got this error:

from dsd import block_ff as dsd_block_ff
Traceback (most recent call last):
File "", line 1, in
File "**/usr/lib/python2.7/dist-packages/**dsd/init.py", line 45, in
from dsd_swig import *
ImportError: No module named dsd_swig

I've also checked the PYTHON_PATH running:
python -c "import sys; print '\n'.join(sys.path)"

and the response is:

/usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg
/usr/local/lib/python2.7/dist-packages/ephem-3.7.6.0-py2.7-linux-armv7l.egg
/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg
/usr/local/lib/python2.7/dist-packages/Twisted-16.3.2-py2.7-linux-armv7l.egg
/usr/local/lib/python2.7/dist-packages/zope.interface-4.2.0-py2.7-linux-armv7l.egg
/usr/lib/python2.7/dist-packages
/usr/lib/python2.7
/usr/lib/python2.7/plat-arm-linux-gnueabihf
/usr/lib/python2.7/lib-tk
/usr/lib/python2.7/lib-old
/usr/lib/python2.7/lib-dynload
/usr/local/lib/python2.7/dist-packages
/usr/lib/python2.7/dist-packages/PILcompat
/usr/lib/python2.7/dist-packages/gtk-2.0
/usr/lib/pymodules/python2.7
/usr/lib/python2.7/dist-packages/wx-3.0-gtk2

Searching for "gr-dsd" in the filesystem:

/usr/lib/libgr-dsd.so
/usr/local/lib/libgr-dsd.so

Any idea?
How can I fix this error?
Thank you =)

Squelch problem in NFM

Hi,

I noticed that I can not get audio on NFM. Tested on radio amateur and ship traffic frequencies, signal is above the squelch level but there is no audio. A workaround is to turn up the RF Gain then at once the audio does appear. Lowering the gain (making reception much cleaner) does mute the audio again. Tried to slide the squelch right - left but no luck.

No problem on AM or SSB.

Any hints on this ?

Thanks,
Ben

"list contains invalid format!"

Any idea on where to start looking? I'm trying to use HackRF... this previously worked great with a standard RTLSDR stick..

Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/twisted/web/http.py", line 1438, in dataReceived
finishCallback(data[contentLength:])
File "/usr/lib/python2.7/dist-packages/twisted/web/http.py", line 1667, in _finishRequestBody
self.allContentReceived()
File "/usr/lib/python2.7/dist-packages/twisted/web/http.py", line 1730, in allContentReceived
req.requestReceived(command, path, version)
File "/usr/lib/python2.7/dist-packages/twisted/web/http.py", line 826, in requestReceived
self.process()
--- ---
File "/usr/lib/python2.7/dist-packages/twisted/web/server.py", line 189, in process
self.render(resrc)
File "/usr/lib/python2.7/dist-packages/twisted/web/server.py", line 238, in render
body = resrc.render(self)
File "/usr/lib/python2.7/dist-packages/twisted/web/resource.py", line 250, in render
return m(request)
File "/usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/web.py", line 117, in render_PUT
self._cell.set(self.grparse(data))
File "/usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/values.py", line 145, in set
return self._setter(self._ctor(value))
File "/usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/top.py", line 346, in set_unpaused
self.__start_or_stop()
File "/usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/top.py", line 353, in __start_or_stop
self.start()
File "/usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/top.py", line 332, in start
super(Top, self).start(*_kwargs)
File "/usr/lib/python2.7/dist-packages/gnuradio/gr/top_block.py", line 103, in start
top_block_start_unlocked(self._tb, max_noutput_items)
File "/usr/lib/python2.7/dist-packages/gnuradio/gr/runtime_swig.py", line 4585, in top_block_start_unlocked
return _runtime_swig.top_block_start_unlocked(_args, **kwargs)
exceptions.RuntimeError: list contains invalid format!

CONFIG:
config.devices.add(u'osmo',shinysdr.plugins.osmosdr.OsmoSDRDevice(''))

also tried OsmoSDRDevice("hackrf"), etc.

Thanks in advance!

Raspberry Pi 2 - rtlsdr_read_async returned with -5

Hi there,

I've installed Shinysdr on a raspberry pi 2 running Raspbian Wheezy - (and it looks really promising). I got rid of Alsa from the config file (as per our previous thread) - however, when I try and retune from the web interface, I get the following messages and it hangs the session:

rtlsdr_read_async returned with -5
INFO:shinysdr:Flow graph: ...done reconnecting (20 ms).
INFO:shinysdr:192.168.1.65 - - [14/Aug/2015:20:34:25 +0000] "PUT /51sSBRbBTwHsM6xR-4WJ2g/radio/sources/osmo/rx_driver/agc HTTP/1.1" 204 - "http://ham:8100/51sSBRbBTwHsM6xR-4WJ2g/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36"
INFO:shinysdr:Constructed AM demodulator: 124 ms.
rtlsdr_read_async returned with -5

Any idea's on how to fix this?

Many thanks!

Create web site _about_ ShinySDR.

Since the selling-point of this project seems to be ease of use/having a nice UI, it seems weird not to demonstrate this non-clunkiness in the readme with a couple of screenshots. I'd be far more likely to install and mess about with this if I knew what it looked like in advance.

When click to waterfall returns error and terminate

Personally, thank you for your great effort on shinysdr!
Issue:

When i connect to server(i can't hear any sound) if i will click to waterfall its crashing, returning:
"rtlsdr_read_async returned with -5"
and terminates.

The only error is: INFO:shinysdr:dbs/: Error opening database directory: OSError(2, 'No such file or directory')

setup.py fail

pi@kj6dzbSDR ~/shinysdr $ ./setup.py
from: can't read /var/mail/setuptools
./setup.py: line 23: syntax error near unexpected token newline' ./setup.py: line 23:setup('

UI breaks when the server is restarted

If the server is restarted and the client (web page) is not reloaded, then various things will break; in particular if the source center frequency is changed, the frequency scale and click-to-tune will not update properly.

This is a known issue and requires various architectural changes to fix.

many errors but final one is :exceptions.AttributeError: 'module' object has no attribute 'PY2'

out put from ""shinysdr ~/.shinysdr_settings"" as follows

INFO:shinysdr:Log opened.
linux; GNU C++ version 4.8.1; Boost_105300; UHD_003.008.001-105-g91ae742f

gr-osmosdr v0.1.4-9-g48045b59 (0.1.5git) gnuradio 3.7.6.1
built-in source types: file fcd rtl rtl_tcp uhd hackrf bladerf rfspace airspy
Using device #0 Realtek RTL2838UHIDIR
Found Fitipower FC0013 tuner
INFO: Audio source arch: alsa
Using Volk machine: avx_64_mmx_orc
ERROR:shinysdr:Unhandled Error
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/plugins/simulate.py", line 99, in add_modulator
mode_def = lookup_mode(mode)
File "/usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/modes.py", line 144, in lookup_mode
for mode_def in get_modes():
File "/usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/modes.py", line 136, in get_modes
return [p for p in getPlugins(_IModeDef, plugins) if p.available]
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/plugin.py", line 209, in getPlugins
allDropins = getCache(package)
--- ---
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/plugin.py", line 167, in getCache
provider = pluginModule.load()
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/modules.py", line 383, in load
return self.pathEntry.pythonPath.moduleLoader(self.name)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/reflect.py", line 303, in namedAny
topLevelPackage = _importAndCheckStack(trialname)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/reflect.py", line 250, in _importAndCheckStack
reraise(excValue, excTraceback)
File "/usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/plugins/rtty/init.py", line 35, in
import rtty # gr-rtty
exceptions.ImportError: No module named rtty

ERROR:shinysdr:Unhandled Error
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/plugins/simulate.py", line 99, in add_modulator
mode_def = lookup_mode(mode)
File "/usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/modes.py", line 144, in lookup_mode
for mode_def in get_modes():
File "/usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/modes.py", line 136, in get_modes
return [p for p in getPlugins(_IModeDef, plugins) if p.available]
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/plugin.py", line 209, in getPlugins
allDropins = getCache(package)
--- ---
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/plugin.py", line 167, in getCache
provider = pluginModule.load()
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/modules.py", line 383, in load
return self.pathEntry.pythonPath.moduleLoader(self.name)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/reflect.py", line 303, in namedAny
topLevelPackage = _importAndCheckStack(trialname)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/reflect.py", line 250, in _importAndCheckStack
reraise(excValue, excTraceback)
File "/usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/plugins/rtty/init.py", line 35, in
import rtty # gr-rtty
exceptions.ImportError: No module named rtty

ERROR:shinysdr:Unhandled Error
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/plugins/simulate.py", line 99, in add_modulator
mode_def = lookup_mode(mode)
File "/usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/modes.py", line 144, in lookup_mode
for mode_def in get_modes():
File "/usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/modes.py", line 136, in get_modes
return [p for p in getPlugins(_IModeDef, plugins) if p.available]
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/plugin.py", line 209, in getPlugins
allDropins = getCache(package)
--- ---
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/plugin.py", line 167, in getCache
provider = pluginModule.load()
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/modules.py", line 383, in load
return self.pathEntry.pythonPath.moduleLoader(self.name)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/reflect.py", line 303, in namedAny
topLevelPackage = _importAndCheckStack(trialname)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/reflect.py", line 250, in _importAndCheckStack
reraise(excValue, excTraceback)
File "/usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/plugins/rtty/init.py", line 35, in
import rtty # gr-rtty
exceptions.ImportError: No module named rtty

ERROR:shinysdr:Unhandled Error
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/plugins/simulate.py", line 99, in add_modulator
mode_def = lookup_mode(mode)
File "/usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/modes.py", line 144, in lookup_mode
for mode_def in get_modes():
File "/usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/modes.py", line 136, in get_modes
return [p for p in getPlugins(_IModeDef, plugins) if p.available]
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/plugin.py", line 209, in getPlugins
allDropins = getCache(package)
--- ---
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/plugin.py", line 167, in getCache
provider = pluginModule.load()
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/modules.py", line 383, in load
return self.pathEntry.pythonPath.moduleLoader(self.name)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/reflect.py", line 303, in namedAny
topLevelPackage = _importAndCheckStack(trialname)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/reflect.py", line 250, in _importAndCheckStack
reraise(excValue, excTraceback)
File "/usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/plugins/rtty/init.py", line 35, in
import rtty # gr-rtty
exceptions.ImportError: No module named rtty

ERROR:shinysdr:Unhandled Error
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/plugins/simulate.py", line 99, in add_modulator
mode_def = lookup_mode(mode)
File "/usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/modes.py", line 144, in lookup_mode
for mode_def in get_modes():
File "/usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/modes.py", line 136, in get_modes
return [p for p in getPlugins(_IModeDef, plugins) if p.available]
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/plugin.py", line 209, in getPlugins
allDropins = getCache(package)
--- ---
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/plugin.py", line 167, in getCache
provider = pluginModule.load()
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/modules.py", line 383, in load
return self.pathEntry.pythonPath.moduleLoader(self.name)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/reflect.py", line 303, in namedAny
topLevelPackage = _importAndCheckStack(trialname)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/reflect.py", line 250, in _importAndCheckStack
reraise(excValue, excTraceback)
File "/usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/plugins/rtty/init.py", line 35, in
import rtty # gr-rtty
exceptions.ImportError: No module named rtty

ERROR:shinysdr:Unhandled Error
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/plugins/simulate.py", line 99, in add_modulator
mode_def = lookup_mode(mode)
File "/usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/modes.py", line 144, in lookup_mode
for mode_def in get_modes():
File "/usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/modes.py", line 136, in get_modes
return [p for p in getPlugins(_IModeDef, plugins) if p.available]
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/plugin.py", line 209, in getPlugins
allDropins = getCache(package)
--- ---
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/plugin.py", line 167, in getCache
provider = pluginModule.load()
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/modules.py", line 383, in load
return self.pathEntry.pythonPath.moduleLoader(self.name)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/reflect.py", line 303, in namedAny
topLevelPackage = _importAndCheckStack(trialname)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/reflect.py", line 250, in _importAndCheckStack
reraise(excValue, excTraceback)
File "/usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/plugins/rtty/init.py", line 35, in
import rtty # gr-rtty
exceptions.ImportError: No module named rtty

INFO:shinysdr:dbs/: Error opening database directory: OSError(2, 'No such file or directory')
INFO:shinysdr:Constructing flow graph...
INFO:shinysdr:Flow graph: Switching RF source
INFO:shinysdr:Flow graph: Changing sample rates
INFO:shinysdr:Flow graph: Rebuilding connections
INFO:shinysdr:Flow graph: ...done reconnecting.
INFO:shinysdr:Restoring state...
INFO:shinysdr:Flow graph: Switching RF source
INFO:shinysdr:Flow graph: Changing sample rates
INFO:shinysdr:Flow graph: Rebuilding connections
INFO:shinysdr:Flow graph: ...done reconnecting.
INFO:shinysdr:Starting web server...
ERROR:shinysdr:Unhandled Error
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/main.py", line 120, in _main_async
IService(maker(top, noteDirty)).setServiceParent(services)
File "/usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/config.py", line 116, in make_service
title=title)
File "/usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/web.py", line 745, in init
for resource_def in getPlugins(IClientResourceDef, shinysdr.plugins):
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/plugin.py", line 209, in getPlugins
allDropins = getCache(package)
--- ---
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/plugin.py", line 167, in getCache
provider = pluginModule.load()
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/modules.py", line 383, in load
return self.pathEntry.pythonPath.moduleLoader(self.name)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/reflect.py", line 303, in namedAny
topLevelPackage = _importAndCheckStack(trialname)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/reflect.py", line 250, in _importAndCheckStack
reraise(excValue, excTraceback)
File "/usr/local/lib/python2.7/dist-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/plugins/rtty/init.py", line 35, in
import rtty # gr-rtty
exceptions.ImportError: No module named rtty

INFO:shinysdr:OurStreamFactory (WebSocketFactory) starting on 8101
INFO:shinysdr:Starting factory <shinysdr.web.OurStreamFactory instance at 0x5ee4248>
INFO:shinysdr:Starting factory <txws.WebSocketFactory instance at 0x5ee4290>
INFO:shinysdr:Site starting on 8100
INFO:shinysdr:Starting factory <twisted.web.server.Site instance at 0x61173f8>
INFO:shinysdr:ShinySDR is ready.
INFO:shinysdr:Visit http://localhost:8100/mdAmWQe0VeDDRQXC_0cFWQ/
INFO:shinysdr:Starting RFC 6455 conversation
ERROR:shinysdr:Unhandled Error
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/log.py", line 88, in callWithLogger
return callWithContext({"system": lp}, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/log.py", line 73, in callWithContext
return context.call({ILogContext: newCtx}, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/context.py", line 118, in callWithContext
return self.currentContext().callWithContext(ctx, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/context.py", line 81, in callWithContext
return func(args,*kw)
--- ---
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/posixbase.py", line 614, in _doReadOrWrite
why = selectable.doRead()
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/tcp.py", line 214, in doRead
return self._dataReceived(data)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/tcp.py", line 220, in _dataReceived
rval = self.protocol.dataReceived(data)
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 629, in dataReceived
self.parseFrames()
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 456, in parseFrames
frames, self.buf = parser(self.buf)
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 271, in parse_hybi07_frames
if six.PY2:
exceptions.AttributeError: 'module' object has no attribute 'PY2'

INFO:shinysdr:Starting RFC 6455 conversation
ERROR:shinysdr:Unhandled Error
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/log.py", line 88, in callWithLogger
return callWithContext({"system": lp}, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/log.py", line 73, in callWithContext
return context.call({ILogContext: newCtx}, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/context.py", line 118, in callWithContext
return self.currentContext().callWithContext(ctx, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/context.py", line 81, in callWithContext
return func(args,*kw)
--- ---
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/posixbase.py", line 614, in _doReadOrWrite
why = selectable.doRead()
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/tcp.py", line 214, in doRead
return self._dataReceived(data)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/tcp.py", line 220, in _dataReceived
rval = self.protocol.dataReceived(data)
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 629, in dataReceived
self.parseFrames()
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 456, in parseFrames
frames, self.buf = parser(self.buf)
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 271, in parse_hybi07_frames
if six.PY2:
exceptions.AttributeError: 'module' object has no attribute 'PY2'

INFO:shinysdr:Starting RFC 6455 conversation
ERROR:shinysdr:Unhandled Error
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/log.py", line 88, in callWithLogger
return callWithContext({"system": lp}, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/log.py", line 73, in callWithContext
return context.call({ILogContext: newCtx}, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/context.py", line 118, in callWithContext
return self.currentContext().callWithContext(ctx, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/context.py", line 81, in callWithContext
return func(args,*kw)
--- ---
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/posixbase.py", line 614, in _doReadOrWrite
why = selectable.doRead()
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/tcp.py", line 214, in doRead
return self._dataReceived(data)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/tcp.py", line 220, in _dataReceived
rval = self.protocol.dataReceived(data)
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 629, in dataReceived
self.parseFrames()
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 456, in parseFrames
frames, self.buf = parser(self.buf)
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 271, in parse_hybi07_frames
if six.PY2:
exceptions.AttributeError: 'module' object has no attribute 'PY2'

INFO:shinysdr:Starting RFC 6455 conversation
ERROR:shinysdr:Unhandled Error
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/log.py", line 88, in callWithLogger
return callWithContext({"system": lp}, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/log.py", line 73, in callWithContext
return context.call({ILogContext: newCtx}, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/context.py", line 118, in callWithContext
return self.currentContext().callWithContext(ctx, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/context.py", line 81, in callWithContext
return func(args,*kw)
--- ---
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/posixbase.py", line 614, in _doReadOrWrite
why = selectable.doRead()
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/tcp.py", line 214, in doRead
return self._dataReceived(data)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/tcp.py", line 220, in _dataReceived
rval = self.protocol.dataReceived(data)
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 629, in dataReceived
self.parseFrames()
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 456, in parseFrames
frames, self.buf = parser(self.buf)
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 271, in parse_hybi07_frames
if six.PY2:
exceptions.AttributeError: 'module' object has no attribute 'PY2'

INFO:shinysdr:Starting RFC 6455 conversation
ERROR:shinysdr:Unhandled Error
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/log.py", line 88, in callWithLogger
return callWithContext({"system": lp}, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/log.py", line 73, in callWithContext
return context.call({ILogContext: newCtx}, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/context.py", line 118, in callWithContext
return self.currentContext().callWithContext(ctx, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/context.py", line 81, in callWithContext
return func(args,*kw)
--- ---
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/posixbase.py", line 614, in _doReadOrWrite
why = selectable.doRead()
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/tcp.py", line 214, in doRead
return self._dataReceived(data)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/tcp.py", line 220, in _dataReceived
rval = self.protocol.dataReceived(data)
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 629, in dataReceived
self.parseFrames()
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 456, in parseFrames
frames, self.buf = parser(self.buf)
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 271, in parse_hybi07_frames
if six.PY2:
exceptions.AttributeError: 'module' object has no attribute 'PY2'

INFO:shinysdr:Starting RFC 6455 conversation
ERROR:shinysdr:Unhandled Error
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/log.py", line 88, in callWithLogger
return callWithContext({"system": lp}, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/log.py", line 73, in callWithContext
return context.call({ILogContext: newCtx}, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/context.py", line 118, in callWithContext
return self.currentContext().callWithContext(ctx, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/context.py", line 81, in callWithContext
return func(args,*kw)
--- ---
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/posixbase.py", line 614, in _doReadOrWrite
why = selectable.doRead()
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/tcp.py", line 214, in doRead
return self._dataReceived(data)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/tcp.py", line 220, in _dataReceived
rval = self.protocol.dataReceived(data)
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 629, in dataReceived
self.parseFrames()
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 456, in parseFrames
frames, self.buf = parser(self.buf)
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 271, in parse_hybi07_frames
if six.PY2:
exceptions.AttributeError: 'module' object has no attribute 'PY2'

INFO:shinysdr:Starting RFC 6455 conversation
ERROR:shinysdr:Unhandled Error
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/log.py", line 88, in callWithLogger
return callWithContext({"system": lp}, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/log.py", line 73, in callWithContext
return context.call({ILogContext: newCtx}, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/context.py", line 118, in callWithContext
return self.currentContext().callWithContext(ctx, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/context.py", line 81, in callWithContext
return func(args,*kw)
--- ---
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/posixbase.py", line 614, in _doReadOrWrite
why = selectable.doRead()
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/tcp.py", line 214, in doRead
return self._dataReceived(data)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/tcp.py", line 220, in _dataReceived
rval = self.protocol.dataReceived(data)
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 629, in dataReceived
self.parseFrames()
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 456, in parseFrames
frames, self.buf = parser(self.buf)
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 271, in parse_hybi07_frames
if six.PY2:
exceptions.AttributeError: 'module' object has no attribute 'PY2'

INFO:shinysdr:Starting RFC 6455 conversation
ERROR:shinysdr:Unhandled Error
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/log.py", line 88, in callWithLogger
return callWithContext({"system": lp}, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/log.py", line 73, in callWithContext
return context.call({ILogContext: newCtx}, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/context.py", line 118, in callWithContext
return self.currentContext().callWithContext(ctx, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/context.py", line 81, in callWithContext
return func(args,*kw)
--- ---
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/posixbase.py", line 614, in _doReadOrWrite
why = selectable.doRead()
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/tcp.py", line 214, in doRead
return self._dataReceived(data)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/tcp.py", line 220, in _dataReceived
rval = self.protocol.dataReceived(data)
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 629, in dataReceived
self.parseFrames()
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 456, in parseFrames
frames, self.buf = parser(self.buf)
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 271, in parse_hybi07_frames
if six.PY2:
exceptions.AttributeError: 'module' object has no attribute 'PY2'

INFO:shinysdr:Starting RFC 6455 conversation
ERROR:shinysdr:Unhandled Error
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/log.py", line 88, in callWithLogger
return callWithContext({"system": lp}, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/log.py", line 73, in callWithContext
return context.call({ILogContext: newCtx}, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/context.py", line 118, in callWithContext
return self.currentContext().callWithContext(ctx, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/context.py", line 81, in callWithContext
return func(args,*kw)
--- ---
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/posixbase.py", line 614, in _doReadOrWrite
why = selectable.doRead()
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/tcp.py", line 214, in doRead
return self._dataReceived(data)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/tcp.py", line 220, in _dataReceived
rval = self.protocol.dataReceived(data)
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 629, in dataReceived
self.parseFrames()
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 456, in parseFrames
frames, self.buf = parser(self.buf)
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 271, in parse_hybi07_frames
if six.PY2:
exceptions.AttributeError: 'module' object has no attribute 'PY2'

INFO:shinysdr:Starting RFC 6455 conversation
ERROR:shinysdr:Unhandled Error
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/log.py", line 88, in callWithLogger
return callWithContext({"system": lp}, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/log.py", line 73, in callWithContext
return context.call({ILogContext: newCtx}, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/context.py", line 118, in callWithContext
return self.currentContext().callWithContext(ctx, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/context.py", line 81, in callWithContext
return func(args,*kw)
--- ---
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/posixbase.py", line 614, in _doReadOrWrite
why = selectable.doRead()
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/tcp.py", line 214, in doRead
return self._dataReceived(data)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/tcp.py", line 220, in _dataReceived
rval = self.protocol.dataReceived(data)
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 629, in dataReceived
self.parseFrames()
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 456, in parseFrames
frames, self.buf = parser(self.buf)
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 271, in parse_hybi07_frames
if six.PY2:
exceptions.AttributeError: 'module' object has no attribute 'PY2'

INFO:shinysdr:Starting RFC 6455 conversation
ERROR:shinysdr:Unhandled Error
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/log.py", line 88, in callWithLogger
return callWithContext({"system": lp}, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/log.py", line 73, in callWithContext
return context.call({ILogContext: newCtx}, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/context.py", line 118, in callWithContext
return self.currentContext().callWithContext(ctx, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/context.py", line 81, in callWithContext
return func(args,*kw)
--- ---
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/posixbase.py", line 614, in _doReadOrWrite
why = selectable.doRead()
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/tcp.py", line 214, in doRead
return self._dataReceived(data)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/tcp.py", line 220, in _dataReceived
rval = self.protocol.dataReceived(data)
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 629, in dataReceived
self.parseFrames()
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 456, in parseFrames
frames, self.buf = parser(self.buf)
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 271, in parse_hybi07_frames
if six.PY2:
exceptions.AttributeError: 'module' object has no attribute 'PY2'

INFO:shinysdr:Starting RFC 6455 conversation
ERROR:shinysdr:Unhandled Error
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/log.py", line 88, in callWithLogger
return callWithContext({"system": lp}, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/log.py", line 73, in callWithContext
return context.call({ILogContext: newCtx}, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/context.py", line 118, in callWithContext
return self.currentContext().callWithContext(ctx, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/context.py", line 81, in callWithContext
return func(args,*kw)
--- ---
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/posixbase.py", line 614, in _doReadOrWrite
why = selectable.doRead()
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/tcp.py", line 214, in doRead
return self._dataReceived(data)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/tcp.py", line 220, in _dataReceived
rval = self.protocol.dataReceived(data)
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 629, in dataReceived
self.parseFrames()
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 456, in parseFrames
frames, self.buf = parser(self.buf)
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 271, in parse_hybi07_frames
if six.PY2:
exceptions.AttributeError: 'module' object has no attribute 'PY2'

INFO:shinysdr:Starting RFC 6455 conversation
ERROR:shinysdr:Unhandled Error
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/log.py", line 88, in callWithLogger
return callWithContext({"system": lp}, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/log.py", line 73, in callWithContext
return context.call({ILogContext: newCtx}, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/context.py", line 118, in callWithContext
return self.currentContext().callWithContext(ctx, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/context.py", line 81, in callWithContext
return func(args,*kw)
--- ---
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/posixbase.py", line 614, in _doReadOrWrite
why = selectable.doRead()
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/tcp.py", line 214, in doRead
return self._dataReceived(data)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/tcp.py", line 220, in _dataReceived
rval = self.protocol.dataReceived(data)
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 629, in dataReceived
self.parseFrames()
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 456, in parseFrames
frames, self.buf = parser(self.buf)
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 271, in parse_hybi07_frames
if six.PY2:
exceptions.AttributeError: 'module' object has no attribute 'PY2'

INFO:shinysdr:Starting RFC 6455 conversation
ERROR:shinysdr:Unhandled Error
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/log.py", line 88, in callWithLogger
return callWithContext({"system": lp}, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/log.py", line 73, in callWithContext
return context.call({ILogContext: newCtx}, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/context.py", line 118, in callWithContext
return self.currentContext().callWithContext(ctx, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/context.py", line 81, in callWithContext
return func(args,*kw)
--- ---
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/posixbase.py", line 614, in _doReadOrWrite
why = selectable.doRead()
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/tcp.py", line 214, in doRead
return self._dataReceived(data)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/tcp.py", line 220, in _dataReceived
rval = self.protocol.dataReceived(data)
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 629, in dataReceived
self.parseFrames()
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 456, in parseFrames
frames, self.buf = parser(self.buf)
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 271, in parse_hybi07_frames
if six.PY2:
exceptions.AttributeError: 'module' object has no attribute 'PY2'

INFO:shinysdr:Starting RFC 6455 conversation
ERROR:shinysdr:Unhandled Error
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/log.py", line 88, in callWithLogger
return callWithContext({"system": lp}, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/log.py", line 73, in callWithContext
return context.call({ILogContext: newCtx}, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/context.py", line 118, in callWithContext
return self.currentContext().callWithContext(ctx, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/context.py", line 81, in callWithContext
return func(args,*kw)
--- ---
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/posixbase.py", line 614, in _doReadOrWrite
why = selectable.doRead()
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/tcp.py", line 214, in doRead
return self._dataReceived(data)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/tcp.py", line 220, in _dataReceived
rval = self.protocol.dataReceived(data)
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 629, in dataReceived
self.parseFrames()
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 456, in parseFrames
frames, self.buf = parser(self.buf)
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 271, in parse_hybi07_frames
if six.PY2:
exceptions.AttributeError: 'module' object has no attribute 'PY2'

INFO:shinysdr:Starting RFC 6455 conversation
ERROR:shinysdr:Unhandled Error
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/log.py", line 88, in callWithLogger
return callWithContext({"system": lp}, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/log.py", line 73, in callWithContext
return context.call({ILogContext: newCtx}, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/context.py", line 118, in callWithContext
return self.currentContext().callWithContext(ctx, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/context.py", line 81, in callWithContext
return func(args,*kw)
--- ---
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/posixbase.py", line 614, in _doReadOrWrite
why = selectable.doRead()
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/tcp.py", line 214, in doRead
return self._dataReceived(data)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/tcp.py", line 220, in _dataReceived
rval = self.protocol.dataReceived(data)
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 629, in dataReceived
self.parseFrames()
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 456, in parseFrames
frames, self.buf = parser(self.buf)
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 271, in parse_hybi07_frames
if six.PY2:
exceptions.AttributeError: 'module' object has no attribute 'PY2'

INFO:shinysdr:Starting RFC 6455 conversation
ERROR:shinysdr:Unhandled Error
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/log.py", line 88, in callWithLogger
return callWithContext({"system": lp}, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/log.py", line 73, in callWithContext
return context.call({ILogContext: newCtx}, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/context.py", line 118, in callWithContext
return self.currentContext().callWithContext(ctx, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/context.py", line 81, in callWithContext
return func(args,*kw)
--- ---
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/posixbase.py", line 614, in _doReadOrWrite
why = selectable.doRead()
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/tcp.py", line 214, in doRead
return self._dataReceived(data)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/tcp.py", line 220, in _dataReceived
rval = self.protocol.dataReceived(data)
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 629, in dataReceived
self.parseFrames()
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 456, in parseFrames
frames, self.buf = parser(self.buf)
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 271, in parse_hybi07_frames
if six.PY2:
exceptions.AttributeError: 'module' object has no attribute 'PY2'

INFO:shinysdr:Starting RFC 6455 conversation
ERROR:shinysdr:Unhandled Error
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/log.py", line 88, in callWithLogger
return callWithContext({"system": lp}, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/log.py", line 73, in callWithContext
return context.call({ILogContext: newCtx}, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/context.py", line 118, in callWithContext
return self.currentContext().callWithContext(ctx, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/context.py", line 81, in callWithContext
return func(args,*kw)
--- ---
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/posixbase.py", line 614, in _doReadOrWrite
why = selectable.doRead()
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/tcp.py", line 214, in doRead
return self._dataReceived(data)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/tcp.py", line 220, in _dataReceived
rval = self.protocol.dataReceived(data)
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 629, in dataReceived
self.parseFrames()
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 456, in parseFrames
frames, self.buf = parser(self.buf)
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 271, in parse_hybi07_frames
if six.PY2:
exceptions.AttributeError: 'module' object has no attribute 'PY2'

INFO:shinysdr:Starting RFC 6455 conversation
ERROR:shinysdr:Unhandled Error
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/log.py", line 88, in callWithLogger
return callWithContext({"system": lp}, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/log.py", line 73, in callWithContext
return context.call({ILogContext: newCtx}, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/context.py", line 118, in callWithContext
return self.currentContext().callWithContext(ctx, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/context.py", line 81, in callWithContext
return func(args,*kw)
--- ---
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/posixbase.py", line 614, in _doReadOrWrite
why = selectable.doRead()
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/tcp.py", line 214, in doRead
return self._dataReceived(data)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/tcp.py", line 220, in _dataReceived
rval = self.protocol.dataReceived(data)
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 629, in dataReceived
self.parseFrames()
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 456, in parseFrames
frames, self.buf = parser(self.buf)
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 271, in parse_hybi07_frames
if six.PY2:
exceptions.AttributeError: 'module' object has no attribute 'PY2'

INFO:shinysdr:Starting RFC 6455 conversation
ERROR:shinysdr:Unhandled Error
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/log.py", line 88, in callWithLogger
return callWithContext({"system": lp}, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/log.py", line 73, in callWithContext
return context.call({ILogContext: newCtx}, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/context.py", line 118, in callWithContext
return self.currentContext().callWithContext(ctx, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/context.py", line 81, in callWithContext
return func(args,*kw)
--- ---
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/posixbase.py", line 614, in _doReadOrWrite
why = selectable.doRead()
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/tcp.py", line 214, in doRead
return self._dataReceived(data)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/tcp.py", line 220, in _dataReceived
rval = self.protocol.dataReceived(data)
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 629, in dataReceived
self.parseFrames()
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 456, in parseFrames
frames, self.buf = parser(self.buf)
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 271, in parse_hybi07_frames
if six.PY2:
exceptions.AttributeError: 'module' object has no attribute 'PY2'

INFO:shinysdr:Starting RFC 6455 conversation
ERROR:shinysdr:Unhandled Error
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/log.py", line 88, in callWithLogger
return callWithContext({"system": lp}, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/log.py", line 73, in callWithContext
return context.call({ILogContext: newCtx}, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/context.py", line 118, in callWithContext
return self.currentContext().callWithContext(ctx, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/context.py", line 81, in callWithContext
return func(args,*kw)
--- ---
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/posixbase.py", line 614, in _doReadOrWrite
why = selectable.doRead()
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/tcp.py", line 214, in doRead
return self._dataReceived(data)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/tcp.py", line 220, in _dataReceived
rval = self.protocol.dataReceived(data)
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 629, in dataReceived
self.parseFrames()
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 456, in parseFrames
frames, self.buf = parser(self.buf)
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 271, in parse_hybi07_frames
if six.PY2:
exceptions.AttributeError: 'module' object has no attribute 'PY2'

INFO:shinysdr:Starting RFC 6455 conversation
ERROR:shinysdr:Unhandled Error
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/log.py", line 88, in callWithLogger
return callWithContext({"system": lp}, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/log.py", line 73, in callWithContext
return context.call({ILogContext: newCtx}, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/context.py", line 118, in callWithContext
return self.currentContext().callWithContext(ctx, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/context.py", line 81, in callWithContext
return func(args,*kw)
--- ---
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/posixbase.py", line 614, in _doReadOrWrite
why = selectable.doRead()
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/tcp.py", line 214, in doRead
return self._dataReceived(data)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/tcp.py", line 220, in _dataReceived
rval = self.protocol.dataReceived(data)
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 629, in dataReceived
self.parseFrames()
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 456, in parseFrames
frames, self.buf = parser(self.buf)
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 271, in parse_hybi07_frames
if six.PY2:
exceptions.AttributeError: 'module' object has no attribute 'PY2'

INFO:shinysdr:Starting RFC 6455 conversation
ERROR:shinysdr:Unhandled Error
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/log.py", line 88, in callWithLogger
return callWithContext({"system": lp}, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/log.py", line 73, in callWithContext
return context.call({ILogContext: newCtx}, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/context.py", line 118, in callWithContext
return self.currentContext().callWithContext(ctx, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/context.py", line 81, in callWithContext
return func(args,*kw)
--- ---
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/posixbase.py", line 614, in _doReadOrWrite
why = selectable.doRead()
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/tcp.py", line 214, in doRead
return self._dataReceived(data)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/tcp.py", line 220, in _dataReceived
rval = self.protocol.dataReceived(data)
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 629, in dataReceived
self.parseFrames()
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 456, in parseFrames
frames, self.buf = parser(self.buf)
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 271, in parse_hybi07_frames
if six.PY2:
exceptions.AttributeError: 'module' object has no attribute 'PY2'

INFO:shinysdr:Starting RFC 6455 conversation
ERROR:shinysdr:Unhandled Error
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/log.py", line 88, in callWithLogger
return callWithContext({"system": lp}, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/log.py", line 73, in callWithContext
return context.call({ILogContext: newCtx}, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/context.py", line 118, in callWithContext
return self.currentContext().callWithContext(ctx, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/context.py", line 81, in callWithContext
return func(args,*kw)
--- ---
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/posixbase.py", line 614, in _doReadOrWrite
why = selectable.doRead()
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/tcp.py", line 214, in doRead
return self._dataReceived(data)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/tcp.py", line 220, in _dataReceived
rval = self.protocol.dataReceived(data)
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 629, in dataReceived
self.parseFrames()
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 456, in parseFrames
frames, self.buf = parser(self.buf)
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 271, in parse_hybi07_frames
if six.PY2:
exceptions.AttributeError: 'module' object has no attribute 'PY2'

INFO:shinysdr:Starting RFC 6455 conversation
ERROR:shinysdr:Unhandled Error
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/log.py", line 88, in callWithLogger
return callWithContext({"system": lp}, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/log.py", line 73, in callWithContext
return context.call({ILogContext: newCtx}, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/context.py", line 118, in callWithContext
return self.currentContext().callWithContext(ctx, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/context.py", line 81, in callWithContext
return func(args,*kw)
--- ---
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/posixbase.py", line 614, in _doReadOrWrite
why = selectable.doRead()
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/tcp.py", line 214, in doRead
return self._dataReceived(data)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/tcp.py", line 220, in _dataReceived
rval = self.protocol.dataReceived(data)
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 629, in dataReceived
self.parseFrames()
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 456, in parseFrames
frames, self.buf = parser(self.buf)
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 271, in parse_hybi07_frames
if six.PY2:
exceptions.AttributeError: 'module' object has no attribute 'PY2'

INFO:shinysdr:Starting RFC 6455 conversation
ERROR:shinysdr:Unhandled Error
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/log.py", line 88, in callWithLogger
return callWithContext({"system": lp}, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/log.py", line 73, in callWithContext
return context.call({ILogContext: newCtx}, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/context.py", line 118, in callWithContext
return self.currentContext().callWithContext(ctx, func, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/python/context.py", line 81, in callWithContext
return func(args,*kw)
--- ---
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/posixbase.py", line 614, in _doReadOrWrite
why = selectable.doRead()
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/tcp.py", line 214, in doRead
return self._dataReceived(data)
File "/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg/twisted/internet/tcp.py", line 220, in _dataReceived
rval = self.protocol.dataReceived(data)
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 629, in dataReceived
self.parseFrames()
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 456, in parseFrames
frames, self.buf = parser(self.buf)
File "/usr/local/lib/python2.7/dist-packages/txWS-0.9.1-py2.7.egg/txws.py", line 271, in parse_hybi07_frames
if six.PY2:
exceptions.AttributeError: 'module' object has no attribute 'PY2'

^CINFO:shinysdr:Received SIGINT, shutting down.
INFO:shinysdr:(TCP Port 8100 Closed)
INFO:shinysdr:Stopping factory <twisted.web.server.Site instance at 0x61173f8>
INFO:shinysdr:(TCP Port 8101 Closed)
INFO:shinysdr:Stopping factory <shinysdr.web.OurStreamFactory instance at 0x5ee4248>
INFO:shinysdr:Stopping factory <txws.WebSocketFactory instance at 0x5ee4290>
INFO:shinysdr:Main loop terminated.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.