On Mon, May 19, 2008 at 10:53 AM, Michael Wigginton
<[EMAIL PROTECTED]> wrote:
> Specifically the Journal when opening for a class. Using only
> English names works - Korean names crashes.
>
> The trace back is as follows
>
> File "/usr/lib/python2.4/site-packages/zope/publisher/publish.py", line 133,
> in publish
>
>   result = publication.callObject(request, obj)
> File
> "/usr/lib/python2.4/site-packages/zope/app/publication/zopepublication.py",
> line 167, in callObject
>
>   return mapply(ob, request.getPositionalArguments(), request)
> File "/usr/lib/python2.4/site-packages/zope/publisher/publish.py", line 108,
> in mapply
>
>   return debug_call(obj, args)
> Extra information: <bound method LyceumSectionJournalView.__call__ of
> <zope.app.publisher.browser.viewmeta.LyceumSectionJournalView object at
> 0x9cddaac>>
>
> File "/usr/lib/python2.4/site-packages/zope/publisher/publish.py", line 114,
> in debug_call
>   return obj(*args)
>
> File
> "/usr/lib/python2.4/site-packages/schooltool/lyceum/journal/browser/journal.py",
> line 342, in __call__
>   return self.template()
>
> File
> "/usr/lib/python2.4/site-packages/zope/app/pagetemplate/viewpagetemplatefile.py",
> line 83, in __call__
>   return self.im_func(im_self, *args, **kw)
>
> File
> "/usr/lib/python2.4/site-packages/zope/app/pagetemplate/viewpagetemplatefile.py",
> line 51, in __call__
>   sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
>
> File "/usr/lib/python2.4/site-packages/zope/pagetemplate/pagetemplate.py",
> line 115, in pt_render
>   strictinsert=0, sourceAnnotations=sourceAnnotations)()
>
> Template
> "/usr/lib/python2.4/site-packages/schooltool/lyceum/journal/browser/templates/journal.pt"
> File "/usr/lib/python2.4/site-packages/zope/tal/talinterpreter.py", line
> 271, in __call__
>
>   self.interpret(self.program)
> File "/usr/lib/python2.4/site-packages/zope/tal/talinterpreter.py", line
> 346, in interpret
>
>   handlers[opcode](self, args)
> File "/usr/lib/python2.4/site-packages/zope/tal/talinterpreter.py", line
> 891, in do_useMacro
>
>   self.interpret(macro)
> File "/usr/lib/python2.4/site-packages/zope/tal/talinterpreter.py", line
> 346, in interpret
>
>   handlers[opcode](self, args)
> File "/usr/lib/python2.4/site-packages/zope/tal/talinterpreter.py", line
> 536, in do_optTag_tal
>
>   self.do_optTag(stuff)
> File "/usr/lib/python2.4/site-packages/zope/tal/talinterpreter.py", line
> 521, in do_optTag
>
>   return self.no_tag(start, program)
> File "/usr/lib/python2.4/site-packages/zope/tal/talinterpreter.py", line
> 516, in no_tag
>
>   self.interpret(program)
> File "/usr/lib/python2.4/site-packages/zope/tal/talinterpreter.py", line
> 346, in interpret
>
>   handlers[opcode](self, args)
> File "/usr/lib/python2.4/site-packages/zope/tal/talinterpreter.py", line
> 949, in do_defineSlot
>
>   self.interpret(slot)
> File "/usr/lib/python2.4/site-packages/zope/tal/talinterpreter.py", line
> 346, in interpret
>
>   handlers[opcode](self, args)
> File "/usr/lib/python2.4/site-packages/zope/tal/talinterpreter.py", line
> 713, in do_insertTranslation
>
>   self.interpret(stuff[1])
> File "/usr/lib/python2.4/site-packages/zope/tal/talinterpreter.py", line
> 346, in interpret
>
>   handlers[opcode](self, args)
> File "/usr/lib/python2.4/site-packages/zope/tal/talinterpreter.py", line
> 655, in do_i18nVariable
>
>   self.interpret(program)
> File "/usr/lib/python2.4/site-packages/zope/tal/talinterpreter.py", line
> 346, in interpret
>
>   handlers[opcode](self, args)
> File "/usr/lib/python2.4/site-packages/zope/tal/talinterpreter.py", line
> 534, in do_optTag_tal
>
>   self.no_tag(stuff[-2], stuff[-1])
> File "/usr/lib/python2.4/site-packages/zope/tal/talinterpreter.py", line
> 516, in no_tag
>
>   self.interpret(program)
> File "/usr/lib/python2.4/site-packages/zope/tal/talinterpreter.py", line
> 346, in interpret
>
>   handlers[opcode](self, args)
> File "/usr/lib/python2.4/site-packages/zope/tal/talinterpreter.py", line
> 623, in do_insertText_tal
>
>   text = self.engine.evaluateText(stuff[0])
> File "/usr/lib/python2.4/site-packages/zope/tales/tales.py", line 704, in
> evaluateText
>
>   text = self.evaluate(expr)
> File "/usr/lib/python2.4/site-packages/zope/tales/tales.py", line 696, in
> evaluate
>
>   return expression(self)
> Template
> "/usr/lib/python2.4/site-packages/schooltool/lyceum/journal/browser/templates/journal.pt",
> line 6, column 18
>
>   Expression: <PythonExpr ( view.monthTitle(view.active_month))>
> File "/usr/lib/python2.4/site-packages/zope/tales/pythonexpr.py", line 59,
> in __call__
>
>   return eval(self._code, vars)
> Extra information: u'( view.monthTitle(view.active_month))'
> File "<string>", line 0, in ?
>
>
> File "/usr/lib/python2.4/site-packages/zope/cachedescriptors/property.py",
> line 71, in __get__
>
>   value = func(inst)
> File
> "/usr/lib/python2.4/site-packages/schooltool/lyceum/journal/browser/journal.py",
> line 556, in active_month
>
>   return available_months[0]
>
> http://mikwig.co.cc:7080/sections/1/journal/
>
> it can be seen here.
>
> The username and password are the default as this is a test site only.
>
> Thankyou for feedback so far.

Hmm, i can't load the page, though traceback seems to be unrelated to
language, i'll look at it today.

My guess is that the timetable is missing (though we should be
handling that case, so showing the traceback to a user is still a
bug).

Ignas
_______________________________________________
Schooltool mailing list
[email protected]
http://lists.schooltool.org/mailman/listinfo/schooltool

Reply via email to