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
> [email protected]
> 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
----
<tr class="odd">
<td>
<a href="?unit=538271" id="editlink30" title="Edit translation">
<div class="translation-action">30</div>
</a>
</td>
2011-04-26 20:41:18
</tr>
---
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/translate-pootle