Comments (7)
I'm unable to repro this using a valid ObjectID value or an invalid ObjectID value or using a non-numeric ObjectID value. I get a different error if there's nothing in args. Can you alter your query_criteria to be FormattedID = and run it again to see if that works and if so, record the ObjectID value and use that specifically in the query_criteria (not passing in the ObjectID value on the command line) and see if it fails in the same way?
Additionally, do you have any custom fields defined for Defect in the target Workspace?
from rallyresttoolkitforpython.
I ve tried a different way:
fields = "FormattedID",
criterion = 'Parent.Name = "Sports"'
query_criteria = 'Parent.Name = "Sports"'
response = rally.get('Project', query=query_criteria)
print response
And defined the workspace in the connection and still got the error
rally = Rally("server","user","password",workspace="workspace")
from rallyresttoolkitforpython.
There's definitely an error in the rallyresp.py code file (line 370) that references an non-existing req_type instance variable when it should be referencing request_type. This will fixed in 1.1.1, but I don't yet have an estimated release date for that.
from rallyresttoolkitforpython.
Is there any workaround? I am facing the same issue as well.
from rallyresttoolkitforpython.
Temporary workaround would be to modify line 370 in pyral/rallyresp.py from:
(self.req_type, self.resultCount, self.content['Results'])
to
(self.request_type, self.resultCount, self.content['Results'])
from rallyresttoolkitforpython.
Thanks. After doing as you suggested, it shows KeyError for self.content['Results'] . I have modified self.content['Results'] to self.content.get('Results') to get rid of it.
from rallyresttoolkitforpython.
fixed in 1.1.1
from rallyresttoolkitforpython.
Related Issues (20)
- 'RallyRESTResponse' object has no attribute 'ref' HOT 2
- Error trying to add a feature to collection (milestone) HOT 1
- First python example in the Simple Use section of overview.rst has a bug HOT 2
- How can we override "User" name in "Revision History" in case we are using service account API key of Rally? HOT 2
- I can not connect to rally when I'm using VPN HOT 4
- getAllUsers() is broken HOT 4
- **Exception: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None))** happens 2 out of 5 times HOT 4
- Project is required when I tried to query through Pyral. However, Project is not required in Rally REST API. HOT 2
- ReleasedBy value of a UserStory is always Null HOT 5
- How to directly extract all attributes from a single pyral.entity.Defect? HOT 5
- How to get `_refObjectUUID` for a <pyral.entity.RevisionHistory>? HOT 1
- Will pyral support using multiple users? HOT 2
- Please do not call socket.setdefaulttimeout()
- Pyral returns incorrect results for ConversationPosts sometimes
- Milestones returns empty list if accessed from a Feature that was accessed from a UserStory that had "Milestones" in its fetch params. HOT 2
- Pyral: AttributeError: PortfolioItem instance has no attribute: '_generateRallyCompliance__collection_ref_for_UserStories' HOT 1
- Unable to update/Post milestone to a userStory
- getAttachments() - 'bytes' object has no attribute 'oid' error
- Should throw error/warning when start > MAX_SIZE
- MAX_ITEMS 1M value can be insufficient for large objects like ConversationPost
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rallyresttoolkitforpython.