Closed legeekmetalleux closed 3 years ago
the message have change
Traceback (most recent call last): File "/usr/bin/ai-dungeon-cli", line 33, in <module> sys.exit(load_entry_point('ai-dungeon-cli==0.4.5', 'console_scripts', 'ai-dungeon-cli')()) File "/usr/lib/python3.8/site-packages/ai_dungeon_cli/__init__.py", line 356, in main ai_dungeon.make_user_choose_config() File "/usr/lib/python3.8/site-packages/ai_dungeon_cli/__init__.py", line 177, in make_user_choose_config prompt, settings = self.api.get_options(self.api.single_player_mode_id) File "/usr/lib/python3.8/site-packages/ai_dungeon_cli/impl/api/client.py", line 119, in get_options result = self._execute_query(''' File "/usr/lib/python3.8/site-packages/ai_dungeon_cli/impl/api/client.py", line 32, in _execute_query return self.gql_client.execute(gql(query), variable_values=params) File "/home/max/.local/lib/python3.8/site-packages/gql/client.py", line 120, in execute data: Dict[Any, Any] = loop.run_until_complete( File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete return future.result() File "/home/max/.local/lib/python3.8/site-packages/gql/client.py", line 99, in execute_async return await session.execute(document, *args, **kwargs) File "/home/max/.local/lib/python3.8/site-packages/gql/client.py", line 342, in execute raise TransportQueryError(str(result.errors[0]), errors=result.errors) gql.transport.exceptions.TransportQueryError: {'message': 'Cannot query field "content" on type "Query". Did you mean "comments"?', 'locations': [{'line': 7, 'column': 3}], 'extensions': {'code': 'INTERNAL_SERVER_ERROR'}}
Hi.
Maybe should I make the message more visible but this script is not working as of writing:
It stopped working with API changes that came alongside the introduction of the stamina system (so that's very recent).
We'll eventually adapt to these API changes, but by experience when changes happen to their API, they tend to span over 2/3 weeks. So it's safer to wait a bit instead of trying to keep up with every change they'll introduce every few day.
Any update? Would love to use this lib - but also willing to just try running the site in selenium if you're busy.
Yeah, I’ve been quite busy.
I don’t even know if they shipped more drastic updates since the introduction of the stamina system.
I don’t know if the selenium approach would be more perennial or even much faster to implement.
I cannot launch application I have this error message ( i use archlinux)
sorry for my english i don't speak english it's google translation