Giter Club home page Giter Club logo

flask-redis-sentinel's People

Contributors

czarneckid avatar lalinsky avatar ms7s avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

flask-redis-sentinel's Issues

Crash within init_app

Hi I started to get those errors within an existing small application being deployed to Cloud Foundry. The app was not changed and I wonder what might cause the problem. Any idea?

2022-12-22T13:36:10.09+0200 [APP/PROC/WEB/0] ERR Traceback (most recent call last):
   2022-12-22T13:36:10.09+0200 [APP/PROC/WEB/0] ERR File "/home/vcap/deps/0/python/lib/python3.8/runpy.py", line 194, in _run_module_as_main
   2022-12-22T13:36:10.09+0200 [APP/PROC/WEB/0] ERR return _run_code(code, main_globals, None,
   2022-12-22T13:36:10.09+0200 [APP/PROC/WEB/0] ERR File "/home/vcap/deps/0/python/lib/python3.8/runpy.py", line 87, in _run_code
   2022-12-22T13:36:10.09+0200 [APP/PROC/WEB/0] ERR exec(code, run_globals)
   2022-12-22T13:36:10.09+0200 [APP/PROC/WEB/0] ERR File "/home/vcap/deps/0/python/lib/python3.8/site-packages/flask/__main__.py", line 3, in <module>
   2022-12-22T13:36:10.09+0200 [APP/PROC/WEB/0] ERR main()
   2022-12-22T13:36:10.09+0200 [APP/PROC/WEB/0] ERR File "/home/vcap/deps/0/python/lib/python3.8/site-packages/flask/cli.py", line 1047, in main
   2022-12-22T13:36:10.09+0200 [APP/PROC/WEB/0] ERR cli.main()
   2022-12-22T13:36:10.09+0200 [APP/PROC/WEB/0] ERR File "/home/vcap/deps/0/python/lib/python3.8/site-packages/click/core.py", line 1055, in main
   2022-12-22T13:36:10.09+0200 [APP/PROC/WEB/0] ERR rv = self.invoke(ctx)
   2022-12-22T13:36:10.09+0200 [APP/PROC/WEB/0] ERR File "/home/vcap/deps/0/python/lib/python3.8/site-packages/click/core.py", line 1657, in invoke
   2022-12-22T13:36:10.09+0200 [APP/PROC/WEB/0] ERR return _process_result(sub_ctx.command.invoke(sub_ctx))
   2022-12-22T13:36:10.09+0200 [APP/PROC/WEB/0] ERR File "/home/vcap/deps/0/python/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
   2022-12-22T13:36:10.09+0200 [APP/PROC/WEB/0] ERR return ctx.invoke(self.callback, **ctx.params)
   2022-12-22T13:36:10.09+0200 [APP/PROC/WEB/0] ERR File "/home/vcap/deps/0/python/lib/python3.8/site-packages/click/core.py", line 760, in invoke
   2022-12-22T13:36:10.09+0200 [APP/PROC/WEB/0] ERR return __callback(*args, **kwargs)
   2022-12-22T13:36:10.09+0200 [APP/PROC/WEB/0] ERR File "/home/vcap/deps/0/python/lib/python3.8/site-packages/click/decorators.py", line 84, in new_func
   2022-12-22T13:36:10.09+0200 [APP/PROC/WEB/0] ERR return ctx.invoke(f, obj, *args, **kwargs)
   2022-12-22T13:36:10.09+0200 [APP/PROC/WEB/0] ERR File "/home/vcap/deps/0/python/lib/python3.8/site-packages/click/core.py", line 760, in invoke
   2022-12-22T13:36:10.09+0200 [APP/PROC/WEB/0] ERR return __callback(*args, **kwargs)
   2022-12-22T13:36:10.09+0200 [APP/PROC/WEB/0] ERR File "/home/vcap/deps/0/python/lib/python3.8/site-packages/flask/cli.py", line 911, in run_command
   2022-12-22T13:36:10.09+0200 [APP/PROC/WEB/0] ERR raise e from None
   2022-12-22T13:36:10.09+0200 [APP/PROC/WEB/0] ERR File "/home/vcap/deps/0/python/lib/python3.8/site-packages/flask/cli.py", line 897, in run_command
   2022-12-22T13:36:10.09+0200 [APP/PROC/WEB/0] ERR app = info.load_app()
   2022-12-22T13:36:10.09+0200 [APP/PROC/WEB/0] ERR File "/home/vcap/deps/0/python/lib/python3.8/site-packages/flask/cli.py", line 308, in load_app
   2022-12-22T13:36:10.09+0200 [APP/PROC/WEB/0] ERR app = locate_app(import_name, name)
   2022-12-22T13:36:10.09+0200 [APP/PROC/WEB/0] ERR File "/home/vcap/deps/0/python/lib/python3.8/site-packages/flask/cli.py", line 218, in locate_app
   2022-12-22T13:36:10.10+0200 [APP/PROC/WEB/0] ERR __import__(module_name)
   2022-12-22T13:36:10.10+0200 [APP/PROC/WEB/0] ERR File "/home/vcap/app/app.py", line 25, in <module>
   2022-12-22T13:36:10.10+0200 [APP/PROC/WEB/0] ERR redis_sentinel.init_app(app)
   2022-12-22T13:36:10.10+0200 [APP/PROC/WEB/0] ERR File "/home/vcap/deps/0/python/lib/python3.8/site-packages/flask_redis_sentinel.py", line 133, in init_app
   2022-12-22T13:36:10.10+0200 [APP/PROC/WEB/0] ERR client_options = self._config_from_variables(config, client_class)
   2022-12-22T13:36:10.10+0200 [APP/PROC/WEB/0] ERR File "/home/vcap/deps/0/python/lib/python3.8/site-packages/flask_redis_sentinel.py", line 158, in _config_from_variables
   2022-12-22T13:36:10.10+0200 [APP/PROC/WEB/0] ERR args = inspect.getargspec(the_class.__init__).args
   2022-12-22T13:36:10.10+0200 [APP/PROC/WEB/0] ERR File "/home/vcap/deps/0/python/lib/python3.8/inspect.py", line 1095, in getargspec
   2022-12-22T13:36:10.10+0200 [APP/PROC/WEB/0] ERR raise ValueError("Function has keyword-only parameters or annotations"
   2022-12-22T13:36:10.10+0200 [APP/PROC/WEB/0] ERR ValueError: Function has keyword-only parameters or annotations, use inspect.signature() API which can support them

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.