19 lut 2016 12:15 AM "Tomasz Chiliński" <tomasz.chilinski@chilan.com> napisał(a):
>
> W dniu 18.02.2016 22:29, Marcin napisał(a):
>>
>> Witam,
>
>
> Witam,
>
>> czy u Was też tak jest?
>
>
> Czyżby Debian? ;-)

Aż Ty masz awersje do Debiana :-)

>
> Spróbuj zajrzeć do skryptu lms-teryt i odkomentować wiersze związane z UTF-8
> przygotowane specjalnie dla tej uszkodzonej fabrycznie dystrybucji.

To nie to. Ta naprawa nie dystrybucji ale samego perla dotyczy kodowania. Tu jest problem z samym rozpakowaniem po ściągnięciu skryptem.
Jak pobralem ręcznie ze strony to jest ok.

>
>> root@drupal:/var/www/lms/bin# ./lms-teryt -C ../lms.ini -f
>> lms-teryt, version 1.11-git
>> (C) 2001-2015 LMS Developers
>> Using file ../lms.ini as config.
>> ** GET
>> http://www.stat.gov.pl/broker/access/prefile/downloadPreFile.jspa;jsessionid=289FFAE833A0C568A3FBA96FDFF0F8B4?id=1396
>> ==> 200 OK (2s)
>> error [/tmp/ULIC_18022016.zip]:  missing 1144724024 bytes in zipfile
>>   (attempting to process anyway)
>> error [/tmp/ULIC_18022016.zip]:  start of central directory not found;
>>   zipfile corrupt.
>>   (please check that you have transferred or created the zipfile in
>> the
>>   appropriate BINARY mode and that you have compiled UnZip properly)
>> ** GET
>> http://www.stat.gov.pl/broker/access/prefile/downloadPreFile.jspa;jsessionid=289FFAE833A0C568A3FBA96FDFF0F8B4?id=1358
>> ==> 200 OK
>> error [/tmp/TERC_01012016.zip]:  missing 2999026452 bytes in zipfile
>>   (attempting to process anyway)
>> error [/tmp/TERC_01012016.zip]:  start of central directory not found;
>>   zipfile corrupt.
>>   (please check that you have transferred or created the zipfile in
>> the
>>   appropriate BINARY mode and that you have compiled UnZip properly)
>> ** GET
>> http://www.stat.gov.pl/broker/access/prefile/downloadPreFile.jspa;jsessionid=289FFAE833A0C568A3FBA96FDFF0F8B4?id=1360
>> ==> 200 OK (1s)
>> error [/tmp/SIMC_01012016.zip]:  missing 641783862 bytes in zipfile
>>   (attempting to process anyway)
>> error [/tmp/SIMC_01012016.zip]:  start of central directory not found;
>>   zipfile corrupt.
>>   (please check that you have transferred or created the zipfile in
>> the
>>   appropriate BINARY mode and that you have compiled UnZip properly)
>> ** GET
>> http://www.stat.gov.pl/broker/access/prefile/downloadPreFile.jspa;jsessionid=289FFAE833A0C568A3FBA96FDFF0F8B4?id=941
>> ==> 200 OK (1s)
>> root@drupal:/var/www/lms/bin# l /tmp/*.zip
>> -rw-r--r-- 1 root root 3,7M lut 18 22:28 /tmp/SIMC_01012016.zip
>> -rw-r--r-- 1 root root  68K lut 18 22:28 /tmp/TERC_01012016.zip
>> -rw-r--r-- 1 root root 6,5M lut 18 22:28 /tmp/ULIC_18022016.zip
>> root@drupal:/var/www/lms/bin#
>>
>> --
>> Pozdrawiam
>> Marcin / nicraM
>>
>> _______________________________________________
>> lms mailing list
>> lms@lists.lms.org.pl
>> http://lists.lms.org.pl/mailman/listinfo/lms
>
>
> --
> Pozdrawiam
> Tomasz Chiliński, Chilan
> _______________________________________________
> lms mailing list
> lms@lists.lms.org.pl
> http://lists.lms.org.pl/mailman/listinfo/lms