Re: [translate-pootle] jQuery error

2011-05-09 Thread Casey Dinsmore
On 5/9/2011 7:33 AM, F Wolff wrote:
> Op Wo, 2011-05-04 om 11:50 -0700 skryf Casey Dinsmore:
>> Hello All,
>>
>>
>>
>> I am having an issue with the translate page on my server, which doesn't
>> seem to happen on the primary pootle server at locomotion.org.
>>
>>
>>
>> When going to a translate page for a project, the default entry | 1 | is
>> blank, and jQuery is throwing the error o is undefined.
>>
>>
>>
>> Error: o is undefined
>>
>> Source File:
>>
>> http://pootle.viewplus.com/html/js/jquery/jquery.scrollTo.min.js
>>
>> Line: 11
>>
>>
>>
>> Another strange issue happens when you are viewing a number in the middle of
>> the group, say 10, then sometimes 13 will show up as blank, but if you click
>> on 13, the edit section will be displayed properly and the next number 3
>> down the list, 16 in this case will be blank.
>>
>>
>>
>> I tried upgrading from Pootle 2.1.5 to 2.1.6 and it didn't seem to help.
>>
>>
>>
>> CentOS 5
>>
>> Pootle 2.1.6
>>
>> Translate Toolkit 1.81
>>
>> Django 1.1.4
>>
>> xapian 1.2.4
>>
>>
>>
>> Anyone have any suggestions?
> Hi Casey
>
> I guess you want to have a look at this disclaimer before sending to a
> public mailing list with public archives.
>
> I'm not getting the error you mention, so I'm not sure what could be
> different for me and for you. Can you help to narrow down things a bit
> more?
>
> Friedel
>
>
> --
> Recently on my blog:
> http://translate.org.za/blogs/friedel/en/content/better-lies-about-gnome-localisation
>
>
> --
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network
> management toolset available today.  Delivers lowest initial
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
> ___
> Translate-pootle mailing list
> Translate-pootle@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/translate-pootle


It seems like the jQuery error is thrown because the DOM element doesn't 
exist. Here is a snippet of the source from the table just before the 
blank entry appears. It looks like we're missing two TD's and their 
contents and in their place is a timestamp.


Here is a snippet of the source showing a broken 30 row




30




   2011-04-26 20:41:18



---

After a little tinkering, I've found that if I stop the memcached server 
the problem seems to go away.

I've got these memcached packages installed:

python-memcached-1.31-1.el5.rf
memcached-1.4.5-1.el5.rf

After even more tinkering, it seems like the problem was the 
python-memcached-1.31 bindings. I removed the rpm and used python 
easy_install to get python_memcached-1.47-py2.4 and it seems to be 
working now.


Thanks for the help,
Casey

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
Translate-pootle mailing list
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle


Re: [translate-pootle] Scots Gaelic

2011-05-09 Thread Michael Bauer
Ah, that explains a lot ;)

All the Mozilla ones (Fennec, Fx 4, Fx 4 test, Fx 3.6)

Minimal VLC
VLC

WordPress

I take it Thunderbird and Lightning aren't on here?

Slàn,

Michael

09/05/2011 15:36, sgrìobh F Wolff:
>
> Hi Machael
>
> Currently the projects are added by one of the server administrators.
> I'm sorry if I gave the wrong impression before. Which specific project
> did you intend to work on?
>
> Friedel
>
>

-- 
*Akerbeltz*
Goireasan Gàidhlig air an lìon
Fòn: +44-141-946 4437
Facs: +44-141-945 2701
*Am Faclair Beag  ◦ Akerbeltz 
 ◦ Firefox sa Ghàidhlig 
 ◦ Thunderbird sa Ghàidhlig 
 ◦ Opera 11 sa 
Ghàidhlig *
--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
Translate-pootle mailing list
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle


Re: [translate-pootle] German (Austria) is missing

2011-05-09 Thread Milan Jaroš
As far as I know there are some differences... For example January in de_AT
"der Jänner" and in de_DE "der Januar".

Best,
Milan Jaroš


On Mon, May 9, 2011 at 4:35 PM, F Wolff  wrote:

>
> Op Do, 2011-05-05 om 10:34 +0400 skryf Pavel Repkin:
> > Hey!
> > I was not able to find German (Austria) de_AT locale in Pootle.
> > Is it possible to add it?
>
> Hi Pavel
>
> What do you have in mind to translate into Austrian German? What
> specific issues are there with the current German localisations? Help me
> since I'm probably just entirely uninformed :-)
>
> Keep well
> Friedel
>
>
> --
> Recently on my blog:
>
> http://translate.org.za/blogs/friedel/en/content/better-lies-about-gnome-localisation
>
>
>
> --
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network
> management toolset available today.  Delivers lowest initial
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
> ___
> Translate-pootle mailing list
> Translate-pootle@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/translate-pootle
>
--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
Translate-pootle mailing list
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle


