Hi all my sites show an unknown ticket on my production site.
So I got my backup and it worked for 2-3days.
than it started again
... repeat about 3 times.
So I reinstalled my entire server new ubuntu 14.04
ngninx uswgi web2py
my coppied app (I use sqlite as db so it should work)
and now I get the welcome app.
the appadmin but my app still shows an unknown ticket for all sites.
when I copied my app to a localhost web2py I get the following ticket
<class 'sqlite3.DatabaseError'> file is encrypted or is not a database
Version
web2py™ Version 2.10.3-stable+timestamp.2015.04.02.21.42.07
Python Python 2.6.4: C:\Python26\pythonw.exe (prefix: C:\Python26)
Traceback
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
Traceback (most recent call last):
File "F:\Dateien\Programmieren\testweb2py\web2py\gluon\restricted.py", line
227, in restricted
exec ccode in environment
File
"F:/Dateien/Programmieren/testweb2py/web2py/applications/MA/models/menu.py"
<http://127.0.0.1:8000/admin/default/edit/Movie_Alarm/models/menu.py>, line 79,
in <module>
_()
File
"F:/Dateien/Programmieren/testweb2py/web2py/applications/MA/models/menu.py"
<http://127.0.0.1:8000/admin/default/edit/Movie_Alarm/models/menu.py>, line 52,
in _
if auth.has_membership('Author'):
File "F:\Dateien\Programmieren\testweb2py\web2py\gluon\tools.py", line 3542,
in has_membership
group_id = self.id_group(group_id) # interpret group_id as a role
File "F:\Dateien\Programmieren\testweb2py\web2py\gluon\tools.py", line 3512,
in id_group
rows = self.db(self.table_group().role == role).select()
File
"F:\Dateien\Programmieren\testweb2py\web2py\gluon\packages\dal\pydal\objects.py",
line 2093, in select
return adapter.select(self.query,fields,attributes)
File
"F:\Dateien\Programmieren\testweb2py\web2py\gluon\packages\dal\pydal\adapters\sqlite.py",
line 125, in select
return super(SQLiteAdapter, self).select(query, fields, attributes)
File
"F:\Dateien\Programmieren\testweb2py\web2py\gluon\packages\dal\pydal\adapters\base.py",
line 1239, in select
return self._select_aux(sql,fields,attributes)
File
"F:\Dateien\Programmieren\testweb2py\web2py\gluon\packages\dal\pydal\adapters\base.py",
line 1204, in _select_aux
self.execute(sql)
File
"F:\Dateien\Programmieren\testweb2py\web2py\gluon\packages\dal\pydal\adapters\base.py",
line 1326, in execute
return self.log_execute(*a, **b)
File
"F:\Dateien\Programmieren\testweb2py\web2py\gluon\packages\dal\pydal\adapters\base.py",
line 1320, in log_execute
ret = self.cursor.execute(command, *a[1:], **b)
DatabaseError: file is encrypted or is not a database
Error snapshot
[image: help]
<http://127.0.0.1:8000/admin/default/ticket/Movie_Alarm/127.0.0.1.2016-05-14.17-50-57.0555ea95-61d8-46c7-a259-b0a0214fbdb3#>
<class 'sqlite3.DatabaseError'>(file is encrypted or is not a database
I know it is an old version of web2py I got on my local system but the only
thing I have right now.
--
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.