Re: [translate-pootle] UnresolvedPref instance has no attribute?'find'
On Di, 2008-05-06 at 09:50 +0200, Gustavo Narea wrote: > That's strange. Anyways, I've just uploaded it to > http://people.gnulinuxmatters.org/gustavo/files/tmp/pootle.pref.txt > > TIA. > Hallo Gustavo. I traced the problem to the server description field, and specifically the '#' sign in the one URL. This seems to be a bug in the way jToolkit builds the preferences. If I take out that '#translators' it works, and starts normally. I couldn't immediately find a way of escaping or otherwise specifying that character without jToolkit getting it wrong, so unfortunately I have to advice you to use a different URL at the moment :-( At least we found the issue. Keep well Friedel - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Translate-pootle mailing list Translate-pootle@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/translate-pootle
Re: [translate-pootle] UnresolvedPref instance has no attribute?'find'
On Mon, May 05, 2008 at 06:55:24PM +0200, Gustavo Narea <[EMAIL PROTECTED]> wrote: > I've attached the file. are you sure you did? it seems you attached an empty file ;) pgplIuuO5DYwx.pgp Description: PGP signature - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___ Translate-pootle mailing list Translate-pootle@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/translate-pootle
Re: [translate-pootle] UnresolvedPref instance has no attribute 'find'
Hello, Dwayne! I've attached the file. By the way, regarding the templates/ directory, I didn't about it but it's always worked the way it's right now; I'm going to move the .pot files there. Thanks! On Monday 05 May 2008 12:33:56 Dwayne Bailey wrote: > We'd need to see the .pref file. It seems that your project description > is causing some problems. > > This is unrelated but in your directories I don't see a templates/ > directory that should be storing your .pot files. > > On Thu, 2008-05-01 at 22:47 +0200, Gustavo Narea wrote: > > Hello, everyone. > > > > I'm getting a very weird error message after I changed the files in my > > working copy of PO catalogs due to a svn problem. The error is > > "UnresolvedPref instance has no attribute 'find'". > > > > This is what I could find in the log: > > = > > 2008-05-01 22:41:52: Traceback (most recent call last): > > File "/usr/lib/python2.4/site-packages/Pootle/users.py", line 259, in > > handle page = self.getpage(pathwords, session, argdict) > > File "/usr/lib/python2.4/site-packages/Pootle/pootle.py", line 291, in > > getpage return indexpage.PootleIndex(self.potree, session) > > File "/usr/lib/python2.4/site-packages/Pootle/indexpage.py", line > > 90, in __init__ > > meta_description = shortdescription(description) > > File "/usr/lib/python2.4/site-packages/Pootle/indexpage.py", line > > 44, in shortdescription > > stopsign = descr.find(" > AttributeError: UnresolvedPref instance has no attribute 'find' > > = > > > > I've also attached the layout of this directory, just in case. > > > > Thanks in advance. > > > > Gustavo Narea. > > GNU/Linux Matters. > > - > > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > > Don't miss this year's exciting event. There's still time to save $100. > > Use priority code J8TL2D2. > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/ja > >vaone ___ Translate-pootle > > mailing list Translate-pootle@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/translate-pootle -- Gustavo Narea. http://gustavonarea.net/ Get rid of unethical constraints! - Switch to Freedomware: http://softwareliberty.com/ - Reclaim your culture: http://lifesnotreadonly.net/ -- Gustavo Narea. http://gustavonarea.net/ Get rid of unethical constraints! - Switch to Freedomware: http://softwareliberty.com/ - Reclaim your culture: http://lifesnotreadonly.net/ signature.asc Description: This is a digitally signed message part. - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___ Translate-pootle mailing list Translate-pootle@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/translate-pootle
Re: [translate-pootle] UnresolvedPref instance has no attribute 'find'
We'd need to see the .pref file. It seems that your project description is causing some problems. This is unrelated but in your directories I don't see a templates/ directory that should be storing your .pot files. On Thu, 2008-05-01 at 22:47 +0200, Gustavo Narea wrote: > Hello, everyone. > > I'm getting a very weird error message after I changed the files in my > working copy of PO catalogs due to a svn problem. The error is > "UnresolvedPref instance has no attribute 'find'". > > This is what I could find in the log: > = > 2008-05-01 22:41:52: Traceback (most recent call last): > File "/usr/lib/python2.4/site-packages/Pootle/users.py", line 259, in handle > page = self.getpage(pathwords, session, argdict) > File "/usr/lib/python2.4/site-packages/Pootle/pootle.py", line 291, in > getpage > return indexpage.PootleIndex(self.potree, session) > File "/usr/lib/python2.4/site-packages/Pootle/indexpage.py", line > 90, in __init__ > meta_description = shortdescription(description) > File "/usr/lib/python2.4/site-packages/Pootle/indexpage.py", line > 44, in shortdescription > stopsign = descr.find(" AttributeError: UnresolvedPref instance has no attribute 'find' > = > > I've also attached the layout of this directory, just in case. > > Thanks in advance. > > Gustavo Narea. > GNU/Linux Matters. > - > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > ___ Translate-pootle mailing list > Translate-pootle@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/translate-pootle -- Dwayne Bailey Translate.org.za +27-12-460-1095 (w) +27-83-443-7114 (cell) - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Translate-pootle mailing list Translate-pootle@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/translate-pootle