I never figured out why this happened but I moved away from SQLite after
this happened.

I have not seen this error from postgres.


On Tuesday, 27 September 2016, Maurice Waka <[email protected]> wrote:

> Good morning all.
> I came across this post when searching for an answer. I got this error
> from my app::
> Traceback
>
> 1.
> 2.
> 3.
> 4.
> 5.
> 6.
> 7.
> 8.
> 9.
> 10.
> 11.
> 12.
> 13.
>
> Traceback (most recent call last):
>   File "C:\Python27\web2py\gluon\restricted.py", line 227, in restricted
>     exec ccode in environment
>   File "C:/Python27/web2py/applications/hestQue/models/db2.py" 
> <http://127.0.0.1:8000/admin/default/edit/hestQue/models/db2.py>, line 33, in 
> <module>
>     auth.signature)
>   File "C:\Python27\web2py\gluon\packages\dal\pydal\base.py", line 834, in 
> define_table
>     table = self.lazy_define_table(tablename,*fields,**args)
>   File "C:\Python27\web2py\gluon\packages\dal\pydal\base.py", line 873, in 
> lazy_define_table
>     polymodel=polymodel)
>   File "C:\Python27\web2py\gluon\packages\dal\pydal\adapters\base.py", line 
> 503, in create_table
>     raise RuntimeError('File %s appears corrupted' % table._dbt)
> RuntimeError: File 
> C:\Python27\web2py\applications\hestQue\databases\c8b669d15150d7109e5f7ab36744a5b7_comm.table
>  appears corrupted
>
>
>
> Any reason why this happened and how I can sort it out??
>
> Kind reagrds
>
>
> On Saturday, December 29, 2012 at 7:33:11 AM UTC+3, Richard Penman wrote:
>>
>> I have had an app running for a few months and recently could not connect
>> to (nginx) server. Then after restart got this error:
>> RuntimeError: table appears corrupted
>>
>> If I add migrate=False,fake_migrate=True to DAL then app works. But when
>> remove this error returns.
>> Any idea what is going wrong?
>>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "web2py-users" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/web2py/9ArQ4jIesOk/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected]
> <javascript:_e(%7B%7D,'cvml','web2py%[email protected]');>.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to