Re: [translate-pootle] Scots Gaelic

2011-05-09 Thread F Wolff

Op Do, 2011-05-05 om 12:08 +0100 skryf Michael Bauer:
> Great thanks. Question though, to which I can't find the answer in
> the 
> Help. I selected and saved a number or projects (all the Mozilla ones 
> incl FileZilla, WordPress, VLS and Accentuate.us) in the Settings but 
> the only one that appears is Pootle.
> 
> What am I doing wrong?

Hi Machael

Currently the projects are added by one of the server administrators.
I'm sorry if I gave the wrong impression before. Which specific project
did you intend to work on?

Friedel



--
Recently on my blog:
http://translate.org.za/blogs/friedel/en/content/better-lies-about-gnome-localisation


--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
Translate-pootle mailing list
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle


Re: [translate-pootle] German (Austria) is missing

2011-05-09 Thread F Wolff

Op Do, 2011-05-05 om 10:34 +0400 skryf Pavel Repkin:
> Hey!
> I was not able to find German (Austria) de_AT locale in Pootle.
> Is it possible to add it?

Hi Pavel

What do you have in mind to translate into Austrian German? What
specific issues are there with the current German localisations? Help me
since I'm probably just entirely uninformed :-)

Keep well
Friedel


--
Recently on my blog:
http://translate.org.za/blogs/friedel/en/content/better-lies-about-gnome-localisation


--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
Translate-pootle mailing list
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle


Re: [translate-pootle] jQuery error

2011-05-09 Thread F Wolff

Op Wo, 2011-05-04 om 11:50 -0700 skryf Casey Dinsmore:
> Hello All,
> 
>  
> 
> I am having an issue with the translate page on my server, which doesn't
> seem to happen on the primary pootle server at locomotion.org.
> 
>  
> 
> When going to a translate page for a project, the default entry | 1 | is
> blank, and jQuery is throwing the error o is undefined.
> 
>  
> 
> Error: o is undefined
> 
> Source File: 
> 
> http://pootle.viewplus.com/html/js/jquery/jquery.scrollTo.min.js
> 
> Line: 11
> 
>  
> 
> Another strange issue happens when you are viewing a number in the middle of
> the group, say 10, then sometimes 13 will show up as blank, but if you click
> on 13, the edit section will be displayed properly and the next number 3
> down the list, 16 in this case will be blank.
> 
>  
> 
> I tried upgrading from Pootle 2.1.5 to 2.1.6 and it didn't seem to help.
> 
>  
> 
> CentOS 5
> 
> Pootle 2.1.6
> 
> Translate Toolkit 1.81
> 
> Django 1.1.4
> 
> xapian 1.2.4
> 
>  
> 
> Anyone have any suggestions?



> PRIVILEGED AND CONFIDENTIAL: This message and any files transmitted with it
> may be proprietary and are intended solely for the use of the individual to
> whom they are addressed. If you are not the intended recipient, any use,
> copying, disclosure, dissemination or distribution is strictly prohibited;
> please notify the sender and delete the message. ViewPlus Technologies, Inc.
> accepts no liability for damage of any kind resulting from this email. 

Hi Casey

I guess you want to have a look at this disclaimer before sending to a
public mailing list with public archives.

I'm not getting the error you mention, so I'm not sure what could be
different for me and for you. Can you help to narrow down things a bit
more?

Friedel


--
Recently on my blog:
http://translate.org.za/blogs/friedel/en/content/better-lies-about-gnome-localisation


--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
Translate-pootle mailing list
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle


Re: [translate-pootle] Error on terminology: An error has occurred. Thank you for your patience. ascii

2011-05-09 Thread F Wolff

Op Di, 2011-05-03 om 09:55 -0500 skryf R. van Twisk:
> Hey Guys,
> 
> I am getting: 
> 
> An error has occurred. Thank you for your patience. ascii
> 
> THis happens when I click on the project : terminology
> 
> I also cannot seem to delete it, do I need it at all?

Hallo Ries

Can you please check for a more complete error message in your apache
log? (it might be in either the error log for the virtual host or in the
main apache error log). Is any error reported when you try to delete the
project?

You don't strictly need the terminology project, but it serves a useful
purpose if people translate online:

http://translate.sourceforge.net/wiki/pootle/terminology_matching

Friedel

--
Recently on my blog:
http://translate.org.za/blogs/friedel/en/content/better-lies-about-gnome-localisation


