Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 97985 invoked from network); 25 Apr 2004 05:04:37 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 25 Apr 2004 05:04:37 -0000 Received: (qmail 25674 invoked by uid 500); 25 Apr 2004 05:04:02 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 25661 invoked by uid 500); 25 Apr 2004 05:04:02 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 25648 invoked from network); 25 Apr 2004 05:04:01 -0000 Received: from unknown (HELO main.gmane.org) (80.91.224.249) by daedalus.apache.org with SMTP; 25 Apr 2004 05:04:01 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BHboK-0000V1-00 for ; Sun, 25 Apr 2004 07:04:12 +0200 Received: from user-1120lqe.dsl.mindspring.com ([66.32.87.78]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 25 Apr 2004 07:04:12 +0200 Received: from eddielee by user-1120lqe.dsl.mindspring.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 25 Apr 2004 07:04:12 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: users@httpd.apache.org From: "Edward Diener" Date: Sun, 25 Apr 2004 01:04:12 -0400 Lines: 33 Message-ID: X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: user-1120lqe.dsl.mindspring.com X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Sender: news X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: [users@httpd] Bug in mod_python install X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Mod_python's postinstall script assumes that the Apache key in the Windows registry is in HKLM. However if one installs Apache Web Server on Windows and chooses to install for the current user, the entry is under HKCU. Because of this an exception is thrown in the script when attempting to open HKLM/Apache Group/Apache and the postinstall script never finishes. An obvious workaround is to momentarily duplicate the Apache registry entries which are under HKCU to HKLM in order to allow mod_python to finish installing itself successfully. Here is the exception trace: Traceback (most recent call last): File "H:\UTILIT~1\Python23\Scripts\win32_postinstall.py", line 86, in ? apachediroptions = getApacheDirOptions() File "H:\UTILIT~1\Python23\Scripts\win32_postinstall.py", line 45, in getApacheDirOptions apachekey = regkey(win32con.HKEY_LOCAL_MACHINE, "Software").childkey("Apache Group").childkey("Apache") File "H:\UTILIT~1\Python23\Scripts\win32_postinstall.py", line 34, in childkey return regkey(self.key, subkeyname) File "H:\UTILIT~1\Python23\Scripts\win32_postinstall.py", line 32, in __init__ self.key = win32api.RegOpenKey(parent, subkeyname) pywintypes.error: (2, 'RegOpenKeyEx', 'The system cannot find the file specified.') Exception exceptions.AttributeError: "regkey instance has no attribute 'key'" in > ignored *** run_installscript: internal error 0xFFFFFFFF *** --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org