ok this cant be correct
so i started importing things that were missing

from gluon.tools import Auth #ok
from gluon.tools import Crud #ok
from gluon.tools import Service #ok
from gluon.tools import Mail<-here it starts creating corrupt error
tickets again



On Apr 28, 11:11 am, selecta <[email protected]> wrote:
> after deleting my app step by step i found it
> i had
>
> from gluon.tools import *
>
> in one of my model files
> this breaks the ticket generation!
>
> On Apr 28, 11:06 am, selecta <[email protected]> wrote:
>
>
>
> > I get an unkown error for every ticket that is created by my
> > application
> > I can see the print out of the error trackeback in the shell i started
> > web2py in
> > also the ticked pickle files are broken, when i open the admin to view
> > the tickets i get
> > Traceback (most recent call last):
> >   File "/home/fkrause/Downloads/tmp/wp/web2py/gluon/restricted.py",
> > line 181, in restricted
> >     exec ccode in environment
> >   File "/home/fkrause/Downloads/tmp/wp/web2py/applications/admin/
> > controllers/default.py", line 1188, in <module>
> >   File "/home/fkrause/Downloads/tmp/wp/web2py/gluon/globals.py", line
> > 133, in <lambda>
> >     self._caller = lambda f: f()
> >   File "/home/fkrause/Downloads/tmp/wp/web2py/applications/admin/
> > controllers/default.py", line 1033, in errors
> >     error = pickle.load(open(fullpath, 'r'))
> >   File "/usr/lib/python2.6/pickle.py", line 1370, in load
> >     return Unpickler(file).load()
> >   File "/usr/lib/python2.6/pickle.py", line 858, in load
> >     dispatch[key](self)
> >   File "/usr/lib/python2.6/pickle.py", line 880, in load_eof
> >     raise EOFError
> > EOFError
>
> > this only is the case for my older applications, i cannot reproduce it
> > with a newly created application

Reply via email to