Time tracker bug 'Expected a single result!'

Reproduction Instructions
Start tracking time. Try to stop it few hours later. It returns ‘Expected a single result!’

Phabricator/Arcanist Version
be2b8f4bcb62deb953049debacfbc7dca2e6edef (Thu, Oct 31)

Here is the phd log :

Daemon 855 INIT [Sat, 07 Dec 2019 02:23:29 +0000] Starting process.
Daemon 855 STDE [Sat, 07 Dec 2019 02:23:30 +0000] [2019-12-07 02:23:30] EXCEPTION: (Error) Call to undefined function curl_multi_init() at [<phutil>/src/future/http/HTTPSFuture.php:223]
Daemon 855 STDE [Sat, 07 Dec 2019 02:23:30 +0000] arcanist(head=master, ref.master=cc1ff38843c4), phabricator(head=master, ref.master=be2b8f4bcb62), phutil(head=master, ref.master=39ed96cd818a)
Daemon 855 STDE [Sat, 07 Dec 2019 02:23:30 +0000]   #0 HTTPSFuture::isReady() called at [<phutil>/src/future/Future.php:37]
Daemon 855 STDE [Sat, 07 Dec 2019 02:23:30 +0000]   #1 Future::resolve() called at [<phutil>/src/future/http/BaseHTTPFuture.php:291]
Daemon 855 STDE [Sat, 07 Dec 2019 02:23:30 +0000]   #2 BaseHTTPFuture::resolvex() called at [<phabricator>/src/applications/notification/client/PhabricatorNotificationServerRef.php:231]
Daemon 855 STDE [Sat, 07 Dec 2019 02:23:30 +0000]   #3 PhabricatorNotificationServerRef::postMessage(array) called at [<phabricator>/src/applications/notification/client/PhabricatorNotificationClient.php:32]
Daemon 855 STDE [Sat, 07 Dec 2019 02:23:30 +0000]   #4 PhabricatorNotificationClient::tryToPostMessage(array) called at [<phabricator>/src/applications/feed/PhabricatorFeedStoryPublisher.php:211]
Daemon 855 STDE [Sat, 07 Dec 2019 02:23:30 +0000]   #5 PhabricatorFeedStoryPublisher::sendNotification(integer, array) called at [<phabricator>/src/applications/feed/PhabricatorFeedStoryPublisher.php:145]
Daemon 855 STDE [Sat, 07 Dec 2019 02:23:30 +0000]   #6 PhabricatorFeedStoryPublisher::publish() called at [<phabricator>/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php:3844]
Daemon 855 STDE [Sat, 07 Dec 2019 02:23:30 +0000]   #7 PhabricatorApplicationTransactionEditor::publishFeedStory(ManiphestTask, array, array) called at [<phabricator>/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php:1513]
Daemon 855 STDE [Sat, 07 Dec 2019 02:23:30 +0000]   #8 PhabricatorApplicationTransactionEditor::publishTransactions(ManiphestTask, array) called at [<phabricator>/src/applications/transactions/worker/PhabricatorApplicationTransactionPublishWorker.php:21]
Daemon 855 STDE [Sat, 07 Dec 2019 02:23:30 +0000]   #9 PhabricatorApplicationTransactionPublishWorker::doWork() called at [<phabricator>/src/infrastructure/daemon/workers/PhabricatorWorker.php:124]
Daemon 855 STDE [Sat, 07 Dec 2019 02:23:30 +0000]   #10 PhabricatorWorker::executeTask() called at [<phabricator>/src/infrastructure/daemon/workers/storage/PhabricatorWorkerActiveTask.php:158]
Daemon 855 STDE [Sat, 07 Dec 2019 02:23:30 +0000]   #11 PhabricatorWorkerActiveTask::executeTask() called at [<phabricator>/src/infrastructure/daemon/workers/PhabricatorTaskmasterDaemon.php:22]
Daemon 855 STDE [Sat, 07 Dec 2019 02:23:30 +0000]   #12 PhabricatorTaskmasterDaemon::run() called at [<phutil>/src/daemon/PhutilDaemon.php:219]
Daemon 855 STDE [Sat, 07 Dec 2019 02:23:30 +0000]   #13 PhutilDaemon::execute() called at [<phutil>/scripts/daemon/exec/exec_daemon.php:131]
Daemon 855 STDE [Sat, 07 Dec 2019 02:23:30 +0000] [2019-12-07 02:23:30] EXCEPTION: (Error) Call to undefined function curl_multi_init() at [<phutil>/src/future/http/HTTPSFuture.php:223]
Daemon 855 STDE [Sat, 07 Dec 2019 02:23:30 +0000] arcanist(head=master, ref.master=cc1ff38843c4), phabricator(head=master, ref.master=be2b8f4bcb62), phutil(head=master, ref.master=39ed96cd818a)
Daemon 855 STDE [Sat, 07 Dec 2019 02:23:30 +0000]   #0 HTTPSFuture::isReady() called at [<phutil>/src/future/Future.php:37]
Daemon 855 STDE [Sat, 07 Dec 2019 02:23:30 +0000]   #1 Future::resolve() called at [<phutil>/src/future/http/BaseHTTPFuture.php:291]
Daemon 855 STDE [Sat, 07 Dec 2019 02:23:30 +0000]   #2 BaseHTTPFuture::resolvex() called at [<phabricator>/src/applications/notification/client/PhabricatorNotificationServerRef.php:231]
Daemon 855 STDE [Sat, 07 Dec 2019 02:23:30 +0000]   #3 PhabricatorNotificationServerRef::postMessage(array) called at [<phabricator>/src/applications/notification/client/PhabricatorNotificationClient.php:32]
Daemon 855 STDE [Sat, 07 Dec 2019 02:23:30 +0000]   #4 PhabricatorNotificationClient::tryToPostMessage(array) called at [<phabricator>/src/applications/feed/PhabricatorFeedStoryPublisher.php:211]
Daemon 855 STDE [Sat, 07 Dec 2019 02:23:30 +0000]   #5 PhabricatorFeedStoryPublisher::sendNotification(integer, array) called at [<phabricator>/src/applications/feed/PhabricatorFeedStoryPublisher.php:145]
Daemon 855 STDE [Sat, 07 Dec 2019 02:23:30 +0000]   #6 PhabricatorFeedStoryPublisher::publish() called at [<phabricator>/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php:3844]
Daemon 855 STDE [Sat, 07 Dec 2019 02:23:30 +0000]   #7 PhabricatorApplicationTransactionEditor::publishFeedStory(ManiphestTask, array, array) called at [<phabricator>/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php:1513]
Daemon 855 STDE [Sat, 07 Dec 2019 02:23:30 +0000]   #8 PhabricatorApplicationTransactionEditor::publishTransactions(ManiphestTask, array) called at [<phabricator>/src/applications/transactions/worker/PhabricatorApplicationTransactionPublishWorker.php:21]
Daemon 855 STDE [Sat, 07 Dec 2019 02:23:30 +0000]   #9 PhabricatorApplicationTransactionPublishWorker::doWork() called at [<phabricator>/src/infrastructure/daemon/workers/PhabricatorWorker.php:124]
Daemon 855 STDE [Sat, 07 Dec 2019 02:23:30 +0000]   #10 PhabricatorWorker::executeTask() called at [<phabricator>/src/infrastructure/daemon/workers/storage/PhabricatorWorkerActiveTask.php:158]
Daemon 855 STDE [Sat, 07 Dec 2019 02:23:30 +0000]   #11 PhabricatorWorkerActiveTask::executeTask() called at [<phabricator>/src/infrastructure/daemon/workers/PhabricatorTaskmasterDaemon.php:22]
Daemon 855 STDE [Sat, 07 Dec 2019 02:23:30 +0000]   #12 PhabricatorTaskmasterDaemon::run() called at [<phutil>/src/daemon/PhutilDaemon.php:219]
Daemon 855 STDE [Sat, 07 Dec 2019 02:23:30 +0000]   #13 PhutilDaemon::execute() called at [<phutil>/scripts/daemon/exec/exec_daemon.php:131]
Daemon 855 FAIL [Sat, 07 Dec 2019 02:23:30 +0000] Process exited with error 255.
Daemon 855 WAIT [Sat, 07 Dec 2019 02:23:30 +0000] Waiting 5 second(s) to restart process.
Daemon 17177 INIT [Sat, 07 Dec 2019 02:23:33 +0000] Starting process.
Daemon 855 INIT [Sat, 07 Dec 2019 02:23:35 +0000] Starting process.
1 Like

Solved this by deleting it manually via phd cli.
It was duplicated in the database it seams.

1 Like