Endless error with python and Global menu
Hi, i'm working with 2 distro of ubuntu : 12.04 lts and 13.04 with python (2.7.x) and wxpython on Unity, and both have the same error.
In my app the Wx Forms run well, but if the app have a menu when I close the app Form i get the error:
(python:25025): LIBDBUSMENU-
and looking for it on google i've found that if i remove the ubuntu global menu the error goes away.
Ok well done: sudo apt-get remove appmenu.
Restart the app and ....
one new error! when i use the app menu i get in terminal
python: undefined symbol: menu_proxy_
(python:24841): Gtk-WARNING **: Failed to load type module: (null)
and googling for a solution : reinstall the ubuntu global menu !!!!
And now what can i do?
I've made a demo app that have this error, try it:
# -*- coding: utf-8 -*-
import wx
import wx.xrc
class MyFrame3 ( wx.Frame ):
def __init__( self, parent ):
def __del__( self ):
pass
class MainFrame( MyFrame3 ):
def __init__( self, parent ):
class TestMenu(wx.App):
def OnInit(self):
return True
app = TestMenu(0)
app.MainLoop()
Question information
- Language:
- English Edit question
- Status:
- Open
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask gbonline for more information if necessary.