--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
Translate-pootle mailing list
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle


Re: [translate-pootle] Pootle performance, SVN

2011-05-09 Thread F Wolff

Op Di, 2011-05-03 om 12:34 +0200 skryf Milan Jaroš:
> Hi,
> We have file with over 5000 keys, so we are thinking about some performance
> optimizations because of time-consuming "update_stores command". We update
> files manually (link, cp, svn etc.).
> 
> There is SVN integrated in Pootle already, but is Pootle processing a whole
> file or just diffs during "SVN update/update_stores"?

Hi Milan

I'm not sure I understand exactly which part is using a lot of time for
you, but I think there are a few outstanding requests for improvements
in this area. Maybe it is important to note that doing "svn up" directly
on the file system could cause conflicts, which will result in invalid
files. So in Pootle it tries to temporarily roll back to ensure the
update goes cleanly, and then merges the Pootle copy into the file from
version control.

I think a management command to do this should make things much easier.
All the functionality is there. Can someone maybe look at writing such a
management command? It would be a great help for some Pootle users, I
think.

Friedel


--
Recently on my blog:
http://translate.org.za/blogs/friedel/en/content/better-lies-about-gnome-localisation


--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
Translate-pootle mailing list
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle


Re: [translate-pootle] Pootle 2.1.6 issues w/lucene

2011-05-09 Thread F Wolff

Op So, 2011-05-01 om 12:24 -0500 skryf Josh Paetzel:
> I've just upgraded the PCBSD pootle server to pootle 2.1.6 and translate 
> toolkit 1.9.0
> 
> According to the admin page:
> 
> No text indexing engine found. Searching is faster if an indexing engine like 
> Xapian or Lucene is installed.
> 
> root@pootle / ->pkg_info -xI lucene
> lucene-2.4.1A full-text search engine for Java
> qt4-clucene-4.7.2   QtCLucene full text search library wrapper
> root@pootle / ->pkg_info -xI Lucene
> py27-PyLucene-3.0.3_1 A GCJ-compiled version of Java Lucene integrated with 
> Python
> 
> root@pootle /usr/local/lib/python2.7/site-packages ->python 
> ./translate/search/indexing/test_indexers.py
> Traceback (most recent call last):
>   File "./translate/search/indexing/test_indexers.py", line 479, in 
> engine_name = get_engine_name(_get_indexer(DATABASE))
>   File "./translate/search/indexing/test_indexers.py", line 51, in 
> _get_indexer
> return indexing.get_indexer(location, [default_engine])
>   File "/usr/local/lib/python2.7/site-
> packages/translate/search/indexing/__init__.py", line 159, in get_indexer
> raise IndexError("Indexer: no indexing engines are available")
> IndexError: Indexer: no indexing engines are available
> 
> What am I missing here to get lucene working?


Hi Josh

I quickly checked the code, and it looks as if the Lucene support might
only be for versions 1 and 2 of Lucene. Can anybody confirm this?

Friedel


--
Recently on my blog:
http://translate.org.za/blogs/friedel/en/content/better-lies-about-gnome-localisation


--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
Translate-pootle mailing list
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle


Re: [translate-pootle] update_from_templates says: ERROR "expected string or buffer"

2011-05-09 Thread F Wolff

Op Do, 2011-04-28 om 17:51 +0200 skryf Carlo Capocasa:
> > edit the localsettings.py file and set DEBUG=True
> >
> 
> Thanks Alaa!
> 
> A chat on #pootle (many thanks to dwaynebailey) also revealed that pot2po
> can be called directly on several files with errorlevel=traceback to get
> more error detail for update_from_templates problems. The file also gets
> shown with the DEBUG=true output.
> 
> I couldn't figure out what the corruption was, but I once I knew which file
> was involved was able to remove the corruption with
> 
> pofilter --nonotes filename.xlf > filename.xlf
> 
> without being to invasive with the file formatting.
> 
> Thanks for your collective help, dear Pootle community! I still have the
> files available, so you can let me know if they would be useful in
> debugging. Feel free to follow up with questions too.
> 
> Debug output was:
> 
> http://pastebin.com/QRybeY5s
> 
> Pot2po Traceback was:
> 
> http://pastebin.com/9TSkLXWx
> 


Hi Carlo

Can you please upload the original problematic file to a bug report at
http://bugs.locamotion.org please? I would like to check if I can
duplicate the issue and maybe avoid a problem in future.

Keep well
Friedel


--
Recently on my blog:
http://translate.org.za/blogs/friedel/en/content/better-lies-about-gnome-localisation


--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
Translate-pootle mailing list
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle