make_obcallback(): could not call init. Suggestions of other stuff to output and when, most welcome. As for why ther python says, 2.4.6, that is a great question, and maybe a big hint at the problem. make_table = _apache.make_table AttributeError: 'module' object has no attribute 'make_table' [Mon Apr 10 16:13:15 2006] [error] make_obcallback: Python path being used "['/Users/grahamd/lib/python', '/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python23.zip', '/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3', '/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/plat-darwin', '/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/plat-mac', '/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/plat-mac/lib-scriptpackages', '/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/lib-tk', '/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/lib-dynload', '/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages', '/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/PIL', Source
Python includes modules, classes, exceptions, very high level dynamic data types and dynamic typing. Im getting this error: [Mon Mar 31 23:53:03 2008] [error] make_obcallback: could not import mod_python.apache.\n 'import site' failed; use -v for traceback 'import site' failed; use -v for traceback ImportError: No Suggestions of other stuff to output and when, most welcome. Fill in your details below or click an icon to log in: Email (required) (Address never made public) Name (required) Website You are commenting using your WordPress.com account. (LogOut/Change) You are
Danach ersetze diese Dateien mal durch jene, die du unter /usr/lib64/python2.7 findest. import tempfile File "/usr/lib64/python2.4/tempfile.py", line 33, in ? I suspect something to do with the fix for CVE-2012-1150, but that's just a guess. On Windows this may indicate a problem with missing D Nicolas offered the following as an explanation on Windows: """ One of the possible cause of your problem is that Apache
The error leading to this problem was: cannot import name urandom ..... IQ Test Time! » Create a free website or blog at WordPress.com. Fall back to random module urllib2.py: if os.path.exists("/dev/urandom"): urllib2.py: f = open("/dev/urandom") random.py contains "from os import urandom as _urandom", yes os.py does not contain urandom anymore. The candidates missing DLLs are python24.dll and the Microsoft Runtime DLLS (normally msvcr71.dll and msvcp71.dll).
Unfortunately the error reporting in this case is quite scarce and misguiding. References: Modpython FAQ python/makeobcallback.txt · Last modified: 2013/03/16 17:40 (external edit) Page Tools BacklinksBack to top Except where otherwise noted, content on this wiki is licensed under the following license: CC Quote Report Content Go to Page Top TheLucKy Professional Likes Received 44 Posts 1,017 Occupation FISI Number of hosts ~100 Number of services ~1700 Operating Systems OES2/11, SLES10/11/12, CentOS6.6,WinSrv2k3/8R2 2 Jan http://www.linuxquestions.org/questions/linux-software-2/apache-mod_python-problem-importerror-no-module-named-mod_python-apache-587837/ Previous message (by thread): mozilla wrapper for python Next message (by thread): Mod_python and Apache problems Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
And this is my place to share these things with the world!! :-) Powerball Record: 13,014 RPMSet: 16th October 2008 Daily Press-ups: 135 reps Since initially: 45 reps in March 2004 nasowas Beginner Posts 24 Occupation Systemadministrator Number of hosts 420 Number of services 9600 Operating Systems CentOS6.5 1 [solved] OMD - Internal Server Error - CentOS 7.2 Jan 22nd 2016, 11:32am The error log contains the above. A similar error error is logged where "mod_python.apache" can be imported but an error occurred when doing so.
No, register now. https://issues.apache.org/jira/browse/modpython-158 make_obcallback(): could not import mod_python.apache. Quote Report Content Go to Page Top Boulette Beginner Posts 5 Number of hosts 150 Number of services 2600 Operating Systems Centos 7.2 3 Jan 22nd 2016, 5:00pm Hallo, geh mal mod_python still fails.
If the version disagrees it will complain. http://sinistro.org/could-not/could-not-import-keysym-for-local-python-version.html I'll possibly tweak this a bit more. Grüße, nasowas Quote Report Content Go to Page Top Tisman Administrator Posts 40 Occupation Admin Number of hosts ca. 350 Number of services ca. 1500 Operating Systems CentOS 6.4 8 Jan Because that looks like python 2.4.6 to me, not 2.4.3 (see above). ~0015597 toracat (manager) 2012-08-07 20:57 @spkane Can you post the output returned by: rpm -qi `rpm -qf /usr/bin/python` ~0015598
Show Graham Dumpleton added a comment - 10/Apr/06 14:22 I have checked into subversion some new code to support a better troubleshooting guide. The checks that the code does is as follows: 1. It would still be very useful to understand where urandom is defined, in the new code, because although it seems to still work to import os, there is no reference to have a peek here AttributeError: 'module' object has no attribute 'urandom' >>> # export LD_LIBRARY_PATH=lib:/usr/lib # python Python 2.4.3 (#1, Jun 18 2012, 08:55:31) [GCC 4.1.2 20080704 (Red Hat 4.1.2-52)] on linux2 Type "help", "copyright",
import mimetools File "/usr/lib64/python2.4/mimetools.py", line 6, in ? Restart httpd. Activity Ascending order - Click to sort in descending order All Comments Work Log History Activity Transitions Hide Permalink Graham Dumpleton added a comment - 10/Apr/06 14:22 I have checked into make_obcallback(): could not import mod_python.apache.
This is a path issue, and in my case I am on a Windows Machine, all I needed to do to fix this problem was to add an Environment Variable (under For me starting apache with mod_python installed works just fine - with the current python version. ~0015355 tonynelson (reporter) 2012-07-01 17:28 The problem happens while loading mod_python, so no particular script Im getting this error: [Mon Mar 31 23:53:03 2008] [error] make_obcallback: could not import mod_python.apache.\n 'import site' failed; use -v for traceback 'import site' failed; use -v for traceback ImportError: No http://sinistro.org/could-not/could-not-import-mod-python.html This will be platform specific.
Python can be used as an extension language for applications that need a programmable interface. If the version disagrees it will complain. Python supports interfaces to many system calls and libraries, as well as to various windowing systems (X11, Motif, Tk, Mac and MFC). Mit mod_python von dist.modpython.org/dist/ hab ich schon probiert das Problem zu fixen, hat so im ersten Versuch leider nicht hin-gehauen.
If they differ, it will log error messages like: [Mon Apr 10 16:06:22 2006] [error] python_init: Python version mismatch, expected '2.3.4', found '2.3'. [Mon Apr 10 16:06:22 2006] [error] python_init: Python Make sure that your Python directory and the runtime DLLs can be found on your PATH. This may require configuring mod_python. Do we want to look at backporting these changes to 3.2.9????
Apache can't load mod_python.so --------------------------------------------- This more common problem on Windows, but can occur on other platforms. make_obcallback(): could not import mod_python.apache. Sicher das das wirklich die richtigen Pakete waren die hier installiert wurden? +++ PNP Developer +++ PNP 0.6.25 ist online ! +++ +++ Threema ID NBDA3UU8 +++ OMD - Open Monitoring