Hi,
when I use the AppWizard with MySQL-Server the application will not start.
Error is:
> Traceback (most recent call last):
> File "../TabKontierung.py", line 61, in <module>
> frm(app.MainForm).show()
> File "/usr/local/lib/python2.6/dist-packages/dabo/ui/uiwx/dForm.py",
> line 931, in __init__
> BaseForm.__init__(self, preClass, parent, properties,
> attProperties, *args, **kwargs)
> File "/usr/local/lib/python2.6/dist-packages/dabo/ui/uiwx/dForm.py",
> line 44, in __init__
> fm.dFormMixin.__init__(self, preClass, parent, properties,
> attProperties, *args, **kwargs)
> File
> "/usr/local/lib/python2.6/dist-packages/dabo/ui/uiwx/dFormMixin.py",
> line 89, in __init__
> attProperties, *args, **kwargs)
> File
> "/usr/local/lib/python2.6/dist-packages/dabo/ui/uiwx/dPemMixin.py",
> line 186, in __init__
> self._afterInit()
> File "/usr/local/lib/python2.6/dist-packages/dabo/ui/uiwx/dForm.py",
> line 71, in _afterInit
> super(BaseForm, self)._afterInit()
> File
> "/usr/local/lib/python2.6/dist-packages/dabo/ui/uiwx/dFormMixin.py",
> line 143, in _afterInit
> super(dFormMixin, self)._afterInit()
> File
> "/usr/local/lib/python2.6/dist-packages/dabo/ui/uiwx/dPemMixin.py",
> line 320, in _afterInit
> self.afterInit()
> File
> "/home/claudio/programmierung/python/AppWizard/TabKontierung/ui/FrmKontierung.py",
> line 31, in afterInit
> self.super()
> File
> "/usr/local/lib/python2.6/dist-packages/dabo/lib/autosuper/autosuper.py",
> line 176, in __call__
> return method(*p, **kw)
> File
> "/usr/local/lib/python2.6/dist-packages/dabo/lib/datanav/Form.py",
> line 59, in afterInit
> self.setupMenu()
> File
> "/home/claudio/programmierung/python/AppWizard/TabKontierung/ui/FrmBase.py",
> line 22, in setupMenu
> self.fillFileOpenMenu()
> File
> "/home/claudio/programmierung/python/AppWizard/TabKontierung/ui/FrmBase.py",
> line 30, in fillFileOpenMenu
> fileMenu.prependMenu(MenFileOpen(fileMenu))
> AttributeError: 'NoneType' object has no attribute 'prependMenu'
The problem lies in the fileMenu - Object that is created one line
earlier by:
> fileMenu = self.MenuBar.getMenu("File")
Since the Program is used with german translation, the Menu "File" does
not exist and consequently the value of fileMenu is NULL.
The problem is fixed if the keyword "File" is exchanged with the german
translation "Datei". This has to be done with every menu, that is
adapted by the AppWizard.
This is for information only. My problem seems to be solved. Maybe in
future releases this bug can be fixed.
Thank you for this great tool, greetings, claudio
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]