For the root no file locking, try:

Install "Python for windows
extensions<http://sourceforge.net/projects/pywin32/<http://www.google.com/url?sa=D&q=http://sourceforge.net/projects/pywin32/&usg=AFQjCNHMM9hl9aZsYgkN3x_DxHxb-9o_4Q>>"
(If you're using windows)

I had a similar issue and documented here
<http://groups.google.co.uk/group/web2py/browse_thread/thread/ddc56534c9913a0e/f61c0827103abcd7?lnk=gst&q=[Troubleshooting]+Running+from+source+on+windows+[WARNING%3Aroot%3Aunable+to+import+wsgiserver]+[WARNING%3Aroot%3Ano+file+locking]#f61c0827103abcd7>in
the past and it solved my problem. Don't know why though.

Regards,
Tiago
---

On Thu, Feb 25, 2010 at 10:02 AM, Magnitus <eric_vallee2...@yahoo.ca> wrote:

> Thanks for the heads up.
>
> I did run web2py.py directly and while it works, I got the following
> warning:
>
> WARNING:root:no file locking
>
> It seems to work otherwise, but I'd still like some clarification on
> the warning if anybody knows.
>
> Parallel to this, I found a py2exe to make a 64 bit binary at
> (downloaded the one for python 2.6 as its the version of python that I
> use): http://sourceforge.net/projects/py2exe/files/
>
> When I tried running "python setup_exe.py py2exe", I got the following
> error during installation:
>
> *** copy data files ***
> warning: install_data: setup script did not provide a directory for
> 'admin.w2p'
> -- installing right in 'D:\web2py\dist'
> error: can't copy 'admin.w2p': doesn't exist or not a regular file
>
> >>python web2py.py
>
>
> Because you can do so, I believe you can package it in a binary form
> using
> tools like py2exe.
>
> On Feb 24, 9:48 am, Tiago Almeida <tiago.b.alme...@gmail.com> wrote:
> > No questions are stupid.
> > I'm no expert but I'll coment on what I know.
> >
> > Web2py runs officially in python 2.5. Don't know how hard it would be to
> put
> > web2py running on 2.6.
> >
> > You don't need the binary package to run web2py, you can run it directly
> > from python (execute file web2py.py)>>python web2py.py
> >
> > Because you can do so, I believe you can package it in a binary form
> using
> > tools like py2exe.
> >
> > Backward compatibility claim is just related to the fact that code
> changes
> > to web2py don't break webapplications written for web2py.
> >
> > I believe web2py will have to support python2.6 eventually but don't know
> > when.
> > Python 3.x support is even farther away. Py3k is a different language, it
> > has some details that break existing code base and, as such, all the code
> > has to be ported. It won't happen overnight.
> >
> > Doesn't the code you wrote for python 2.6 run in 2.5? Maybe it does and
> you
> > can integrate it easily with web2py (instead of integrating web2py with
> what
> > you have).
> >
> > Regards,
> > Tiago
> >
> > -------------------
> >
> >
> >
> > On Wed, Feb 24, 2010 at 9:23 AM, Magnitus <eric_vallee2...@yahoo.ca>
> wrote:
> > > Hi, I'm a beginner in python and a complete neophyte in python web
> > > frameworks so don't bash my head in if the questions are stupid...
> >
> > > I'm developing an application in C++ for windows x64 and I am now
> > > looking for a way to make it a web app.
> >
> > > I'm looking for compatibility with python 2.6 (already started the
> > > process of gluing my code with the C API) and eventually python 3.1 in
> > > case they stop supporting prior versions. I'm also looking for
> > > compatibility with the 64 bits address format.
> >
> > > Now, I see that web2py is available with a pre-compiled binary for
> > > windows. Is it a win32 binary? If so, can I build a win64 binary from
> > > the source code with python 2.6?
> >
> > > Also, looking at the current compatibilities (2.4/2.5/2.6) and the
> > > claim that backward compatibility of the framework will not be broken,
> > > I'm wondering if there any future plans for web2py to be eventually
> > > compatible with python 3.1 (given that python 3.1 is not backward
> > > compatible with code written for previous versions of python or so I
> > > heard).
> >
> > > --
> > > You received this message because you are subscribed to the Google
> Groups
> > > "web2py-users" group.
> > > To post to this group, send email to web...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > web2py+unsubscr...@googlegroups.com<web2py%2bunsubscr...@googlegroups.com>
> <web2py%2bunsubscr...@googlegroups.com<web2py%252bunsubscr...@googlegroups.com>
> >
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/web2py?hl=en.- Hide quoted text -
> >
> > - Show quoted text -
>
> --
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To post to this group, send email to web...@googlegroups.com.
> To unsubscribe from this group, send email to
> web2py+unsubscr...@googlegroups.com<web2py%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/web2py?hl=en.
>
>

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

Reply via email to