*last commit need extra step on terminal* echo tornado >> requirements.txt mkdir applications/_dashboard/translations mkdir applications/_scaffold/databases mkdir applications/toys/databases
*error traceback* $ ./web3py-start applications/ Traceback (most recent call last): File "/Users/sugizo/learn/python/web3py/web3py/core.py", line 570, in import_apps module = importlib.machinery.SourceFileLoader(app_name, init). load_module() File "<frozen importlib._bootstrap_external>", line 407, in _check_name_wrapper File "<frozen importlib._bootstrap_external>", line 907, in load_module File "<frozen importlib._bootstrap_external>", line 732, in load_module File "<frozen importlib._bootstrap>", line 265, in _load_module_shim File "<frozen importlib._bootstrap>", line 696, in _load File "<frozen importlib._bootstrap>", line 677, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 728, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "/Users/sugizo/learn/python/web3py/applications/_dashboard/__init__.py", line 12, in <module> T = Translator(T_FOLDER) File "/Users/sugizo/miniconda3/envs/python3_test/lib/python3.7/site-packages/pluralize/__init__.py" , line 60, in __init__ self.load(folder) File "/Users/sugizo/miniconda3/envs/python3_test/lib/python3.7/site-packages/pluralize/__init__.py" , line 65, in load for filename in os.listdir(folder): FileNotFoundError: [Errno 2] No such file or directory: '/Users/sugizo/learn/python/web3py/applications/_dashboard/translations' Traceback (most recent call last): File "/Users/sugizo/learn/python/web3py/web3py/core.py", line 570, in import_apps module = importlib.machinery.SourceFileLoader(app_name, init). load_module() File "<frozen importlib._bootstrap_external>", line 407, in _check_name_wrapper File "<frozen importlib._bootstrap_external>", line 907, in load_module File "<frozen importlib._bootstrap_external>", line 732, in load_module File "<frozen importlib._bootstrap>", line 265, in _load_module_shim File "<frozen importlib._bootstrap>", line 696, in _load File "<frozen importlib._bootstrap>", line 677, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 728, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "/Users/sugizo/learn/python/web3py/applications/_scaffold/__init__.py", line 1, in <module> from . import controllers File "/Users/sugizo/miniconda3/envs/python3_test/lib/python3.7/site-packages/reloader.py" , line 158, in _import base = _baseimport(name, globals, locals, fromlist, level) File "/Users/sugizo/learn/python/web3py/applications/_scaffold/controllers.py", line 2, in <module> from .common import db, session, T, cache, auth File "/Users/sugizo/miniconda3/envs/python3_test/lib/python3.7/site-packages/reloader.py" , line 158, in _import base = _baseimport(name, globals, locals, fromlist, level) File "/Users/sugizo/learn/python/web3py/applications/_scaffold/common.py", line 8, in <module> from .models import db File "/Users/sugizo/miniconda3/envs/python3_test/lib/python3.7/site-packages/reloader.py" , line 158, in _import base = _baseimport(name, globals, locals, fromlist, level) File "/Users/sugizo/learn/python/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/sugizo/miniconda3/envs/python3_test/lib/python3.7/site-packages/pydal/base.py" , line 171, in __call__ obj = super(MetaDAL, cls).__call__(*args, **kwargs) File "/Users/sugizo/miniconda3/envs/python3_test/lib/python3.7/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/sugizo/miniconda3/envs/python3_test/lib/python3.7/site-packages/pydal/base.py" , line 457, in __init__ self._adapter = adapter(**kwargs) File "/Users/sugizo/miniconda3/envs/python3_test/lib/python3.7/site-packages/pydal/adapters/__init__.py" , line 39, in __call__ obj = super(AdapterMeta, cls).__call__(*args, **kwargs) File "/Users/sugizo/miniconda3/envs/python3_test/lib/python3.7/site-packages/pydal/adapters/base.py" , line 369, in __init__ super(SQLAdapter, self).__init__(*args, **kwargs) File "/Users/sugizo/miniconda3/envs/python3_test/lib/python3.7/site-packages/pydal/adapters/base.py" , line 53, in __init__ self.reconnect() File "/Users/sugizo/miniconda3/envs/python3_test/lib/python3.7/site-packages/pydal/connection.py" , line 154, in reconnect self.connection = self.connector() File "/Users/sugizo/miniconda3/envs/python3_test/lib/python3.7/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/sugizo/learn/python/web3py/web3py/core.py", line 570, in import_apps module = importlib.machinery.SourceFileLoader(app_name, init). load_module() File "<frozen importlib._bootstrap_external>", line 407, in _check_name_wrapper File "<frozen importlib._bootstrap_external>", line 907, in load_module File "<frozen importlib._bootstrap_external>", line 732, in load_module File "<frozen importlib._bootstrap>", line 265, in _load_module_shim File "<frozen importlib._bootstrap>", line 696, in _load File "<frozen importlib._bootstrap>", line 677, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 728, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "/Users/sugizo/learn/python/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/sugizo/miniconda3/envs/python3_test/lib/python3.7/site-packages/pydal/base.py" , line 171, in __call__ obj = super(MetaDAL, cls).__call__(*args, **kwargs) File "/Users/sugizo/miniconda3/envs/python3_test/lib/python3.7/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/sugizo/miniconda3/envs/python3_test/lib/python3.7/site-packages/pydal/base.py" , line 457, in __init__ self._adapter = adapter(**kwargs) File "/Users/sugizo/miniconda3/envs/python3_test/lib/python3.7/site-packages/pydal/adapters/__init__.py" , line 39, in __call__ obj = super(AdapterMeta, cls).__call__(*args, **kwargs) File "/Users/sugizo/miniconda3/envs/python3_test/lib/python3.7/site-packages/pydal/adapters/base.py" , line 369, in __init__ super(SQLAdapter, self).__init__(*args, **kwargs) File "/Users/sugizo/miniconda3/envs/python3_test/lib/python3.7/site-packages/pydal/adapters/base.py" , line 53, in __init__ self.reconnect() File "/Users/sugizo/miniconda3/envs/python3_test/lib/python3.7/site-packages/pydal/connection.py" , line 154, in reconnect self.connection = self.connector() File "/Users/sugizo/miniconda3/envs/python3_test/lib/python3.7/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. Traceback (most recent call last): File "./web3py-start", line 6, in <module> main() File "/Users/sugizo/learn/python/web3py/web3py/core.py", line 651, in main start_server(args) File "/Users/sugizo/learn/python/web3py/web3py/core.py", line 621, in start_server bottle.run(server='tornado', host=host, port=int(port)) File "/Users/sugizo/miniconda3/envs/python3_test/lib/python3.7/site-packages/bottle.py" , line 3129, in run server.run(app) File "/Users/sugizo/miniconda3/envs/python3_test/lib/python3.7/site-packages/bottle.py" , line 2857, in run import tornado.wsgi, tornado.httpserver, tornado.ioloop ModuleNotFoundError: No module named 'tornado' seems there is changed web server to run the app from gunicorn to tornado, checked on the web it can run on windows but never tested *ref:* https://www.tornadoweb.org/en/stable/ best regards, stifan -- 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/3a201938-5b4c-48d7-b5ba-95f0a10080f3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.