Page 1 of 1
cTags Database Builder Loops Forever ?
Posted: Wed Aug 22, 2007 5:18 pm
by amix
Hi,
I am building a ctags database for my Python2.4 lib. It is pretty large, so I expected to wait for a long time. However, the filesize of the tags db does not grow anymore, but the Tagbuilder is still locked and none shows two cmd.exe running as child-tasks of the DatabaseBuilder, with both permanentley restarting and executing 'doskey' as a child process. Does it hand ? Or do I need to wait more ?
Thanks.
Posted: Thu Aug 23, 2007 5:13 am
by jussij
Hi amix,
I am building a ctags database for my Python2.4 lib.
Which file extensions did you use for the build
As a test I did a Tags Database build with these details:
Database Name: Python
File Extensions: *.py
Directory of Source Files: D:\Work\zeus3.96\scriptpy\Python-2.4.2
For me the build took about 2 minutes but it did complete.
However, the filesize of the tags db does not grow anymore, but the Tagbuilder is still locked and none shows two cmd.exe running as child-tasks of the DatabaseBuilder,
The Tag Builder is just like Zeus in that it runs the
xTags.exe to generate the tag information. So you should see this exe getting started and then ending for every file in the tag database.
Or do I need to wait more ?
It can look like the process has hung, but if you can see the xtags.exe starting and stopping then the process is still running.
But I am not sure why the tag database file would not still be growing
Cheers Jussi
Posted: Thu Aug 23, 2007 12:37 pm
by amix
I managed to build a database yesterday. It took a few hours (P4@2.8GHz, 800MB od 2GB RAM free) but then it was done. It seems, the last time (when it finished) the database got written at the end. That would mean, that the first time it indeed hung. I have a pretty huge Python24\Lib\site-packages.
Posted: Fri Aug 24, 2007 11:59 am
by amix
jussij wrote:The Tag Builder is just like Zeus in that it runs the xTags.exe to generate the tag information. So you should see this exe getting started and then ending for every file in the tag database.
Jussi, I just wanted to mention, that there is no xtags.exe in the process tree when building the tags database. Instead this is what is visible:
Code: Select all
zeus.exe
|_cmd.exe
| |_doskey.exe
|_cmd.exe
|_doskey.exe
With the two cmd.exe/doskey.exe constantly restarting asynchronuosley as it seems, and each not running for longer than a second. However, the databases got build all the other times I did some (except the first, which I reported, but that's allright now)