vj4 icon indicating copy to clipboard operation
vj4 copied to clipboard

python3.8 AttributeError: module 'platform' has no attribute 'linux_distribution'

Open armornet opened this issue 5 years ago • 1 comments

AttributeError: module 'platform' has no attribute 'linux_distribution'

any fix while using the command python3 -m vj4.server --debug i get the above error

armornet avatar Jan 20 '21 10:01 armornet

The issue is caused by aiomongo referencing an old version of pymongo which is not compatible with the newer python. The issue was fixed by https://github.com/mongodb/mongo-python-driver/commit/82c610a9f54d5af20d9b5b626189891d82216a4f but the author as long as the repository of aiomongo disappeared on github. We could either recover the code from https://github.com/iceb0y/aiomongo or switch to another driver implementation.

iceboy233 avatar Jan 24 '21 22:01 iceboy233