Giter Club home page Giter Club logo

zhenxun_plugin_slave_market's People

Contributors

ccyellowstar2 avatar

Stargazers

 avatar

Watchers

 avatar

zhenxun_plugin_slave_market's Issues

关于群友操作会报错

尝试购买群友报错
图片
更新群友市场
图片

关于群友的所有操作都会报错(一键打工只有自己,所以没影响)

04-14 20:12:48 [SUCCESS] nonebot | OneBot V11 3778405902 | [message.group.normal]: Message -2147473126 from 3353255023@[群:909545776] '购买群友[at:qq=3500262572]'
04-14 20:12:48 [INFO] nonebot | Event will be handled by Matcher(type='message', module=plugins.mute)
04-14 20:12:48 [INFO] nonebot | Event will be handled by Matcher(type='message', module=plugins.black_word)
04-14 20:12:48 [INFO] nonebot | Event will be handled by Matcher(type='message', module=basic_plugins.chat_history.chat_message)
04-14 20:12:48 [INFO] nonebot | Event will be handled by Matcher(type='message', module=plugins.parse_bilibili_json)
04-14 20:12:48 [INFO] nonebot | Matcher(type='message', module=plugins.mute) running complete
04-14 20:12:48 [INFO] nonebot | Matcher(type='message', module=plugins.black_word) running complete
04-14 20:12:48 [INFO] nonebot | Matcher(type='message', module=basic_plugins.chat_history.chat_message) running complete
04-14 20:12:48 [INFO] nonebot | Matcher(type='message', module=plugins.parse_bilibili_json) running complete
04-14 20:12:48 [INFO] nonebot | Event will be handled by Matcher(type='message', module=extensive_plugin.zhenxun_plugin_slave_market)
04-14 20:12:48 [INFO] nonebot | Matcher(type='message', module=extensive_plugin.zhenxun_plugin_slave_market) running complete
04-14 20:12:48 [ERROR] nonebot | Running Matcher(type='message', module=extensive_plugin.zhenxun_plugin_slave_market) failed.
Traceback (most recent call last):
  File "F:\zhenxun_bot-main(1)\zhenxun_bot-main\extensive_plugin\zhenxun_plugin_slave_market\__init__.py", line 119, in _
    if user_ := await GroupInfoUser.get_or_none(user_qq=at[0], group_id=group_id):
  File "C:\Users\huangyx\AppData\Local\pypoetry\Cache\virtualenvs\zhenxun-bot-shKTsY7u-py3.9\lib\site-packages\tortoise\queryset.py", line 1000, in __await__
    self._make_query()
  File "C:\Users\huangyx\AppData\Local\pypoetry\Cache\virtualenvs\zhenxun-bot-shKTsY7u-py3.9\lib\site-packages\tortoise\queryset.py", line 962, in _make_query
    self.resolve_filters(
  File "C:\Users\huangyx\AppData\Local\pypoetry\Cache\virtualenvs\zhenxun-bot-shKTsY7u-py3.9\lib\site-packages\tortoise\queryset.py", line 134, in resolve_filters
    modifier &= node.resolve(model, model._meta.basetable)
  File "C:\Users\huangyx\AppData\Local\pypoetry\Cache\virtualenvs\zhenxun-bot-shKTsY7u-py3.9\lib\site-packages\tortoise\expressions.py", line 359, in resolve
    return self._resolve_kwargs(model, table)
  File "C:\Users\huangyx\AppData\Local\pypoetry\Cache\virtualenvs\zhenxun-bot-shKTsY7u-py3.9\lib\site-packages\tortoise\expressions.py", line 317, in _resolve_kwargs
    key, value = self._get_actual_filter_params(model, raw_key, raw_value)
  File "C:\Users\huangyx\AppData\Local\pypoetry\Cache\virtualenvs\zhenxun-bot-shKTsY7u-py3.9\lib\site-packages\tortoise\expressions.py", line 311, in _get_actual_filter_params
    raise FieldError(f"Unknown filter param '{key}'. Allowed base values are {allowed}")
tortoise.exceptions.FieldError: Unknown filter param 'user_qq'. Allowed base values are ['group_id', 'id', 'nickname', 'uid', 'user_id', 'user_join_time', 'user_name']

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "F:\zhenxun_bot-main(1)\zhenxun_bot-main\bot.py", line 21, in <module>
    nonebot.run()
  File "C:\Users\huangyx\AppData\Local\pypoetry\Cache\virtualenvs\zhenxun-bot-shKTsY7u-py3.9\lib\site-packages\nonebot\__init__.py", line 333, in run
    get_driver().run(*args, **kwargs)
  File "C:\Users\huangyx\AppData\Local\pypoetry\Cache\virtualenvs\zhenxun-bot-shKTsY7u-py3.9\lib\site-packages\nonebot\drivers\fastapi.py", line 199, in run
    uvicorn.run(
  File "C:\Users\huangyx\AppData\Local\pypoetry\Cache\virtualenvs\zhenxun-bot-shKTsY7u-py3.9\lib\site-packages\uvicorn\main.py", line 587, in run
    server.run()
  File "C:\Users\huangyx\AppData\Local\pypoetry\Cache\virtualenvs\zhenxun-bot-shKTsY7u-py3.9\lib\site-packages\uvicorn\server.py", line 61, in run
    return asyncio.run(self.serve(sockets=sockets))
  File "C:\Users\huangyx\AppData\Local\Programs\Python\Python39\lib\asyncio\runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "C:\Users\huangyx\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 634, in run_until_complete
    self.run_forever()
  File "C:\Users\huangyx\AppData\Local\Programs\Python\Python39\lib\asyncio\windows_events.py", line 321, in run_forever
    super().run_forever()
  File "C:\Users\huangyx\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 601, in run_forever
    self._run_once()
  File "C:\Users\huangyx\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 1905, in _run_once
    handle._run()
  File "C:\Users\huangyx\AppData\Local\Programs\Python\Python39\lib\asyncio\events.py", line 80, in _run
    self._context.run(self._callback, *self._args)
  File "C:\Users\huangyx\AppData\Local\pypoetry\Cache\virtualenvs\zhenxun-bot-shKTsY7u-py3.9\lib\site-packages\nonebot\message.py", line 467, in check_and_run_matcher
    await _run_matcher(
> File "C:\Users\huangyx\AppData\Local\pypoetry\Cache\virtualenvs\zhenxun-bot-shKTsY7u-py3.9\lib\site-packages\nonebot\message.py", line 419, in _run_matcher
    await matcher.run(bot, event, state, stack, dependency_cache)
  File "C:\Users\huangyx\AppData\Local\pypoetry\Cache\virtualenvs\zhenxun-bot-shKTsY7u-py3.9\lib\site-packages\nonebot\internal\matcher\matcher.py", line 759, in run
    await self.simple_run(bot, event, state, stack, dependency_cache)
  File "C:\Users\huangyx\AppData\Local\pypoetry\Cache\virtualenvs\zhenxun-bot-shKTsY7u-py3.9\lib\site-packages\nonebot\internal\matcher\matcher.py", line 734, in simple_run
    await handler(
  File "C:\Users\huangyx\AppData\Local\pypoetry\Cache\virtualenvs\zhenxun-bot-shKTsY7u-py3.9\lib\site-packages\nonebot\dependencies\__init__.py", line 108, in __call__
    return await cast(Callable[..., Awaitable[R]], self.call)(**values)
  File "F:\zhenxun_bot-main(1)\zhenxun_bot-main\extensive_plugin\zhenxun_plugin_slave_market\__init__.py", line 126, in _
    if user_ := await GroupInfoUser.get_or_none(user_qq=atqq, group_id=group_id):
  File "C:\Users\huangyx\AppData\Local\pypoetry\Cache\virtualenvs\zhenxun-bot-shKTsY7u-py3.9\lib\site-packages\tortoise\queryset.py", line 1000, in __await__
    self._make_query()
  File "C:\Users\huangyx\AppData\Local\pypoetry\Cache\virtualenvs\zhenxun-bot-shKTsY7u-py3.9\lib\site-packages\tortoise\queryset.py", line 962, in _make_query
    self.resolve_filters(
  File "C:\Users\huangyx\AppData\Local\pypoetry\Cache\virtualenvs\zhenxun-bot-shKTsY7u-py3.9\lib\site-packages\tortoise\queryset.py", line 134, in resolve_filters
    modifier &= node.resolve(model, model._meta.basetable)
  File "C:\Users\huangyx\AppData\Local\pypoetry\Cache\virtualenvs\zhenxun-bot-shKTsY7u-py3.9\lib\site-packages\tortoise\expressions.py", line 359, in resolve
    return self._resolve_kwargs(model, table)
  File "C:\Users\huangyx\AppData\Local\pypoetry\Cache\virtualenvs\zhenxun-bot-shKTsY7u-py3.9\lib\site-packages\tortoise\expressions.py", line 317, in _resolve_kwargs
    key, value = self._get_actual_filter_params(model, raw_key, raw_value)
  File "C:\Users\huangyx\AppData\Local\pypoetry\Cache\virtualenvs\zhenxun-bot-shKTsY7u-py3.9\lib\site-packages\tortoise\expressions.py", line 311, in _get_actual_filter_params
    raise FieldError(f"Unknown filter param '{key}'. Allowed base values are {allowed}")
tortoise.exceptions.FieldError: Unknown filter param 'user_qq'. Allowed base values are ['group_id', 'id', 'nickname', 'uid', 'user_id', 'user_join_time', 'user_name']

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.