Skip to content

运行报错:TypeError: __init__() got an unexpected keyword argument '_warn_on_bytestring' #87

Open
@austincityuwen

Description

@austincityuwen

2023-03-09 16:28:56,848 - PuppetService - WARNING - there are endpoint<192.168.1.251:9001> and token<7cd3bfcd82fb491fa7f85a81e1facd1a>, and the endpoint will be used for service ...
Traceback (most recent call last):
File "C:/PythonProject/ChatGPT/python-wechaty-getting-started/python-wechaty-getting-started/examples/ding-dong-bot.py", line 104, in
asyncio.run(main())
File "C:\MyProgram\python\lib\asyncio\runners.py", line 43, in run
return loop.run_until_complete(main)
File "C:\MyProgram\python\lib\asyncio\base_events.py", line 616, in run_until_complete
return future.result()
File "C:/PythonProject/ChatGPT/python-wechaty-getting-started/python-wechaty-getting-started/examples/ding-dong-bot.py", line 93, in main
bot = Wechaty()
File "C:\MyProgram\python\lib\site-packages\wechaty\wechaty.py", line 201, in init
self._plugin_manager: WechatyPluginManager = WechatyPluginManager(
File "C:\MyProgram\python\lib\site-packages\wechaty\plugin.py", line 594, in init
scheduler_options.job_store = SQLAlchemyJobStore(scheduler_options.job_store)
File "C:\MyProgram\python\lib\site-packages\apscheduler\jobstores\sqlalchemy.py", line 60, in init
Column('id', Unicode(191, _warn_on_bytestring=False), primary_key=True),
File "C:\MyProgram\python\lib\site-packages\sqlalchemy\sql\sqltypes.py", line 325, in init
super().init(length=length, **kwargs)
TypeError: init() got an unexpected keyword argument '_warn_on_bytestring'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions