#4501 ClientError in SVN refresh

v1.0.0
closed
sf-2 (994)
SCM
2015-08-20
2012-07-05
No
paster script production.ini ../scripts/refresh-all-repos.py -- --project=pisbuk --clean

09:29:04,445 ERROR [__main__] Error refreshing <Repository /svn/p/pisbuk/code-0>
Traceback (most recent call last):
  File "/var/local/allura/scripts/refresh-all-repos.py", line 95, in main
    c.app.repo.refresh(options.all, notify=options.notify)
  File "/var/local/allura/Allura/allura/model/repository.py", line 317, in refresh
    refresh_repo(self, all_commits, notify)
  File "/var/local/allura/Allura/allura/model/repo_refresh.py", line 41, in refresh_repo
    repo.refresh_commit_info(oid, seen, not all_commits)
  File "/var/local/allura/Allura/allura/model/repository.py", line 198, in refresh_commit_info
    return self._impl.refresh_commit_info(oid, seen, lazy)
  File "/var/local/allura/ForgeSVN/forgesvn/model/svn.py", line 278, in refresh_commit_info
    recurse=False)[0][1]
ClientError: URL 'file:///svn/p/pisbuk/code-0/trunk/temp/templates_c/%%76^764^76425BEE%%_menu_item.htm.php' non-existent in revision 4

Discussion

    • status: in-progress --> code-review
    • qa: Dave Brondsema
     
  • forge:tv/4501

    Import https://svn.code.sf.net/p/pisbuk/code-0/trunk into a sandbox project. Refresh:

    paster script production.ini ../scripts/refresh-all-repos.py -- --project=pisbuk --clean
    

    On dev this will raise a ClientError on revision 4. On tv/4501 it won't. The commit page (/p/pisbuk/code/4/ - see note below) will correctly report the file as deleted.

    NOTE: Turn off JS before you load /p/pisbuk/code/4/, due to [#4500]

     

    Related

    Tickets: #4500

  • Projects that will need to be reindexed:

    $ pssh sfn-daemon "grep 'ClientError: URL' /var/log/allura/scm_refresh_clean.log -B12 | grep ERROR"
    
     
  • Dave Brondsema

    Dave Brondsema - 2012-07-05
    • status: code-review --> validation
     
  • Dave Brondsema

    Dave Brondsema - 2012-07-09
    • status: validation --> closed
     

Log in to post a comment.