Forum Discussion
yuce_sungur_100
Nimbostratus
Feb 11, 2010pycontrolv2 is not working
I have been trying to migrate my code from pycontrolv1 to pycontrolv2.It is used to work properly for some time but now it fails.Log lines are as below:
"
2010-02-11 14:17:57,290 - DE...
L4L7_53191
Nimbostratus
Feb 24, 2010Yes, you'll probably want to upgrade to the newest version of pyControl v2. That said, I don't think that you *need* to - backward compatibility should work fine.
Anyhow, here's why you may want to upgrade to the new pycontrol when I finish it: The main change is to allow users to pass in cache control arguments now that the new Suds cache is done. This should really help your particular use case, among others. Right now I bypass the Suds cache completely (for various reasons, discussed in the known issues section of the readme).
Regarding the fromurl argument, fortunately the new Suds should fix that too, although I've not tested it yet. It's supposed to include this import by default now (this is a very common import in the SOAP world), so I'd expect that to work if you upgrade Suds. I don't do anything special with that import other than tell Suds to fix the schema by adding it.
-Matt
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