TypeError in GnoMenu: expected a character buffer object

Bug #899293 reported by pinofz1
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Awn Extras
New
Undecided
Unassigned

Bug Description

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/awn/extras/awnlib.py", line 1580, in init_start
    applet_class(applet)
  File "/usr/share/avant-window-navigator/applets/GnoMenu/GnoMenu.py", line 55, in __init__
    self.hwg = Main_Menu(self.HideMenu)
  File "/usr/lib/gnomenu/Menu_Main.py", line 92, in __init__
    self.setup()
  File "/usr/lib/gnomenu/Menu_Main.py", line 344, in setup
    self.PGL = IconProgramList()
  File "/usr/lib/gnomenu/Menu_Widgets.py", line 1845, in __init__
    self.XDG = XDGMenu()
  File "/usr/lib/gnomenu/Menu_Items.py", line 113, in __init__
    self.Restart(item)
  File "/usr/lib/gnomenu/Menu_Items.py", line 147, in Restart
    self.ConstructMenu()
  File "/usr/lib/gnomenu/Menu_Items.py", line 425, in ConstructMenu
    self.SearchMenu(path)
  File "/usr/lib/gnomenu/Menu_Items.py", line 471, in SearchMenu
    if name.upper().count(self.Menu) != 0 or execute.upper().count(self.Menu) != 0:
TypeError: expected a character buffer object

Revision history for this message
Ruben Silva Chacon (rsilvac) wrote :

I have the same problem but i believe that the problem is "TypeError in GnoMenu: expected a character buffer object", the first step is in terminal to put:

1. sudo apt-get remove avant-window-navigator avant-window-navigator-data awn-settings awn-applets-c-core libawn1 vala-awn && sudo apt-get autoremove

Now download the package awn

2.https://launchpad.net/awn/

next you needed review and following the step to step for her respective installation here:

3.http://wiki.awn-project.org/Installation and for the compilation http://wiki.awn-project.org/InstallingFromSource

if you have some problem with the compilation saying this error while compile

 Could not link test program to Python. Maybe the main Python library has been
  installed in some non-standard library path. If so, pass it to configure,
  via the LDFLAGS environment variable.
  Example: ./configure LDFLAGS="-L/usr/non-standard-path/python/lib"
  ============================================================================
   ERROR!
   You probably have to install the development version of the Python package
   for your distribution. The exact name of this package varies among them.
  ============================================================================

As the error message says, try installing python-dev if you don't already have it. There may also be other *python*-dev packages that are needed, but that's a good place to start.

2. option.

in terminal

Code:

sudo apt-get build-dep avant-window-navigator

with this comand install all the packages that needed awn and probably the GnoMenu work perfectly.

Good Look.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.