Hi,
Hristo Hristov wrote:
Hi,
I've got installed a pootle server for some project translation.
In the pootle directory for my Project I made svn checkout to have connection
with the subversion files.
I have these three issues:
1. When I translate and press Suggestion button I get this error:
Error
__new__() takes exactly 2 arguments (1 given)
I also get the same error message with suggestion.
I'm attaching the pootle log, and it'd be much appreciated if someone
share any idea about this error.
Thanks,
Aijin
2009-03-30 09:51:58: Traceback (most recent call last):
File "/export/home/oo/usr/lib/python2.5/site-packages/Pootle/users.py", line
279, in handle
page = self.getpage(pathwords, session, argdict)
File "/export/home/oo/usr/lib/python2.5/site-packages/Pootle/pootle.py", line
63, in decorated
_f
return f(*args, **kwargs)
File "/export/home/oo/usr/lib/python2.5/site-packages/Pootle/pootle.py", line
465, in getpage
return translatepage.TranslatePage(project, session, argdict,
dirfilter=pofilename)
File
"/export/home/oo/usr/lib/python2.5/site-packages/Pootle/translatepage.py", line
77, in __
init__
self.receivetranslations()
File
"/export/home/oo/usr/lib/python2.5/site-packages/Pootle/translatepage.py", line
329, in r
eceivetranslations
self.project.suggesttranslation(self.pofilename, item, value, self.session)
File "/export/home/oo/usr/lib/python2.5/site-packages/Pootle/projects.py",
line 1219, in sugge
sttranslation
pofile.addsuggestion(item, trans, session.username)
File "/export/home/oo/usr/lib/python2.5/site-packages/Pootle/pootlefile.py",
line 406, in adds
uggestion
newpo = unit.copy()
File
"/export/home/oo/usr/lib/python2.5/site-packages/translate/storage/pypo.py",
line 318, in
copy
return copy.deepcopy(self)
File "/export/home/oo/usr/lib/python2.5/copy.py", line 189, in deepcopy
y = _reconstruct(x, rv, 1, memo)
File "/export/home/oo/usr/lib/python2.5/copy.py", line 337, in _reconstruct
state = deepcopy(state, memo)
File "/export/home/oo/usr/lib/python2.5/copy.py", line 162, in deepcopy
y = copier(x, memo)
File "/export/home/oo/usr/lib/python2.5/copy.py", line 254, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
File "/export/home/oo/usr/lib/python2.5/copy.py", line 189, in deepcopy
y = _reconstruct(x, rv, 1, memo)
File "/export/home/oo/usr/lib/python2.5/copy.py", line 337, in _reconstruct
state = deepcopy(state, memo)
File "/export/home/oo/usr/lib/python2.5/copy.py", line 162, in deepcopy
y = copier(x, memo)
File "/export/home/oo/usr/lib/python2.5/copy.py", line 254, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
File "/export/home/oo/usr/lib/python2.5/copy.py", line 189, in deepcopy
y = _reconstruct(x, rv, 1, memo)
File "/export/home/oo/usr/lib/python2.5/copy.py", line 337, in _reconstruct
state = deepcopy(state, memo)
File "/export/home/oo/usr/lib/python2.5/copy.py", line 162, in deepcopy
y = copier(x, memo)
File "/export/home/oo/usr/lib/python2.5/copy.py", line 254, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
File "/export/home/oo/usr/lib/python2.5/copy.py", line 189, in deepcopy
y = _reconstruct(x, rv, 1, memo)
File "/export/home/oo/usr/lib/python2.5/copy.py", line 333, in _reconstruct
value = deepcopy(value, memo)
File "/export/home/oo/usr/lib/python2.5/copy.py", line 189, in deepcopy
y = _reconstruct(x, rv, 1, memo)
File "/export/home/oo/usr/lib/python2.5/copy.py", line 337, in _reconstruct
state = deepcopy(state, memo)
File "/export/home/oo/usr/lib/python2.5/copy.py", line 162, in deepcopy
y = copier(x, memo)
File "/export/home/oo/usr/lib/python2.5/copy.py", line 254, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
File "/export/home/oo/usr/lib/python2.5/copy.py", line 162, in deepcopy
y = copier(x, memo)
File "/export/home/oo/usr/lib/python2.5/copy.py", line 291, in _deepcopy_inst
state = deepcopy(state, memo)
File "/export/home/oo/usr/lib/python2.5/copy.py", line 162, in deepcopy
y = copier(x, memo)
File "/export/home/oo/usr/lib/python2.5/copy.py", line 254, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
File "/export/home/oo/usr/lib/python2.5/copy.py", line 189, in deepcopy
y = _reconstruct(x, rv, 1, memo)
File "/export/home/oo/usr/lib/python2.5/copy.py", line 337, in _reconstruct
state = deepcopy(state, memo)
File "/export/home/oo/usr/lib/python2.5/copy.py", line 162, in deepcopy
y = copier(x, memo)
File "/export/home/oo/usr/lib/python2.5/copy.py", line 254, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
File "/export/home/oo/usr/lib/python2.5/copy.py", line 189, in deepcopy
y = _reconstruct(x, rv, 1, memo)
File "/export/home/oo/usr/lib/python2.5/copy.py", line 322, in _reconstruct
y = callable(*args)
File "/export/home/oo/usr/lib/python2.5/copy_reg.py", line 92, in __newobj__
return cls.__new__(cls, *args)
TypeError: __new__() takes exactly 2 arguments (1 given)
------------------------------------------------------------------------------
_______________________________________________
Translate-pootle mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/translate-pootle