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

2009-06-02 Thread Hamish
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 $G

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

2009-06-02 Thread Glynn Clements
Markus Neteler wrote: > > Check that $PYTHONPATH doesn't contain any inappropriate directories, > > and that dist.x86_64-unknown-linux-gnu/etc/python doesn't contain > > anything except the grass subdirectory. > > Interestingly it works today. Perhaps I had set $PYTHONPATH indeed > to the swig/p

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

2009-06-02 Thread Markus Neteler
On Tue, Jun 2, 2009 at 10:17 AM, Glynn Clements wrote: > Markus Neteler wrote: > >> [nete...@host550 r.in.wms]$ make > >>   File "/usr/lib64/python2.6/random.py", line 45, in >>     from math import log as _log, exp as _exp, pi as _pi, e as _e, >> ceil as _ceil >> ImportError: cannot import name

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

2009-06-02 Thread Glynn Clements
Markus Neteler wrote: > [nete...@host550 r.in.wms]$ make > File "/usr/lib64/python2.6/random.py", line 45, in > from math import log as _log, exp as _exp, pi as _pi, e as _e, > ceil as _ceil > ImportError: cannot import name log > make: *** [r.in.wms.tmp.html] Error 1 > > Closest discuss

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

2009-06-01 Thread Markus Neteler
Hi, some issue: [nete...@host550 r.in.wms]$ make if [ "/home/neteler/grass70/dist.x86_64-unknown-linux-gnu/scripts/r.in.wms" != "" ] ; then GISRC=/home/neteler/grass70/dist.x86_64-unknown-linux-gnu/demolocation/.grassrc70 GISBASE=/home/neteler/grass70/dist.x86_64-unknown-linux-gnu PATH="/home/ne