Closed lukas-ba-github closed 3 years ago
Issue Number 4. also happens when a service_id is provided.
Hey, thanks for the report!
I looked over the example files and corrected any errors I could find in both the RST sources and README file. I did not want to use characters other than my own for the .outfit()
example (and they'd still be at risk of losing their outfit), so I replaced that portion with .is_online()
to avoid the issue down the road.
I was not able to reproduce the unexpected keys warning and providing service IDs does prevent the associated error on my test systems (Debian and Win10, both running 3.8.9).
What platform/version are you on? Is there any additional code involved beyond what you posted above?
(Closing this issue due to inactivity.)
There are some issues with the example code
Typos that i fixed in my example above 1.1 NameError: name 'character' is not defined 1.1 'CharacterData' object has no attribute 'asp_rank'
2 AttributeError: module 'asyncio' has no attribute 'run_until_complete'
The example character you provided as an example is not part of an outfit and thus outfit is None, thus outfit.name() raises an Exception. I added a character that is in an outfit in my example. AttributeError: 'NoneType' object has no attribute 'name'
While the first warning regarding the default service ID makes sense, I also get the following warning that you might want to investigate further.