OpenTAKServer icon indicating copy to clipboard operation
OpenTAKServer copied to clipboard

'bcrypt' has no attribute '__about__' in docker

Open nerdalertdk opened this issue 10 months ago • 8 comments

When booting/starting ots in docker for the first time I get this error. When booting again it works fine.

I don't have an config.yml first time I boot. ots is creating the default for me

  • Python 3.12.3
  • OTS: 1.1.4
  • docker base image: python:3.12 Debian bookworm based
ots-server  | Mumble auth not supported on this platform
ots-server  | (trapped) error reading bcrypt version
ots-server  | Traceback (most recent call last):
ots-server  |   File "/app/.opentakserver_venv/lib/python3.12/site-packages/passlib/handlers/bcrypt.py", line 620, in _load_backend_mixin
ots-server  |     version = _bcrypt.__about__.__version__
ots-server  |               ^^^^^^^^^^^^^^^^^
ots-server  | AttributeError: module 'bcrypt' has no attribute '__about__'

nerdalertdk avatar Apr 20 '24 10:04 nerdalertdk