Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 74041 - Boa-constructor v0.3.1 UnicodeDecodeError: 'ascii' codec can't decode byte 0xaa in position 52: ordinal not in range(128)
Summary: Boa-constructor v0.3.1 UnicodeDecodeError: 'ascii' codec can't decode byte 0x...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo wxWidgets project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-10 15:05 UTC by Agustin Navarro
Modified: 2010-07-15 07:48 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Agustin Navarro 2004-12-10 15:05:07 UTC
Following the tutorial example i get this error while in the step Add a menu bar when changing the nane to mnuFile in the Inspector window of the Designer. The same problem recurs when changing other fields in the tutorial

Reproducible: Always
Steps to Reproduce:
1.Go to tutorial up to Add menu bar. Click Designer,.... Click wxMenu componet..
2.Click Name change to mnuFile
3.Click post

Actual Results:  
An error windows comes up

Expected Results:  
The name should have changed

[anp@abril anp]$ emerge --info
Portage 2.0.51-r3 (default-linux/x86/2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.4.26-gentoo-r13 i686)
=================================================================
System uname: 2.4.26-gentoo-r13 i686 Pentium II (Klamath)
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="no"
CFLAGS="-O2 -march=pentium2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks fixpackages sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.mirror.sdv.fr http://ftp.easynet.nl/mirror/gentoo/
http://gentoo.binarycompass.org
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
http://www.gigaload.org/gentoo.org/"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="X Xaw3d aalib adns aim apache2 apm artworkextra audiofile avi berkdb
bindist bitmap-fonts bonobo cddb cdr clamav crypt cups curl dedicated doc emacs
emacs-w2 emacs-w3 encode escreen ethereal evo f77 faad fam fftw fla flac
foomaticdb fortran freetype fs gb gcl gd gdbm ggi gif gimp gimpprint ginac gmp
gnome gnomedb gpm gstreamer gtk gtk2 gtkhtml guile icq imagemagick imap imlib
ipv6 ithreads java jpeg justify ldap libcaca libclamav libg++ libwww mad mbox
mcal mdb mikmod mmx mng motif mozilla moznoirc moznomail moznoxft mozp3p
mozxmlterm mpeg mpeg4 mpi mplayer msn mysql mysqli nagios-dns nagios-ntp
nagios-ping nagios-s nas ncurses network nls nomac oav obdc odbc offensive
oggvorbis opengl opens oscar oss pam pdflib perl pg-hier pg-intdatetime
pg-vacuumdelay php pic pie plotutils png postgres ppds pthreads python qt
quicktime readline real rtc samba sasl scanner sdl serial slang sndfile snmp
speex spell sqlite ssl svga t1lib tcltk tcpd tetex theora threads tiff timidity
transparent-proxy truetype type1 unicode usb v4l v4l2 vim-with-x wmf wsconvert
wxwin wxwindows x86 xanim xchatdccserver xml xml2 xmms xprint xv xvid xvmc yahoo
yaz zlib linguas_en linguas_es"
Comment 1 Rob Cakebread (RETIRED) gentoo-dev 2004-12-11 12:32:17 UTC
Are you using the unicode versions of wxGTK/wxpython?
Comment 2 Agustin Navarro 2004-12-11 12:53:15 UTC
I do not know; Here is what I have:

[anp@abril anp]$ qpkg -I -v wx
dev-util/wxglade-0.3.5.1 *
dev-python/wxpython-2.4.2.4 *
dev-python/wxpython-demo-2.4.2.4 *
dev-python/wxpython-docs-2.4.2.4 *
x11-libs/wxGTK-2.4.2-r2 *

I am not ussing utf...as far as I know

Thanks in advance,

Agustin

Comment 3 Rob Cakebread (RETIRED) gentoo-dev 2004-12-14 11:20:25 UTC
Does 'emerge -pv x11-libs/wxGTK dev-python/wxpython' show you compiled them with unicode USE flags?
Comment 4 Agustin Navarro 2004-12-15 03:01:51 UTC
Yes.

abril root # emerge -pv x11-libs/wxGTK dev-python/wxpython

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] x11-libs/wxGTK-2.4.2-r2  -debug +gtk2 -no_wxgtk1 +odbc +opengl +unicode 5,255 kB 
[ebuild   R   ] dev-python/wxpython-2.4.2.4  +gtk2 +jpeg +opengl +png +tiff +unicode 12,822 kB 
Comment 5 Agustin Navarro 2005-01-20 15:44:30 UTC
I include a log of the problem....

19:38:20: Traceback (most recent call last):                                              
19:38:20:   File "/usr/lib/python2.3/site-packages/boa/Inspector.py", line 818, in OnSelect
19:38:20:     self.inspector.propertySelected(self)                                       
19:38:20:       File "/usr/lib/python2.3/site-packages/boa/Inspector.py", line 1073, in propertySelected
19:38:20:     self.prevSel.hideEditor()                                                   
19:38:20:       File "/usr/lib/python2.3/site-packages/boa/Inspector.py", line 798, in hideEditor
19:38:20:     self.propEditor.inspectorPost()                                             
19:38:20:       File "/usr/lib/python2.3/site-packages/boa/PropEdit/PropertyEditors.py", line 146, in inspectorPost
19:38:20:     v = self.getValue()                                                         
19:38:20:       File "/usr/lib/python2.3/site-packages/boa/PropEdit/PropertyEditors.py", line 1089, in getValue
19:38:20:     if c not in string.letters+string.digits+'_':#"\'':                         
19:38:20:     UnicodeDecodeError: 'ascii' codec can't decode byte 0xaa in position 52: ordinal not in range(128)
Comment 6 Ryan Hill (RETIRED) gentoo-dev 2007-02-03 22:56:05 UTC
reopen if this is still a problem with wxGTK/python-2.6 and boa-constructor-0.4.0_alpha.