Thanks. Didn't know about it :)

On Fri, Feb 26, 2010 at 2:19 AM, mr.freeze <[email protected]> wrote:

> I started using ActivePython instead of the stock releases of python.
> They have win32 extensions built in and a few other helpful things.
> http://www.activestate.com/activepython/features/
>
> On Feb 25, 8:12 pm, mdipierro <[email protected]> wrote:
> > Tiago was right. You need the windows extension to have file locking
> > in windows. I do not know why they did not include that as standard in
> > Python. I agree with you it should be critical.
> >
> > On Feb 25, 6:13 am, Magnitus <[email protected]> wrote:
> >
> > > >what os are you using. This should work o Posix and win32.
> >
> > > Windows Vista, 64-bit.
> >
> > > I got the 64-bit download for the windows extension at the link that
> > > Tiago mentioned and it 'fixed' the warning message (though I'm still
> > > puzzled at why a special windows extension was needed on top of the
> > > release to 'fix' python, perhaps they should include it the release...
> > > some doc came with the open source version, guess I'll have to read it
> > > and find out what the add-on fixes).
> >
> > > Thanks for all the help :).
> >
> > > On Feb 25, 6:32 am, Tiago Almeida <[email protected]> wrote:
> >
> > > > 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/pywi..
> .>>"
> > > > (If you're using windows)
> >
> > > > I had a similar issue and documented here
> > > > <
> http://groups.google.co.uk/group/web2py/browse_thread/thread/ddc56534...[Troubleshooting]+Running+from+source+on+windows+[WARNING%3Aroot%3Aunable+t
> ­o+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 <[email protected]>
> 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 <[email protected]>
> 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 <
> [email protected]>
> > > > > 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 [email protected].
> > > > > > > To unsubscribe from this group, send email to
> > > > > > > [email protected]<web2py%[email protected]>
> <web2py%[email protected]<web2py%[email protected]>
> >
> > > > > <web2py%[email protected]<web2py%[email protected]>
> <web2py%252bunsubscr...@googlegroups.­com>
> >
> > > > > > > .
> > > > > > > For more options, visit this group at
> > > > > > >http://groups.google.com/group/web2py?hl=en.-Hidequotedtext -
> >
> > > > > > - 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 [email protected].
> > > > > To unsubscribe from this group, send email to
> > > > > [email protected]<web2py%[email protected]>
> <web2py%[email protected]<web2py%[email protected]>
> >
> > > > > .
> > > > > For more options, visit this group at
> > > > >http://groups.google.com/group/web2py?hl=en.-Hidequoted 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 [email protected].
> To unsubscribe from this group, send email to
> [email protected]<web2py%[email protected]>
> .
> 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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.

Reply via email to