logo       


Re: CreateProcess Error 5 "Access is denied": msg#00002

Subject: Re: CreateProcess Error 5 "Access is denied"
On Thu, 2006-04-27 at 15:47 -0400, Bill Marshall wrote:
> Hi All:
> 
> I am having a problem setting up ViewVC on a Windows XP Home machine
> running Apache 2.0. I am getting the following error when attempting
> to access a folder with files in it:
> 
> An Exception Has Occurred
> 
> Python Traceback
> 
> Traceback (most recent call last):
> 
>   File "C:\Program Files\viewvc-1.0.0-rc1\lib\viewvc.py", line 3609,
> in main
> 
>     request.run_viewvc()
> 
>   File "C:\Program Files\viewvc-1.0.0-rc1\lib\viewvc.py", line 386, in
> run_viewvc
> 
>     self.view_func(self)
> 
>   File "C:\Program Files\viewvc-1.0.0-rc1\lib\viewvc.py", line 1539,
> in view_directory
> 
>     request.repos.dirlogs(request.path_parts, request.pathrev,
> file_data, options)
> 
>   File "C:\Program Files\viewvc-1.0.0-rc1\lib\vclib\bincvs
> \__init__.py", line 195, in dirlogs
> 
>     alltags = _get_logs(self, dirpath, entries, rev, subdirs)
> 
>   File "C:\Program Files\viewvc-1.0.0-rc1\lib\vclib\bincvs
> \__init__.py", line 880, in _get_logs
> 
>     rlog = repos.rcs_popen('rlog', args, 'rt')
> 
>   File "C:\Program Files\viewvc-1.0.0-rc1\lib\vclib\bincvs
> \__init__.py", line 255, in rcs_popen
> 
>     return popen.popen(cmd, args, mode, capture_err)
> 
>   File "C:\Program Files\viewvc-1.0.0-rc1\lib\popen.py", line 71, in
> popen
> 
>     phandle, pid, thandle, tid = win32popen.CreateProcess(command,
> hStdIn, hStdOut, hStdErr)
> 
>   File "C:\Program Files\viewvc-1.0.0-rc1\lib\win32popen.py", line 74,
> in CreateProcess
> 
>     si                               # startupinfo
> 
> error: (5, 'CreateProcess', 'Access is denied.')
> 
>  
> 
> I have guessed that the python script does not have the permission to
> spawn a thread. However, I have attempted to change permissions on the
> folder from read only, and I continue to get the same error. 

It means that the python script doesn't have permission to execute the
cvs.exe (or possibly the rlog.exe) executable. Please check the
permissions on these executables and their parent directories.

-- 
-  Russell Yanofsky (PGP ID: 0x5FAA0216)
-  http://russ.yanofsky.org/
--

Attachment: signature.asc
Description: This is a digitally signed message part

Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
Search:
Java, servers, webhosting, windows, cisco ...
more...
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
encryption.gpg....    ietf.rfc822/199...    freebsd.devel.i...    lang.haskell.li...    mail.squirrelma...    web.zope.plone....    yellowdog.gener...    text.xml.xalan....    recreation.phot...    kde.devel.educa...    hardware.bus.ca...    printing.ghosts...    voip.peering/20...    assembly/2006-0...    org.user-groups...    culture.interne...    network.i2p/200...    boot-loaders.ya...    xfree86.render/...    qnx.openqnx.dev...    jakarta.velocit...    user-groups.pal...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe