Giter VIP home page Giter VIP logo

mystem's People

Contributors

aotd1 avatar fr05t1k avatar igusev avatar scrutinizer-auto-fixer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

mystem's Issues

Установка бинарного архива на Mac OS X падает

Оригинальный архив с http://api.yandex.ru/mystem/downloads/ имеет некорректный с точки зрения php формат/контрольную сумму.
Как воспроизвести:

<?php
$archive = new \PharData(__DIR__ . '/' . 'mystem-3.0-macosx10.8.tar.gz');
$archive->extractTo(__DIR__ . '/', null, true);

Текст ошибки:

PHP Fatal error:  Uncaught exception 'UnexpectedValueException' with message 'phar error: "/Users/aotd/www/mystem/.reports/mystem-3.0-macosx10.8.tar.gz" is a corrupted tar file (checksum mismatch of file "17 gid=593637566
18 uid=1368974053
20 ctime=1402062335
20 atime=1402302766
23 SCHILY.dev=16777220
23")' in /Users/aotd/www/mystem/.reports/untar.php:3
Stack trace:
#0 /Users/aotd/www/mystem/.reports/untar.php(3): PharData->__construct('/Users/aotd/www...')
#1 {main}
  thrown in /Users/aotd/www/mystem/.reports/untar.php on line 3

Возможные причины:
https://bugs.php.net/bug.php?id=64343

The extractTo() method in Phar doesn't seem to work with tar archives generated
using the BSD version of the tar tool, which is the version that comes pre-
installed on Mac OS X.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.