[GRASS-dev] cProfile makes TypeError
glynn at gclements.plus.com
Wed Jun 8 13:58:12 PDT 2016
Eva Stopková wrote:
> I would like to ask for advice. I am trying to make a visualization of the
> script process using cProfile according to , but it gives me an error:
> line 187, in _create_ld_so_cache
> for path in glob.glob("%s/*.s[ol]*" % dir):
> TypeError: __init__() takes exactly 4 arguments (2 given)
This seems to suggest that it's picking up some other "glob" module,
rather than the one in the standard library.
Does running the script without using cProfile work?
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev