Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge gnome-panel wierdness
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
ragdon
n00b
n00b


Joined: 18 Apr 2004
Posts: 18

PostPosted: Sat Jan 28, 2006 8:58 pm    Post subject: emerge gnome-panel wierdness Reply with quote

Hi All,
I have a problem which occurs while performing an "emerge world". The gnome-panel 2.12.2 fails on emerge....

Code:
i686-pc-linux-gnu-gcc -Os -march=athlon -pipe -foptimize-sibling-calls -funit-at-a-time -fweb -freorder-blocks -fcse-skip-blocks -fno-math-errno -ftracer -frename-registers -fpeephole2 -falign-functions -finline-functions -fpeel-loops -fno-thread-jumps -frerun-loop-opt -fno-merge-constants -fdelete-null-pointer-checks -fno-signaling-nans -frerun-cse-after-loop -Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s -o .libs/wnck-applet wncklet.o window-menu.o window-list.o workspace-switcher.o showdesktop.o -Wl,--export-dynamic -pthread  ../../libpanel-applet/.libs/libpanel-applet-2.so -L/usr/lib /usr/lib/libwnck-1.so -lXRes /usr/lib/libglade-2.0.so /usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so /usr/lib/libgnome-desktop-2.so /usr/lib/libgnomeui-2.so /usr/lib/libjpeg.so /usr/lib/libstartup-notification-1.so /usr/lib/libbonoboui-2.so -lSM -lICE /usr/lib/libgnome-keyring.so /usr/lib/libgnomecanvas-2.so /usr/lib/libgnome-2.so /usr/lib/libesd.so /usr/lib/libaudiofile.so /usr/lib/libasound.so /usr/lib/libart_lgpl_2.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangocairo-1.0.so /usr/lib/libpangoft2-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libcairo.so -lXrender -lX11 -lXext -lpng12 /usr/lib/libfontconfig.so /usr/lib/libexpat.so /usr/lib/libfreetype.so /usr/lib/libgnomevfs-2.so /usr/lib/libxml2.so -lz -lssl -lcrypto -lresolv -lrt /usr/lib/libbonobo-2.so /usr/lib/libgconf-2.so /usr/lib/libbonobo-activation.so /usr/lib/libORBitCosNaming-2.so /usr/lib/libORBit-2.so /usr/lib/libpopt.so /usr/lib/libgobject-2.0.so -lm /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libgthread-2.0.so -lpthread /usr/lib/libglib-2.0.so
creating wnck-applet
make[3]: Leaving directory `/var/tmp/portage/gnome-panel-2.12.2/work/gnome-panel-2.12.2/applets/wncklet'
make[3]: Entering directory `/var/tmp/portage/gnome-panel-2.12.2/work/gnome-panel-2.12.2/applets'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/var/tmp/portage/gnome-panel-2.12.2/work/gnome-panel-2.12.2/applets'
make[2]: Leaving directory `/var/tmp/portage/gnome-panel-2.12.2/work/gnome-panel-2.12.2/applets'
Making all in help
make[2]: Entering directory `/var/tmp/portage/gnome-panel-2.12.2/work/gnome-panel-2.12.2/help'
Making all in clock
make[3]: Entering directory `/var/tmp/portage/gnome-panel-2.12.2/work/gnome-panel-2.12.2/help/clock'
if ! test -d de/; then mkdir de/; fi
if test -f "C/clock.xml"; then d="../"; else d=".././"; fi; \
(cd de/ && \
  `which xml2po` -e -p \
    ${d}de/de.po \
    ${d}C/clock.xml > clock.xml.tmp && \
    cp clock.xml.tmp clock.xml && rm -f clock.xml.tmp)
if ! test -d es/; then mkdir es/; fi
if test -f "C/clock.xml"; then d="../"; else d=".././"; fi; \
(cd es/ && \
  `which xml2po` -e -p \
    ${d}es/es.po \
    ${d}C/clock.xml > clock.xml.tmp && \
    cp clock.xml.tmp clock.xml && rm -f clock.xml.tmp)
Traceback (most recent call last):
  File "/usr/bin/xml2po", line 724, in ?
    doSerialize(doc)
  File "/usr/bin/xml2po", line 482, in doSerialize
    outtxt += doSerialize(child)
  File "/usr/bin/xml2po", line 476, in doSerialize
    (starttag, content, endtag, translation) = processElementTag(node, repl, 1)
  File "/usr/bin/xml2po", line 399, in processElementTag
    (starttag, content, endtag, translation) = processElementTag(child, myrepl, 0)
  File "/usr/bin/xml2po", line 395, in processElementTag
    myrepl.append(processElementTag(child, myrepl, 1))
  File "/usr/bin/xml2po", line 407, in processElementTag
    translation = getTranslation(outtxt, isSpacePreserveNode(node))
  File "/usr/bin/xml2po", line 221, in getTranslation
    gt = gettext.GNUTranslations(file)
  File "/usr/lib/python2.4/gettext.py", line 177, in __init__
    self._parse(fp)
  File "/usr/lib/python2.4/gettext.py", line 324, in _parse
    tmsg = unicode(tmsg, self._charset)
LookupError: no codec search functions registered: can't find encoding
Traceback (most recent call last):
  File "/usr/bin/xml2po", line 724, in ?
    doSerialize(doc)
  File "/usr/bin/xml2po", line 482, in doSerialize
    outtxt += doSerialize(child)
  File "/usr/bin/xml2po", line 476, in doSerialize
    (starttag, content, endtag, translation) = processElementTag(node, repl, 1)
  File "/usr/bin/xml2po", line 399, in processElementTag
    (starttag, content, endtag, translation) = processElementTag(child, myrepl, 0)
  File "/usr/bin/xml2po", line 395, in processElementTag
    myrepl.append(processElementTag(child, myrepl, 1))
  File "/usr/bin/xml2po", line 407, in processElementTag
    translation = getTranslation(outtxt, isSpacePreserveNode(node))
  File "/usr/bin/xml2po", line 221, in getTranslation
    gt = gettext.GNUTranslations(file)
  File "/usr/lib/python2.4/gettext.py", line 177, in __init__
    self._parse(fp)
  File "/usr/lib/python2.4/gettext.py", line 324, in _parse
    tmsg = unicode(tmsg, self._charset)
LookupError: no codec search functions registered: can't find encoding
make[3]: *** [de/clock.xml] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [es/clock.xml] Error 1
make[3]: Leaving directory `/var/tmp/portage/gnome-panel-2.12.2/work/gnome-panel-2.12.2/help/clock'
games roger #


