[GRASS-dev] problem compiling grass7

Glynn Clements glynn at gclements.plus.com
Mon Oct 13 06:19:20 EDT 2008


Martin Landa wrote:

> > I'm not sure why it's failing in this particular case. I don't get any
> > errors building that that file (or any other HTML file),
> > pngdriver.html hasn't changed in over a month, and I checked for any
> > broken HTML files within the last few days. Do you have any local
> > modifications?
> 
> no, to be sure I have downloaded fresh code from SVN. Now I am getting
> 
>     self.fmt(spec, content)
>   File "/home/martin/smetiste/grass_trunk/tools/g.html2man/g.html2man.py",
> line 229, in fmt
>     (pre,sep,post) = format.partition("@")
> AttributeError: 'str' object has no attribute 'partition'
> 
> I am using python 2.4. Are we going to require python >= 2.5?

Ah; the documentation says "New in version 2.5".

I've changed it to use split() instead. I don't know if there are any
other 2.5-isms in there.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list