Ticket
127.0.0.1.2010-05-17.09-48-36.ca732008-3e5a-4346-8d65-27ee970109ea
missing "pass" in view

Error traceback

1.
2.None



On May 17, 9:29 am, szimszon <[email protected]> wrote:
> I think it's related to the new templating engine :-o
>
>     Ticket 127.0.0.1.2010-05-17.09-20-49.56d45b51-05f0-49b5-9b10-
> cd7e9a3212a6
> ==> missing "pass" in view
>
> I think there is some shift in the python code logic because the
> template got parsed wrong...
>
> On máj. 17, 14:56, Timothy Farrell <[email protected]> wrote:
>
> > I see this Rocket error.  That error is normal in the course of
> > operations but should never be detected through web2py.  Did you get
> > that traceback from a ticket or somewhere else?  How does this error
> > relate to the messages you sent before?  Do they happen at the same time?
>
> > -tim
>
> > On 5/17/2010 2:23 AM, szimszon wrote:
>
> > > default/index.html:
> > > ------------------- cut -----------------------------
> > > {{extend 'layout.html'}}
>
> > > {{try:}}{{=H2(message)}}{{except:}}{{=BEAUTIFY(response._vars)}}
> > > {{pass}}
>
> > > <h3>{{=T('Changes not in use:')}}</h3>
> > > {{changes=db(db.web.modified==True).select(db.web.id,db.web.name,db.web.con
> > >  troller)
> > >    if len(changes)>0:
> > >      for douse in changes:
> > >              =XML('[%s]<br/>'%A(T('Modified %(name)s config, use
> > > it!',dict(name=douse.name)),_href=URL(r=request,c=douse.controller,f='webdo
> > >  use',args=douse.id)))
> > >      pass
> > >    else:
> > >      =T('Web Nothing')
> > >    pass}}
> > > <br />
> > > {{changes=db(db.dns.modified==True).select(db.dns.id,db.dns.name,db.dns.con
> > >  troller)
> > >    if len(changes)>0:
> > >      for douse in changes:
> > >              =XML('[%s]<br/>'%A(T('Modified %(name)s config, use
> > > it!',dict(name=douse.name)),_href=URL(r=request,c=douse.controller,f='dnsdo
> > >  use',args=douse.id)))
> > >      pass
> > >    else:
> > >      =T('DNS Nothing')
> > >    pass}}
>
> > > ------------------- cut -----------------------------
> > > Ticket 127.0.0.1.2010-05-17.09-20-49.56d45b51-05f0-49b5-9b10-
> > > cd7e9a3212a6
> > > missing "pass" in view
>
> > > Error traceback
>
> > > Traceback (most recent call last):
> > >    File "/home/szimszon/fejlesztes/sajat/web2py/gluon/rocket.py", line
> > > 769, in run
> > >      self.run_app(conn)
> > >    File "/home/szimszon/fejlesztes/sajat/web2py/gluon/rocket.py", line
> > > 1172, in run_app
> > >      self.environ = environ = self.build_environ(sock_file, conn)
> > >    File "/home/szimszon/fejlesztes/sajat/web2py/gluon/rocket.py", line
> > > 1008, in build_environ
> > >      request = self.read_request_line(sock_file)
> > >    File "/home/szimszon/fejlesztes/sajat/web2py/gluon/rocket.py", line
> > > 834, in read_request_line
> > >      raise SocketTimeout("Socket timed out before request.")
> > > SocketTimeout: Socket timed out before request.

Reply via email to