Skip to content

Getting exception creating Rally object with 1.0.0 #21

@patknight

Description

@patknight

I'm trying to create the initial Rally object and I'm getting the following traceback. The same call works fine with 0.9.4. If you let me know what else you need to debug or anything you need me to run that will help, I'll try to get that for you.

rally=Rally(RALLY_SERVER,RALLY_USER,RALLY_PASSWORD,workspace=RALLY_WORKSPACE,project=RALLY_PROJECT)
ERROR: Unable to access item 10 (9 items served so far from a container purported to be 13 items in length)
Traceback (most recent call last):
File "", line 1, in
File "/Users/pknight/Library/Python/2.7/lib/python/site-packages/pyral/restapi.py", line 223, in init
self.contextHelper.check(self.server)
File "/Users/pknight/Library/Python/2.7/lib/python/site-packages/pyral/context.py", line 226, in check
self._getDefaults(response)
File "/Users/pknight/Library/Python/2.7/lib/python/site-packages/pyral/context.py", line 293, in _getDefaults
projects = self.agent.get('Project', fetch="Name", workspace=self._defaultWorkspace)
File "/Users/pknight/Library/Python/2.7/lib/python/site-packages/pyral/restapi.py", line 786, in get
context, augments = self.contextHelper.identifyContext(**kwargs)
File "/Users/pknight/Library/Python/2.7/lib/python/site-packages/pyral/context.py", line 543, in identifyContext
self._establishContext(kwargs)
File "/Users/pknight/Library/Python/2.7/lib/python/site-packages/pyral/context.py", line 522, in _establishContext
self._getWorkspacesAndProjects(workspace=workspace, project=project)
File "/Users/pknight/Library/Python/2.7/lib/python/site-packages/pyral/context.py", line 638, in _getWorkspacesAndProjects
for project in response:
File "/Users/pknight/Library/Python/2.7/lib/python/site-packages/pyral/rallyresp.py", line 271, in next
self._page[:] = self.__retrieveNextPage()
File "/Users/pknight/Library/Python/2.7/lib/python/site-packages/pyral/rallyresp.py", line 327, in __retrieveNextPage
content = json.loads(response.content)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/init.py", line 338, in loads
return _default_decoder.decode(s)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 365, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 383, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

The same call works fine with 0.9.4. What o

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions