Yes. I have never seen this error before.
Can you check your tickets (in app/errors) and identify the first one
associated to the problem? It may give us a clue.


On Jan 22, 7:36 pm, Brian M <[email protected]> wrote:
> For me it's been the source distribution. I'm not 100% sure, but it
> seems to be happening even when I haven't touched the .table file (I
> know I haven't touched them) nor have I made any changes to the DAL
> table definition that matches the file. The .table file is there and
> is 1K and then for whatever reason web2py tries to refresh the file or
> something and I'm assuming the pickling fails and I get a 0
> byte .table file which causes web2py to error on the next request.
> That is my *guess* at what's happening.
>
> Massimo, how exactly does web2py use those .table files? I'm assuming
> that they're storing a pickled version of each of the tables so web2py
> can compare and figure out when we've modified a table definition in
> db.py.
>
> ~Brian
>
> On Jan 22, 4:36 pm, mdipierro <[email protected]> wrote:
>
> > Are you using the web2py binary or source?
> > Did you delete only the .table or everything in databases?
> > Does you app run if you set migrate=False for all tables?
>
> > Massimo
>
> > On Jan 22, 4:11 pm, Brian M <[email protected]> wrote:
>
> > > Hmm, I've been running into this problem a bunch today. WinXP with
> > > source web2py 1.74.5 and SQLite.  My .table files keep getting
> > > truncated to 0 bytes for some reason and then web2py chokes.
>
> > > ~Brian
>
> > > On Jan 22, 2:13 pm, Thadeus Burgess <[email protected]> wrote:
>
> > > > looks like a corrupted .table file
> > > > -Thadeus
>
> > > > On Fri, Jan 22, 2010 at 1:18 PM, vince <[email protected]> wrote:
> > > > > i just look into the error log for some clean up and found several
> > > > > ticket with the following errors. i am using 1.74.6, any ideas?
>
> > > > > Traceback (most recent call last):
> > > > >  File "/Library/WebServer/Documents/web2py/gluon/restricted.py", line
> > > > > 173, in restricted
> > > > >    exec ccode in environment
> > > > >  File "/Library/WebServer/Documents/web2py/applications/cms/models/
> > > > > db.py", line 137, in <module>
> > > > >    migrate=is_migrate)
> > > > >  File "/Library/WebServer/Documents/web2py/gluon/sql.py", line 1252,
> > > > > in define_table
> > > > >    t._create(migrate=migrate, fake_migrate=fake_migrate)
> > > > >  File "/Library/WebServer/Documents/web2py/gluon/sql.py", line 1703,
> > > > > in _create
> > > > >    sql_fields_old = cPickle.load(tfile)
> > > > > EOFError
>
> > > > > --
> > > > > 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 
> > > > > athttp://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