Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

ARCHIVECOMMAND - plugin archivecommand caught error: '<' not supported between instances of 'int' and 'str' #203

Open
@sgrinko

Description

@sgrinko

Добрый день,
при рестарте mamonsu часто вылетает такая ошибка:

[ERROR] 2023-06-29 08:56:34,509 - ARCHIVECOMMAND    -   plugin archivecommand caught error: '<' not supported between instances of 'int' and 'str'[INFO] 2023-06-29 08:56:34,509 - ARCHIVECOMMAND -   hint: enable debug level to full exception trace[DEBUG] 2023-06-29 08:56:34,509 - ARCHIVECOMMAND    -   Traceback (most recent call last):  File "/usr/local/lib/python3.6/site-packages/mamonsu-3.5.3-py3.6.egg/mamonsu/lib/plugin.py", line 173, in _loop    self.run(self.sender)  File "/usr/local/lib/python3.6/site-packages/mamonsu-3.5.3-py3.6.egg/mamonsu/plugins/pgsql/archive_command.py", line 90, in run    self.disable_and_exit_if_archive_mode_is_not_on()  File "/usr/local/lib/python3.6/site-packages/mamonsu-3.5.3-py3.6.egg/mamonsu/plugins/pgsql/plugin.py", line 58, in disable_and_exit_if_archive_mode_is_not_on    param = Pooler.get_sys_param('archive_mode', db=db)  File "/usr/local/lib/python3.6/site-packages/mamonsu-3.5.3-py3.6.egg/mamonsu/plugins/pgsql/driver/pool.py", line 310, in get_sys_param    if self.is_bootstraped() and self.bootstrap_version_greater("2.3.4"):  File "/usr/local/lib/python3.6/site-packages/mamonsu-3.5.3-py3.6.egg/mamonsu/plugins/pgsql/driver/pool.py", line 143, in bootstrap_version_greater    self._cache["bootstrap"]["version"]) >= LooseVersion(version)  File "/usr/lib64/python3.6/distutils/version.py", line 58, in __le__    c = self._cmp(other)  File "/usr/lib64/python3.6/distutils/version.py", line 337, in _cmp    if self.version < other.version:TypeError: '<' not supported between instances of 'int' and 'str'

вероятно выполняется не в то время инициализация значения во внутреннем кэше

у меня bootstrap режим. версия 3.5.3

Поправьте пожалуйста

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp