Hi,

I'm using latest web2py trunk (on win7, with postgresql, up to changeset # 
c8f2c00a32fb), and I just started getting the following traceback once in a 
while:

File ...
    return str(T(v))
File "C:\web2py\gluon\languages.py", line 139, in __str__
    return self.T.translate(self.m, self.s)
File "C:\web2py\gluon\languages.py", line 305, in translate
    write_dict(self.language_file, self.t)
File "C:\web2py\gluon\languages.py", line 107, in write_dict
    os.ftruncate(fd, 0)
AttributeError: 'module' object has no attribute 'ftruncate'

The error goes away as soon as I reload.

This never happened in the previous web2py trunk version (from some days 
ago).

Thanks,

   Carlos

Reply via email to