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
Assigned Topeter-endian 
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 [^]
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/", line 121, in _run
  File "/usr/lib/python2.4/site-packages/cherrypy/", line 264, in main
  File "<string>", line 3, in index
  File "/usr/lib/python2.4/site-packages/turbogears/", line 358, in expose
  File "<string>", line 5, in run_with_transaction
  File "/usr/lib/python2.4/site-packages/turbogears/", line 407, in sa_rwt
  File "<string>", line 5, in _expose
  File "/usr/lib/python2.4/site-packages/turbogears/", line 373, in <lambda>
  File "/usr/lib/python2.4/site-packages/turbogears/", line 423, in _execute_func
  File "/usr/lib/python2.4/site-packages/turbogears/", line 88, in _process_output
  File "/usr/lib/python2.4/site-packages/turbogears/view/", line 159, in render
  File "/usr/lib/python2.4/site-packages/genshi/template/", line 110, in render
    return self.transform(info, template).render(**kwargs)
  File "/usr/lib/python2.4/site-packages/genshi/", line 179, in render
    return encode(generator, method=method, encoding=encoding, out=out)
  File "/usr/lib/python2.4/site-packages/genshi/", line 60, in encode
    return _encode(u''.join(list(iterator)))
  File "/usr/lib/python2.4/site-packages/genshi/", line 425, in __call__
    for kind, data, pos in stream:
  File "/usr/lib/python2.4/site-packages/genshi/", line 592, in __call__
    for kind, data, pos in stream:
  File "/usr/lib/python2.4/site-packages/genshi/", line 698, in __call__
    for kind, data, pos in chain(stream, [(None, None, None)]):
  File "/usr/lib/python2.4/site-packages/genshi/", line 532, in __call__
    for ev in stream:
  File "/usr/lib/python2.4/site-packages/genshi/", line 283, in _ensure
    for event in stream:
  File "/usr/lib/python2.4/site-packages/genshi/template/", line 569, in _include
    for event in stream:
  File "/usr/lib/python2.4/site-packages/genshi/template/", line 279, in _match
    content = list(content)
  File "/usr/lib/python2.4/site-packages/genshi/template/", line 569, in _include
    for event in stream:
  File "/usr/lib/python2.4/site-packages/genshi/template/", line 245, in _match
    for event in stream:
  File "/usr/lib/python2.4/site-packages/genshi/template/", line 234, in _strip
    event =
  File "/usr/lib/python2.4/site-packages/genshi/template/", line 543, in _exec
    for event in stream:
  File "/usr/lib/python2.4/site-packages/genshi/template/", line 520, in _eval
    result = _eval_expr(data, ctxt, **vars)
  File "/usr/lib/python2.4/site-packages/genshi/template/", line 286, in _eval_expr
    retval = expr.evaluate(ctxt)
  File "/usr/lib/python2.4/site-packages/genshi/template/", 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)'>
  File "/usr/lib/python2.4/site-packages/tw/core/", line 535, in __call__
    return self.display(value, **kw)
  File "/usr/lib/python2.4/site-packages/tw/core/", line 530, in display
    kw = self.prepare_dict(value, kw)
  File "/usr/lib/python2.4/site-packages/tw/forms/", line 224, in prepare_dict
    kw = super(InputWidget, self).prepare_dict(value, kw, adapt=False)
  File "/usr/lib/python2.4/site-packages/tw/core/", line 573, in prepare_dict
  File "/usr/lib/python2.4/site-packages/endian/emi/widgets/", line 41, in update_params
  File "/usr/lib/python2.4/site-packages/tw/forms/", line 269, in update_params
    super(Form, self).update_params(d)
  File "/usr/lib/python2.4/site-packages/tw/forms/", line 214, in update_params
    super(ContainerMixin, self).update_params(d)
  File "/usr/lib/python2.4/site-packages/tw/forms/", line 123, in update_params
    if self.is_required:
  File "/usr/lib/python2.4/site-packages/tw/forms/", line 104, in is_required
    self.validate('', use_request_local=False)
  File "/usr/lib/python2.4/site-packages/tw/forms/", line 130, in validate
    value = self.validator.to_python(value, state)
  File "/usr/lib/python2.4/site-packages/formencode/", line 413, in to_python
  File "/usr/lib/python2.4/site-packages/formencode/", line 170, in _to_python
  File "/usr/lib/python2.4/site-packages/formencode/", line 234, in message
  File "/usr/lib/python2.4/site-packages/endian/core/", 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
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