[Ironpython-users] How to free memory in ironpython

Slide slide.o.mix at gmail.com
Thu Nov 10 08:24:01 EST 2016


Oh, I missed the utils being passed in, that's roughly the same thing. If
you use just "utils" you would want to remove it from the parameter list of
the call.

On Thu, Nov 10, 2016 at 6:02 AM Djordje Spasic <issworld2000 at yahoo.com>
wrote:

> Thank you for the reply Alex,
>
> I apologize for misunderstanding you.
>
> If I try to call the OGR2OGR method like that:
>
> convertToShapefiles_Result = *utils*.*OGR2OGR*(utils, osm_filePath,
> shps_filePath, bstrOptions, *None*)
>
> Then I get an error message:
>
> Could not convert argument 0 for call to OGR2OGR
>
> I posted a question about this on this very mailing list earlier this
> year. Stéphane Lozier suggested that I should instead use:
>
> convertToShapefiles_Result = MapWinGIS.UtilsClass.*OGR2OGR*(*utils*,
> osm_filePath, shps_filePath, bstrOptions, *None*)
>
> And it worked perfectly. Since then, I am calling all MapWinGIS methods
> which require opening of some sort of a file like this. And they work with
> no problem.
> Otherwise I always get an error message:
>
> Could not convert argument 0 for call to "name of the method"
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20161110/293c857e/attachment.html>


More information about the Ironpython-users mailing list