Error connecting to Shotgun
Quote from jem on 25. July 2019, 12:43Hi Richard,
Thank you for sharing your fantastic pipeline tools.
We have just started using it and we are finding it to be good for what we need so far 🙂
One problem we have had that we are having trouble connecting to shotgun. This has happened on one workstation a little and another workstation all the time.
If we launch the prism browser from the maya shelf , and we right-click on the thumbnail in the prism project browser and select publish to shotgun we get and unknow error. (script pasted below)
It might have something to do with one of our guys creating new test projects and the prism project settings being messed with?
Your help would be much appreciated..
Many thanks
Jem
25/07/19 11:28:14 ERROR - Prism_Plugin_Shotgun v1.2.0.0:File "C:\Prism\Scripts\ProjectScripts\ProjectBrowser. py", line 219, in func_wrapper return func(*args, **kwargs)
File "C:\Prism\Scripts\
ProjectScripts\ProjectBrowser. py", line 4128, in rclPreview rcmenu.exec_(self.l_preview.
mapToGlobal(pos)) File "C:\Prism\Plugins\
ProjectManagers\Shotgun\ Scripts\Prism_Shotgun_ Functions.py", line 324, in <lambda> sgAct.triggered.connect(
lambda: self.sgPublish(origin)) File "C:\Prism\Plugins\
ProjectManagers\Shotgun\ Scripts\Prism_Shotgun_ Functions.py", line 72, in func_wrapper return func(*args, **kwargs)
File "C:\Prism\Plugins\
ProjectManagers\Shotgun\ Scripts\Prism_Shotgun_ Functions.py", line 596, in sgPublish sgp = ShotgunPublish.sgPublish(core=
self.core, origin=self, ptype=pType, shotName=shotName, task=taskName, version=versionName, sources=imgPaths, startFrame=sf) File "C:\Prism\Plugins\
ProjectManagers\Shotgun\ Scripts\ShotgunPublish.py", line 86, in __init__ sgData = origin.connectToShotgun()
File "C:\Prism\Plugins\
ProjectManagers\Shotgun\ Scripts\Prism_Shotgun_ Functions.py", line 75, in func_wrapper erStr = ("%s ERROR - Prism_Plugin_Shotgun %s:\n%s\n\n%s" % (time.strftime("%d/%m/%y %X"), args[0].plugin.version, ''.join(traceback.format_
stack()), traceback.format_exc())) Traceback (most recent call last):
File "C:\Prism\Plugins\
ProjectManagers\Shotgun\ Scripts\Prism_Shotgun_ Functions.py", line 72, in func_wrapper return func(*args, **kwargs)
File "C:\Prism\Plugins\
ProjectManagers\Shotgun\ Scripts\Prism_Shotgun_ Functions.py", line 356, in connectToShotgun self.sg = shotgun_api3.Shotgun(sgSite, script_name=sgScriptName, api_key=sgApiKey)
File "C:/Prism\PythonLibs\Python27\
shotgun_api3\shotgun.py", line 574, in __init__ self.server_caps
File "C:/Prism\PythonLibs\Python27\
shotgun_api3\shotgun.py", line 624, in server_caps self.info())
File "C:/Prism\PythonLibs\Python27\
shotgun_api3\shotgun.py", line 662, in info return self._call_rpc("info", None, include_auth_params=False)
File "C:/Prism\PythonLibs\Python27\
shotgun_api3\shotgun.py", line 3029, in _call_rpc self.config.api_path, encoded_payload, req_headers)
File "C:/Prism\PythonLibs\Python27\
shotgun_api3\shotgun.py", line 3170, in _make_call return self._http_request(verb, path, body, req_headers)
File "C:/Prism\PythonLibs\Python27\
shotgun_api3\shotgun.py", line 3221, in _http_request headers=headers)
File "C:/Prism\PythonLibs\Python27\
shotgun_api3\lib\httplib2\__ init__.py", line 1608, in request (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
File "C:/Prism\PythonLibs\Python27\
shotgun_api3\lib\httplib2\__ init__.py", line 1350, in _request (response, content) = self._conn_request(conn, request_uri, method, body, headers)
File "C:/Prism\PythonLibs\Python27\
shotgun_api3\lib\httplib2\__ init__.py", line 1306, in _conn_request response = conn.getresponse()
File "C:\Program Files\Autodesk\Maya2018\bin\
python27.zip\httplib.py", line 1123, in getresponse raise ResponseNotReady()
ResponseNotReady
ReplyForward
Hi Richard,
Thank you for sharing your fantastic pipeline tools.
We have just started using it and we are finding it to be good for what we need so far 🙂
One problem we have had that we are having trouble connecting to shotgun. This has happened on one workstation a little and another workstation all the time.
If we launch the prism browser from the maya shelf , and we right-click on the thumbnail in the prism project browser and select publish to shotgun we get and unknow error. (script pasted below)
It might have something to do with one of our guys creating new test projects and the prism project settings being messed with?
Your help would be much appreciated..
Many thanks
Jem
|
25/07/19 11:28:14 ERROR - Prism_Plugin_Shotgun v1.2.0.0:File "C:\Prism\Scripts\
return func(*args, **kwargs) File "C:\Prism\Scripts\ rcmenu.exec_(self.l_preview. File "C:\Prism\Plugins\ sgAct.triggered.connect( File "C:\Prism\Plugins\ return func(*args, **kwargs) File "C:\Prism\Plugins\ sgp = ShotgunPublish.sgPublish(core= File "C:\Prism\Plugins\ sgData = origin.connectToShotgun() File "C:\Prism\Plugins\ erStr = ("%s ERROR - Prism_Plugin_Shotgun %s:\n%s\n\n%s" % (time.strftime("%d/%m/%y %X"), args[0].plugin.version, ''.join(traceback.format_ Traceback (most recent call last): File "C:\Prism\Plugins\ return func(*args, **kwargs) File "C:\Prism\Plugins\ self.sg = shotgun_api3.Shotgun(sgSite, script_name=sgScriptName, api_key=sgApiKey) File "C:/Prism\PythonLibs\Python27\ self.server_caps File "C:/Prism\PythonLibs\Python27\ self.info()) File "C:/Prism\PythonLibs\Python27\ return self._call_rpc("info", None, include_auth_params=False) File "C:/Prism\PythonLibs\Python27\ self.config.api_path, encoded_payload, req_headers) File "C:/Prism\PythonLibs\Python27\ return self._http_request(verb, path, body, req_headers) File "C:/Prism\PythonLibs\Python27\ headers=headers) File "C:/Prism\PythonLibs\Python27\ (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey) File "C:/Prism\PythonLibs\Python27\ (response, content) = self._conn_request(conn, request_uri, method, body, headers) File "C:/Prism\PythonLibs\Python27\ response = conn.getresponse() File "C:\Program Files\Autodesk\Maya2018\bin\ raise ResponseNotReady() ResponseNotReady
|
|
|
Quote from RichardF on 29. July 2019, 23:08It shouldn't be a problem that you create multiple test projects. I guess you tried to restart Maya and the PC? Which authentication are you using, the script API key or the shotgun user account in the Prism Settings?
Also, which version of Maya are you using? This site contains a table, which indicates that Maya 2016 might have problems when connecting to Shotgun. https://support.shotgunsoftware.com/hc/en-us/articles/360009371913-Insecure-HTTPS-and-Old-Toolkit-Core-Deprecation-May-15th-2019
It shouldn't be a problem that you create multiple test projects. I guess you tried to restart Maya and the PC? Which authentication are you using, the script API key or the shotgun user account in the Prism Settings?
Also, which version of Maya are you using? This site contains a table, which indicates that Maya 2016 might have problems when connecting to Shotgun. https://support.shotgunsoftware.com/hc/en-us/articles/360009371913-Insecure-HTTPS-and-Old-Toolkit-Core-Deprecation-May-15th-2019
