treeben77 / rblx-open-cloud

API Wrapper for Roblox Open Cloud in Python
https://devforum.roblox.com/t/1991959
MIT License
19 stars 2 forks source link

ValueError: Invalid isoformat string: '2022-11-11T14:45:54.90086Z' #2

Closed doritogon303 closed 2 years ago

doritogon303 commented 2 years ago

Ignoring exception in slash command 'h': Traceback (most recent call last): File "C:\Users\doritogon\AppData\Local\Programs\Python\Python310\lib\site-packages\rblxopencloud\datastore.py", line 157, in set return EntryVersion(data["version"], data["deleted"], data["contentLength"], data["createdTime"], data["objectCreatedTime"], self, key, self.scope if self.scope else scope) File "C:\Users\doritogon\AppData\Local\Programs\Python\Python310\lib\site-packages\rblxopencloud\datastore.py", line 23, in init self.key_created = datetime.datetime.fromisoformat(key_created[0:26]) ValueError: Invalid isoformat string: '2022-11-11T14:45:54.90086Z'

treeben77 commented 2 years ago

Hey Doritogon303! could you show some code of what you're doing, making sure you don't leak your api key or any other keys?

treeben77 commented 2 years ago

Thanks for the traceback, I've found the problem and think I have fixed it. I believe you haven't reproduced this bug multiple times but you should no longer see this error in the library after you update, which can be easily done with the shell command:

pip install rblx-open-cloud --upgrade

I won't close this issue yet in case you'd like to reply and thanks for using my library!

doritogon303 commented 2 years ago

thanks for this amazing library!