Whenever I try to execute ./scripts/celerity/generate_sprites.php or ./bin/celerity map on my local repository, I get following error message:
# ./scripts/celerity/generate_sprites.php [2016-11-15 19:39:06] EXCEPTION: (AphrontConnectionQueryException) Attempt to connect to root@localhost failed with error #2002: No such file or directory. at [<phutil>/src/aphront/storage/connection/mysql/AphrontBaseMySQLDatabaseConnection.php:343] arcanist(head=stable, ref.stable=e17fe43ca3fe, custom=1), phabricator(head=fc71a7e92dc26e0d93ec33d709391411d2bcd827), phutil(head=b10adc2e3f8692b81eeadf6765e89651a95f1516) #0 AphrontBaseMySQLDatabaseConnection::throwConnectionException(integer, string, string, string) called at [<phutil>/src/aphront/storage/connection/mysql/AphrontMySQLiDatabaseConnection.php:76] #1 AphrontMySQLiDatabaseConnection::connect() called at [<phutil>/src/aphront/storage/connection/mysql/AphrontBaseMySQLDatabaseConnection.php:101] #2 AphrontBaseMySQLDatabaseConnection::establishConnection() called at [<phutil>/src/aphront/storage/connection/mysql/AphrontBaseMySQLDatabaseConnection.php:124] #3 AphrontBaseMySQLDatabaseConnection::requireConnection() called at [<phutil>/src/aphront/storage/connection/mysql/AphrontMySQLiDatabaseConnection.php:15] #4 AphrontMySQLiDatabaseConnection::escapeBinaryString(string) called at [<phutil>/src/aphront/storage/connection/mysql/AphrontMySQLiDatabaseConnection.php:11] #5 AphrontMySQLiDatabaseConnection::escapeUTF8String(string) called at [<phutil>/src/xsprintf/qsprintf.php:178] #6 xsprintf_query(AphrontMySQLiDatabaseConnection, string, integer, string, integer) called at [<phutil>/src/xsprintf/xsprintf.php:70] #7 xsprintf(string, AphrontMySQLiDatabaseConnection, array) called at [<phutil>/src/xsprintf/qsprintf.php:64] #8 qsprintf(AphrontMySQLiDatabaseConnection, string, string, string, string) called at [<phutil>/src/xsprintf/queryfx.php:5] #9 queryfx(AphrontMySQLiDatabaseConnection, string, string, string, string) called at [<phutil>/src/xsprintf/queryfx.php:13] #10 queryfx_all(AphrontMySQLiDatabaseConnection, string, string, string, string) called at [<phutil>/src/aphront/storage/connection/AphrontDatabaseConnection.php:52] #11 AphrontDatabaseConnection::queryData(string, string, string, string) called at [<phabricator>/src/infrastructure/storage/lisk/LiskDAO.php:535] #12 LiskDAO::loadRawDataWhere(string, string) called at [<phabricator>/src/infrastructure/storage/lisk/LiskDAO.php:476] #13 LiskDAO::loadAllWhere(string, string) called at [<phabricator>/src/infrastructure/env/PhabricatorConfigDatabaseSource.php:18] #14 PhabricatorConfigDatabaseSource::loadConfig(string) called at [<phabricator>/src/infrastructure/env/PhabricatorConfigDatabaseSource.php:7] #15 PhabricatorConfigDatabaseSource::__construct(string) called at [<phabricator>/src/infrastructure/env/PhabricatorEnv.php:238] #16 PhabricatorEnv::buildConfigurationSourceStack(boolean) called at [<phabricator>/src/infrastructure/env/PhabricatorEnv.php:95] #17 PhabricatorEnv::initializeCommonEnvironment(boolean) called at [<phabricator>/src/infrastructure/env/PhabricatorEnv.php:75] #18 PhabricatorEnv::initializeScriptEnvironment(boolean) called at [<phabricator>/scripts/init/lib.php:22] #19 init_phabricator_script(array) called at [<phabricator>/scripts/init/init-script.php:9] #20 require_once(string) called at [<phabricator>/scripts/__init_script__.php:3] #21 require_once(string) called at [<phabricator>/scripts/celerity/generate_sprites.php:4]
The issue happens without any modifications to the libphutil or Phabricator source-code (see version information above).