Op Vr, 2009-06-26 om 13:25 +0200 skryf Alex Bruckert:
> Thanks for replying so quickly,
> 
> here is the debug output
> 
> 'NoneType' object has no attribute 'split'
> 
> Traceback (most recent call last):
>   File "/usr/lib/python2.5/site-packages/Pootle/users.py", line 279, in handle
>     page = self.getpage(pathwords, session, argdict)
>   File "/usr/lib/python2.5/site-packages/Pootle/pootle.py", line 63, in 
> decorated_f
>     return f(*args, **kwargs)
>   File "/usr/lib/python2.5/site-packages/Pootle/pootle.py", line 442, in 
> getpage
>     return adminpages.TranslationProjectAdminPage(self.potree, project, 
> session, argdict)
>   File "/usr/lib/python2.5/site-packages/Pootle/adminpages.py", line 365, in 
> __init__
>     templatevars.update(self.getoptions())
>   File "/usr/lib/python2.5/site-packages/Pootle/adminpages.py", line 382, in 
> getoptions
>     defaultrights = self.project.getrights(username="default")
>   File "/usr/lib/python2.5/site-packages/Pootle/projects.py", line 205, in 
> getrights
>     rights = [right.strip() for right in rights.split(",")]
> 
> AttributeError: 'NoneType' object has no attribute 'split'

Hallo Alex

My first guess is that you might not have the setting 'defaultrights'
defined in pootle.prefs. If you have been using a .prefs file from older
versions of Pootle, I guess it is possible that this never got added.
Please compare your pootle.prefs to the one that came with the original
package.

Another possibility is that something went wrong in the
pootle-project-es.prefs or pootle-project-fr.prefs inside the directory
for the two projects that are giving you the trouble. Check to see if
you can perhaps just delete them if there is nothing valuable in there
(like goals or rights defined). Always restart pootle when you edit
these files by hand.

Keep well
Friedel


--
Recently on my blog:
http://translate.org.za/blogs/friedel/en/content/pseudolocalisation-podebug-1


------------------------------------------------------------------------------
_______________________________________________
Translate-pootle mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/translate-pootle

Reply via email to