Forum Discussion
Harry_Hubertus_
Jun 05, 2008Historic F5 Account
pyControl Log and Exception
Hi,
Is there a log file from running pyControl. Where is it located.
Also, how do you handle exception raised from passing invalid argument (like virtual name that doesn't exist).
...
Roberto_75166
Nimbostratus
Oct 27, 2008If you want to get the appropriate exceptions from the box, instead of the "generic" QNAME error, you can have that with a small change in the ZSI library.
In the ZSI folder (in the site-packages directory, or inside the appropriate .egg file), just edit the fault.py file, and look for the FaultType.typecode definition. Within it, where it reads "QName(pname='faultcode')", change it to "String(pname='faultcode')". Save it and you should be able to get the expected "FaultException" instead of the dreaded EvaluateException.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects