You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Built and installed module from git source using provided commands
Created a new file and imported GD with some test code
Ran the file
Code
importgdprint(gd.client.get_user(account_id=16)) # get user by account id
File run and error log:
PS C:\Users\Zoe\Desktop\REDACTED> & C:/Users/Zoe/AppData/Local/Programs/Python/Python312/python.exe c:/Users/Zoe/Desktop/REDACTED/api/test.py
Traceback (most recent call last):
File "c:\Users\Zoe\Desktop\REDACTED\api\test.py", line 1, in <module>
import gd
File "C:\Users\Zoe\AppData\Local\Programs\Python\Python312\Lib\site-packages\gd\__init__.py", line 11, in <module>
from gd import (
File "C:\Users\Zoe\AppData\Local\Programs\Python\Python312\Lib\site-packages\gd\api\__init__.py", line 1, in <module>
from gd.api.artist import ArtistAPI
File "C:\Users\Zoe\AppData\Local\Programs\Python\Python312\Lib\site-packages\gd\api\artist.py", line 11, in <module>
from gd.schema import ArtistAPISchema
File "C:\Users\Zoe\AppData\Local\Programs\Python\Python312\Lib\site-packages\gd\schema.py", line 39, in <module>
artist = load_module("artist")
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Zoe\AppData\Local\Programs\Python\Python312\Lib\site-packages\gd\schema.py", line 32, in load_module
raise FileNotFoundError(path_string)
FileNotFoundError: C:/Users/Zoe/AppData/Local/Programs/Python/Python312/Lib/site-packages/gd/submodules/schema/gd/schema/artist.capnp
Comments
When the module is installed, no directory called submodules/schema/gd/schema at Python/Python312/Lib/site-packages/gd is created. If the directory is created manually and the schema from gd.schema is cloned into the directory, there are still missing schemas; comment.capnp, demonInfo.capnp, and password.capnp. I looked over https://github.com/gd-programming/gd.schema and the schema appears to not include the aforementioned files. I don't know if this is a version mismatch, but this is an issue that is problematic for many different users using this package as well (as seen in the issues tab).
The text was updated successfully, but these errors were encountered:
Error description and replication
Code
File run and error log:
Comments
When the module is installed, no directory called
submodules/schema/gd/schema
atPython/Python312/Lib/site-packages/gd
is created. If the directory is created manually and the schema from gd.schema is cloned into the directory, there are still missing schemas;comment.capnp
,demonInfo.capnp
, andpassword.capnp
. I looked over https://github.com/gd-programming/gd.schema and the schema appears to not include the aforementioned files. I don't know if this is a version mismatch, but this is an issue that is problematic for many different users using this package as well (as seen in the issues tab).The text was updated successfully, but these errors were encountered: