472,789 Members | 1,151 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,789 software developers and data experts.

Installation of mod_python 3.1.3 on Apache 2.0.50 on Windows Me/Win2k

Hi there,
I cannot install mod_python v3.1.3 on either Win2k/ActivePython 2.3.2
or WinMe/Python 2.3.4. When I run the Windows installer, I get the
following error message:
Traceback (most recent call last):
File "C:\Programme\Python23\Scripts\win32_postinstall.p y", line 86,
in ?
apachediroptions = getApacheDirOptions()
File "C:\Programme\Python23\Scripts\win32_postinstall.p y", line 45,
in getApacheDirOptions
apachekey = regkey(win32con.HKEY_LOCAL_MACHINE,
"Software").childkey("Apache Group").childkey("Apache")
File "C:\Programme\Python23\Scripts\win32_postinstall.p y", line 34,
in childkey
return regkey(self.key, subkeyname)
File "C:\Programme\Python23\Scripts\win32_postinstall.p y", line 32,
in __init__
self.key = win32api.RegOpenKey(parent, subkeyname)
pywintypes.error: (2, 'RegOpenKeyEx', 'Das System kann die angegebene
Datei nicht finden.')
Exception exceptions.AttributeError: "regkey instance has no attribute
'key'" in <bound method regkey.__del__ of <__main__.regkey instance at
0x00CF1440>> ignored
*** run_installscript: internal error 0xFFFFFFFF ***
I checked the registry and found that the key mentioned in the error
message does indeed not exist. Is this a failure in my apache
configuration/installation or is the installation package of
mod_python incorrect? Are there any experiences with the
abovementioned configuration?
Thanx in advance
Peter
Jul 18 '05 #1
6 3187
Why not post this to the mod_python mailing list??

"Piet" <pi********@gmx.de> wrote in message
news:39**************************@posting.google.c om...
Hi there,
I cannot install mod_python v3.1.3 on either Win2k/ActivePython 2.3.2
or WinMe/Python 2.3.4. When I run the Windows installer, I get the
following error message:
Traceback (most recent call last):
File "C:\Programme\Python23\Scripts\win32_postinstall.p y", line 86,
in ?
apachediroptions = getApacheDirOptions()
File "C:\Programme\Python23\Scripts\win32_postinstall.p y", line 45,
in getApacheDirOptions
apachekey = regkey(win32con.HKEY_LOCAL_MACHINE,
"Software").childkey("Apache Group").childkey("Apache")
File "C:\Programme\Python23\Scripts\win32_postinstall.p y", line 34,
in childkey
return regkey(self.key, subkeyname)
File "C:\Programme\Python23\Scripts\win32_postinstall.p y", line 32,
in __init__
self.key = win32api.RegOpenKey(parent, subkeyname)
pywintypes.error: (2, 'RegOpenKeyEx', 'Das System kann die angegebene
Datei nicht finden.')
Exception exceptions.AttributeError: "regkey instance has no attribute
'key'" in <bound method regkey.__del__ of <__main__.regkey instance at
0x00CF1440>> ignored
*** run_installscript: internal error 0xFFFFFFFF ***
I checked the registry and found that the key mentioned in the error
message does indeed not exist. Is this a failure in my apache
configuration/installation or is the installation package of
mod_python incorrect? Are there any experiences with the
abovementioned configuration?
Thanx in advance
Peter

Jul 18 '05 #2
Piet wrote:
Hi there,
I cannot install mod_python v3.1.3 on either Win2k/ActivePython 2.3.2
or WinMe/Python 2.3.4. When I run the Windows installer, I get the
following error message:
Traceback (most recent call last):
File "C:\Programme\Python23\Scripts\win32_postinstall.p y", line 86, in ?
apachediroptions = getApacheDirOptions()
File "C:\Programme\Python23\Scripts\win32_postinstall.p y", line 45, in getApacheDirOptions
apachekey = regkey(win32con.HKEY_LOCAL_MACHINE, "Software").childkey("Apache Group").childkey("Apache")
File "C:\Programme\Python23\Scripts\win32_postinstall.p y", line 34, in childkey
return regkey(self.key, subkeyname)
File "C:\Programme\Python23\Scripts\win32_postinstall.p y", line 32, in __init__
self.key = win32api.RegOpenKey(parent, subkeyname)
pywintypes.error: (2, 'RegOpenKeyEx', 'Das System kann die angegebene
Datei nicht finden.')
Exception exceptions.AttributeError: "regkey instance has no attribute
'key'" in <bound method regkey.__del__ of <__main__.regkey instance at
0x00CF1440>> ignored
*** run_installscript: internal error 0xFFFFFFFF ***
I checked the registry and found that the key mentioned in the error
message does indeed not exist. Is this a failure in my apache
configuration/installation or is the installation package of
mod_python incorrect? Are there any experiences with the
abovementioned configuration?
Thanx in advance
Peter


Hi

This error was found when installing the original mod_python 3.1.3 for
Windows installer on a non-Admin install of Python. You'll probably find
that the registry does exist, but under HKEY_CURRENT_USER, not
HKEY_LOCAL_MACHINE.

In fact mod_python has actually been installed correctly, but the
instructions about changing your apache configuration have not been
given, and the mod_python library hasn't been copied into the Apache
directory.

These issues should all be fix in the latest win32 build of mod_python
available from
http://davidf.sjsoft.com/files/mod_p...in32-py2.3.exe

Need to get Grisha to release this...

I would recommend removing the Scripts/win32_postinstall.py file before
running it...

Hope that helps, if you have errors report them here or on the
mod_python mailing list.

David
Jul 18 '05 #3
"Lucas Raab" <py*********@hotmail.com> wrote in message news:<pB*****************@newsread2.news.atl.earth link.net>...
Why not post this to the mod_python mailing list??

The error looked like an error in some python installation scripts, so
it seemed to me more "pythonic" than "apachic". Anyways, thanks for
the hint.
Piet
Jul 18 '05 #4
Piet wrote:
"Lucas Raab" <py*********@hotmail.com> wrote in message news:<pB*****************@newsread2.news.atl.earth link.net>...
Why not post this to the mod_python mailing list??


The error looked like an error in some python installation scripts, so
it seemed to me more "pythonic" than "apachic". Anyways, thanks for
the hint.
Piet


mod_python is a bridge between apache and python, so it contains both
Python code and C code. the mod_python list is a good place to get help,
I would recommend joining it

Cheers
David
Jul 18 '05 #5
David Fraser <da****@sjsoft.com> wrote in message news:<cg**********@ctb-nnrp2.saix.net>...
This error was found when installing the original mod_python 3.1.3 for
Windows installer on a non-Admin install of Python. You'll probably find
that the registry does exist, but under HKEY_CURRENT_USER, not
HKEY_LOCAL_MACHINE.

In fact mod_python has actually been installed correctly, but the
instructions about changing your apache configuration have not been
given, and the mod_python library hasn't been copied into the Apache
directory.

These issues should all be fix in the latest win32 build of mod_python
available from
http://davidf.sjsoft.com/files/mod_p...in32-py2.3.exe

Need to get Grisha to release this...

I would recommend removing the Scripts/win32_postinstall.py file before
running it...

Hope that helps, if you have errors report them here or on the
mod_python mailing list.

David


Hi David.
The new version worked, and I am looking forward exploring server-side
cgi-scripting with my favorite programming language. Any reason why
the new installer is not released?
Thx
Peter
Jul 18 '05 #6
Piet wrote:
David Fraser <da****@sjsoft.com> wrote in message news:<cg**********@ctb-nnrp2.saix.net>...
This error was found when installing the original mod_python 3.1.3 for
Windows installer on a non-Admin install of Python. You'll probably find
that the registry does exist, but under HKEY_CURRENT_USER, not
HKEY_LOCAL_MACHINE.

In fact mod_python has actually been installed correctly, but the
instructions about changing your apache configuration have not been
given, and the mod_python library hasn't been copied into the Apache
directory.

These issues should all be fix in the latest win32 build of mod_python
available from
http://davidf.sjsoft.com/files/mod_p...in32-py2.3.exe

Need to get Grisha to release this...

I would recommend removing the Scripts/win32_postinstall.py file before
running it...

Hope that helps, if you have errors report them here or on the
mod_python mailing list.

David

Hi David.
The new version worked, and I am looking forward exploring server-side
cgi-scripting with my favorite programming language. Any reason why
the new installer is not released?
Thx
Peter


Hi Peter

I haven't had that much time to devote towards getting people to test
and give a thumbs up which is a requirement before a release.

So if you want to help please sign up to the mod_python list and say
what happened to you...

Thanks for the feedback

Cheers
David
Jul 18 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Patrick Useldinger | last post by:
Hi, I have the following configuration: - Apache 2.0.47 (win32) - mod_python 3.0.3 win32 - python 2.3 I have added the loadModule command for mod_python: "LoadModule python_module...
2
by: Rolfe | last post by:
Has anyone had success getting mod_python to run on Apache on Win2K? I'm writing up instructions on how to do this and need your help. When completed, the instructions at the mod_python website and...
1
by: Rolfe | last post by:
Hi, I struggled, and got mod_python running on Apache/Win2k. Follow these instructions verbatim and you shouldn't have any trouble. These instructions are based on...
2
by: Robert J. Hansen | last post by:
I'm not entirely certain comp.lang.python is the proper newsgroup for mod_python questions, but "comp.lang.python.web" doesn't seem to exist, so... my apologies in advance if this is considered...
1
by: treelife | last post by:
I'm getting and internal server error when | run the following mod_python script. I am actually trying to run Django. Script: from mod_python import apache def handler(req):...
4
by: Gaurav Agarwal | last post by:
Hi, Am using WAMP5 and python 2.4.3. I tried to install mod_python 3.2.5 for python2.4. When i tried starting wamp, Firstly there was no error message in the apache error log. I saw error...
1
by: boney | last post by:
hello All, I am totally unknown to python language.. i need to install mod_python to embed python interpreter with the Apache server, in order to use Trac with Apache Web Server i am using...
5
by: m.banaouas | last post by:
Hi, bonjour, witch versions are suitable to use for apache & mod_python ? Can i install and use "Apache 2.2.3" & "mod_python 3.2.10" (most recent versions) without facing any known major...
1
by: NccWarp9 | last post by:
Hello, im using Apache HTTPD 2.2.8 with mod_python/3.3.1 Python/2.4.3 on Windows and having truble starting pythone, any help would be appreciated .. Im getting this error: ...
0
by: Rina0 | last post by:
Cybersecurity engineering is a specialized field that focuses on the design, development, and implementation of systems, processes, and technologies that protect against cyber threats and...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: lllomh | last post by:
How does React native implement an English player?
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.