[Zope] tino's <dtml-in> improvements

Jose Soares jose@sferacarta.com
Fri, 23 Mar 2001 09:30:35 +0100


Hi all,
I think I found a bug on tino's patch, I don't know where to send
the bug report maybe someone can redirect this message to the right
person.

TYPE:
KeyError

VALUE:
next-sequence-start-number

MESSAGE:

TRACE:
Traceback (innermost last):
  File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 171, in publish

  File /usr/lib/zope/lib/python/ZPublisher/mapply.py, line 160, in mapply
    (Object: sta_bovini)
  File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 112, in
call_object
    (Object: sta_bovini)
  File /usr/lib/zope/lib/python/OFS/DTMLDocument.py, line 189, in __call__
    (Object: sta_bovini)
  File /usr/lib/zope/lib/python/DocumentTemplate/DT_String.py, line 549, in
__call__
    (Object: sta_bovini)
  File /usr/lib/zope/lib/python/DocumentTemplate/DT_In.py, line 733, in
renderwob
    (Object: qry.dati_utente(username=REQUEST.cookies.get('USER_NAME')))
  File /usr/lib/zope/lib/python/DocumentTemplate/DT_In.py, line 645, in
renderwb
    (Object: qry.stalla())
KeyError: next-sequence-start-number

--------------------------------------------------------------------------------

REQUEST:
formcookieszmi_use_css '1' dtpref_cols '101' zmi_top_frame '' dtpref_rows
'22' USER_NAME 'ALL3' otherAUTHENTICATION_PATH 'ALLEVATORI' USER_NAME
'ALL3' col 'lightgrey' dtpref_rows '22' PUBLISHED <DTMLDocument instance at
866a8b8> zmi_use_css '1' SERVER_URL 'http://www.allevatori.com'
zmi_top_frame '' URL 'http://www.allevatori.com/ALLEVATORI/frm/sta_bovini'
AUTHENTICATED_USER ALL3 TraversalRequestNameStack [] dtpref_cols '101' URL0
http://www.allevatori.com/ALLEVATORI/frm/sta_bovini URL1
http://www.allevatori.com/ALLEVATORI/frm URL2
http://www.allevatori.com/ALLEVATORI URL3 http://www.allevatori.com BASE0
http://www.allevatori.com BASE1 http://www.allevatori.com BASE2
http://www.allevatori.com/ALLEVATORI BASE3
http://www.allevatori.com/ALLEVATORI/frm BASE4
http://www.allevatori.com/ALLEVATORI/frm/sta_bovini
environHTTP_ACCEPT_ENCODING gzip, deflate REMOTE_HOST
adsl-169-11.38-151.net24.it GATEWAY_INTERFACE CGI/1.1 SERVER_PORT 80
PATH_TRANSLATED /ALLEVATORI/frm/sta_bovini HTTP_ACCEPT */* HTTP_VIA 1.0
proxy.sferacarta.com:3128 (Squid/2.2.STABLE5) HTTP_ACCEPT_LANGUAGE it
HTTP_X_FORWARDED_FOR 10.0.0.5 REMOTE_ADDR 151.38.11.169 SERVER_NAME
bender.allevatori.com HTTP_USER_AGENT Mozilla/4.0 (compatible; MSIE 5.0;
Windows NT; DigExt) CONNECTION_TYPE keep-alive channel.creation_time
985341769 SERVER_PROTOCOL 1.0 PATH_INFO /ALLEVATORI/frm/sta_bovini
HTTP_HOST www.allevatori.com REQUEST_METHOD GET SCRIPT_NAME
SERVER_SOFTWARE Zope/Zope 2.3.0 (source release, python 1.5.2, linux2)
ZServer/1.1b1 HTTP_CACHE_CONTROL max-age=259200 HTTP_COOKIE
dtpref_rows="22"; dtpref_cols="101"; zmi_use_css="1"; zmi_top_frame="";
USER_NAME="ALL3"; bottone HTTP_PRAGMA no-cache HTTP_REFERER
http://www.allevatori.com/ALLEVATORI/frm/menu_stalla

--------------------------------------------------------------------------------



> You've got my vote to!
> Jose'
>
> Casey Duncan wrote:
>
> > Joel Burton wrote:
> > >
> > > At http://www.zope.org/Members/tino/in_tag_patch, member tino has a
> > > patched version of dtml-in that solves two problems:
> > >
> > [snip]
> > >
> > > Can we get consensus that this should join the Zope core?
> > >
> >
> > You've got my vote!
> >
> > --
> > | Casey Duncan
> > | Kaivo, Inc.
> > | cduncan@kaivo.com
> > `------------------>
> >
> > _______________________________________________
> > Zope maillist  -  Zope@zope.org
> > http://lists.zope.org/mailman/listinfo/zope
> > **   No cross posts or HTML encoding!  **
> > (Related lists -
> >  http://lists.zope.org/mailman/listinfo/zope-announce
> >  http://lists.zope.org/mailman/listinfo/zope-dev )
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )