[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Savannah-hackers] Re: Web Page Error
From: |
Mathieu Roy |
Subject: |
[Savannah-hackers] Re: Web Page Error |
Date: |
17 Apr 2003 20:36:48 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
"Liam Randall" <address@hidden> said:
> http://subversions.gnu.org/cgi-bin/viewcvs/#dirlist
> --------------------------------------------------------------------
> Python Exception Occurred
> Traceback (most recent call last):
> File "/usr/lib/python2.1/viewcvs/viewcvs.py", line 2645, in run_cgi
> main()
> File "/usr/lib/python2.1/viewcvs/viewcvs.py", line 2598, in main
> view_directory(request)
> File "/usr/lib/python2.1/viewcvs/viewcvs.py", line 1120, in view_directory
> lastmod = get_last_modified(file_data)
> File "/usr/lib/python2.1/viewcvs/viewcvs.py", line 759, in get_last_modified
> subfiles = os.listdir(pathname)
> OSError: [Errno 13] Permission denied: '/cvsroot//blueye'
>
> Contact address@hidden <mailto:address@hidden> for any problem related to
> CVS, after reading the Savannah FAQ
> <http://savannah.gnu.org/faq/?group=savannah>.
> You can also take a look at ViewCVS informations and help
> </cgi-bin/viewcvs/*docroot*/help_rootview.html>.
> --------------------------------------------------------------------
We have a problem with viewcvs. He does not ignore directories he
cannot opened ; and so he kill himself.
I would be glad if someone have a solution for this (not adding each
non accessible directories one by one, at hand, in his ignore
list). For instance, an hack would do the job: before trying to open a
directory, viewcvs should test it's mode and try to open it only if
he have access. It's python code, I havent read a line of python
since more than an year and only know the basis of python, so it would
take me too much time to do this myself.
I would be glad if someone familiar with python look into viewcvs code
and propose us a patch (and to viewcvs authors, indeed!).
Regards,
--
Mathieu Roy
<< Profile << http://savannah.gnu.org/users/yeupou <<
>> Homepage >> http://yeupou.coleumes.org >>
<< GPG Key << http://stock.coleumes.org/gpg <<