From owner-freebsd-questions@FreeBSD.ORG Sat Jul 14 11:11:38 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4F3EF16A401 for ; Sat, 14 Jul 2007 11:11:38 +0000 (UTC) (envelope-from oregnier@oregnier.net) Received: from 42.mail-out.ovh.net (42.mail-out.ovh.net [213.251.189.42]) by mx1.freebsd.org (Postfix) with SMTP id BFB3813C441 for ; Sat, 14 Jul 2007 11:11:37 +0000 (UTC) (envelope-from oregnier@oregnier.net) Received: (qmail 11137 invoked by uid 503); 14 Jul 2007 11:11:51 -0000 Received: from b6.ovh.net (HELO mail196.ha.ovh.net) (213.186.33.56) by 42.mail-out.ovh.net with SMTP; 14 Jul 2007 11:11:51 -0000 Received: from b0.ovh.net (HELO queue-out) (213.186.33.50) by b0.ovh.net with SMTP; 14 Jul 2007 11:11:39 -0000 Received: from mac76-2-82-241-6-173.fbx.proxad.net (HELO ?127.0.0.1?) (postmaster@oregnier.net@82.241.6.173) by ns0.ovh.net with SMTP; 14 Jul 2007 11:11:37 -0000 Message-ID: <4698AF68.7080700@oregnier.net> Date: Sat, 14 Jul 2007 13:11:36 +0200 From: Olivier Regnier User-Agent: Thunderbird 2.0.0.4 (Windows/20070604) MIME-Version: 1.0 To: Graham Bentley References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Ovh-Remote: 82.241.6.173 (mac76-2-82-241-6-173.fbx.proxad.net) X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-Spam-Check: DONE|H 0.5/N Cc: freebsd-questions@freebsd.org Subject: Re: Obmenu X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jul 2007 11:11:38 -0000 Graham Bentley a écrit : > Hi All, > > I was wondering if anyone can shed any light on this, I have come accross > it before but cant remember how to resolve ? > > I think there are some Perl modules to install and vaguely recall > something > to do with cpan but thats about it. > > I downloaded the latest obmenu [a graphical menu editor for OpenBox] and > foloowed the instructions - results below ; > > $ su root > Password: > 3bsd# python setup.py install > running install > running build > running build_py > creating build > creating build/lib > copying obxml.py -> build/lib > running build_scripts > creating build/scripts-2.4 > copying and adjusting obmenu -> build/scripts-2.4 > copying and adjusting pipes/obm-xdg -> build/scripts-2.4 > copying and adjusting pipes/obm-dir -> build/scripts-2.4 > copying and adjusting pipes/obm-moz -> build/scripts-2.4 > copying and adjusting pipes/obm-nav -> build/scripts-2.4 > changing mode of build/scripts-2.4/obmenu from 644 to 755 > changing mode of build/scripts-2.4/obm-xdg from 644 to 755 > changing mode of build/scripts-2.4/obm-dir from 644 to 755 > changing mode of build/scripts-2.4/obm-moz from 644 to 755 > copying build/lib/obxml.py -> /usr/local/lib/python2.4/site-packages > byte-compiling /usr/local/lib/python2.4/site-packages/obxml.py to > obxml.pyc > running install_scripts > copying build/scripts-2.4/obmenu -> /usr/local/bin > copying build/scripts-2.4/obm-xdg -> /usr/local/bin > copying build/scripts-2.4/obm-dir -> /usr/local/bin > copying build/scripts-2.4/obm-moz -> /usr/local/bin > copying build/scripts-2.4/obm-nav -> /usr/local/bin > changing mode of /usr/local/bin/obmenu to 755 > changing mode of /usr/local/bin/obm-xdg to 755 > changing mode of /usr/local/bin/obm-dir to 755 > changing mode of /usr/local/bin/obm-moz to 755 > changing mode of /usr/local/bin/obm-nav to 755 > running install_data > creating /usr/local/share/obmenu > copying obmenu.glade -> /usr/local/share/obmenu > copying icons/mnu16.png -> /usr/local/share/obmenu > copying icons/mnu48.png -> /usr/local/share/obmenu > 3bsd# exit > exit > $ obmenu > Traceback (most recent call last): > File "/usr/local/bin/obmenu", line 21, in ? > import obxml, gtk, gtk.glade, gobject, random, time, os, sys > ImportError: No module named gtk > > ---- > > If anyone could help with this it would be greatly appreciated. > > Thanks! > > > > > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" Hello Graham, --- File "/usr/local/bin/obmenu", line 21, in ? import obxml, gtk, gtk.glade, gobject, random, time, os, sys ImportError: No module named gtk --- You must first install py-gtk2 => http://www.freshports.org/x11-toolkits/py-gtk2/ To install the port: |make -C /usr/ports/x11-toolkits/py-gtk2/ install clean| After run obmenu. Bye bye.