使用Python库pyral调用Rally时StopIteration错误

时间:2018-09-04 07:54:49

标签: python rally pyral

我正试图用吡咯打给拉力赛。

我有权访问要尝试获取的工作区和项目。但是我收到 StopIteration 错误:

Traceback (most recent call last):
  File "test.py", line 7, in <module>
    rally = Rally("rally1.rallydev.com", user="user@domain.com", password="PASSWORD", workspace="Workspace", project="Project")
  File "C:\RallyRestToolkitForPython-master\pyral\restapi.py", line 259, in __init__
    self.contextHelper.check(self.server, wksp, proj, self.isolated_workspace)
  File "C:\RallyRestToolkitForPython-master\pyral\context.py", line 175, in check
    self._getDefaults(user_response)
  File "C:\RallyRestToolkitForPython-master\pyral\context.py", line 429, in _getDefaults
    user = user_response.next()
  File "C:\RallyRestToolkitForPython-master\pyral\rallyresp.py", line 290, in next
    return self.__next__()
  File "C:\RallyRestToolkitForPython-master\pyral\rallyresp.py", line 304, in __next__
    raise StopIteration
StopIteration

关于为什么会出现此错误的任何想法?

版本: Python-2.7

pyral-1.10.0

请求-2.12.5

0 个答案:

没有答案