I'm running into the following error in this automation. The error has to do with the method call to the generic GetVersion() method on the IRateSchedules service. Any idea what I'm doing wrong with this generic method call?
Error: 'method_descriptor' object is unsubscriptable
The error is a result of the IronPython compiler thinking you are using the generic type parameter (IMunicipalTaxStampsFeeScheduleVersion) as in indexer on method "IRateSchedules.GetVersion" - treating GetVersion like an array. This is clearly not what this statement is supposed to do so we have to find a different way to accomplish it. I'll continue to work on it.
Good afternoon Bob. Were you able to figure anything out about this error? Seems to be an issue with calling generic methods from python in SoftPro Select.
Only work around I can think of is to create a server package with automation extensions instead of using python. Was just trying to stick to the python script route since it is a one off automation and not really intended to be reusable.
I have completed the code needed to set any Fee Schedules. It is set up as a Python class being used by a COR in topic Setting a Fee Schedule for Recording Fees and Transfer Fees. I left it as a COR since it makes a very handy way to test logic. Please review it and let me know if you have trouble replacing the COR portion with an Automation Snippet.