kpreid / shinysdr

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.
https://shinysdr.switchb.org/
GNU General Public License v3.0
1.07k stars 115 forks source link

No module named i.db ................ On a fresh install #126

Closed mathisono closed 5 years ago

mathisono commented 5 years ago

Am I missing something here or is it the code?

mat@radcom:~/shinysdr$ shinysdr Traceback (most recent call last): File "/usr/local/bin/shinysdr", line 11, in load_entry_point('ShinySDR==0.0.0', 'console_scripts', 'shinysdr')() File "/home/mat/.local/lib/python2.7/site-packages/pkg_resources/init.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/home/mat/.local/lib/python2.7/site-packages/pkg_resources/init.py", line 2793, in load_entry_point return ep.load() File "/home/mat/.local/lib/python2.7/site-packages/pkg_resources/init.py", line 2411, in load return self.resolve() File "/home/mat/.local/lib/python2.7/site-packages/pkg_resources/init.py", line 2417, in resolve module = import(self.module_name, fromlist=['name'], level=0) File "/home/mat/.local/lib/python2.7/site-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/main.py", line 36, in from shinysdr.config import Config, write_default_config, execute_config File "/home/mat/.local/lib/python2.7/site-packages/ShinySDR-0.0.0-py2.7.egg/shinysdr/config.py", line 39, in from shinysdr.i.db import DatabaseModel, database_from_csv, databases_from_directory ImportError: No module named i.db

kpreid commented 5 years ago

Should be fixed with 112417bc8a30569a3b6169e7ee22faf1df7aa21f. Please pull, try again, and let me know.

mathisono commented 5 years ago

That took some work!!! The current install instructions slipped me up I had to fight to get the program uninstalled !!! I suggest the following for 4a.

system-wide installation

cd shinysdr ./fetch-js-deps.sh python setup.py build sudo pip install ./

WORKS!