I think you and Michal may not have upgraded the apps (admin,
examples, welcome) but only the modules. In fact admin/controllers/
default.py, in cleanup() should not contain the line above but

    for file in files:
        try: os.unlink(file)
        except Exception: session.flash=T("cache is in use, errors and
sessions cleaned")

instead. You can fix it by stating web2py with

     python web2py.py --upgrade=yes

Notice that when you upgrade web2py, by default, does not upgrade apps
because it does not want to override your code (backward
compatibility!).

Massimo


On Oct 31, 5:36 pm, yarko <[EMAIL PROTECTED]> wrote:
> I can reproduce this in the latest SVN snapshot - here's the ticket
> issued:
>
> ------------
> Error ticket for "admin"
>
> Ticket 127.0.0.1.2008-10-31.17-30-23.564e6a3d-b43b-40d0-
> b729-5713c481786f
>
> Error traceback
>
> 1.Traceback (most recent call last):
> 2.  File "D:\Workspace\Web2Py\web2py-trunk\gluon\restricted.py", line
> 62, in restricted
> 3.    exec ccode in environment
> 4.  File "D:\Workspace\Web2Py\web2py-trunk\applications\admin/
> controllers/default.py", line 453, in <module>
> 5.  File "/cygdrive/d/Workspace/Web2Py/web2py-trunk/gluon/globals.py",
> line 55, in <lambda>
> 6.  File "D:\Workspace\Web2Py\web2py-trunk\applications\admin/
> controllers/default.py", line 205, in cleanup
> 7.    for file in files: os.unlink(file)
> 8.WindowsError: [Error 32] The process cannot access the file because
> it is being used by another process: 9.'D:/Workspace/Web2Py/web2py-
> trunk/applications/admin/sessions/127-0-0-1-8c2e3dda-
> ffe1-4e01-8960-31a7633c910c'
>
> On Oct 31, 4:37 pm, mdipierro <[EMAIL PROTECTED]> wrote:
>
> > ok. I will try reproduce the problem.
>
> > On Oct 31, 4:32 pm, Micha? Niklas <[EMAIL PROTECTED]> wrote:
>
> > > -----BEGIN PGP SIGNED MESSAGE-----
> > > Hash: SHA1
>
> > > mdipierro pisze:
>
> > > > Looking into this again....
>
> > > > the problem voltron refers to was fixed. I forgot about it.
>
> > > > In michal case the problem seems to be that the admin/errors folder is
> > > > missing. Could you take a look?
>
> > > > perhaps an incomplete installation?
>
> > > No, it looks good.
> > > I have unpacked fresh copy of web2py on my second
> > > WinXP machine and it behaves the same :(
>
> > > Regards,
> > > Michal
>
> > > -----BEGIN PGP SIGNATURE-----
> > > Version: GnuPG v1.4.9 (MingW32)
> > > Comment: Using GnuPG with Mozilla -http://enigmail.mozdev.org
>
> > > iEYEARECAAYFAkkLeV4ACgkQhqdZ4syw16xPLwCdGrjs3ouFJNeN7PskFQDPo76Y
> > > rAgAnjQ6grOPnFDclCLktDECc7MAA4D5
> > > =gogL
> > > -----END PGP SIGNATURE-----
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" 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