Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


Hi Anton, *,

On Mon, Oct 14, 2013 at 12:28 AM, Anton Meixome <meixome@certima.net> wrote:

When I was updating the extension for a new release I got

       We’re sorry, but there seems to be an error…
      The error has been logged as entry number 1381702592.970.707278970135.

Spent the day debugging this (unfortunately the exact error was no
longer available, but there were lots of other ones that at least gave
the direction...

I renamed the release category, since I at first thought that would be
the culprit - feel free to rename it back.

I suposse it's a problem derivated from changes in extension name or
some detail.

I'm not sure whether I fixed your specific problem, but at least I
fixed the problem of not being able to view the releases at all :-)

[...] Of course the fail is my fault but
the extensions site seems to me too much complicated.

Nah, it is also complicated for administration :-)

@Andreas (and those interested in the technical details):

The culprit in this case (for the release view problem) is the logo in
combination with a project name that contains non-ASCII characters.

The line with the "structure here/getLogo" in psc_release_view.pt is
the problem:

    <div style="float:right; margin: 0 0 1em 1em;"
         tal:condition="here/getLogo | nothing">
        <a tal:omit-tag="not: here/getLogoURL"
           tal:attributes="href here/getLogoURL">
            <img tal:replace="structure here/getLogo" />
        </a>
    </div>

here/getLogo expands to a img tag with src, title, width, height. But
it fails short when the title contains non-ASCII characters.

I changed it to manually construct the tag:

    <div style="float:right; margin: 0 0 1em 1em;"
         tal:condition="here/getLogo | nothing">
        <a tal:omit-tag="not: here/getLogoURL"
           tal:attributes="href here/getLogoURL">
            <img tal:define="image here/getLogo;"
                 tal:attributes="width image/width; height
image/height; title image/title;
                 src string:${here/aq_parent/aq_parent/absolute_url}/logo" />
        </a>
    </div>

 (via customizing the template in ZMI, no idea where it gets
stored/whether this is stored permanently,  please advise on what's
the proper way)

The same error applies to the psc_project_view as well - (same fix,
apart from the calles to paren't object (src string
${here//absolute_url}/logo") -

A second subject for this mail

A year ago, I ask for to activate the galician translation for
extensions site. The translation is completed in Pootle long time ago
but I have no news about.

I think one only needs to add the po files to the site, but I'll wait
for Andreas' feedback

ciao
Christian

-- 
To unsubscribe e-mail to: website+unsubscribe@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/website/
All messages sent to this list will be publicly archived and cannot be deleted

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.