Can anyone provide some insight?
cheers.
Back to top
View user's profile Send private message
misunderstruck
n00b
n00b


Joined: 26 Jun 2005
Posts: 8
Location: Brooklyn, NY

PostPosted: Mon Feb 06, 2006 3:57 am    Post subject: Reply with quote

I had trouble with gnome-panel today on a new install. What I did was emerge dev-libs/libxml and re-merge libxml2, and that seemed to solve the problem.
Back to top
View user's profile Send private message
MADcow
l33t
l33t


Joined: 23 Jan 2003
Posts: 742
Location: RIT (Henrietta, New York, United States)

PostPosted: Mon Apr 17, 2006 11:30 pm    Post subject: Reply with quote

recompiling libXSLT may also be necessary.
please tell us if you can or cannot fix it after these recompiles.
Back to top
View user's profile Send private message
yemu
Guru
Guru


Joined: 05 Jun 2003
Posts: 342
Location: /poland/warsaw

PostPosted: Thu Apr 20, 2006 12:53 pm    Post subject: Reply with quote

i had the same problem and recompiling of libxml libxml2 and libxslt helped
_________________
Centrum Jêzyka Francuskiego VOILA - http://www.voila.edu.pl
Back to top
View user's profile Send private message
lugduweb
n00b
n00b


