Giter Club home page Giter Club logo

license-key-manager's People

Contributors

andremalheiro98 avatar daniel-s-goncalves avatar dependabot[bot] avatar jpdias avatar pattyport19 avatar sofia-feist-builtcolab avatar

Stargazers

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

Watchers

 avatar  avatar

license-key-manager's Issues

Error when Starting

Im getting this Error when I run the Container
Traceback (most recent call last): File "/usr/local/bin/gunicorn", line 8, in <module> sys.exit(run()) File "/usr/local/lib/python3.10/site-packages/gunicorn/app/wsgiapp.py", line 67, in run WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run() File "/usr/local/lib/python3.10/site-packages/gunicorn/app/base.py", line 236, in run super().run() File "/usr/local/lib/python3.10/site-packages/gunicorn/app/base.py", line 72, in run Arbiter(self).run() File "/usr/local/lib/python3.10/site-packages/gunicorn/arbiter.py", line 58, in __init__ self.setup(app) File "/usr/local/lib/python3.10/site-packages/gunicorn/arbiter.py", line 118, in setup self.app.wsgi() File "/usr/local/lib/python3.10/site-packages/gunicorn/app/base.py", line 67, in wsgi self.callable = self.load() File "/usr/local/lib/python3.10/site-packages/gunicorn/app/wsgiapp.py", line 58, in load return self.load_wsgiapp() File "/usr/local/lib/python3.10/site-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp return util.import_app(self.app_uri) File "/usr/local/lib/python3.10/site-packages/gunicorn/util.py", line 371, in import_app mod = importlib.import_module(module) File "/usr/local/lib/python3.10/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1050, in _gcd_import File "<frozen importlib._bootstrap>", line 1027, in _find_and_load File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 688, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 883, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/license-manager/bin/__init__.py", line 6, in <module> db = SQLAlchemy() File "/home/appuser/.local/lib/python3.10/site-packages/flask_sqlalchemy/__init__.py", line 758, in __init__ _include_sqlalchemy(self, query_class) File "/home/appuser/.local/lib/python3.10/site-packages/flask_sqlalchemy/__init__.py", line 112, in _include_sqlalchemy for key in module.__all__: File "/home/appuser/.local/lib/python3.10/site-packages/sqlalchemy/__init__.py", line 294, in __getattr__ raise AttributeError(f"module {__name__!r} has no attribute {name!r}") AttributeError: module 'sqlalchemy' has no attribute '__all__'. Did you mean: '__file__'?

Unable to run Docker image

Hi,
I'm trying to run the image in Docker but receiving the following error:

