Hello John,
I am experiencing the same issue as Michael in our test and production environment. I have the latest github pulled and installed.
Can you investigate this issue?
Cheers
Amine
Here is my laptop configuration
OS X Maverick (10.9.4)
Python 2.7.5
pyral 1. 0.1
requests 2.3.0
Here is the traceback I get:
➜ examples git:(master) ✗ ./periscope.py
|rally1.rallydev.com| |
amchouki@cisco.com| |********| |default| |default|
ERROR: AttributeError: 'RallyRESTResponse' object has no attribute 'page' for response from request to get next data page for Workspaces
ERROR: Unable to access item 3 (2 items served so far from a container purported to be 5 items in length)
Traceback (most recent call last):
File "./periscope.py", line 33, in <module>
main(sys.argv[1:])
File "./periscope.py", line 23, in main
for workspace in rally.getWorkspaces():
File "/Library/Python/2.7/site-packages/pyral/restapi.py", line 394, in getWorkspaces
wkspcs = self.contextHelper.getAccessibleWorkspaces()
File "/Library/Python/2.7/site-packages/pyral/context.py", line 393, in getAccessibleWorkspaces
wksp = [wksp for wksp in self._subs_workspaces if wksp.Name == workspace][0]
IndexError: list index out of range
➜ RallyRestToolkitForPython git:(master) ✗ cat rally.hist.periscope
2014-07-22 17:26:31.223 Following entries record Rally REST API interaction via
https://rally1.rallydev.com/slm/webservice/v2.0 for user:
amchouki@cisco.com2014-07-22 17:26:31.446 GET
https://rally1.rallydev.com/slm/webservice/v2.0/Workspace/468262680/Projects?fetch="ObjectID,Name,State"&pagesize=200&start_index=1?pagesize=200&start=12014-07-22 17:26:31.983 200
https://rally1.rallydev.com/slm/webservice/v2.0/Workspace/468262680/Projects?fetch="ObjectID,Name,State"&pagesize=200&start_index=1?pagesize=200&start=1 TotalResultCount 6