From owner-freebsd-gnome@FreeBSD.ORG Mon Jun 14 08:11:05 2004 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8677C16A4E2 for ; Mon, 14 Jun 2004 08:11:03 +0000 (GMT) Received: from sv02.webonaut.com (kirk.webonaut.com [212.41.243.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E0FE43D49 for ; Mon, 14 Jun 2004 08:11:03 +0000 (GMT) (envelope-from klammer@webonaut.com) Received: from localhost (localhost [127.0.0.1]) by sv02.webonaut.com (Postfix) with ESMTP id 6F96A7644B; Mon, 14 Jun 2004 10:11:00 +0200 (CEST) Received: from sv02.webonaut.com ([127.0.0.1]) by localhost (sv02.webonaut.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 67766-01; Mon, 14 Jun 2004 10:10:56 +0200 (CEST) Received: from [192.168.0.9] (sisko.webonaut.com [212.41.243.28]) by sv02.webonaut.com (Postfix) with ESMTP id EB40B76436; Mon, 14 Jun 2004 10:10:55 +0200 (CEST) Message-ID: <40CD5D90.4030401@webonaut.com> Date: Mon, 14 Jun 2004 10:10:56 +0200 From: Franz Klammer User-Agent: Mozilla Thunderbird 0.6 (X11/20040510) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Sander Smid References: <001801c451bb$ddf63190$0a00a8c0@sander> In-Reply-To: <001801c451bb$ddf63190$0a00a8c0@sander> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at webonaut.com cc: gnome@FreeBSD.org Subject: Re: gDesklets FreeBSD Python problem X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jun 2004 08:11:05 -0000 Sander Smid wrote: > Hi, > > First of all, thank you for the work you've done (and still do) to maintain this port. > The reason I mail you is not only to thank you but I do have a problem with this port. > > I installed gdesklets from the port collection on my FreeBSD 5.2.1 notebook. So far without any problems. > When I try to start gdesklets I get python errors and I have no clue how to solve them. > I run FreeBSD 5.2.1, XFree86, XFCE. I already updated my whole system buit that didn't work.. I also tried to install the gdesklets-callender port and let that one install gdesklets but that didn't work either. > > This what I get: > ------------------------------------------------------- > root@laptop [/usr/ports/deskutils/gdesklets] >gdesklets > Traceback (most recent call last): > File "/usr/X11R6/bin/gdesklets", line 10, in ? > from main import init > File "/usr/X11R6/share/gnome/gdesklets/main/__init__.py", line 37, in ? > from utils.i18n import Translator > File "/usr/X11R6/share/gnome/gdesklets/utils/__init__.py", line 1, in ? > from FileWatcher import FileWatcher > File "/usr/X11R6/share/gnome/gdesklets/utils/FileWatcher.py", line 3, in ? > import gtk > File "/usr/local/lib/python2.3/site-packages/gtk-2.0/gtk/__init__.py", line 43, in ? > from _gtk import * > ImportError: /usr/local/lib/python2.3/site-packages/gtk-2.0/gtk/_gtk.so: Undefined symbol "PyUnicodeUCS2_FromUnicode" > ------------------------------------------------------- > > Do you have any idea what's causing this problem? > hi! ====== from groups.google (belongs to RH9 but should help here also) ====== Python on RedHat 9 is compiled with 4 byte unicode characters (UCS4), most other distributions use 2 byte unicode characters (UCS2). So if you install a rpm compiled on a different system, this error is bound to happen. Solution: compile the python module from source ... =========================================================================== please try recompile py-gtk2. if this dosn't help please send the list of your installed ports. franz. > I'm not a member of this mailinglist so please reply to s.smid (@dddd) chello (d.tttt) nl > > Thanks in advantage, > Sander