You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Code is very simple issues = redmine.issue.filter(tracker_id=0, status_id = "open") issueList = list(issues)
issueList = list(issues)
File "c:\Python34\lib\site-packages\redmine\resultsets.py", line 72, in __iter
__
offset=self.manager.params.get('offset', self.offset)
File "c:\Python34\lib\site-packages\redmine\managers.py", line 58, in retrieve
response = self.redmine.request('get', self.url, params=dict(self.params, li
mit=limit, offset=offset))
File "c:\Python34\lib\site-packages\redmine__init__.py", line 98, in request
raise ServerError()
redmine.exceptions.ServerError: Redmine returned internal error, perhaps you are
doing something wrong
Please, what is this strange error ?
The text was updated successfully, but these errors were encountered:
This error means exactly what it says. When python-redmine made a request to the redmine server, it returned response with a 500 status code (internal error). This usually happens when you do something unusual and redmine doesn't understand what to do, i.e. that's usually a bug on the redmine side.
In your case you are trying to get issues with tracker_id = 0 which doesn't make any sense, because there can't be any tracker with id = 0, all ids start with 1. Probably this is the reason why your redmine server returned and internal error. I'm saying probably because I can't reproduce this error here, but this doesn't mean anything because you may have a different redmine version installed and this bug can exist in your version but was fixed in mine.
You can also try to make a raw query to your redmine server and see what will happen, i.e. http(s)://your-redmine-server/issues.json?tracker_id=0&status_id=open. You should see the same 500 internal error.
Code is very simple
issues = redmine.issue.filter(tracker_id=0, status_id = "open")
issueList = list(issues)
File "c:\Python34\lib\site-packages\redmine\resultsets.py", line 72, in __iter
__
offset=self.manager.params.get('offset', self.offset)
File "c:\Python34\lib\site-packages\redmine\managers.py", line 58, in retrieve
mit=limit, offset=offset))
File "c:\Python34\lib\site-packages\redmine__init__.py", line 98, in request
raise ServerError()
redmine.exceptions.ServerError: Redmine returned internal error, perhaps you are
doing something wrong
Please, what is this strange error ?
The text was updated successfully, but these errors were encountered: