python-wechaty-getting-started icon indicating copy to clipboard operation
python-wechaty-getting-started copied to clipboard

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

Open austincityuwen opened this issue 2 years ago • 0 comments

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'

austincityuwen avatar Mar 09 '23 08:03 austincityuwen