./web3py-start applications/ _______ ____________ ____ ______ __ | ____/ / / ____/ __ |/___ \/ __ \ \/ / | | / / /_ / /_/ /___/ / /_/ /\ / | | /| / / __/ / __ //__ / ____/ / / | |/ |/ / /___/ /_/ /___/ / / ____/ / |___/|_/_____/_____/_____/_/ /_____/ It is still experimental...
Dashboard is at: http://127.0.0.1:8000/_dashboard Traceback (most recent call last): File "/Users/aaronm/.pyenv/versions/3.6.4/envs/web3py/web3py/web3py/core.py", line 570, in import_apps module = importlib.machinery.SourceFileLoader(app_name, init).load_module() File "<frozen importlib._bootstrap_external>", line 399, in _check_name_wrapper File "<frozen importlib._bootstrap_external>", line 823, in load_module File "<frozen importlib._bootstrap_external>", line 682, in load_module File "<frozen importlib._bootstrap>", line 265, in _load_module_shim File "<frozen importlib._bootstrap>", line 684, in _load File "<frozen importlib._bootstrap>", line 665, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 678, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "/Users/aaronm/.pyenv/versions/3.6.4/envs/web3py/web3py/applications/toys/__init__.py", line 5, in <module> db = DAL('sqlite://storage.db', folder=os.path.join(os.path.dirname(__file__), 'databases')) File "/Users/aaronm/.pyenv/versions/3.6.4/envs/web3py/lib/python3.6/site-packages/pydal/base.py", line 171, in __call__ obj = super(MetaDAL, cls).__call__(*args, **kwargs) File "/Users/aaronm/.pyenv/versions/3.6.4/envs/web3py/lib/python3.6/site-packages/pydal/base.py", line 477, in __init__ "Failure to connect, tried %d times:\n%s" % (attempts, tb) RuntimeError: Failure to connect, tried 5 times: Traceback (most recent call last): File "/Users/aaronm/.pyenv/versions/3.6.4/envs/web3py/lib/python3.6/site-packages/pydal/base.py", line 457, in __init__ self._adapter = adapter(**kwargs) File "/Users/aaronm/.pyenv/versions/3.6.4/envs/web3py/lib/python3.6/site-packages/pydal/adapters/__init__.py", line 39, in __call__ obj = super(AdapterMeta, cls).__call__(*args, **kwargs) File "/Users/aaronm/.pyenv/versions/3.6.4/envs/web3py/lib/python3.6/site-packages/pydal/adapters/base.py", line 369, in __init__ super(SQLAdapter, self).__init__(*args, **kwargs) File "/Users/aaronm/.pyenv/versions/3.6.4/envs/web3py/lib/python3.6/site-packages/pydal/adapters/base.py", line 53, in __init__ self.reconnect() File "/Users/aaronm/.pyenv/versions/3.6.4/envs/web3py/lib/python3.6/site-packages/pydal/connection.py", line 154, in reconnect self.connection = self.connector() File "/Users/aaronm/.pyenv/versions/3.6.4/envs/web3py/lib/python3.6/site-packages/pydal/adapters/sqlite.py", line 42, in connector return self.driver.Connection(self.dbpath, **self.driver_args) sqlite3.OperationalError: unable to open database file Traceback (most recent call last): File "/Users/aaronm/.pyenv/versions/3.6.4/envs/web3py/web3py/web3py/core.py", line 570, in import_apps module = importlib.machinery.SourceFileLoader(app_name, init).load_module() File "<frozen importlib._bootstrap_external>", line 399, in _check_name_wrapper File "<frozen importlib._bootstrap_external>", line 823, in load_module File "<frozen importlib._bootstrap_external>", line 682, in load_module File "<frozen importlib._bootstrap>", line 265, in _load_module_shim File "<frozen importlib._bootstrap>", line 684, in _load File "<frozen importlib._bootstrap>", line 665, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 678, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "/Users/aaronm/.pyenv/versions/3.6.4/envs/web3py/web3py/applications/_dashboard/__init__.py", line 12, in <module> T = Translator(T_FOLDER) File "/Users/aaronm/.pyenv/versions/3.6.4/envs/web3py/lib/python3.6/site-packages/pluralize/__init__.py", line 60, in __init__ self.load(folder) File "/Users/aaronm/.pyenv/versions/3.6.4/envs/web3py/lib/python3.6/site-packages/pluralize/__init__.py", line 65, in load for filename in os.listdir(folder): FileNotFoundError: [Errno 2] No such file or directory: '/Users/aaronm/.pyenv/versions/3.6.4/envs/web3py/web3py/applications/_dashboard/translations' Traceback (most recent call last): File "/Users/aaronm/.pyenv/versions/3.6.4/envs/web3py/web3py/web3py/core.py", line 570, in import_apps module = importlib.machinery.SourceFileLoader(app_name, init).load_module() File "<frozen importlib._bootstrap_external>", line 399, in _check_name_wrapper File "<frozen importlib._bootstrap_external>", line 823, in load_module File "<frozen importlib._bootstrap_external>", line 682, in load_module File "<frozen importlib._bootstrap>", line 265, in _load_module_shim File "<frozen importlib._bootstrap>", line 684, in _load File "<frozen importlib._bootstrap>", line 665, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 678, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "/Users/aaronm/.pyenv/versions/3.6.4/envs/web3py/web3py/applications/_scaffold/__init__.py", line 1, in <module> from . import controllers File "/Users/aaronm/.pyenv/versions/3.6.4/envs/web3py/lib/python3.6/site-packages/reloader.py", line 158, in _import base = _baseimport(name, globals, locals, fromlist, level) File "/Users/aaronm/.pyenv/versions/3.6.4/envs/web3py/web3py/applications/_scaffold/controllers.py", line 2, in <module> from .common import db, session, T, cache, auth File "/Users/aaronm/.pyenv/versions/3.6.4/envs/web3py/lib/python3.6/site-packages/reloader.py", line 158, in _import base = _baseimport(name, globals, locals, fromlist, level) File "/Users/aaronm/.pyenv/versions/3.6.4/envs/web3py/web3py/applications/_scaffold/common.py", line 8, in <module> from .models import db File "/Users/aaronm/.pyenv/versions/3.6.4/envs/web3py/lib/python3.6/site-packages/reloader.py", line 158, in _import base = _baseimport(name, globals, locals, fromlist, level) File "/Users/aaronm/.pyenv/versions/3.6.4/envs/web3py/web3py/applications/_scaffold/models.py", line 5, in <module> db = DAL(settings.DB_URI, folder=settings.DB_FOLDER, pool_size=settings.DB_POOL_SIZE) File "/Users/aaronm/.pyenv/versions/3.6.4/envs/web3py/lib/python3.6/site-packages/pydal/base.py", line 171, in __call__ obj = super(MetaDAL, cls).__call__(*args, **kwargs) File "/Users/aaronm/.pyenv/versions/3.6.4/envs/web3py/lib/python3.6/site-packages/pydal/base.py", line 477, in __init__ "Failure to connect, tried %d times:\n%s" % (attempts, tb) RuntimeError: Failure to connect, tried 5 times: Traceback (most recent call last): File "/Users/aaronm/.pyenv/versions/3.6.4/envs/web3py/lib/python3.6/site-packages/pydal/base.py", line 457, in __init__ self._adapter = adapter(**kwargs) File "/Users/aaronm/.pyenv/versions/3.6.4/envs/web3py/lib/python3.6/site-packages/pydal/adapters/__init__.py", line 39, in __call__ obj = super(AdapterMeta, cls).__call__(*args, **kwargs) File "/Users/aaronm/.pyenv/versions/3.6.4/envs/web3py/lib/python3.6/site-packages/pydal/adapters/base.py", line 369, in __init__ super(SQLAdapter, self).__init__(*args, **kwargs) File "/Users/aaronm/.pyenv/versions/3.6.4/envs/web3py/lib/python3.6/site-packages/pydal/adapters/base.py", line 53, in __init__ self.reconnect() File "/Users/aaronm/.pyenv/versions/3.6.4/envs/web3py/lib/python3.6/site-packages/pydal/connection.py", line 154, in reconnect self.connection = self.connector() File "/Users/aaronm/.pyenv/versions/3.6.4/envs/web3py/lib/python3.6/site-packages/pydal/adapters/sqlite.py", line 42, in connector return self.driver.Connection(self.dbpath, **self.driver_args) sqlite3.OperationalError: unable to open database file Bottle v0.12.16 server starting up (using TornadoServer())... Listening on http://127.0.0.1:8000/ Hit Ctrl-C to quit. On Monday, May 13, 2019 at 12:58:42 PM UTC-5, En Ware wrote: > > It did until I install tornado , but still can't access the dashboard or > any of the apps. > > I am going to do a new git clone and try again. > > On Monday, May 13, 2019 at 12:29:29 PM UTC-5, Massimo Di Pierro wrote: >> >> That error in the console is intentional. It is an example of what >> happens when there is a bug in app code. It should not prevent web3py from >> running. Or does it? > > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/c486cf4d-5f5c-4e87-82ac-b4fd46fbfef8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.