In $ZENHOME/log/events.log can you send us the stack trace?
-EAD
On Aug 1, 2006, at 8:28 PM, LYNN wrote:
zenoss-users,hi!
i modified "charset" in "templates" with value from
"iso-8859-1" to "uft-8", it can display chinese char ,but when i
add device ,the error message:
Site Error
An error was encountered while publishing this resource.
Error Type: TypeError
Error Value: Value must be a string
----------------------------------------------------------------------
----------
Troubleshooting Suggestions
The URL may be incorrect.
The parameters passed to this resource may be incorrect.
A resource that this resource relies on may be encountering an error.
For more detailed information about the error, please refer to the
error log.
If the error persists please contact the site maintainer. Thank you
for your patience.
the event.log:
------
2006-08-01T17:33:12 ERROR Zope.SiteErrorLog XXXX.XXX.XX.X:8080/
zport/dmd/DeviceLoader/loadDevice
Traceback (most recent call last):
File "/usr/local/zenoss/lib/python/ZPublisher/Publish.py", line
114, in publish
request, bind=1)
File "/usr/local/zenoss/lib/python/ZPublisher/mapply.py", line
88, in mapply
if debug is not None: return debug(object,args,context)
File "/usr/local/zenoss/lib/python/ZPublisher/Publish.py", line
40, in call_object
result=apply(object,args) # Type s<cr> to step into published
object.
File "/usr/local/zenoss/Products/ZenModel/ZDeviceLoader.py", line
99, in loadDevice
response.write(dlh[:idx])
File "/usr/local/zenoss/lib/python/ZServer/HTTPResponse.py", line
155, in write
raise TypeError('Value must be a string')
TypeError: Value must be a string
i havd added the management_page_charset Properties ,value = utf-8.
how i use chinese better by modify "templates " ?
thanks!
致
礼!
LYNN
[EMAIL PROTECTED]
2006-08-02
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users