bot-ssttkkl / nonebot-plugin-pixivbot

NoneBot插件,发送随机Pixiv插画、画师更新推送、定时订阅推送……

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

内部错误:<class 'TypeError'>unsupported operand type(s) for /: 'str' and 'str'

Ctumille opened this issue · comments

由于nb装了插件导致的错误,现在无法知晓是哪个运行库的更新导致了这个问题

给一下pip list

________________________________ 发件人: Ctumille @.> 发送时间: 2023年10月16日 17:11 收件人: bot-ssttkkl/nonebot-plugin-pixivbot @.> 抄送: Subscribed @.> 主题: [bot-ssttkkl/nonebot-plugin-pixivbot] 内部错误:<class 'TypeError'>unsupported operand type(s) for /: 'str' and 'str' (Issue #212) 由于nb装了插件导致的错误,现在无法知晓是哪个运行库的更新导致了这个问题 ― Reply to this email directly, view it on GitHub<#212>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEEHL4WYUPJRKJHGNH2AMQDX7T23RAVCNFSM6AAAAAA6B3CVTSVHI2DSMVQWIX3LMV43ASLTON2WKOZRHE2DINZUGM2DIMY. You are receiving this because you are subscribed to this thread.Message ID: @.>

抱歉选错了,以防万一还是放上完整版:
Package Version Editable project location


aiocache 0.11.1
aiocqhttp 1.4.3
aiofiles 23.2.1
aiohttp 3.8.4
aiohttp-socks 0.8.0
aiosignal 1.3.1
aiosqlite 0.18.0
alembic 1.10.2
anyio 3.6.2
APScheduler 3.10.1
arrow 1.2.3
async-timeout 4.0.2
asyncache 0.3.1
attrs 22.2.0
bbcode 1.1.0
bcrypt 4.0.1
beanie 1.13.1
beautifulsoup4 4.11.2
bidict 0.22.0
binaryornot 0.4.4
black 22.12.0
blinker 1.5
bs4 0.0.1
build 0.10.0
CacheControl 0.12.11
cachetools 5.3.1
cashews 5.0.0
certifi 2022.12.7
cffi 1.15.1
cfgv 3.3.1
chardet 5.0.0
charset-normalizer 3.1.0
cleo 2.0.1
click 8.1.3
colorama 0.4.6
contourpy 1.0.5
cookiecutter 2.1.1
crashtest 0.4.1
cryptography 39.0.2
cycler 0.11.0
Deprecated 1.2.13
diro-py 0.1.1
distlib 0.3.6
dnspython 2.3.0
dulwich 0.21.3
email-validator 1.3.1
et-xmlfile 1.1.0
expiringdict 1.2.2
fastapi 0.95.0
fastapi_amis_admin 0.5.1
fastapi_user_auth 0.5.0
feedparser 6.0.10
filelock 3.10.0
flake8 6.0.0
fonttools 4.38.0
frozendict 2.3.4
frozenlist 1.3.3
fuzzywuzzy 0.18.0
gitdb 4.0.10
GitPython 3.1.31
greenlet 1.1.3
gsuid-core 0.1.0 /home/ctumille/gsuid_core
h11 0.14.0
h2 4.1.0
hpack 4.0.0
html5lib 1.1
httpcore 0.16.3
httptools 0.5.0
httpx 0.23.3
hypercorn 0.14.3
hyperframe 6.0.1
identify 2.5.21
idna 3.4
importlib-metadata 6.0.0
installer 0.7.0
isort 5.12.0
itsdangerous 2.1.2
jaraco.classes 3.2.3
jeepney 0.8.0
Jinja2 3.1.2
jinja2-time 0.2.0
joblib 1.2.0
jsonschema 4.17.3
keyring 23.13.1
kiwisolver 1.4.4
lazy 1.5
Levenshtein 0.20.8
libcst 0.4.9
lockfile 0.12.2
loguru 0.6.0
lxml 4.9.2
Mako 1.2.3
Markdown 3.4.1
MarkupSafe 2.1.1
matplotlib 3.6.1
mccabe 0.7.0
more-itertools 9.1.0
motor 3.1.1
msgpack 1.0.4
msgspec 0.13.1
multidict 6.0.4
mypy-extensions 1.0.0
nb-cli 1.0.5
nodeenv 1.7.0
nonebot-adapter-onebot 2.3.1
nonebot-bison 0.8.2
nonebot-plugin-60s 0.2.0
nonebot-plugin-access-control 0.5.8
nonebot-plugin-apscheduler 0.3.0
nonebot-plugin-bawiki 0.9.7
nonebot-plugin-cocdicer 0.4.0
nonebot-plugin-datastore 1.1.0
nonebot-plugin-gsmaterial 0.2.5
nonebot-plugin-htmlrender 0.2.2
nonebot-plugin-imageutils 0.1.14
nonebot-plugin-localstore 0.2.0
nonebot-plugin-PicMenu 0.2
nonebot-plugin-picsearcher 0.1.10
nonebot-plugin-pixivbot 2.0.4
nonebot-plugin-pixivbot-onebot-v11 1.5.1
nonebot-plugin-send-anything-anywhere 0.3.2
nonebot-plugin-session 0.1.0
nonebot-plugin-simplemusic 0.1.5
nonebot-plugin-tarot 0.3.3
nonebot-plugin-ygo 1.0.2
nonebot2 2.1.1
noneprompt 0.1.7
numpy 1.23.4
opencv-python-headless 4.6.0.66
openpyxl 3.0.10
packaging 21.3
passlib 1.7.4
pathspec 0.10.3
pexpect 4.8.0
pil-utils 0.1.6
Pillow 9.4.0
pip 23.0.1
PixivPy-Async 1.2.14
pkginfo 1.9.6
platformdirs 3.1.1
playwright 1.27.1
poetry 1.4.1
poetry-core 1.5.2
poetry-plugin-export 1.3.0
poyo 0.5.0
pre-commit 2.21.0
priority 2.0.0
prompt-toolkit 3.0.31
ptyprocess 0.7.0
pycln 2.1.3
pycodestyle 2.10.0
pycparser 2.21
pydantic 1.10.13
pyee 8.1.0
pyfiglet 0.8.post1
pyflakes 3.0.1
Pygments 2.13.0
pygtrie 2.5.0
PyJWT 2.6.0
pymdown-extensions 9.7
pymongo 4.3.2
pyparsing 3.0.9
pypinyin 0.49.0
pypng 0.20220715.0
pyproject_hooks 1.0.0
pyrsistent 0.19.3
python-dateutil 2.8.2
python-dotenv 1.0.0
python-engineio 4.3.4
python-Levenshtein 0.20.8
python-markdown-math 0.8
python-multipart 0.0.6
python-slugify 6.1.2
python-socketio 5.7.2
python-socks 2.0.3
pytz 2022.7.1
pytz-deprecation-shim 0.1.0.post0
PyYAML 6.0
qrcode 7.4.2
quart 0.18.3
rapidfuzz 2.13.2
requests 2.28.1
requests-toolbelt 0.10.1
rfc3986 1.5.0
scikit-learn 1.1.3
scipy 1.9.3
SecretStorage 3.3.3
setuptools 67.6.0
sgmllib3k 1.0.0
Shapely 1.8.5.post1
shellingham 1.5.0.post1
shortuuid 1.0.11
six 1.16.0
smmap 5.0.0
sniffio 1.3.0
soupsieve 2.4
SQLAlchemy 2.0.8
sqlalchemy_database 0.1.0
sqlalchemy2-stubs 0.0.2a32
sqlmodel 0.0.8
sqlmodelx 0.0.4
ssttkkl-nonebot-utils 0.1.17
starlette 0.26.1
StrEnum 0.4.15
text-unidecode 1.3
threadpoolctl 3.1.0
tinydb 4.7.0
toml 0.10.2
tomli 2.0.1
tomlkit 0.11.6
trove-classifiers 2023.3.9
typer 0.7.0
typing_extensions 4.5.0
typing-inspect 0.8.0
tzdata 2022.7
tzlocal 5.0.1
ujson 5.5.0
urllib3 1.26.12
uvicorn 0.21.1
uvloop 0.17.0
virtualenv 20.21.0
watchfiles 0.18.1
wcwidth 0.2.5
webencodings 0.5.1
websockets 10.4
Werkzeug 2.2.2
wheel 0.37.1
wordcloud 1.8.2.2
wrapt 1.14.1
wsproto 1.2.0
yarl 1.9.2
zipp 3.11.0

尝试安装一下nonebot-plugin-pixivbot 2.0.5版本

尝试安装一下nonebot-plugin-pixivbot 2.0.5版本

这次不再报标题错误了,但是在我有填写refresh_token的情况下出现了和常见错误里不太一样的【网络错误,请稍后再试( No access_token Found!)】,此时确认代理已经填写且可用

检查下日志有没有登录成功,启动的时候有没有别的报错

检查下日志有没有登录成功,启动的时候有没有别的报错

实在抱歉,检查完发现是clash代理并没有把pixiv链接加入代理列表导致的,现在已经解决了,非常感谢