`Traceback (most recent call last):
File "/home/appuser/.local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 3112, in _wrap_pool_connect
return fn()
File "/home/appuser/.local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 301, in connect
return _ConnectionFairy._checkout(self)
File "/home/appuser/.local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 748, in _checkout
fairy = _ConnectionRecord.checkout(pool)
File "/home/appuser/.local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 419, in checkout
rec = pool._do_get()
File "/home/appuser/.local/lib/python3.10/site-packages/sqlalchemy/pool/impl.py", line 259, in _do_get
return self._create_connection()
File "/home/appuser/.local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 247, in _create_connection
return _ConnectionRecord(self)
File "/home/appuser/.local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 362, in init
self.__connect(first_connect_check=True)
File "/home/appuser/.local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 597, in connect
with util.safe_reraise():
File "/home/appuser/.local/lib/python3.10/site-packages/sqlalchemy/util/langhelpers.py", line 70, in exit
compat.raise
(
File "/home/appuser/.local/lib/python3.10/site-packages/sqlalchemy/util/compat.py", line 198, in raise

raise exception
File "/home/appuser/.local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 592, in __connect
connection = pool._invoke_creator(self)
File "/home/appuser/.local/lib/python3.10/site-packages/sqlalchemy/engine/create.py", line 576, in connect
return dialect.connect(*cargs, **cparams)
File "/home/appuser/.local/lib/python3.10/site-packages/sqlalchemy/engine/default.py", line 548, in connect
return self.dbapi.connect(*cargs, **cparams)
sqlite3.OperationalError: unable to open database file

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/usr/local/bin/gunicorn", line 8, in
sys.exit(run())
File "/usr/local/lib/python3.10/site-packages/gunicorn/app/wsgiapp.py", line 67, in run
WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
File "/usr/local/lib/python3.10/site-packages/gunicorn/app/base.py", line 231, in run
super().run()
File "/usr/local/lib/python3.10/site-packages/gunicorn/app/base.py", line 72, in run
Arbiter(self).run()
File "/usr/local/lib/python3.10/site-packages/gunicorn/arbiter.py", line 58, in init
self.setup(app)
File "/usr/local/lib/python3.10/site-packages/gunicorn/arbiter.py", line 118, in setup
self.app.wsgi()
File "/usr/local/lib/python3.10/site-packages/gunicorn/app/base.py", line 67, in wsgi
self.callable = self.load()
File "/usr/local/lib/python3.10/site-packages/gunicorn/app/wsgiapp.py", line 58, in load
return self.load_wsgiapp()
File "/usr/local/lib/python3.10/site-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp
return util.import_app(self.app_uri)
File "/usr/local/lib/python3.10/site-packages/gunicorn/util.py", line 412, in import_app
app = app(*args, **kwargs)
File "/license-manager/bin/init.py", line 48, in create_app
db.create_all(app=app)
File "/home/appuser/.local/lib/python3.10/site-packages/flask_sqlalchemy/init.py", line 1094, in create_all
self._execute_for_all_tables(app, bind, 'create_all')
File "/home/appuser/.local/lib/python3.10/site-packages/flask_sqlalchemy/init.py", line 1086, in _execute_for_all_tables
op(bind=self.get_engine(app, bind), **extra)
File "/home/appuser/.local/lib/python3.10/site-packages/sqlalchemy/sql/schema.py", line 4741, in create_all
bind._run_ddl_visitor(
File "/home/appuser/.local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 2978, in _run_ddl_visitor
with self.begin() as conn:
File "/home/appuser/.local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 2894, in begin
conn = self.connect(close_with_result=close_with_result)
File "/home/appuser/.local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 3066, in connect
return self._connection_cls(self, close_with_result=close_with_result)
File "/home/appuser/.local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 91, in init
else engine.raw_connection()
File "/home/appuser/.local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 3145, in raw_connection
return self._wrap_pool_connect(self.pool.connect, _connection)
File "/home/appuser/.local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 3115, in _wrap_pool_connect
Connection.handle_dbapi_exception_noconnection(
File "/home/appuser/.local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 2003, in handle_dbapi_exception_noconnection
util.raise
(
File "/home/appuser/.local/lib/python3.10/site-packages/sqlalchemy/util/compat.py", line 198, in raise

raise exception
File "/home/appuser/.local/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 3112, in _wrap_pool_connect
return fn()
File "/home/appuser/.local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 301, in connect
return _ConnectionFairy._checkout(self)
File "/home/appuser/.local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 748, in _checkout
fairy = _ConnectionRecord.checkout(pool)
File "/home/appuser/.local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 419, in checkout
rec = pool._do_get()
File "/home/appuser/.local/lib/python3.10/site-packages/sqlalchemy/pool/impl.py", line 259, in _do_get
return self._create_connection()
File "/home/appuser/.local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 247, in _create_connection
return _ConnectionRecord(self)
File "/home/appuser/.local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 362, in init
self.__connect(first_connect_check=True)
File "/home/appuser/.local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 597, in connect
with util.safe_reraise():
File "/home/appuser/.local/lib/python3.10/site-packages/sqlalchemy/util/langhelpers.py", line 70, in exit
compat.raise
(
File "/home/appuser/.local/lib/python3.10/site-packages/sqlalchemy/util/compat.py", line 198, in raise

raise exception
File "/home/appuser/.local/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 592, in __connect
connection = pool._invoke_creator(self)
File "/home/appuser/.local/lib/python3.10/site-packages/sqlalchemy/engine/create.py", line 576, in connect
return dialect.connect(*cargs, **cparams)
File "/home/appuser/.local/lib/python3.10/site-packages/sqlalchemy/engine/default.py", line 548, in connect
return self.dbapi.connect(*cargs, **cparams)
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) unable to open database file
(Background on this error at: http://sqlalche.me/e/14/e3q8)`

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.