HI *,
On Sat, Jul 30, 2011 at 5:20 PM, Elton Chung <elton@elton.tk> wrote:
Hi Florian, *,
Just guessing., maybe this is due to the Javascripts (Google Analytics &
Search) inside the index page?
Nope, it is related to the index page, but unrelated to javascript or stuff.
The problem is that the dirlisting is no standard apache listing, and
matches lighthttp listing that the parser assumes, but it fails to
detect entries as directories correctly.
the problem is that "check whether entry ends in a slash" fails
because the / is outside of the link-label
"<a href="libreoffice">libreoffice</a>/"
and thus it treats the libreoffice as file entry and the size column
contains "-" so it cannot compare.
The size is used to determine whether the specific file is larger than
2 or 4 GB and whether the mirror needs to be double-checked for being
able to hand out large files - and that is when the error is spit out.
Or the URL is wrong? (http://mirrors.ibiblio.org/tdf/)
Nope, that is the one used in the database.
Log story short, I changed the parser to also accept the string
"Directory" as a marker for dir-entries. So now scanning should work
with ibiblio mirror as well
(@flo: see line 640 in /usr/bin/scanner)
I had it scanned and enabled.
ciao
Christian
--
Unsubscribe instructions: E-mail to mirrors+help@documentfoundation.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.documentfoundation.org/www/mirrors/
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.