Traceback (most recent call last):
File "/var/www/sign/run.py", line 18, in <module>
from db import DB, db_converter
File "/var/www/sign/db/__init__.py", line 13, in <module>
from db.redisdb import RedisDB
File "/var/www/sign/db/redisdb.py", line 14, in <module>
from libs.utils import is_lan
File "/var/www/sign/libs/utils.py", line 84, in <module>
def varbinary2ip(addr: bytes | int | str):
TypeError: unsupported operand type(s) for |: 'type' and 'type'
QD config
No response
QD log
Traceback (most recent call last):
File "/var/www/sign/run.py", line 18, in <module>
from db import DB, db_converter
File "/var/www/sign/db/__init__.py", line 13, in <module>
from db.redisdb import RedisDB
File "/var/www/sign/db/redisdb.py", line 14, in <module>
from libs.utils import is_lan
File "/var/www/sign/libs/utils.py", line 84, in <module>
def varbinary2ip(addr: bytes | int | str):
TypeError: unsupported operand type(s) for |: 'type' and 'type'
Verify steps
QD Version
20240210
Bug on OS
Linux
Bug on Platform
Code Build/Linux 64位
To Reproduce
环境:Ubuntu22.04, Python 3.9.5 使用源码安装,python run.py
Describe the Bug
报错:
QD config
No response
QD log