Traceback (most recent call last):
  File "gluon/restricted.py", line 173, in restricted
    exec ccode in environment
  File 
"/data/domains/live-kal.nudata.fi/applications/init/views/district/campaign.html",
line 187, in <module>
    {{=A(XML('+ '), T('Add new personal reward'), XML(' &raquo;'),
_href=URL(r=request,c='district',f='edit_reward', args=[district.id,
campaign.id]))}}
  File "gluon/globals.py", line 105, in write
    self.body.write(xmlescape(data))
  File "gluon/html.py", line 99, in xmlescape
    return data.xml()
  File "gluon/sql.py", line 1433, in __getattr__
    self.__allocate()
  File "gluon/sql.py", line 1428, in __allocate
    raise Exception, "undefined record"
Exception: undefined record





On Sun, Apr 4, 2010 at 4:37 AM, mdipierro <mdipie...@cs.depaul.edu> wrote:

> I need the complete traceback.
>
> On Apr 3, 7:44 pm, Kenneth <kenneth.t.lundst...@gmail.com> wrote:
> > Last summer I started on an application that has been in use so far. I
> > havn´t upgraded it because there was no need for it.
> >
> > Last month I started to do some serious updating of the code and the
> > first thing I did was upgrading web2py. Everything has been working
> > great so far, but two days ago I noticed something is wrong. I been
> > pulling my hair out trying to find out why the application is not
> > working. An hour ago i remembered that I indeed did an upgrade.
> >
> > Old version is 1.65.4 and new version is the newest one.
> >
> > Error message is:
> > File "gluon/sql.py", line 1428, in __allocate
> >     raise Exception, "undefined record"
> >
> > In paralell I´m still using the old version of the application so I
> > took the whole old application and copied it to an new directory. Made
> > a copy of the database och got the application to work. I tested that
> > it is working and then I applied to the new version Web2py on it (just
> > unzipped it and copied it on the old version). Application stopped
> > working.
> >
> > Any ideas where to continue looking for the problem?
> >
> > Kenneth
>
> --
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To post to this group, send email to web...@googlegroups.com.
> To unsubscribe from this group, send email to
> web2py+unsubscr...@googlegroups.com<web2py%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://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 web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.

Reply via email to