plombard / SubversionRiver

A River for ElasticSearch to index subversion repositories.
18 stars 4 forks source link

Better error messages? #9

Open patrickwolf opened 10 years ago

patrickwolf commented 10 years ago

Have no idea what is wrong here. The revision exists for sure and it does work for other repo paths:

[svn_bin2] creating index, cause [api], shards [5]/[1], mappings []
[svn_bin2] create_mapping [svnrevision]
[svn_bin2] create_mapping [svndocument]
[svn_bin2] create_mapping [indexed_revision]
[svn][svn_bin2] Indexing subversion repository : http://svn:8080/svn/bin/app_config/trunk
[svn][svn_bin2] Indexed Revision Value [0]
[_river] update_mapping [svn_bin2] (dynamic)
[svn][svn_bin2] Subversion river exception
[svn][svn_bin2] Indexing subversion repository : http://svn:8080/svn/bin/app_config/trunk
[svn][svn_bin2] Exception encountered while GETting indexed_revision on [svn_bin2] (does not exist ?) :
[svn][svn_bin2] Indexed Revision Value [0]
[svn][svn_bin2] Subversion river exception
[svn][svn_bin2] Indexing subversion repository : http://svn:8080/svn/bin/app_config/trunk
[svn][svn_bin2] Indexed Revision Value [0]
[svn][svn_bin2] Subversion river exception
[svn][svn_bin2] Indexing subversion repository : http://svn:8080/svn/bin/app_config/trunk
[svn][svn_bin2] Indexed Revision Value [0]
[svn][svn_bin2] Subversion river exception

Is there anyway to get a more detailed error?

Thanks a lot for the great plugin by the way!!

plombard commented 10 years ago

I'm not on my coding machine this week so I can't fix it right now, but there are not many places in the source where exceptions are so vague, with no stack trace. Thanks for the feedback, I'll get to it as soon as I can.

patrickwolf commented 10 years ago

Thanks. Would you already have any idea what the issue might be? ie this works: http://svn:8080/svn/bin/app_config/trunk/tools/toolB and this doesn't http://svn:8080/svn/bin/app_config/trunk Thanks!

patrickwolf commented 10 years ago

Even the crawls which did work initially stopped after some revisions with an non explicit error message:

[svn_bin_pxm_scripts2] Indexing subversion repository : http://svn:8080/svn/bin/app_config/trunk/pxm_scripts
[svn_bin_pxm_scripts2] Indexed Revision Value [2491]
[svn_bin_pxm_scripts2] Subversion river exception
patrickwolf commented 9 years ago

Just wanted to ping this ticket as I'd love to index our large svn repo and it still doesn't work. Thanks so much!!

cosu commented 9 years ago

@patrickwolf i'm getting the same message. Did you find the cause or a workaround ?

patrickwolf commented 9 years ago

No. I didn't have time to look more into it and also found some free tools which are purpose build for indexing version control systems so my plan is to try them out