Joined: 04 May 2006
Posts: 47

PostPosted: Fri May 12, 2006 7:43 pm    Post subject: emerge gnome: LookupError: no codec search functions Reply with quote

Hi !

I'm a Gentoo-newbie, and I'm having the same error :
Quote:
msg = unicode(tmsg, self._charset)
LookupError: no codec search functions registered: can't find encoding


I"m doing a "emerge gnome" on Pegasos PPC on a clean and fresh install (meaning I'm not upgrading gnome).

I've tried several things without success :
"emerge dev-libs/libxml libxml2 libxslt"

did also :
Quote:
env-update && source

just in case

And also tried to run:
Quote:
python-updater

which tells me my python was not updated.

and also tried a "emerge sync" and again the all stuff...
But it still does not want to work !!!

I still have the damn same error and I really don't know what to do !
Please can somebody help me !!! :( :( :(

Here is my /etc/make.conf just in case...

CFLAGS="-O3 -mtune=G4 -mabi=altivec -maltivec -fno-strict-aliasing -pipe"
CHOST="powerpc-unknown-linux-gnu"
CXXFLAGS="${CFLAGS}"
USE="ppc altivec nptl socks5 smartcard pcsc-lite ldap bzip2 Xaw3d lesstif tetex mysal postgres sasl javascript tiff
howl samba jack bash-completion xml libclamav browserplugin mozilla sdl arts sqlite vorbis libcaca jpeg2k zeroconf ieee1394 pda snmp wifi xine guile flac speex gstreamer curl cdr dvdr dvd dxr3 ffmpeg v4l v4l2 vcd graphviz unicode ssl berkdb crypt nls tcpd python vorbis ipv6 perl zlib readline"
FEATURES="buildpkg sandbox"
ACCEPT_KEYWORDS="ppc"
CONFIG_PROTECT_MASK="/etc/wget /etc/rc.d"

And here is also the first line of what "emerge -vp gnome" tells me :
[ebuild N ] app-arch/file-roller-2.12.3 -debug 0 kB

My python :
Python 2.4.2 (#1, Jan 28 2006, 04:36:56)
[GCC 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)] on linux2
Back to top
View user's profile Send private message
lugduweb
n00b
n00b


Joined: 04 May 2006
Posts: 47

PostPosted: Wed May 17, 2006 7:52 pm    Post subject: Reply with quote

OK, I've checked all my USE flags again, then tried a big emerge :

emerge python dev-libs/libxml libxml2 libxslt gnome-doc-utils gnome

And now, it works (at last) !
Back to top
View user's profile Send private message
duderonomy
Guru
Guru


Joined: 20 Mar 2004
Posts: 349
Location: SF Bay Area

PostPosted: Tue Jun 06, 2006 10:55 am    Post subject: Reply with quote

In my case, 'emerge libxml2' was the only additional command required to get over this stumbling block. HTH! :-)

-D
Back to top
View user's profile Send private message
viduliya
n00b
n00b


Joined: 05 Nov 2003
Posts: 29
Location: Ottawa CANADA

PostPosted: Wed Jul 19, 2006 1:07 pm    Post subject: Having the same problem with gnome-panel-2.14.2 Reply with quote

Code:

creating wnck-applet
LC_ALL=C ../../intltool-merge -s -u -c ../../po/.intltool-merge-cache ../../po w
orkspace-switcher.schemas.in workspace-switcher.schemas
Found cached translation database
Merging translations into workspace-switcher.schemas.
LC_ALL=C ../../intltool-merge -s -u -c ../../po/.intltool-merge-cache ../../po w
indow-list.schemas.in window-list.schemas
Found cached translation database
Merging translations into window-list.schemas.
sed -e "s|\@LIBEXECDIR\@|/usr/libexec|" GNOME_Wncklet_Factory.server.in.in > GNO
ME_Wncklet_Factory.server.in
LC_ALL=C ../../intltool-merge -o -u -c ../../po/.intltool-merge-cache ../../po G
NOME_Wncklet_Factory.server.in GNOME_Wncklet_Factory.server
Found cached translation database
Merging translations into GNOME_Wncklet_Factory.server.
make[3]: Leaving directory `/var/tmp/portage/gnome-panel-2.14.2/work/gnome-panel
-2.14.2/applets/wncklet'
make[3]: Entering directory `/var/tmp/portage/gnome-panel-2.14.2/work/gnome-pane
l-2.14.2/applets'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/var/tmp/portage/gnome-panel-2.14.2/work/gnome-panel
-2.14.2/applets'
make[2]: Leaving directory `/var/tmp/portage/gnome-panel-2.14.2/work/gnome-panel
-2.14.2/applets'
Making all in help
make[2]: Entering directory `/var/tmp/portage/gnome-panel-2.14.2/work/gnome-pane
l-2.14.2/help'
Making all in clock
make[3]: Entering directory `/var/tmp/portage/gnome-panel-2.14.2/work/gnome-pane
l-2.14.2/help/clock'
if ! test -d de/; then mkdir de/; fi
case "." in /*) sd=".";; *) sd="../.";; esac; \
if [ -f "C/clock.xml" ]; then d="../"; else d="$sd/"; fi; \
(cd de/ && \
  `which xml2po` -e -p \
    "${d}de/de.po" \
    "${d}C/clock.xml" > clock.xml.tmp && \
    cp clock.xml.tmp clock.xml && rm -f clock.xml.tmp)
Traceback (most recent call last):
  File "/usr/bin/xml2po", line 800, in ?
    doSerialize(doc)
  File "/usr/bin/xml2po", line 551, in doSerialize
    outtxt += doSerialize(child)
  File "/usr/bin/xml2po", line 545, in doSerialize
    (starttag, content, endtag, translation) = processElementTag(node, repl, 1)
  File "/usr/bin/xml2po", line 462, in processElementTag
    (starttag, content, endtag, translation) = processElementTag(child, myrepl,
0)
  File "/usr/bin/xml2po", line 458, in processElementTag
    myrepl.append(processElementTag(child, myrepl, 1))
  File "/usr/bin/xml2po", line 470, in processElementTag
    translation = getTranslation(outtxt, isSpacePreserveNode(node))
  File "/usr/bin/xml2po", line 248, in getTranslation
    gt = gettext.GNUTranslations(file)
  File "/usr/lib/python2.4/gettext.py", line 177, in __init__
    self._parse(fp)
  File "/usr/lib/python2.4/gettext.py", line 324, in _parse
    tmsg = unicode(tmsg, self._charset)
LookupError: no codec search functions registered: can't find encoding
make[3]: *** [de/clock.xml] Error 1
make[3]: Leaving directory `/var/tmp/portage/gnome-panel-2.14.2/work/gnome-panel
-2.14.2/help/clock'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gnome-panel-2.14.2/work/gnome-panel
-2.14.2/help'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnome-panel-2.14.2/work/gnome-panel
-2.14.2'
make: *** [all] Error 2

!!! ERROR: gnome-base/gnome-panel-2.14.2 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  ebuild.sh, line 1248:   Called gnome2_src_compile
  gnome2.eclass, line 64:   Called die

!!! compile failure
!!! If you need support, post the topmost build error, and the call stack if relevant.


Everything I have tried including recompiling the libraries suggested here did not work. Is there something else I missed? Some help would be appriciated.

--------------------

I found this to help me solve my problem....

https://forums.gentoo.org/viewtopic-t-480168-highlight-lookuperror+codec+search+functions+registered+encoding.html

The /usr/lib/python2.4/encodings directory was missing as described in this article. I copied the encodings directory from /usr/lib/python2.3 and re-emerged gnome and presto... everything worked including the dreaded gnome-panel.

Thanks for the solution stone78.
_________________
There are exactly 10 kinds of people in the world those who understand binary and those who don't.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum