Page MenuHomePhabricator

Commit Still Parsing
Closed, ResolvedPublic

Description

Hi, collided in problem, at configure phabricator + subversion(1.8) on my server. When I trying view commit(Diffusion-resent commit ) in repository appers error

"Commit Still Parsing Failed to load the commit because the commit has not been parsed yet."

In log phd-daemon - hanging error
PHP Fatal error: Call to a member function getTableName() on a non-object in /home/phd/phabricator/src/applications/diffusion/query/pathchange/DiffusionPathChangeQuery.php on line 67

But, Im not sure what is this problem connected, because import repository from bitbucket.org(hg) passed succesfuly.

Try do import from online svn repository(https://riouxsvn.com/), error "Commit Still Parsing Failed to load the commit because the commit has not been parsed yet." saved.

Current version
phabricator be0e84a81abc2f478a274ef46dfe51018ae0a9ed (Wed, Feb 24)
arcanist fcc11b3a278199fa15b90692aba65f54fef5d7f7 (Thu, Feb 11)
phutil f43291e99d36045bc459e5133454c0d8fd8768ea (Jan 22 2016)

connect to phabricator and svn on ssh.

Event Timeline

thank's, at ulr, I do it

./repository reparse --importing --all --trace  R10

and give 12 comites,

>>> [2] <connect> phabricator_repository
<<< [2] <connect> 1,760 us
>>> [3] <query> SELECT `r`.*, r.* FROM `repository` r  WHERE ((r.id IN (10)))   ORDER BY `r`.`id` DESC 
<<< [3] <query> 610 us
>>> [4] <query> SELECT `commit`.* FROM `repository_commit` commit  WHERE (commit.repositoryID IN (10)) AND ((commit.importStatus & 15) != 15)   ORDER BY `commit`.`id` DESC 
<<< [4] <query> 1,257 us
>>> [5] <query> SELECT `r`.*, r.* FROM `repository` r  WHERE (r.id IN (10))   ORDER BY `r`.`id` DESC 
<<< [5] <query> 848 us
**NOTE**: This script will queue tasks to reparse the data. Once the tasks have been queued, you need to run Taskmaster daemons to execute them.

QUEUEING TASKS (12 Commits):
>>> [6] <connect> phabricator_worker
<<< [6] <connect> 1,296 us
>>> [7] <query> INSERT INTO `worker_taskdata` (`data`) VALUES ('{\"commitID\":\"54\",\"only\":false,\"forceAutoclose\":false}')
<<< [7] <query> 3,760 us
>>> [8] <query> INSERT INTO `lisk_counter` (counterName, counterValue) VALUES
          ('worker_activetask', LAST_INSERT_ID(1))
        ON DUPLICATE KEY UPDATE
          counterValue = LAST_INSERT_ID(counterValue + 1)
<<< [8] <query> 5,918 us
>>> [9] <query> INSERT INTO `worker_activetask` (`failureTime`, `taskClass`, `leaseOwner`, `leaseExpires`, `failureCount`, `dataID`, `priority`, `objectPHID`, `id`) VALUES (NULL, 'PhabricatorRepositoryCommitOwnersWorker', NULL, NULL, '0', '580', '4000', NULL, '582')
<<< [9] <query> 4,729 us
>>> [10] <query> INSERT INTO `worker_taskdata` (`data`) VALUES ('{\"commitID\":\"50\",\"only\":false,\"forceAutoclose\":false}')
<<< [10] <query> 2,588 us
>>> [11] <query> INSERT INTO `lisk_counter` (counterName, counterValue) VALUES
          ('worker_activetask', LAST_INSERT_ID(1))
        ON DUPLICATE KEY UPDATE
          counterValue = LAST_INSERT_ID(counterValue + 1)
<<< [11] <query> 6,268 us
>>> [12] <query> INSERT INTO `worker_activetask` (`failureTime`, `taskClass`, `leaseOwner`, `leaseExpires`, `failureCount`, `dataID`, `priority`, `objectPHID`, `id`) VALUES (NULL, 'PhabricatorRepositoryCommitOwnersWorker', NULL, NULL, '0', '581', '4000', NULL, '583')
<<< [12] <query> 2,766 us
>>> [13] <query> INSERT INTO `worker_taskdata` (`data`) VALUES ('{\"commitID\":\"48\",\"only\":false,\"forceAutoclose\":false}')
<<< [13] <query> 3,257 us
>>> [14] <query> INSERT INTO `lisk_counter` (counterName, counterValue) VALUES
          ('worker_activetask', LAST_INSERT_ID(1))
        ON DUPLICATE KEY UPDATE
          counterValue = LAST_INSERT_ID(counterValue + 1)
<<< [14] <query> 8,133 us
>>> [15] <query> INSERT INTO `worker_activetask` (`failureTime`, `taskClass`, `leaseOwner`, `leaseExpires`, `failureCount`, `dataID`, `priority`, `objectPHID`, `id`) VALUES (NULL, 'PhabricatorRepositoryCommitOwnersWorker', NULL, NULL, '0', '582', '4000', NULL, '584')
<<< [15] <query> 4,990 us
>>> [16] <query> INSERT INTO `worker_taskdata` (`data`) VALUES ('{\"commitID\":\"47\",\"only\":false,\"forceAutoclose\":false}')
<<< [16] <query> 3,432 us
>>> [17] <query> INSERT INTO `lisk_counter` (counterName, counterValue) VALUES
          ('worker_activetask', LAST_INSERT_ID(1))
        ON DUPLICATE KEY UPDATE
          counterValue = LAST_INSERT_ID(counterValue + 1)
<<< [17] <query> 6,596 us
>>> [18] <query> INSERT INTO `worker_activetask` (`failureTime`, `taskClass`, `leaseOwner`, `leaseExpires`, `failureCount`, `dataID`, `priority`, `objectPHID`, `id`) VALUES (NULL, 'PhabricatorRepositoryCommitOwnersWorker', NULL, NULL, '0', '583', '4000', NULL, '585')
<<< [18] <query> 11,132 us
>>> [19] <query> INSERT INTO `worker_taskdata` (`data`) VALUES ('{\"commitID\":\"46\",\"only\":false,\"forceAutoclose\":false}')
<<< [19] <query> 3,638 us
>>> [20] <query> INSERT INTO `lisk_counter` (counterName, counterValue) VALUES
          ('worker_activetask', LAST_INSERT_ID(1))
        ON DUPLICATE KEY UPDATE
          counterValue = LAST_INSERT_ID(counterValue + 1)
<<< [20] <query> 5,434 us
>>> [21] <query> INSERT INTO `worker_activetask` (`failureTime`, `taskClass`, `leaseOwner`, `leaseExpires`, `failureCount`, `dataID`, `priority`, `objectPHID`, `id`) VALUES (NULL, 'PhabricatorRepositoryCommitOwnersWorker', NULL, NULL, '0', '584', '4000', NULL, '586')
<<< [21] <query> 2,247 us
>>> [22] <query> INSERT INTO `worker_taskdata` (`data`) VALUES ('{\"commitID\":\"45\",\"only\":false,\"forceAutoclose\":false}')
<<< [22] <query> 4,126 us
>>> [23] <query> INSERT INTO `lisk_counter` (counterName, counterValue) VALUES
          ('worker_activetask', LAST_INSERT_ID(1))
        ON DUPLICATE KEY UPDATE
          counterValue = LAST_INSERT_ID(counterValue + 1)
<<< [23] <query> 6,493 us
>>> [24] <query> INSERT INTO `worker_activetask` (`failureTime`, `taskClass`, `leaseOwner`, `leaseExpires`, `failureCount`, `dataID`, `priority`, `objectPHID`, `id`) VALUES (NULL, 'PhabricatorRepositoryCommitOwnersWorker', NULL, NULL, '0', '585', '4000', NULL, '587')
<<< [24] <query> 2,912 us
>>> [25] <query> INSERT INTO `worker_taskdata` (`data`) VALUES ('{\"commitID\":\"44\",\"only\":false,\"forceAutoclose\":false}')
<<< [25] <query> 3,289 us
>>> [26] <query> INSERT INTO `lisk_counter` (counterName, counterValue) VALUES
          ('worker_activetask', LAST_INSERT_ID(1))
        ON DUPLICATE KEY UPDATE
          counterValue = LAST_INSERT_ID(counterValue + 1)
<<< [26] <query> 13,170 us
>>> [27] <query> INSERT INTO `worker_activetask` (`failureTime`, `taskClass`, `leaseOwner`, `leaseExpires`, `failureCount`, `dataID`, `priority`, `objectPHID`, `id`) VALUES (NULL, 'PhabricatorRepositoryCommitOwnersWorker', NULL, NULL, '0', '586', '4000', NULL, '588')
<<< [27] <query> 4,803 us
>>> [28] <query> INSERT INTO `worker_taskdata` (`data`) VALUES ('{\"commitID\":\"43\",\"only\":false,\"forceAutoclose\":false}')
<<< [28] <query> 4,001 us
>>> [29] <query> INSERT INTO `lisk_counter` (counterName, counterValue) VALUES
          ('worker_activetask', LAST_INSERT_ID(1))
        ON DUPLICATE KEY UPDATE
          counterValue = LAST_INSERT_ID(counterValue + 1)
<<< [29] <query> 1,790 us
>>> [30] <query> INSERT INTO `worker_activetask` (`failureTime`, `taskClass`, `leaseOwner`, `leaseExpires`, `failureCount`, `dataID`, `priority`, `objectPHID`, `id`) VALUES (NULL, 'PhabricatorRepositoryCommitOwnersWorker', NULL, NULL, '0', '587', '4000', NULL, '589')
<<< [30] <query> 2,480 us
>>> [31] <query> INSERT INTO `worker_taskdata` (`data`) VALUES ('{\"commitID\":\"42\",\"only\":false,\"forceAutoclose\":false}')
<<< [31] <query> 2,125 us
>>> [32] <query> INSERT INTO `lisk_counter` (counterName, counterValue) VALUES
          ('worker_activetask', LAST_INSERT_ID(1))
        ON DUPLICATE KEY UPDATE
          counterValue = LAST_INSERT_ID(counterValue + 1)
<<< [32] <query> 3,737 us
>>> [33] <query> INSERT INTO `worker_activetask` (`failureTime`, `taskClass`, `leaseOwner`, `leaseExpires`, `failureCount`, `dataID`, `priority`, `objectPHID`, `id`) VALUES (NULL, 'PhabricatorRepositoryCommitOwnersWorker', NULL, NULL, '0', '588', '4000', NULL, '590')
<<< [33] <query> 3,840 us
>>> [34] <query> INSERT INTO `worker_taskdata` (`data`) VALUES ('{\"commitID\":\"41\",\"only\":false,\"forceAutoclose\":false}')
<<< [34] <query> 1,957 us
>>> [35] <query> INSERT INTO `lisk_counter` (counterName, counterValue) VALUES
          ('worker_activetask', LAST_INSERT_ID(1))
        ON DUPLICATE KEY UPDATE
          counterValue = LAST_INSERT_ID(counterValue + 1)
<<< [35] <query> 5,096 us
>>> [36] <query> INSERT INTO `worker_activetask` (`failureTime`, `taskClass`, `leaseOwner`, `leaseExpires`, `failureCount`, `dataID`, `priority`, `objectPHID`, `id`) VALUES (NULL, 'PhabricatorRepositoryCommitOwnersWorker', NULL, NULL, '0', '589', '4000', NULL, '591')
<<< [36] <query> 1,851 us
>>> [37] <query> INSERT INTO `worker_taskdata` (`data`) VALUES ('{\"commitID\":\"40\",\"only\":false,\"forceAutoclose\":false}')
<<< [37] <query> 2,329 us
>>> [38] <query> INSERT INTO `lisk_counter` (counterName, counterValue) VALUES
          ('worker_activetask', LAST_INSERT_ID(1))
        ON DUPLICATE KEY UPDATE
          counterValue = LAST_INSERT_ID(counterValue + 1)
<<< [38] <query> 3,395 us
>>> [39] <query> INSERT INTO `worker_activetask` (`failureTime`, `taskClass`, `leaseOwner`, `leaseExpires`, `failureCount`, `dataID`, `priority`, `objectPHID`, `id`) VALUES (NULL, 'PhabricatorRepositoryCommitOwnersWorker', NULL, NULL, '0', '590', '4000', NULL, '592')
<<< [39] <query> 1,610 us
>>> [40] <query> INSERT INTO `worker_taskdata` (`data`) VALUES ('{\"commitID\":\"39\",\"only\":false,\"forceAutoclose\":false}')
<<< [40] <query> 5,021 us
>>> [41] <query> INSERT INTO `lisk_counter` (counterName, counterValue) VALUES
          ('worker_activetask', LAST_INSERT_ID(1))
        ON DUPLICATE KEY UPDATE
          counterValue = LAST_INSERT_ID(counterValue + 1)
<<< [41] <query> 2,287 us
>>> [42] <query> INSERT INTO `worker_activetask` (`failureTime`, `taskClass`, `leaseOwner`, `leaseExpires`, `failureCount`, `dataID`, `priority`, `objectPHID`, `id`) VALUES (NULL, 'PhabricatorRepositoryCommitOwnersWorker', NULL, NULL, '0', '591', '4000', NULL, '593')
<<< [42] <query> 4,266 us

before this operation I try exec daemon PhabricatorTaskmasterDaemon for updateing commits, but it's not working againe. I see commits into repository in Web interface, but same don't show audit code revisions.

UPD: find error at "arc diff"

ERROR 8: Undefined index: Repository UUID at [/home/administrator/arcan/arcanist/src/repository/api/ArcanistSubversionAPI.php:606]

chad you have any ideas what's wrong in my local phabricator or whath next steps i have to do for resove it's problem?

Unfortunately no, we need reproduction steps to be able to move further. We need some means of observing the issue in a local sandbox so we can be sure we've found and fixed the right bug. That might mean you isolating the offending commit that is giving Phabricator trouble, breaking down to a minimal test case, and pushing an example to rSVNTEST for us to inspect.

We're also not familiar with https://riouxsvn.com/, so maybe removing that host as a variable would help. Phabricator has built in SVN hosting.

okey im trying pull test repo in my sandbox, but im not sure what it's working. Chad how you can see on offer connect in my local phabricator and see all your self ? :)

i am cloning repo in my local phabricator(ssh only read) and cloning repo in my notebook, then add new file in dir1 "test" and commit he in rSVNTEST then accept commit and i found this revision on my local phabricator where she all the same do not open for review code same all post revisions...

Снимок экрана от 2016-02-27 20:34:34.png (768×1 px, 149 KB)

Снимок экрана от 2016-02-27 20:34:25.png (768×1 px, 186 KB)

I am solving this problem. Reason was in empty Callsign in setting repository. After I added callsing, revisions became openable for audits.

P.S. Sorry for my english.

epriestley claimed this task.
epriestley added a subscriber: epriestley.

It sounds like this is resolved.

I am solving this problem. Reason was in empty Callsign in setting repository. After I added callsing, revisions became openable for audits.

P.S. Sorry for my english.

thanks ! it seems I had the same issue. Callsign is not optional after all...