[GRASS-dev] GRASS 7: r.in.wms compile failure - ImportError: cannot import name log

Markus:

> Interestingly it works today. Perhaps I had set
> $PYTHONPATH indeed to the swig/python/ directory as
> suggested in the examples:

....

Glynn:

Right; that will cause the problem which you reported.

The only GRASS-related directory which should be added to
PYTHONPATH is $GISBASE/etc/python.

fwiw, this fix was committed to 6.4 and 6.5 svns 2 days ago:
http://trac.osgeo.org/grass/changeset/37641

Hamish