Unable to create graph reports in Zenoss 6.2.1 under Reports
Subject: |
Unable to create graph reports in Zenoss 6.2.1 under Reports |
Author: |
Gobi K |
Posted: |
2020-04-06 06:32 |
We are seeing error message as "AttributeError: REQUEST" when we try to create a new graph / custom device report.
Also below is the error when we tried to created them ( adding device report ) via zope URL
Type: <class 'zExceptions.BadRequest'>
Value: <h2>Site Error</h2> <p>An error was encountered while publishing this resource. </p> <p><strong>Invalid request</strong></p> The parameter, <em>id</em>, was omitted from the request.<p>Make sure to specify all required parameters, and try the request again.</p> <hr noshade="noshade"/> <p>Troubleshooting Suggestions</p> <ul> <li>The URL may be incorrect.</li> <li>The parameters passed to this resource may be incorrect.</li> <li>A resource that this resource relies on may be encountering an error.</li> </ul> <p>For more detailed information about the error, please refer to the error log. </p> <p>If the error persists please contact the site maintainer. Thank you for your patience. </p>
Traceback (most recent call last):
File "/opt/zenoss/lib/python2.7/site-packages/ZPublisher/Publish.py", line 126, in publish
request, bind=1)
File "/opt/zenoss/lib/python2.7/site-packages/ZPublisher/mapply.py", line 72, in mapply
if index < nrequired: v=missing_name(name, context)
File "/opt/zenoss/lib/python2.7/site-packages/ZPublisher/Publish.py", line 51, in missing_name
request.response.badRequestError(name)
File "/opt/zenoss/lib/python2.7/site-packages/ZPublisher/HTTPResponse.py", line 741, in badRequestError
"and try the request again.</p>"
BadRequest: <h2>Site Error</h2>
<p>An error was encountered while publishing this resource.
</p>
<p><strong>Invalid request</strong></p>
The parameter, <em>id</em>, was omitted from the request.<p>Make sure to specify all required parameters, and try the request again.</p>
<hr noshade="noshade"/>
<p>Troubleshooting Suggestions</p>
<ul>
<li>The URL may be incorrect.</li>
<li>The parameters passed to this resource may be incorrect.</li>
<li>A resource that this resource relies on may be
encountering an error.</li>
</ul>
<p>For more detailed information about the error, please
refer to the error log.
</p>
<p>If the error persists please contact the site maintainer.
Thank you for your patience.
</p>
------------------------------
Gobi K
------------------------------
Subject: |
RE: Unable to create graph reports in Zenoss 6.2.1 under Reports |
Author: |
Jane Curry |
Posted: |
2020-04-10 06:57 |
You dont show your report but I suspect your are using "id" as a field? Try using getId (care with capitalisation). The following works for me on Zenoss 6.2.1.
Note that if you are using method calls, you do not put the () brackets in a report.
Cheers,
Jane
------------------------------
Jane Curry
Skills 1st United Kingdom
jane.curry@skills-1st.co.uk
------------------------------
Attachments:
Subject: |
RE: Unable to create graph reports in Zenoss 6.2.1 under Reports |
Author: |
Edward Grau |
Posted: |
2020-04-27 07:26 |
The issue is we cannot get past the "add custom device report" or "add graph report"Get a Banner error "AttributeError: REQUEST" and cannot proceed.------------------------------
Edward Grau
Infrastructure Eng.
Bridge2 Solutions
Alpharetta GA
6788317849
------------------------------
Attachments:
Subject: |
RE: Unable to create graph reports in Zenoss 6.2.1 under Reports |
Author: |
Gobi K |
Posted: |
2020-05-21 09:11 |
Any update on the above ?
------------------------------
Gobi K
------------------------------