logo       
Google Custom Search
    AddThis Social Bookmark Button

exception from lib/vclib/svn/__init__.py: msg#00002

Subject: exception from lib/vclib/svn/__init__.py
Howdy all,
I'm new and hope this is the right place for help. I've been through the back issues of "issues" without finding my answer. I have the "1.0-dev" version of viewvc that gforge seems to like. In it I find that I get an exception as follows:

Traceback (most recent call last):
 File "/opt/viewvc/lib/viewcvs.py", line 3483, in main
   request.run_viewcvs()
 File "/opt/viewvc/lib/viewcvs.py", line 370, in run_viewcvs
   self.view_func(self)
 File "/opt/viewvc/lib/viewcvs.py", line 1396, in view_markup
   path, rev = _orig_path(request)
 File "/opt/viewvc/lib/viewcvs.py", line 719, in _orig_path
   pathrev, rev)), rev
 File "/opt/viewvc/lib/vclib/svn/__init__.py", line 116, in get_location
   _allow_all, svnrepos.pool)
TypeError: Expected a pointer

This happens as I browse an svn repository folowing a link to a file listed as:

Revision *4* <https://osp5.lbl.gov/plugins/scmsvn/viewcvs.php?root=mib&rev=4&view=rev> - (view <https://osp5.lbl.gov/plugins/scmsvn/viewcvs.php/trunk/README?root=mib&rev=4&view=markup>) (download <https://osp5.lbl.gov/plugins/scmsvn/viewcvs.php/*checkout*/trunk/README?root=mib&rev=4>) (annotate <https://osp5.lbl.gov/plugins/scmsvn/viewcvs.php/trunk/README?annotate=4&root=mib>) - [select for diffs] <https://osp5.lbl.gov/plugins/scmsvn/viewcvs.php/trunk/README?root=mib&r1=4&view=log>

That is, clicking the "view" link. A similar interface to "head" works fine:

Links to HEAD: (view <https://osp5.lbl.gov/plugins/scmsvn/viewcvs.php/trunk/README?root=mib&view=markup>) (download <https://osp5.lbl.gov/plugins/scmsvn/viewcvs.php/*checkout*/trunk/README?root=mib>) (annotate <https://osp5.lbl.gov/plugins/scmsvn/viewcvs.php/trunk/README?root=mib>)

Is this a known bug and (I may hope) already fixed? I am quite new to viewvc, so I don't know enough about the code to gain much insight just looking at lib/vclib/svn/__init__.py. I think it may require someone with a broader understanding of the code. Any help is much appreciated.
Cheers,
Andrew



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>