Hello.
Now, login using the Python API is no longer available.
Does it have anything to do with the ShotGrid update ?
My environment is
- Windows 7
- Python 2.7.15
- shotgun_api3 3.3.1
- Autodesk Identity not yet linked
Test Code
import shotgun_api3
params = {}
params['base_url'] = 'https://dummy.shotgunstudio.com/'
params['login'] = 'dummy'
params['password'] = 'dummy'
sg = shotgun_api3.Shotgun(**params)
sg.find('Project',[],[])
Errors
Traceback (most recent call last):
File "C:\python\_test.py", line 8862, in <module>
test_login()
File "C:\python\_test.py", line 8858, in test_login
sg.find('Project',[],[])
File "C:\python\shotgun_api3\shotgun.py", line 1000, in find
result = self._call_rpc("read", params)
File "C:\python\shotgun_api3\shotgun.py", line 3360, in _call_rpc
self._response_errors(response)
File "C:\python\shotgun_api3\shotgun.py", line 3665, in _response_errors
raise Fault(sg_response.get("message", "Unknown Error"))
Fault: Uncaught exception! undefined method `get_user' for nil:NilClass