From owner-freebsd-gnome@FreeBSD.ORG Wed Jun 16 19:04:50 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 2235216A4CE for ; Wed, 16 Jun 2004 19:04:50 +0000 (GMT) Received: from amsfep17-int.chello.nl (amsfep17-int.chello.nl [213.46.243.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4083D43D31 for ; Wed, 16 Jun 2004 19:04:49 +0000 (GMT) (envelope-from s.smid@chello.nl) Received: from sander ([62.194.216.177]) by amsfep17-int.chello.nl (InterMail vM.6.00.05.02 201-2115-109-103-20031105) with SMTP id <20040616190430.WOML14441.amsfep17-int.chello.nl@sander>; Wed, 16 Jun 2004 21:04:30 +0200 Message-ID: <000501c45420$3abbf660$0a00a8c0@sander> From: "Sander Smid" To: "Franz Klammer" References: <001801c451bb$ddf63190$0a00a8c0@sander> <40CD5D90.4030401@webonaut.com> Date: Wed, 16 Jun 2004 21:04:47 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 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: Wed, 16 Jun 2004 19:04:50 -0000 Hi, I rebuild gdesklets and now I get another error. //------------------------------------------------------------- Traceback (most recent call last): File "/usr/X11R6/bin/gdesklets", line 12, in ? from main.Starter import Starter File "/usr/X11R6/share/gnome/gdesklets/main/Starter.py", line 2, in ? from factory.DisplayFactory import DisplayFactory File "/usr/X11R6/share/gnome/gdesklets/factory/DisplayFactory.py", line 3, in ? from sensor.DefaultSensor import DefaultSensor File "/usr/X11R6/share/gnome/gdesklets/sensor/DefaultSensor.py", line 1, in ? from Sensor import Sensor File "/usr/X11R6/share/gnome/gdesklets/sensor/Sensor.py", line 15, in ? from SensorConfigurator import SensorConfigurator File "/usr/X11R6/share/gnome/gdesklets/sensor/SensorConfigurator.py", line 1, in ? import gnome.ui ImportError: could not import bonobo.ui //------------------------------------------------------------- This is my installed package list (pkg_info): ORBit2-2.10.2 High-performance CORBA ORB with support for the C language XFree86-FontServer-4.3.0_3 XFree86-4 font server XFree86-Server-4.3.0_14 XFree86-4 X server and related programs XFree86-clients-4.3.0_8 XFree86-4 client programs and related files XFree86-fontDefaultBitmaps-4.3.0 XFree86-4 default bitmap fonts XFree86-fontEncodings-4.3.0 XFree86-4 font encoding files XFree86-fontScalable-4.3.0 XFree86-4 scalable fonts XFree86-libraries-4.3.0_7 XFree86-4 libraries and headers aalib-1.4.r5_1 An ascii art library acroread-5.08 View, distribute and print PDF documents anjuta-1.2.2_1 Integrated Development Environment for C and C++ aspell-0.50.5_2 Spelling checker with better suggestion logic than ispell atk-1.6.1 A GNOME accessibility toolkit (ATK) autoconf-2.13.000227_5 Automatically configure source code on many Un*x platforms autoconf-2.53_1 Automatically configure source code on many Un*x platforms automake-1.4.6_1 GNU Standards-compliant Makefile generator (legacy version automake-1.5,1 GNU Standards-compliant Makefile generator bash-2.05b.007 The GNU Bourne Again Shell bb-1.3.r1 High quality audio-visual demonstration for text terminal bison-1.75_2 A parser generator from FSF, (mostly) compatible with Yacc bitstream-vera-1.10 Bitstream Vera TrueType font collection bluefish-0.7_2 HTML editor designed for the experienced web designer cheesetracker-0.9.1_1 An Impulse Tracker clone cups-base-1.1.20.0 The Common UNIX Printing System: headers, libs, & daemons cups-pstoraster-7.07_1 GNU Postscript interpreter for CUPS printing to non-PS prin cvsup-without-gui-16.1h General network file distribution system optimized for CVS dbh-1.0.18 Disk Based Hashtables docbook-sk-4.1.2_3 XML version of the DocBook DTD version controlled for Scrol docbook-xml-4.2_1 XML version of the DocBook DTD docbook-xsl-1.65.1 XSL DocBook stylesheets dri-4.3.0,1 OpenGL hardware acceleration drivers for XFree86 eel2-2.6.1 Generally useful classes and extensions to GNOME esound-0.2.34 A sound library for enlightenment package expat-1.95.7 XML 1.0 parser written in C ezm3-1.1_2 Easier, more portable Modula-3 distribution for building CV fam-2.6.9_4 A file alteration monitor firefox-0.8_5 Web browser based on the browser portion of Mozilla fontconfig-2.2.2,1 An XML-based font configuration API for X Windows freetype2-2.1.7_3 A free and portable TrueType font rendering engine gail-1.6.5 An implementation of the ATK interfaces for GTK+ widgets gaim-0.78 Multi-protocol instant messaging client gconf2-2.6.1 A configuration database system for GNOME gdesklets-0.26.2_1 A framework for Gnome 2.x for desktop applets gettext-0.13.1_1 GNU gettext package ghostscript-gnu-7.07_6 GNU Postscript interpreter gimp-2.0.1,1 A GNU Image Manipulation Program gimp-print-4.2.6_2 GIMP Print Printer Driver glib-1.2.10_11 Some useful routines of C programming (previous stable vers glib-2.4.1_1 Some useful routines of C programming (current stable versi gmake-3.80_2 GNU version of 'make' utility gnome-icon-theme-1.2.1 A collection of icons for the GNOME 2 desktop gnomedesktop-2.6.1 Additional UI API for GNOME 2 gnomehier-1.0_17 A utility port that creates the GNOME directory tree gnomekeyring-0.2.1_1 A program that keeps passwords and other secrets gnomemimedata-2.4.1_2 A MIME and Application database for GNOME gnomepanel-2.6.1 Panel component for the GNOME 2 Desktop gnomevfs2-2.6.1.1_1 GNOME Virtual File System gnuls-4.1 GNU colorized `ls' gtk-1.2.10_12 Gimp Toolkit for X11 GUI (previous stable version) gtk-2.4.1 Gimp Toolkit for X11 GUI (current stable version) gtk-engines2-2.2.0_3 Theme engine for the gtk+-2.0 toolkit gtk-xfce-engine-2.1.9_2 An XFCE engine for GTK 2.0 gtkspell2-2.0.5_1 A GTK+ 2 spell checking component help2man-1.33.1 Automatically generating simple manual pages from program o hicolor-icon-theme-0.5 A high-color icon theme shell from the FreeDesktop project imake-4.3.0_2 Imake and other utilities from XFree86 imlib-1.9.14_2 A graphic library for enlightenment package intltool-0.30_1 Xml internationalization support for GNOME, and others jpeg-6b_2 IJG's jpeg compression utilities ladspa-1.12_1 "Linux Audio Developer's Simple Plugin API" lame-3.96 ISO code based fast MP3 encoder kit lcms-1.12,1 Light Color Management System -- a color management library libIDL-0.8.3_2 A library for creating trees of CORBA Interface Definition libXft-2.1.6 A client-sided font API for X applications libao-esound-0.8.4_1 Portable audio output library libart_lgpl2-2.3.16 Library for high-performance 2D graphics libaudiofile-0.2.6 A sound library for SGI audio file libbonobo-2.6.2 A component and compound document system for GNOME2 libbonoboui-2.6.1 GUI frontend to the libbonobo component of GNOME 2 libcroco-0.5.1 CSS2 parsing library libdvdcss-1.2.8_1 Portable abstraction library for DVD decryption libexif-0.5.12_2 Library to read digital camera file meta-data libglade2-2.4.0 GNOME glade library libglut-6.0.1 A graphics library similar to SGI's OpenGL libgnome-2.6.1.1 Libraries for GNOME, a GNU desktop environment libgnomecanvas-2.6.1.1 A graphics library for GNOME libgnomeprint-2.6.1 Gnome print support library libgnomeprintui-2.6.1 Gnome print support library libgnomeui-2.6.1.1 Libraries for the GNOME GUI, a GNU desktop environment libgsf-1.9.1_1 An extensible i/o abstraction for dealing with structured f libgtkhtml-2.6.1 Lightweight HTML rendering/printing/editing engine libgtop2-2.6.0 GNOME 2 top library libiconv-1.9.1_3 A character set conversion library libijs-0.35 C library that supports plugin printer driver for Ghostscri libmikmod-esound-3.1.11 MikMod Sound Library libmng-1.0.7 Multiple-image Network Graphics (MNG) reference library libogg-1.1,3 Ogg bitstream library librsvg2-2.6.5_1 Library for parsing and rendering SVG vector-graphic files libsigc++-1.2.5_1 Callback Framework for C++ libtool-1.3.5_2 Generic shared library support script (version 1.3) libtool-1.4.3_3 Generic shared library support script (version 1.4) libtool-1.5.6 Generic shared library support script (version 1.5) libungif-4.1.3 Tools and library routines for working with GIF images libvorbis-1.0.1,3 Audio compression codec library libwmf-0.2.8.3 Tools and library for converting Microsoft WMF (windows met libwnck-2.6.1 Library used for writing pagers and taskslists libxfce4gui-4.0.5 XFce 4 widget library required by xfce4 and xfwm4 libxfce4mcs-4.0.5 XFce 4 settings management library used by most XFce 4 modu libxfce4util-4.0.5 XFce 4 library with non-graphical helper functions libxml-1.8.17_2 Xml parser library for GNOME libxml2-2.6.9 Xml parser library for GNOME libxslt-1.1.6 The XSLT C library for GNOME libzvt-2.0.1_8 Library components for Zed's Virtual Terminal linc-1.0.3_2 A library for writing networked servers & clients linux-esound-0.2.22_2 RPM of esound linux-flashplugin-6.0r79_1 The official Macromedia Flash Player for Linux Mozilla and linux-libaudiofile-0.1.11_3 RPM of audiofile linux-realplayer-8.cs2_4 Linux RealPlayer 8.0 from RealNetworks linux_base-7.1_7 The base set of packages needed in Linux mode linuxpluginwrapper-20040310_1 A wrapper allowing use of linux-plugins with native applica m4-1.4_1 GNU m4 mplayer-gtk-esound-0.92.1_2 High performance media player/encoder supporting many forma mplayer-skins-1.1.0 Skins for MPlayer's Graphical User Interface (GUI) nas-1.6 Network Audio System nasm-0.98.38_1,1 General-purpose multi-platform x86 assembler nautilus2-2.6.1 GNOME file manager and graphical shell developed by Eazel nspr-4.4.1_1 A platform-neutral API for system level and libc like funct nss-3.9_1 Libraries to support development of security-enabled applic open-motif-2.2.2_2 Motif X11 Toolkit (industry standard GUI (IEEE 1295)) openssl-0.9.7d SSL and crypto library p5-XML-Parser-2.34_1 Perl extension interface to James Clark's XML parser, expat p5-gettext-1.01_4 Message handling functions pango-1.4.0_1 An open-source framework for the layout and rendering of i1 pcre-4.5 Perl Compatible Regular Expressions library perl-5.6.1_15 Practical Extraction and Report Language pkgconfig-0.15.0_1 A utility used to retrieve information about installed libr png-1.2.5_5 Library for manipulating PNG images popt-1.6.4_2 A getopt(3) like library with a number of enhancements, fro portupgrade-20040325_1 FreeBSD ports/packages administration and management tool s py-gnome-2.0.2 A set of Python bindings for GNOME 2 py23-gtk-2.2.0_2 A set of Python bindings for GTK py23-numeric-23.1 The Numeric Extension to Python py23-orbit-2.0.0_2 Python bindings for ORBit2 py23-xml-0.8.3 The Python XML package, including parser, SAX, DOM, and Exp python-2.3.4 An interpreted object-oriented programming language qmake-3.3.2 The build utility of the Qt project qt-3.3.2_2 Multiplatform C++ application framework rar-3.30,1 File archiver (binary port) rpm-3.0.6_9 The Red Hat Package Manager rpm2cpio-1.2_2 Convert .rpm files for extraction with /usr/bin/cpio, needs ruby-1.6.8.2004.04.16_1 An object-oriented interpreted scripting language ruby-1.8.1.2004.05.02 An object-oriented interpreted scripting language ruby-bdb1-0.2.1 Ruby interface to Berkeley DB revision 1.8x with full featu ruby16-shim-ruby18-1.8.1.p3 A set of Ruby modules to provide Ruby 1.8 functionalities ruby18-bdb1-0.2.2 Ruby interface to Berkeley DB revision 1.8x with full featu samba-2.2.9_1 A free SMB and CIFS client and server for UNIX screen-4.0.2 A multi-screen window manager scrollkeeper-0.3.14_1,1 An Open Document Cataloging Project sdl-1.2.7_2,1 Cross-platform multi-media development API sdl_image-1.2.3_2 A simple library to load images of various formats as SDL s sdl_mixer-1.2.5_3 A sample multi-channel audio mixer library sdocbook-xml-4.1.2.5_2 "Simplified" DocBook XML DTD shared-mime-info-0.14_2 A MIME type database from the FreeDesktop project smpeg-0.4.4_3 A free MPEG1 video player library with sound support snes9express-1.42_1 GTK interface for snes9x snes9x-1.42 Super Nintendo Entertainment System(SNES) Emulator startup-notification-0.6 Library that supports startup notification spec from freede svgalib-1.4.3_3 A low level console graphics library tiff-3.6.1_1 Tools and library routines for working with TIFF images ttmkfdir-20021109_1 Create fonts.scale file for use with TrueType font server unzip-5.51 List, test and extract compressed files in a ZIP archive urwfonts-1.0 Another font package for X vim-6.2.531 Vi "workalike", with many additional features vnc-3.3.7_1 Display X and Win32 desktops on remote X/Win32/Java display vte-0.11.11 Terminal widget with improved accessibility and I18N suppor weblint-1.020 HTML validator and sanity checker wget-1.8.2_6 Retrieve files from the Net via HTTP and FTP win32-codecs-2.0.90_1,1 Huge compilation of Win32 binary codecs, including MPEG-4(D wine-20040505 Microsoft Windows compatibility layer for Unix-like systems xfce-4.0.5 The "meta-port" for the XFce 4 desktop environment xfce4-desktop-4.0.5 XFce 4 desktop background manager and root menu xfce4-fm-4.0.5 XFce 4 file manager xfce4-fm-icons-4.0.5 XFce 4 icon themes for the xffm file manager xfce4-iconbox-4.0.5 XFce 4 icon box, an alternative taskbar xfce4-mcs-manager-4.0.5 XFce 4 settings manager xfce4-mcs-plugins-4.0.5 XFce 4 settings manager plugins xfce4-mixer-4.0.5 XFce 4 volume mixer module for xfce4-panel xfce4-panel-4.0.5 XFce 4 panel module xfce4-panel-themes-4.0.5 Icon themes for the XFce 4 panel xfce4-print-4.0.5 XFce 4 graphical frontend for printing xfce4-systray-4.0.5 XFce 4 system tray module for xfce4-panel xfce4-toys-4.0.5 Toys for the XFce 4 panel xfce4-utils-4.0.5 XFce 4 essential utilities and scripts xfce4-wm-4.0.5 XFce 4 window manager xfce4-wm-themes-4.0.5 XFce 4 window decoration themes for xfwm4 xmlcatmgr-2.1 SGML and XML catalog manager xmms-esound-1.2.10 X Multimedia System --- An audio player with a Winamp GUI zip-2.3_1 Create/update ZIP files compatible with pkzip I hope this info make things a bit clearer for you cause for me it doesn't :( I googled around in groups using the last line of my error message as my search string but without clues. I hope you've seen this before and know what I'm missing. Thanks for your time, Sander ----- Original Message ----- From: "Franz Klammer" To: "Sander Smid" Cc: Sent: Monday, June 14, 2004 1:10 AM Subject: Re: gDesklets FreeBSD Python problem > > 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 >