#5810 SVN info2 path errors

v1.0.0
closed
sf-1 (616)
SCM
2015-08-20
2013-02-12
No

Here are a few examples:

19:38:48,687 ERROR [forgesvn.model.svn] Error computing tree for <Repository /svn/p/psycle/code>: <Commit 50736f5dbfc09e3e92dd68b7:10401>(tags/psycle-1.10.1/psycle-plugins/src/psycle/plugins/druttis)
Traceback (most recent call last):
  File "/var/local/allura/ForgeSVN/forgesvn/model/svn.py", line 596, in last_commit_ids
    depth=pysvn.depth.immediates)
  File "/var/local/env-allura/lib/python2.7/site-packages/TimerMiddleware-0.4.1-py2.7.egg/timermiddleware/__init__.py", line 112, in wrapper
    return self.run_and_log(func, inst, *args, **kwargs)
  File "/var/local/env-allura/lib/python2.7/site-packages/TimerMiddleware-0.4.1-py2.7.egg/timermiddleware/__init__.py", line 121, in run_and_log
    return func(*args, **kwargs)
  File "/var/local/allura/ForgeSVN/forgesvn/model/svn.py", line 114, in info2
    return self.client.info2(*args, **kw)
ClientError: Unable to connect to a repository at URL 'file:///svn/p/psycle/codetags/psycle-1.10.1/psycle-plugins/src/psycle/plugins/druttis'

12:33:50,728 ERROR [forgesvn.model.svn] Error computing tree for <Repository /svn/p/zeoslib/code-0>: <Commit 500986a671b75b2b8b001f0f:143>(branches/releases)
Traceback (most recent call last):
  File "/var/local/allura/ForgeSVN/forgesvn/model/svn.py", line 596, in last_commit_ids
    depth=pysvn.depth.immediates)
  File "/var/local/env-allura/lib/python2.7/site-packages/TimerMiddleware-0.4.1-py2.7.egg/timermiddleware/__init__.py", line 112, in wrapper
    return self.run_and_log(func, inst, *args, **kwargs)
  File "/var/local/env-allura/lib/python2.7/site-packages/TimerMiddleware-0.4.1-py2.7.egg/timermiddleware/__init__.py", line 121, in run_and_log
    return func(*args, **kwargs)
  File "/var/local/allura/ForgeSVN/forgesvn/model/svn.py", line 114, in info2
    return self.client.info2(*args, **kw)
ClientError: Unable to connect to a repository at URL 'file:///svn/p/zeoslib/code-0branches/releases'

07:43:56,097 ERROR [forgesvn.model.svn] Error computing tree for <Repository /svn/p/kengma/code-0>: <Commit 4f054528b9363c5abe0002b9:1>(/tags)
Traceback (most recent call last):
  File "/var/local/allura/ForgeSVN/forgesvn/model/svn.py", line 411, in compute_tree_new
    depth=pysvn.depth.immediates)
  File "/var/local/env-allura/lib/python2.7/site-packages/TimerMiddleware-0.4.1-py2.7.egg/timermiddleware/__init__.py", line 112, in wrapper
    return self.run_and_log(func, inst, *args, **kwargs)
  File "/var/local/env-allura/lib/python2.7/site-packages/TimerMiddleware-0.4.1-py2.7.egg/timermiddleware/__init__.py", line 121, in run_and_log
    return func(*args, **kwargs)
  File "/var/local/allura/ForgeSVN/forgesvn/model/svn.py", line 114, in info2
    return self.client.info2(*args, **kw)
ClientError: Unable to connect to a repository at URL 'file:///svn/p/kengma/code-0/tags'

Related

Tickets: #5854

Discussion

  • Dave Brondsema

    Dave Brondsema - 2013-02-12

    Looks like we might just need to add a slash?

    In [4]: pysvn.Client().info2('file:///svn/p/veseo-souliss/codetags/A2.3/Souliss/examples/Souliss_example1_eth2/Souliss_example1_eth2.pde')
    ---------------------------------------------------------------------------
    ClientError                               Traceback (most recent call last)
    /home/sfeng2/<ipython-input-4-bc01d57f4fa0> in <module>()
    ----> 1 pysvn.Client().info2('file:///svn/p/veseo-souliss/codetags/A2.3/Souliss/examples/Souliss_example1_eth2/Souliss_example1_eth2.pde')
    
    ClientError: Unable to connect to a repository at URL 'file:///svn/p/veseo-souliss/codetags/A2.3/Souliss/examples/Souliss_example1_eth2/Souliss_example1_eth2.pde'
    Unable to open an ra_local session to URL
    Unable to open repository 'file:///svn/p/veseo-souliss/codetags/A2.3/Souliss/examples/Souliss_example1_eth2/Souliss_example1_eth2.pde'
    
    In [5]: pysvn.Client().info2('file:///svn/p/veseo-souliss/code/tags/A2.3/Souliss/examples/Souliss_example1_eth2/Souliss_example1_eth2.pde')
    Out[5]: [('Souliss_example1_eth2.pde', <PysvnInfo ''>)]
    

    We should also add a : before the <Repository> for better log parsing

     
  • Dave Brondsema

    Dave Brondsema - 2013-02-13
    • status: open --> in-progress
    • assigned_to: Dave Brondsema
    • size: --> 1
     
  • Dave Brondsema

    Dave Brondsema - 2013-02-13
    • status: in-progress --> code-review
     
  • Dave Brondsema

    Dave Brondsema - 2013-02-13

    allura:db/5810

    I'm not sure how to do a functional or manual test :/

     
    • qa: Tim Van Steenburgh
     
    • status: code-review --> closed
     

Log in to post a comment.