Skip to content

Instantly share code, notes, and snippets.

@Rast1234
Last active February 19, 2018 09:02
Show Gist options
  • Save Rast1234/5e3d2ee6a680028f600d8fe39c466ee2 to your computer and use it in GitHub Desktop.
Save Rast1234/5e3d2ee6a680028f600d8fe39c466ee2 to your computer and use it in GitHub Desktop.
errors.md

при выполнении db upgrade оно ругнулось:

/usr/lib/python3.6/site-packages/cerberus/validator.py:1338: UserWarning: No validation schema is defined for the arguments of rule 'url'
"'%s'" % method_name.split('_', 2)[-1])
/usr/lib/python3.6/site-packages/cerberus/validator.py:1338: UserWarning: No validation schema is defined for the arguments of rule 'istime'
"'%s'" % method_name.split('_', 2)[-1])

при запуске приложений также есть такие вот ошибки

— Logging error —
Traceback (most recent call last):
File "/usr/lib64/python3.6/logging/_init_.py", line 994, in emit
stream.write(msg)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 39-45: ordinal not in range(128)
Call stack:
File "manager_workers.py", line 28, in <module>
main()
File "manager_workers.py", line 25, in main
configure_app_and_run_commands()
File "manager_workers.py", line 17, in configure_app_and_run_commands
manager.run()
File "/usr/lib/python3.6/site-packages/flask_script/_init_.py", line 417, in run
result = self.handle(argv[0], argv[1:])
File "/usr/lib/python3.6/site-packages/flask_script/_init_.py", line 386, in handle
res = handle(*args, **config)
File "/usr/lib/python3.6/site-packages/flask_script/commands.py", line 216, in _call_
return self.run(*args, **kwargs)
File "/opt/schedule/app/commands/workers.py", line 16, in run
worker.run_send_notifications()
File "/opt/schedule/app/services/backend/notifier.py", line 99, in run_send_notifications
logger.info('\u0417\u0430\u043f\u0443\u0449\u0435\u043d \u0432\u043e\u0440\u043a\u0435\u0440 \u0434\u043b\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0439')
Message: '\u0417\u0430\u043f\u0443\u0449\u0435\u043d \u0432\u043e\u0440\u043a\u0435\u0440 \u0434\u043b\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0439'
Arguments: ()
/usr/lib/python3.6/site-packages/cerberus/validator.py:1338: UserWarning: No validation schema is defined for the arguments of rule 'url'
"'%s'" % method_name.split('_', 2)[-1])
2018-02-19 13:54:05,360 - app - INFO - \u0417\u0430\u043f\u0443\u0449\u0435\u043d \u0432\u043e\u0440\u043a\u0435\u0440 \u0434\u043b\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0437\u0430\u0434\u0430\u0447 \u043d\u0430 \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u0435 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u043e\u0432 @PID15294 - algo_facade:listen_tasks()#140
— Logging error —
Traceback (most recent call last):
File "/usr/lib64/python3.6/logging/_init_.py", line 994, in emit
stream.write(msg)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 39-45: ordinal not in range(128)
Call stack:
File "manager_workers.py", line 28, in <module>
main()
File "manager_workers.py", line 25, in main
configure_app_and_run_commands()
File "manager_workers.py", line 17, in configure_app_and_run_commands
manager.run()
File "/usr/lib/python3.6/site-packages/flask_script/_init_.py", line 417, in run
result = self.handle(argv[0], argv[1:])
File "/usr/lib/python3.6/site-packages/flask_script/_init_.py", line 386, in handle
res = handle(*args, **config)
File "/usr/lib/python3.6/site-packages/flask_script/commands.py", line 216, in _call_
return self.run(*args, **kwargs)
File "/opt/schedule/app/commands/workers.py", line 10, in run
worker.listen_tasks()
File "/opt/schedule/app/services/backend/algo_facade.py", line 140, in listen_tasks
LOGGER.info('\u0417\u0430\u043f\u0443\u0449\u0435\u043d \u0432\u043e\u0440\u043a\u0435\u0440 \u0434\u043b\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0437\u0430\u0434\u0430\u0447 \u043d\u0430 \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u0435 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u043e\u0432')
Message: '\u0417\u0430\u043f\u0443\u0449\u0435\u043d \u0432\u043e\u0440\u043a\u0435\u0440 \u0434\u043b\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0437\u0430\u0434\u0430\u0447 \u043d\u0430 \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u0435 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u043e\u0432'
Arguments: ()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment