Page MenuHomePhabricator

arc diff - create return Undefined class constant 'TYPE_SPACE'
Closed, ResolvedPublic

Description

Hello

We did an upgrade this morning on our Phabricator and now any arc diff --create return us this :

No lint engine configured for this project.
Running unit tests...
No unit test engine is configured for this project.
>>> [28] <exec> $ git rev-parse 'HEAD'
<<< [28] <exec> 10,879 us
>>> [29] <exec> $ git diff --no-ext-diff --no-textconv --no-color --src-prefix=a/ --dst-prefix=b/ -U32767 -M -C 'fbf7ef30d64259c67bd77e2e616ee5de9df7b9e8' '2b35ec746a53c7f97ceb1e35fe2938d40fa55f4a' --
<<< [29] <exec> 14,774 us
>>> [30] <exec> $ git rev-parse 'fbf7ef30d64259c67bd77e2e616ee5de9df7b9e8'
<<< [30] <exec> 9,260 us
>>> [31] <exec> $ git branch --no-color
<<< [31] <exec> 8,505 us
>>> [32] <exec> $ git log --format=medium -n16 'fbf7ef30d64259c67bd77e2e616ee5de9df7b9e8'
<<< [32] <exec> 13,779 us
>>> [33] <exec> $ git remote show -n origin
<<< [33] <exec> 11,922 us
>>> [34] <conduit> repository.query() <bytes = 197>
>>> [35] <http> http://phabricator.app-store.com/api/repository.query
<<< [35] <http> 88,028 us
<<< [34] <conduit> 88,255 us
>>> [36] <conduit> differential.creatediff() <bytes = 21528>
>>> [37] <http> http://phabricator.app-store.com/api/differential.creatediff
<<< [37] <http> 90,394 us
<<< [36] <conduit> 90,641 us

[2015-06-15 08:21:20] EXCEPTION: (HTTPFutureHTTPResponseStatus) [HTTP/500] Internal Server Error
>>> UNRECOVERABLE FATAL ERROR <<<

Undefined class constant &#039;TYPE_SPACE&#039;

/var/www/phabricator/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php:1924


┻━┻ ︵ ¯\_(ツ)_/¯ ︵ ┻━┻ at [<phutil>/src/future/http/BaseHTTPFuture.php:339]
arcanist(head=master, ref.master=956bfa701c36), phutil(head=master, ref.master=0cff5de51378)
  #0 BaseHTTPFuture::parseRawHTTPResponse(string) called at [<phutil>/src/future/http/HTTPSFuture.php:415]
  #1 HTTPSFuture::isReady() called at [<phutil>/src/future/Future.php:37]
  #2 Future::resolve(NULL) called at [<phutil>/src/future/FutureProxy.php:34]
  #3 FutureProxy::resolve() called at [<phutil>/src/conduit/ConduitClient.php:58]
  #4 ConduitClient::callMethodSynchronous(string, array) called at [<arcanist>/src/workflow/ArcanistDiffWorkflow.php:511]
  #5 ArcanistDiffWorkflow::run() called at [<arcanist>/scripts/arcanist.php:382]

Any ideas of the problem ?

Thanks in advance.

Event Timeline

benoittgt raised the priority of this task from to Needs Triage.
benoittgt updated the task description. (Show Details)
benoittgt updated the task description. (Show Details)
benoittgt added a subscriber: benoittgt.

We went from 446611e => 2fbc65e and finally 1239cfd

When doing /var/www/phabricator/bin/phd start

[10:37 AM] Jeremy: [15-Jun-2015 10:30:52 Europe/Paris] [2015-06-15 10:30:52] EXCEPTION: (DomainException) Attempt to write to undeclared property PhutilDaemonHandle::config. at [<phutil>/src/object/Phobject.php:23]
[15-Jun-2015 10:30:52 Europe/Paris] arcanist(head=master, ref.master=956bfa701c36), phabricator(head=master, ref.master=1239cfdeaf3a), phutil(head=master, ref.master=0cff5de51378)
[15-Jun-2015 10:30:52 Europe/Paris]   #0 Phobject::__set(string, array) called at [<phutil>/src/daemon/PhutilDaemonHandle.php:35]
[15-Jun-2015 10:30:52 Europe/Paris]   #1 PhutilDaemonHandle::__construct(PhutilDaemonOverseer, string, array, array) called at [<phutil>/src/daemon/PhutilDaemonOverseer.php:179]
[15-Jun-2015 10:30:52 Europe/Paris]   #2 PhutilDaemonOverseer::run() called at [<phabricator>/scripts/daemon/launch_daemon.php:18]

This fix change the error. Thanks Joshua.

[2015-06-15 08:47:44] EXCEPTION: (ConduitClientException) ERR-CONDUIT-CORE: Attempt to write to undeclared property HeraldDifferentialRevisionAdapter::diff. at [<phutil>/src/conduit/ConduitFuture.php:58]
arcanist(head=master, ref.master=956bfa701c36), phutil(head=master, ref.master=0cff5de51378)
  #0 ConduitFuture::didReceiveResult(array) called at [<phutil>/src/future/FutureProxy.php:58]
  #1 FutureProxy::getResult() called at [<phutil>/src/future/FutureProxy.php:35]
  #2 FutureProxy::resolve() called at [<phutil>/src/conduit/ConduitClient.php:58]
  #3 ConduitClient::callMethodSynchronous(string, array) called at [<arcanist>/src/workflow/ArcanistDiffWorkflow.php:572]
  #4 ArcanistDiffWorkflow::run() called at [<arcanist>/scripts/arcanist.php:382]

Here is more log from the server.

[15-Jun-2015 11:00:20 Europe/Paris]   #0 <#2> HTTPSFuture::isReady() called at [<phutil>/src/future/Future.php:37]
[15-Jun-2015 11:00:20 Europe/Paris]   #1 <#2> Future::resolve() called at [<phutil>/src/future/http/BaseHTTPFuture.php:279]
[15-Jun-2015 11:00:20 Europe/Paris]   #2 <#2> BaseHTTPFuture::resolvex() called at [<phabricator>/src/applications/feed/worker/FeedPublisherHTTPWorker.php:32]
[15-Jun-2015 11:00:20 Europe/Paris]   #3 <#2> FeedPublisherHTTPWorker::doWork() called at [<phabricator>/src/infrastructure/daemon/workers/PhabricatorWorker.php:91]
[15-Jun-2015 11:00:20 Europe/Paris]   #4 <#2> PhabricatorWorker::executeTask() called at [<phabricator>/src/infrastructure/daemon/workers/storage/PhabricatorWorkerActiveTask.php:162]
[15-Jun-2015 11:00:20 Europe/Paris]   #5 <#2> PhabricatorWorkerActiveTask::executeTask() called at [<phabricator>/src/infrastructure/daemon/workers/PhabricatorTaskmasterDaemon.php:22]
[15-Jun-2015 11:00:20 Europe/Paris]   #6 PhabricatorTaskmasterDaemon::run() called at [<phutil>/src/daemon/PhutilDaemon.php:183]
[15-Jun-2015 11:00:20 Europe/Paris]   #7 PhutilDaemon::execute() called at [<phutil>/scripts/daemon/exec/exec_daemon.php:125]
[15-Jun-2015 11:00:24 Europe/Paris] [2015-06-15 11:00:24] EXCEPTION: (PhutilProxyException) Error while executing Task ID 99253. {>} (HTTPFutureCURLResponseStatus) [cURL/7] (http://localhost:8085) <CURLE_COULDNT_CONNECT> The cURL library raised an error while making a request. You may be able to find more information about this error (error code: 7) on the cURL site: http://curl.haxx.se/libcurl/c/libcurl-errors.html#CURLECOULDNTCONNECT at [<phutil>/src/future/http/HTTPSFuture.php:405]
[15-Jun-2015 11:00:24 Europe/Paris] arcanist(head=master, ref.master=956bfa701c36), phabricator(head=master, ref.master=b95fc8ba5d9f), phutil(head=master, ref.master=3b4da3f33153)
joshuaspence claimed this task.
joshuaspence added a subscriber: joshuaspence.

This should be resolved at HEAD.