Re: [modwsgi] Re: modwsgi and WAMP 2.

2010-06-17 Thread Graham Dumpleton
BTW, if you aren't using a command line shell to do/see stuff, are you
sure that Windows Explorer isn't hiding the .so extension and you
really have:

  mod_wsgi.so.so

Graham

On 17 June 2010 12:26, Graham Dumpleton graham.dumple...@gmail.com wrote:
 Trying putting the file at:

  C:/mod_wsgi.so

 and use:

  LoadModule wsgi_module C:/mod_wsgi.so

 Ie., obvious place and qualified absolute path.

 Graham

 On 17 June 2010 06:53, mpickard matthew.david.pick...@gmail.com wrote:
 I've used a windows tool (robocopy) to copy the file permissions from
 one of the existing apache modules.  Still no luck.

 I'm still getting this error:

 [Wed Jun 16 13:31:18 2010] [notice] Parent: Received restart signal --
 Restarting the server.
 httpd.exe: Syntax error on line 128 of C:/Program Files (x86)/Apache
 Software Foundation/Apache2.2/conf/httpd.conf: Cannot load C:/Program
 Files (x86)/Apache Software Foundation/Apache2.2/modules/mod_wsgi.so
 into server: The specified module could not be found.
 [Wed Jun 16 13:31:18 2010] [notice] Child 3540: Exit event signaled.
 Child process is ending.
 [Wed Jun 16 13:31:18 2010] [warn] (OS 995)The I/O operation has been
 aborted because of either a thread exit or an application request.  :
 winnt_accept: Asynchronous AcceptEx failed.
 [Wed Jun 16 13:31:19 2010] [notice] Child 3540: Released the start
 mutex
 [Wed Jun 16 13:31:20 2010] [notice] Child 3540: All worker threads
 have exited.
 [Wed Jun 16 13:31:20 2010] [notice] Child 3540: Child process is
 exiting

 Matt

 On Jun 10, 7:03 pm, Graham Dumpleton graham.dumple...@gmail.com
 wrote:
 Did you use cgywin shell to verify file permissions and user/group
 ownership as I suggested?

 Graham

 On 11 June 2010 06:42,mpickardmatthew.david.pick...@gmail.com wrote:

  So still not having any luck.  I've removed WAMP and installed Apache
  2.2.  Apache starts fine until I try to load the wsgi module, then
  this is what is in my error logs:

   Jun 10 13:22:17 2010] [notice] Child 1724: Exit event signaled. Child
  process is ending.
  httpd.exe: Syntax error on line 128 of C:/Program Files (x86)/Apache
  Software Foundation/Apache2.2/conf/httpd.conf: Cannot load C:/Program
  Files (x86)/Apache Software Foundation/Apache2.2/modules/mod_wsgi.so
  into server: The specified module could not be found.
  [Thu Jun 10 13:22:17 2010] [warn] (OS 995)The I/O operation has been
  aborted because of either a thread exit or an application request.  :
  winnt_accept: Asynchronous AcceptEx failed.
  [Thu Jun 10 13:22:18 2010] [notice] Child 1724: Released the start
  mutex
  [Thu Jun 10 13:22:19 2010] [notice] Child 1724: All worker threads
  have exited.
  [Thu Jun 10 13:22:19 2010] [notice] Child 1724: Child process is
  exiting

  I've tried the precompiled modules as well as modules from this post:

 http://groups.google.com/group/modwsgi/browse_thread/thread/2c214e9a5...

  No luck.  I've even tried compiling them myself, but no luck with the
  build.

  Does that error message help?

  On May 28, 2:48 pm, Graham Dumpleton graham.dumple...@gmail.com
  wrote:
  On 29 May 2010 03:21,mpickardmatthew.david.pick...@gmail.com wrote:

   Hmm, no luck.  Any reasons while it would not be able to find that
   module?  I've double checked the path.

  Do you have 'cygwin' tools installed.

  Use a shell under cygwin to go to the directory and do a 'ls -las'.
  Then compare what cygwin says for file ownership and permissions and
  use chown/chgrp/chmod as appropriate to get it to match. On my system
  at least there was one chmod type thing I couldn't get t match, but
  still worked.

  Graham

   On May 27, 5:33 pm,mpickardmatthew.david.pick...@gmail.com wrote:
   Graham -

   Good catch.  WAMP does log its errors through the Windows OS because
   WAMP registers Apache as a Windows Service.  So when I open up the
   Event Viewer and look under Applications.  I see an error message for
   Apache that says:

   The Apache service named  reported the following error:

httpd.exe: Syntax error on line 109 of 
C:/wamp/bin/apache/Apache2.2.11/conf/httpd.conf: Cannot load 
C:/wamp/bin/apache/Apache2.2.11/modules/mod_wsgi.so into server: 
The specified module could not be found.

   I'm guessing it has something to do with my text editor...I look into
   that.

   Thanks,

   Matt

   On May 27, 5:21 pm, Graham Dumpleton graham.dumple...@gmail.com
   wrote:

On 28 May 2010 10:15,mpickardmatthew.david.pick...@gmail.com 
wrote:

 Yes, that's the frustrating thing about this process.  I don't 
 know if
 WAMP 2.0 logs errors in a special way, but if the whole WAMP stack
 doesn't start successfully, I don't see any errors in the apache 
 error
 log.  If I remove the load mod_wsgi directive and let the stack 
 load
 successfully, then I see new messages in the error logbut 
 they are
 success message and none of them deal with mod_wsgi

 So maybe i need to post a message to WAMP 2.0 and 

[modwsgi] Re: mod_wsgi config issues.

2010-06-17 Thread Graham Dumpleton
On 18 June 2010 14:29, Shivek Khurana shiv...@gmail.com wrote:
 Dear Sir,
 I've configured mod_wsgi from source with
 python3.1. Python3-dev and apache2-dev
 packages are properly installed as well. I
 see wsgi.load in mods-enabled.
 But what to do next ?? I'm not using any
 framework as its a small app that I wish
 to write from a scratch.
 Please help.
 Thank you

For mod_wsgi setup help read:

 http://code.google.com/p/modwsgi/wiki/WhereToGetHelp

For an understand of what WSGI in general is and how to program at
that level start at:

 http://www.wsgi.org/wsgi/

Please use the mailing list for mod_wsgi in future if you have
specific issues about mod_wsgi.

The mailing list details are in the document linked about where to get
help. This email has been cc'd back to the mailing list. You will need
to join the group however to do followups.

Graham

-- 
You received this message because you are subscribed to the Google Groups 
modwsgi group.
To post to this group, send email to modw...@googlegroups.com.
To unsubscribe from this group, send email to 
modwsgi+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en.