Re: [viewvc-users] Viewvc error

"C. Michael Pilato" <[email protected]> Sun, 28 Sep 2014 16:39:41 -0400
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Organization CollabNet, Inc.
Message-ID <5428720D.6090709__36135.4013359689$1411936797$gmane$org@collab.net>
------=_Part_353_1731069389.1411936786834
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

This is not a problem with ViewVC so much as the misinteraction between
ViewVC and other parts of your system.  It appears that the user as
which ViewVC is running (probably the same user as which Apache HTTP
Server is running on your system ... /daemon/, /apache/, or whatever
that use may be) lacks the permissions to list the contents of the
/var/lib/rancid/CVS directory on your machine.  Fix that, and this
problem should go away.

On 09/28/2014 03:02 AM, Jinju George wrote:
>
>
>       Hi Team,
>
> Please find the error log when i have run the the viewvc page. Here am
> using Ubuntu as my OS.
>
>
>
>       An Exception Has Occurred
>
>
>         Python Traceback
>
> Traceback (most recent call last):
>   File "/usr/lib/viewvc/lib/viewvc.py", line 4322, in main
>     request.run_viewvc()
>   File "/usr/lib/viewvc/lib/viewvc.py", line 397, in run_viewvc
>     self.view_func(self)
>   File "/usr/lib/viewvc/lib/viewvc.py", line 1837, in view_roots
>     expand_root_parents(request.cfg)
>   File "/usr/lib/viewvc/lib/viewvc.py", line 4212, in expand_root_parents
>     roots = vclib.ccvs.expand_root_parent(pp)
>   File "/usr/lib/viewvc/lib/vclib/ccvs/__init__.py", line 26, in expand_root_parent
>     subpaths = os.listdir(parent_path)
> OSError: [Errno 13] Permission denied: '/var/lib/rancid/CVS'
>
> Thanks,
> Jinju George
>


-- 
C. Michael Pilato <[email protected]>
CollabNet   <>   www.collab.net   <>   Enterprise Cloud Development

------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=3089145

To unsubscribe from this discussion, e-mail: [[email protected]].
------=_Part_353_1731069389.1411936786834
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html>
  <head>
    <meta content=3D"text/html; charset=3Dutf-8" http-equiv=3D"Content-Type=
">
  </head>
  <body bgcolor=3D"#FFFFFF" text=3D"#000000">
    <div class=3D"moz-cite-prefix">This is not a problem with ViewVC so
      much as the misinteraction between ViewVC and other parts of your
      system.=C2=A0 It appears that the user as which ViewVC is running
      (probably the same user as which Apache HTTP Server is running on
      your system ... <i>daemon</i>, <i>apache</i>, or whatever that
      use may be) lacks the permissions to list the contents of the
      /var/lib/rancid/CVS directory on your machine.=C2=A0 Fix that, and th=
is
      problem should go away.<br>
      <br>
      On 09/28/2014 03:02 AM, Jinju George wrote:<br>
    </div>
    <blockquote
cite=3D"mid:[email protected]=
ail.com"
      type=3D"cite">
      <div dir=3D"ltr">
        <h3>Hi Team,</h3>
        <div>Please find the error log when i have run the the viewvc
          page. Here am using Ubuntu as my OS.</div>
        <h3><br>
        </h3>
        <h3>An Exception Has Occurred</h3>
        <h4>Python Traceback</h4>
        <pre>Traceback (most recent call last):
  File "/usr/lib/viewvc/lib/viewvc.py", line 4322, in main
    request.run_viewvc()
  File "/usr/lib/viewvc/lib/viewvc.py", line 397, in run_viewvc
    self.view_func(self)
  File "/usr/lib/viewvc/lib/viewvc.py", line 1837, in view_roots
    expand_root_parents(request.cfg)
  File "/usr/lib/viewvc/lib/viewvc.py", line 4212, in expand_root_parents
    roots =3D vclib.ccvs.expand_root_parent(pp)
  File "/usr/lib/viewvc/lib/vclib/ccvs/__init__.py", line 26, in expand_roo=
t_parent
    subpaths =3D os.listdir(parent_path)
OSError: [Errno 13] Permission denied: '/var/lib/rancid/CVS'

</pre>
        <pre>Thanks,</pre>
        <pre>Jinju George</pre>
        <br>
      </div>
    </blockquote>
    <br>
    <br>
    <pre class=3D"moz-signature" cols=3D"72">--=20
C. Michael Pilato <a class=3D"moz-txt-link-rfc2396E" href=3D"mailto:cmpilat=
[email protected]">&lt;[email protected]&gt;</a>
CollabNet   &lt;&gt;   <a class=3D"moz-txt-link-abbreviated" href=3D"http:/=
/www.collab.net">www.collab.net</a>   &lt;&gt;   Enterprise Cloud Developme=
nt
</pre>
  </body>
</html>

------=_Part_353_1731069389.1411936786834--