473,659 Members | 2,663 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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\P ython23\Scripts \win32_postinst all.py", line 86,
in ?
apachediroption s = getApacheDirOpt ions()
File "C:\Programme\P ython23\Scripts \win32_postinst all.py", line 45,
in getApacheDirOpt ions
apachekey = regkey(win32con .HKEY_LOCAL_MAC HINE,
"Software").chi ldkey("Apache Group").childke y("Apache")
File "C:\Programme\P ython23\Scripts \win32_postinst all.py", line 34,
in childkey
return regkey(self.key , subkeyname)
File "C:\Programme\P ython23\Scripts \win32_postinst all.py", line 32,
in __init__
self.key = win32api.RegOpe nKey(parent, subkeyname)
pywintypes.erro r: (2, 'RegOpenKeyEx', 'Das System kann die angegebene
Datei nicht finden.')
Exception exceptions.Attr ibuteError: "regkey instance has no attribute
'key'" in <bound method regkey.__del__ of <__main__.regke y instance at
0x00CF1440>> ignored
*** run_installscri pt: 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 3251
Why not post this to the mod_python mailing list??

"Piet" <pi********@gmx .de> wrote in message
news:39******** *************** ***@posting.goo gle.com...
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\P ython23\Scripts \win32_postinst all.py", line 86,
in ?
apachediroption s = getApacheDirOpt ions()
File "C:\Programme\P ython23\Scripts \win32_postinst all.py", line 45,
in getApacheDirOpt ions
apachekey = regkey(win32con .HKEY_LOCAL_MAC HINE,
"Software").chi ldkey("Apache Group").childke y("Apache")
File "C:\Programme\P ython23\Scripts \win32_postinst all.py", line 34,
in childkey
return regkey(self.key , subkeyname)
File "C:\Programme\P ython23\Scripts \win32_postinst all.py", line 32,
in __init__
self.key = win32api.RegOpe nKey(parent, subkeyname)
pywintypes.erro r: (2, 'RegOpenKeyEx', 'Das System kann die angegebene
Datei nicht finden.')
Exception exceptions.Attr ibuteError: "regkey instance has no attribute
'key'" in <bound method regkey.__del__ of <__main__.regke y instance at
0x00CF1440>> ignored
*** run_installscri pt: 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\P ython23\Scripts \win32_postinst all.py", line 86, in ?
apachediroption s = getApacheDirOpt ions()
File "C:\Programme\P ython23\Scripts \win32_postinst all.py", line 45, in getApacheDirOpt ions
apachekey = regkey(win32con .HKEY_LOCAL_MAC HINE, "Software").chi ldkey("Apache Group").childke y("Apache")
File "C:\Programme\P ython23\Scripts \win32_postinst all.py", line 34, in childkey
return regkey(self.key , subkeyname)
File "C:\Programme\P ython23\Scripts \win32_postinst all.py", line 32, in __init__
self.key = win32api.RegOpe nKey(parent, subkeyname)
pywintypes.erro r: (2, 'RegOpenKeyEx', 'Das System kann die angegebene
Datei nicht finden.')
Exception exceptions.Attr ibuteError: "regkey instance has no attribute
'key'" in <bound method regkey.__del__ of <__main__.regke y instance at
0x00CF1440>> ignored
*** run_installscri pt: 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_US ER, not
HKEY_LOCAL_MACH INE.

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_postinsta ll.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*********@ho tmail.com> wrote in message news:<pB******* **********@news read2.news.atl. earthlink.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*********@ho tmail.com> wrote in message news:<pB******* **********@news read2.news.atl. earthlink.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_US ER, not
HKEY_LOCAL_MACH INE.

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_postinsta ll.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_US ER, not
HKEY_LOCAL_MA CHINE.

In fact mod_python has actually been installed correctly, but the
instruction s 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_postinsta ll.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
10067
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 modules/mod_python.so", and the file is there.
2
2018
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 on comp.lang.python crediting all those who contributed. <p> Here's what I've done so far - and where I get stuck: <p> 1. I made default installations of the latest versions: - apache_2.0.47-win32-x86-no_ssl.msi - mod_python-3.0.3.win32.exe
1
2866
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 "http://www.modpython.org/live/current/doc-html/inst-testing.html". I've added specific information such as Windows filepaths and filenames so there's no ambiguity on what you should do. I encourage you to copy and paste to avoid typing errors. Cheers, Rolfe
2
2074
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 off-topic. I'm attempting to get mod_python 3.1.4/python 2.4.1 working on Apache 2.0.54 running under OS X. Apache was compiled from source with a simple /configure --enable-so --with-mpm=worker
1
4340
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): req.content_type = 'text/plain' req.write("Under Construction")
4
4666
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 message in windows event viewer : "The Apache service named Apache.exe reported the following error: before the error.log file could be opened.
1
1990
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 : Python 2.4.3,
5
3103
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 issue ? thanks for any help.
1
4281
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: make_obcallback: could not import mod_python.apache.\n
0
8427
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8850
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8746
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8626
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6178
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4334
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2749
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1975
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1737
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.