You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By the way I have been trying to build on my Ubuntu & Raspberry Pi and still have not any luck to succeed.
After installing all dependencies, I just typed ./manage.py db_rebuild and failed.
I had installed postgresql and created role for my current user(default user name of Raspberry Pi is "pi").
But it says:
```
(venv) postgres@raspberry:/home/pi/work/oem_rf/dashboard$ ./manage.py db_rebuild
Traceback (most recent call last):
File "./manage.py", line 162, in
manager.run()
File "/home/pi/work/oem_rf/dashboard/venv/local/lib/python2.7/site-packages/fl ask_script/init.py", line 412, in run
result = self.handle(sys.argv[0], sys.argv[1:])
File "/home/pi/work/oem_rf/dashboard/venv/local/lib/python2.7/site-packages/fl ask_script/init.py", line 383, in handle
res = handle(_args, *_config)
File "/home/pi/work/oem_rf/dashboard/venv/local/lib/python2.7/site-packages/fl ask_script/commands.py", line 216, in call
return self.run(_args, *_kwargs)
File "./manage.py", line 42, in db_rebuild
db.reflect()
File "/home/pi/work/oem_rf/dashboard/venv/local/lib/python2.7/site-packages/fl ask_sqlalchemy/init.py", line 911, in reflect
self._execute_for_all_tables(app, bind, 'reflect', skip_tables=True)
File "/home/pi/work/oem_rf/dashboard/venv/local/lib/python2.7/site-packages/fl ask_sqlalchemy/init.py", line 887, in _execute_for_all_tables
op(bind=self.get_engine(app, bind), *_extra)
File "/home/pi/work/oem_rf/dashboard/venv/local/lib/python2.7/site-packages/sq lalchemy/sql/schema.py", line 3521, in reflect
with bind.connect() as conn:
File "/home/pi/work/oem_rf/dashboard/venv/local/lib/python2.7/site-packages/sq lalchemy/engine/base.py", line 2005, in connect
return self._connection_cls(self, *_kwargs)
File "/home/pi/work/oem_rf/dashboard/venv/local/lib/python2.7/site-packages/sq lalchemy/engine/base.py", line 72, in init
if connection is not None else engine.raw_connection()
File "/home/pi/work/oem_rf/dashboard/venv/local/lib/python2.7/site-packages/sq lalchemy/engine/base.py", line 2091, in raw_connection
self.pool.unique_connection, _connection)
File "/home/pi/work/oem_rf/dashboard/venv/local/lib/python2.7/site-packages/sq lalchemy/engine/base.py", line 2065, in _wrap_pool_connect
e, dialect, self)
File "/home/pi/work/oem_rf/dashboard/venv/local/lib/python2.7/site-packages/sq lalchemy/engine/base.py", line 1395, in _handle_dbapi_exception_noconnection
exc_info
File "/home/pi/work/oem_rf/dashboard/venv/local/lib/python2.7/site-packages/sq lalchemy/util/compat.py", line 199, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb)
File "/home/pi/work/oem_rf/dashboard/venv/local/lib/python2.7/site-packages/sq lalchemy/engine/base.py", line 2061, in _wrap_pool_connect
return fn()
File "/home/pi/work/oem_rf/dashboard/venv/local/lib/python2.7/site-packages/sq lalchemy/pool.py", line 279, in unique_connection
return _ConnectionFairy._checkout(self)
File "/home/pi/work/oem_rf/dashboard/venv/local/lib/python2.7/site-packages/sq lalchemy/pool.py", line 644, in _checkout
fairy = _ConnectionRecord.checkout(pool)
File "/home/pi/work/oem_rf/dashboard/venv/local/lib/python2.7/site-packages/sq lalchemy/pool.py", line 439, in checkout
rec = pool._do_get()
File "/home/pi/work/oem_rf/dashboard/venv/local/lib/python2.7/site-packages/sq lalchemy/pool.py", line 964, in _do_get
self._dec_overflow()
File "/home/pi/work/oem_rf/dashboard/venv/local/lib/python2.7/site-packages/sq lalchemy/util/langhelpers.py", line 60, in exit
compat.reraise(exc_type, exc_value, exc_tb)
File "/home/pi/work/oem_rf/dashboard/venv/local/lib/python2.7/site-packages/sq lalchemy/pool.py", line 961, in _do_get
return self._create_connection()
File "/home/pi/work/oem_rf/dashboard/venv/local/lib/python2.7/site-packages/sq lalchemy/pool.py", line 284, in _create_connection
return _ConnectionRecord(self)
File "/home/pi/work/oem_rf/dashboard/venv/local/lib/python2.7/site-packages/sq lalchemy/pool.py", line 410, in init
self.connection = self.**connect()
File "/home/pi/work/oem_rf/dashboard/venv/local/lib/python2.7/site-packages/sq lalchemy/pool.py", line 538, in __connect
connection = self.__pool._creator()
File "/home/pi/work/oem_rf/dashboard/venv/local/lib/python2.7/site-packages/sq lalchemy/engine/strategies.py", line 89, in connect
return dialect.connect(_cargs, _cparams)
File "/home/pi/work/oem_rf/dashboard/venv/local/lib/python2.7/site-packages/sq lalchemy/engine/default.py", line 377, in connect
return self.dbapi.connect(_cargs, _cparams)
File "/home/pi/work/oem_rf/dashboard/venv/local/lib/python2.7/site-packages/ps ycopg2/__init.py", line 164, in connect
conn = _connect(dsn, connection_factory=connection_factory, async=async)
sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) FATAL: database "d b_dev" does not exist
```
I am eager to hear from you soon
The text was updated successfully, but these errors were encountered:
Hi, man.
Thanks for your awesome dashboard!
By the way I have been trying to build on my Ubuntu & Raspberry Pi and still have not any luck to succeed.
After installing all dependencies, I just typed
./manage.py db_rebuild
and failed.I had installed postgresql and created role for my current user(default user name of Raspberry Pi is "pi").
But it says:
```
(venv) postgres@raspberry:/home/pi/work/oem_rf/dashboard$ ./manage.py db_rebuild
Traceback (most recent call last):
File "./manage.py", line 162, in
manager.run()
File "/home/pi/work/oem_rf/dashboard/venv/local/lib/python2.7/site-packages/fl ask_script/init.py", line 412, in run
result = self.handle(sys.argv[0], sys.argv[1:])
File "/home/pi/work/oem_rf/dashboard/venv/local/lib/python2.7/site-packages/fl ask_script/init.py", line 383, in handle
res = handle(_args, *_config)
File "/home/pi/work/oem_rf/dashboard/venv/local/lib/python2.7/site-packages/fl ask_script/commands.py", line 216, in call
return self.run(_args, *_kwargs)
File "./manage.py", line 42, in db_rebuild
db.reflect()
File "/home/pi/work/oem_rf/dashboard/venv/local/lib/python2.7/site-packages/fl ask_sqlalchemy/init.py", line 911, in reflect
self._execute_for_all_tables(app, bind, 'reflect', skip_tables=True)
File "/home/pi/work/oem_rf/dashboard/venv/local/lib/python2.7/site-packages/fl ask_sqlalchemy/init.py", line 887, in _execute_for_all_tables
op(bind=self.get_engine(app, bind), *_extra)
File "/home/pi/work/oem_rf/dashboard/venv/local/lib/python2.7/site-packages/sq lalchemy/sql/schema.py", line 3521, in reflect
with bind.connect() as conn:
File "/home/pi/work/oem_rf/dashboard/venv/local/lib/python2.7/site-packages/sq lalchemy/engine/base.py", line 2005, in connect
return self._connection_cls(self, *_kwargs)
File "/home/pi/work/oem_rf/dashboard/venv/local/lib/python2.7/site-packages/sq lalchemy/engine/base.py", line 72, in init
if connection is not None else engine.raw_connection()
File "/home/pi/work/oem_rf/dashboard/venv/local/lib/python2.7/site-packages/sq lalchemy/engine/base.py", line 2091, in raw_connection
self.pool.unique_connection, _connection)
File "/home/pi/work/oem_rf/dashboard/venv/local/lib/python2.7/site-packages/sq lalchemy/engine/base.py", line 2065, in _wrap_pool_connect
e, dialect, self)
File "/home/pi/work/oem_rf/dashboard/venv/local/lib/python2.7/site-packages/sq lalchemy/engine/base.py", line 1395, in _handle_dbapi_exception_noconnection
exc_info
File "/home/pi/work/oem_rf/dashboard/venv/local/lib/python2.7/site-packages/sq lalchemy/util/compat.py", line 199, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb)
File "/home/pi/work/oem_rf/dashboard/venv/local/lib/python2.7/site-packages/sq lalchemy/engine/base.py", line 2061, in _wrap_pool_connect
return fn()
File "/home/pi/work/oem_rf/dashboard/venv/local/lib/python2.7/site-packages/sq lalchemy/pool.py", line 279, in unique_connection
return _ConnectionFairy._checkout(self)
File "/home/pi/work/oem_rf/dashboard/venv/local/lib/python2.7/site-packages/sq lalchemy/pool.py", line 644, in _checkout
fairy = _ConnectionRecord.checkout(pool)
File "/home/pi/work/oem_rf/dashboard/venv/local/lib/python2.7/site-packages/sq lalchemy/pool.py", line 439, in checkout
rec = pool._do_get()
File "/home/pi/work/oem_rf/dashboard/venv/local/lib/python2.7/site-packages/sq lalchemy/pool.py", line 964, in _do_get
self._dec_overflow()
File "/home/pi/work/oem_rf/dashboard/venv/local/lib/python2.7/site-packages/sq lalchemy/util/langhelpers.py", line 60, in exit
compat.reraise(exc_type, exc_value, exc_tb)
File "/home/pi/work/oem_rf/dashboard/venv/local/lib/python2.7/site-packages/sq lalchemy/pool.py", line 961, in _do_get
return self._create_connection()
File "/home/pi/work/oem_rf/dashboard/venv/local/lib/python2.7/site-packages/sq lalchemy/pool.py", line 284, in _create_connection
return _ConnectionRecord(self)
File "/home/pi/work/oem_rf/dashboard/venv/local/lib/python2.7/site-packages/sq lalchemy/pool.py", line 410, in init
self.connection = self.**connect()
File "/home/pi/work/oem_rf/dashboard/venv/local/lib/python2.7/site-packages/sq lalchemy/pool.py", line 538, in __connect
connection = self.__pool._creator()
File "/home/pi/work/oem_rf/dashboard/venv/local/lib/python2.7/site-packages/sq lalchemy/engine/strategies.py", line 89, in connect
return dialect.connect(_cargs, _cparams)
File "/home/pi/work/oem_rf/dashboard/venv/local/lib/python2.7/site-packages/sq lalchemy/engine/default.py", line 377, in connect
return self.dbapi.connect(_cargs, _cparams)
File "/home/pi/work/oem_rf/dashboard/venv/local/lib/python2.7/site-packages/ps ycopg2/__init.py", line 164, in connect
conn = _connect(dsn, connection_factory=connection_factory, async=async)
sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) FATAL: database "d b_dev" does not exist
I am eager to hear from you soon
The text was updated successfully, but these errors were encountered: