Re: [viewvc-dev] Exception Issue With ViewVC

"C. Michael Pilato" <[email protected]>
Newsgroups gmane.comp.version-control.cvs.viewcvs.devel
Organization CollabNet, Inc.
Message-ID <[email protected]>
Adeleye, Adekunle (GE Indust, GE Fanuc) wrote:
> Does anyone have an idea where this issue is coming from:
>  
> An Exception Has Occurred
> Python Traceback
>  
> Traceback (most recent call last):
>   File "/usr/local/viewvc-1.0.3-dev/lib/viewvc.py", line 3629, in main
>     request.run_viewvc()
>   File "/usr/local/viewvc-1.0.3-dev/lib/viewvc.py", line 388, in run_viewvc
>     self.view_func(self)
>   File "/usr/local/viewvc-1.0.3-dev/lib/viewvc.py", line 1541, in
> view_directory
>     request.repos.dirlogs(request.path_parts, request.pathrev,
> file_data, options)
>   File "/usr/local/viewvc-1.0.3-dev/lib/vclib/ccvs/__init__.py", line
> 75, in dirlogs
>     if Tag(None, rev).is_branch:
>   File "/usr/local/viewvc-1.0.3-dev/lib/vclib/bincvs/__init__.py", line
> 303, in __init__
>     self.number = _tag_tuple(revstr)
>   File "/usr/local/viewvc-1.0.3-dev/lib/vclib/bincvs/__init__.py", line
> 474, in _tag_tuple
>     t = map(int, string.split(revision_string, '.'))
> ValueError: invalid literal for int():

In private mail you indicated that this was happening when navigating into a
CVS folder.  Any particular folder, or all of them?

At first glance, the general problem appears to be that ViewVC is trying to
get the components which make up a CVS revision number (splitting "1.2.3.4"
into [1, 2, 3, 4]) and failing because one of those components isn't an
integer.  If this is the case, then the problem is most likely found in one
of the RCS backing files (the ,v files) in your repository, not a bug in
ViewVC itself.

-- 
C. Michael Pilato <[email protected]>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHYBQzokEGqRcG/W4RAkuhAJ9JGfC0+ZBx6ezk3p42DGT3WYCOigCgl1ym
Prrb6Mu1X7F1M8nOJzVOww8=
=n9Jx
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.