On 2/25/10 6:26 AM, Paul McNett wrote:
> On 2/24/10 5:29 AM, cLAUDIO tOMASSINI wrote:
>> Hi,
>> when I use the AppWizard with MySQL-Server the application will not start.
>> Error is:
>>
>>> 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
>
> Someone at the PyCon tutorial had the same problem, but in their case it was 
> because
> "File" hadn't been translated into their language yet.
>
> The correct thing is to change that to getMenu("base_file") like Jacek said, 
> but
> there are other fixes to be made both to the datanav framework as well as to 
> the
> AppWizard. I'm working on them now; stay tuned.

r5716, just committed, should fix it. Please test!

Paul
_______________________________________________
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]

Reply via email to