Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
austincityuwen opened this issue Mar 9, 2023 · 0 comments

Comments

@austincityuwen
Copy link

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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant