Untitled

mail@pastecode.io avatar
unknown
python
2 years ago
3.4 kB
2
Indexable
Never
(venv) maksimposohov@mbp-maksim platform % ADMIN_MODE=1 yoyo upgrade     
Setting DJANGO_SETTINGS_MODULE to 'yoyo.conf.settings.local'
/Users/maksimposohov/yoyowallet/platform/venv/lib/python3.7/site-packages/environ/environ.py:389: UserWarning: Engine not recognized from url: {'NAME': '', 'USER': None, 'PASSWORD': None, 'HOST': None, 'PORT': None}
  warnings.warn("Engine not recognized from url: {0}".format(config))

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! HAEPOS threshold disabled !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Traceback (most recent call last):
  File "/Users/maksimposohov/yoyowallet/platform/venv/bin/yoyo", line 33, in <module>
    sys.exit(load_entry_point('platform', 'console_scripts', 'yoyo')())
  File "/Users/maksimposohov/yoyowallet/platform/venv/lib/python3.7/site-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/Users/maksimposohov/yoyowallet/platform/venv/lib/python3.7/site-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/Users/maksimposohov/yoyowallet/platform/venv/lib/python3.7/site-packages/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/Users/maksimposohov/yoyowallet/platform/venv/lib/python3.7/site-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Users/maksimposohov/yoyowallet/platform/venv/lib/python3.7/site-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/Users/maksimposohov/yoyowallet/platform/yoyo/cli/decorators.py", line 99, in wrapper
    yoyo.setup()
  File "/Users/maksimposohov/yoyowallet/platform/yoyo/__init__.py", line 23, in setup
    from yoyo.utils.log import configure_logging
  File "/Users/maksimposohov/yoyowallet/platform/yoyo/utils/log.py", line 7, in <module>
    from yoyo.app import context
  File "/Users/maksimposohov/yoyowallet/platform/yoyo/app.py", line 3, in <module>
    from yoyo.utils.context import _context as context
  File "/Users/maksimposohov/yoyowallet/platform/yoyo/utils/context.py", line 16, in <module>
    class Context(local):
  File "/Users/maksimposohov/yoyowallet/platform/yoyo/utils/context.py", line 34, in Context
    language: str = settings.LANGUAGE_CODE
  File "/Users/maksimposohov/yoyowallet/platform/venv/lib/python3.7/site-packages/django/conf/__init__.py", line 79, in __getattr__
    self._setup(name)
  File "/Users/maksimposohov/yoyowallet/platform/venv/lib/python3.7/site-packages/django/conf/__init__.py", line 66, in _setup
    self._wrapped = Settings(settings_module)
  File "/Users/maksimposohov/yoyowallet/platform/venv/lib/python3.7/site-packages/django/conf/__init__.py", line 157, in __init__
    mod = importlib.import_module(self.SETTINGS_MODULE)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "/Users/maksimposohov/yoyowallet/platform/yoyo/conf/settings/local.py", line 8, in <module>
    from .common import *
  File "/Users/maksimposohov/yoyowallet/platform/yoyo/conf/settings/common.py", line 1267, in <module>
    raise ImproperlyConfigured('Missing env var DISBURSAL_DEBIT_ACCOUNT_GBP')
yoyo.core.exceptions.ImproperlyConfigured: Missing env var DISBURSAL_DEBIT_ACCOUNT_GBP