[albatross-users] unscriptable object

Eric S. Johansson esj at harvee.org
Wed Jul 23 02:28:49 EST 2003


Dave Cole wrote:

>>>>>>"Eric" == Eric S Johansson <esj at harvee.org> writes:
> 
> 
> Eric> Dave Cole wrote:
> 
>>>What release of Albatross are you using?
> 
> 
> Eric> 1.10pre1
> 
> Can you please try 1.10pre4 and see if it catches the problem?
> 
> - Dave
> 
apologies for the long delay, mucho personal and professional chaos.

I finally ran the test with 1.10 and I get a much more useful error response.


Template traceback (most recent call last):
   File "./reclaim.html", line 3, in al-include
<al-include name="reclaim_body.html">
   File "./reclaim_body.html", line 56, in al-input
<al-input type="submit" nameexp="categorize"  value="change classification" >

Traceback (most recent call last):
   File "/usr/lib/python2.2/site-packages/albatross/app.py", line 248, in run
     self.display_response(ctx)
   File "/usr/lib/python2.2/site-packages/albatross/app.py", line 462, in 
display_response
     func(ctx)
   File "/home/e.johansson/camram/camram_core/web-ui/reclaim.py", line 310, in 
page_display
     context.run_template("reclaim.html")
   File "/usr/lib/python2.2/site-packages/albatross/app.py", line 137, in 
run_template
     templ.to_html(self)
   File "/usr/lib/python2.2/site-packages/albatross/template.py", line 373, in 
to_html
     self.content.to_html(ctx)
   File "/usr/lib/python2.2/site-packages/albatross/template.py", line 161, in 
to_html
     item.to_html(ctx)
   File "/usr/lib/python2.2/site-packages/albatross/tags.py", line 472, in to_html
     templ = ctx.load_template(name)
   File "/usr/lib/python2.2/site-packages/albatross/app.py", line 129, in 
load_template
     return self.app.load_template(name)
   File "/usr/lib/python2.2/site-packages/albatross/context.py", line 190, in 
load_template
     templ = Template(self, path, text)
   File "/usr/lib/python2.2/site-packages/albatross/template.py", line 344, in 
__init__
     tag = tagclass(ctx, filename, line_num, dict)
   File "/usr/lib/python2.2/site-packages/albatross/tags.py", line 86, in __init__
     'treefold', 'treeselect', 'treeellipsis')
   File "/usr/lib/python2.2/site-packages/albatross/tags.py", line 41, in 
assert_has_attribs
     self.raise_error('missing %s or %s attribute' %\
   File "/usr/lib/python2.2/site-packages/albatross/template.py", line 67, in 
raise_error
     raise ApplicationError('%s:%s: %s' % \
ApplicationError: ./reclaim_body.html:56: missing 'name', 'nameexpr', 'alias', 
'prevpage', 'nextpage', 'treefold', 'treeselect' or 'treeellipsis' attribute


"thanks Doc, that really did the trick"[1]

---eric

[1]if you have not been immersed in 30's and 40's Warner Bros. cartoons...

"I may be a screwy rabbit but at least I'm not going to Alcatraz"






More information about the Albatross-users mailing list