SYSTEM WARNING: 'date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone.' in '/usr/share/mantis/www/core.php' line 264

0002507: emi GUI pages not working when Endian language Hungarian - MantisBT Endian Bugtracker
Endian Issue Tracker





Please see now our new Bugtracker system: JIRA








View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002507Endian FirewallGUIpublic2009-12-11 13:022010-11-22 12:05
Reporterjzola 
Assigned Topeter-endian 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version2.3 
Target VersionFixed in Version2.3.1 
Summary0002507: emi GUI pages not working when Endian language Hungarian
Descriptioni get "500 Internal error" on manage/notifications/settings/

I enable debug logging in emi. You see error in Additional Information.
after i switched to english language, and problem goes away.
Additional Information2009-12-11 13:57:55,346 cherrypy.msg INFO HTTP: Serving HTTP on http://0.0.0.0:8081/ [^]
2009-12-11 13:57:57,875 cherrypy.msg INFO HTTP: Page handler: <bound method EventSettingsActionController.index of <endian.notifications.web.controllers.EventSettingsActionController object at 0xb726438c>>
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/cherrypy/_cphttptools.py", line 121, in _run
  File "/usr/lib/python2.4/site-packages/cherrypy/_cphttptools.py", line 264, in main
  File "<string>", line 3, in index
  File "/usr/lib/python2.4/site-packages/turbogears/controllers.py", line 358, in expose
  File "<string>", line 5, in run_with_transaction
  File "/usr/lib/python2.4/site-packages/turbogears/database.py", line 407, in sa_rwt
  File "<string>", line 5, in _expose
  File "/usr/lib/python2.4/site-packages/turbogears/controllers.py", line 373, in <lambda>
  File "/usr/lib/python2.4/site-packages/turbogears/controllers.py", line 423, in _execute_func
  File "/usr/lib/python2.4/site-packages/turbogears/controllers.py", line 88, in _process_output
  File "/usr/lib/python2.4/site-packages/turbogears/view/base.py", line 159, in render
  File "/usr/lib/python2.4/site-packages/genshi/template/plugin.py", line 110, in render
    return self.transform(info, template).render(**kwargs)
  File "/usr/lib/python2.4/site-packages/genshi/core.py", line 179, in render
    return encode(generator, method=method, encoding=encoding, out=out)
  File "/usr/lib/python2.4/site-packages/genshi/output.py", line 60, in encode
    return _encode(u''.join(list(iterator)))
  File "/usr/lib/python2.4/site-packages/genshi/output.py", line 425, in __call__
    for kind, data, pos in stream:
  File "/usr/lib/python2.4/site-packages/genshi/output.py", line 592, in __call__
    for kind, data, pos in stream:
  File "/usr/lib/python2.4/site-packages/genshi/output.py", line 698, in __call__
    for kind, data, pos in chain(stream, [(None, None, None)]):
  File "/usr/lib/python2.4/site-packages/genshi/output.py", line 532, in __call__
    for ev in stream:
  File "/usr/lib/python2.4/site-packages/genshi/core.py", line 283, in _ensure
    for event in stream:
  File "/usr/lib/python2.4/site-packages/genshi/template/base.py", line 569, in _include
    for event in stream:
  File "/usr/lib/python2.4/site-packages/genshi/template/markup.py", line 279, in _match
    content = list(content)
  File "/usr/lib/python2.4/site-packages/genshi/template/base.py", line 569, in _include
    for event in stream:
  File "/usr/lib/python2.4/site-packages/genshi/template/markup.py", line 245, in _match
    for event in stream:
  File "/usr/lib/python2.4/site-packages/genshi/template/markup.py", line 234, in _strip
    event = stream.next()
  File "/usr/lib/python2.4/site-packages/genshi/template/base.py", line 543, in _exec
    for event in stream:
  File "/usr/lib/python2.4/site-packages/genshi/template/base.py", line 520, in _eval
    result = _eval_expr(data, ctxt, **vars)
  File "/usr/lib/python2.4/site-packages/genshi/template/base.py", line 286, in _eval_expr
    retval = expr.evaluate(ctxt)
  File "/usr/lib/python2.4/site-packages/genshi/template/eval.py", line 180, in evaluate
    return eval(self.code, _globals, {'__data__': data})
  File "/usr/lib/python2.4/site-packages/endian/emi/templates/settingscontroller.html", line 24, in <Expression u'settingseditor(args)'>
    </div>
  File "/usr/lib/python2.4/site-packages/tw/core/base.py", line 535, in __call__
    return self.display(value, **kw)
  File "/usr/lib/python2.4/site-packages/tw/core/base.py", line 530, in display
    kw = self.prepare_dict(value, kw)
  File "/usr/lib/python2.4/site-packages/tw/forms/core.py", line 224, in prepare_dict
    kw = super(InputWidget, self).prepare_dict(value, kw, adapt=False)
  File "/usr/lib/python2.4/site-packages/tw/core/base.py", line 573, in prepare_dict
    self.update_params(d)
  File "/usr/lib/python2.4/site-packages/endian/emi/widgets/container.py", line 41, in update_params
  File "/usr/lib/python2.4/site-packages/tw/forms/fields.py", line 269, in update_params
    super(Form, self).update_params(d)
  File "/usr/lib/python2.4/site-packages/tw/forms/fields.py", line 214, in update_params
    super(ContainerMixin, self).update_params(d)
  File "/usr/lib/python2.4/site-packages/tw/forms/fields.py", line 123, in update_params
    if self.is_required:
  File "/usr/lib/python2.4/site-packages/tw/forms/fields.py", line 104, in is_required
    self.validate('', use_request_local=False)
  File "/usr/lib/python2.4/site-packages/tw/forms/core.py", line 130, in validate
    value = self.validator.to_python(value, state)
  File "/usr/lib/python2.4/site-packages/formencode/api.py", line 413, in to_python
  File "/usr/lib/python2.4/site-packages/formencode/schema.py", line 170, in _to_python
  File "/usr/lib/python2.4/site-packages/formencode/api.py", line 234, in message
  File "/usr/lib/python2.4/site-packages/endian/core/i18n.py", line 116, in translate
AttributeError: 'NoneType' object has no attribute 'ugettext'
TagsNo tags attached.
Attached Files

- Relationships
related to 0002298closedpeter-endian i18n strings sometimes are calculated only on import (some german translation is missing) 

-  Notes
(0003546)
peter-endian (administrator)
2009-12-11 14:34

probably related to 0002298
i remember that this issue has been also with other languages
it's however fixed in our repository and will be released soon

thank's for the report

- Issue History
Date Modified Username Field Change
2009-12-11 13:02 jzola New Issue
2009-12-11 14:33 peter-endian Relationship added related to 0002298
2009-12-11 14:34 peter-endian Note Added: 0003546
2009-12-11 14:34 peter-endian Status new => confirmed
2009-12-11 14:35 peter-endian Status confirmed => resolved
2009-12-11 14:35 peter-endian Fixed in Version => 2.3.1
2009-12-11 14:35 peter-endian Resolution open => fixed
2009-12-11 14:35 peter-endian Assigned To => peter-endian
2010-11-22 12:05 peter-endian Status resolved => closed

Copyright © 2005-2008 Endian, SRL. All rights reserved.


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker