[GRASS-dev] cProfile makes TypeError

Eva Stopkov√° eva.stopkova at gmail.com
Tue Jun 7 16:54:55 PDT 2016


Dear all,

I would like to ask for advice. I am trying to make a visualization of the
script process using cProfile according to [1], but it gives me an error:

File
"~/grass7/dist.x86_64-pc-linux-gnu/etc/python/grass/lib/ctypes_loader.py",
line 187, in _create_ld_so_cache
    for path in glob.glob("%s/*.s[ol]*" % dir):
TypeError: __init__() takes exactly 4 arguments (2 given)

I have updated my GRASS to the newest version already, but it seems to do
the same error.

Thank you in advance for any advice.
Best regards,

Eva

[1]
https://grasswiki.osgeo.org/wiki/Tools_for_Python_programming#cProfile_profiling_tool
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20160608/469fa127/attachment.html>


More information about the grass-dev mailing list