Unicode error

9 views
Skip to first unread message

Dominique

unread,
Apr 13, 2010, 11:52:47 AM4/13/10
to GUI2Exe
Hi Andrea,

First of all, thank you so much for all your work for the wx
community !

Every time I use Gui2exe, I have this Traceback when pressing on the
Try (not compile) button.
Is this error due to some bad parameters on my machine ?
I don't think so but you never know... Unicode errors may be tricky.

Nevertheless, I can use the compile button which works fine.
By the way, what's the difference between the 2 buttons ?
The Try one doesn't buid the Dist directory ?

Thank you
Dominique

PS: Bad luck with the removers !!

#---- System Information ----#
GUI2Exe Version: 0.5.0
Operating System: Windows XP (construction 2600, Service Pack 3)
Python Version: 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310
32 bit (Intel)]
wxPython Version: 2.8.10.1 (msw-unicode)
wxPython Info: (__WXMSW__, wxMSW, unicode, wx-assertions-on,
SWIG-1.3.29)
Python Encoding: Default=mbcs File=mbcs
wxPython Encoding: utf-8
System Architecture: 32bit
Byte order: little
Frozen: False
#---- End System Information ----#

#---- Traceback Info ----#
*** 13 avril 2010 @ 17:38:43 ***
Traceback (most recent call last):
File "C:\g2e\GUI2Exe.py", line 2950, in OnProcessEnded
self.process.HandleProcessMessages(True)
File "C:\g2e\Process.py", line 216, in HandleProcessMessages
self.ReadStream(estream, 1, processEnded)
File "C:\g2e\Process.py", line 268, in ReadStream
self.MainFrame.SendMessage(2, text)
File "C:\g2e\GUI2Exe.py", line 3787, in SendMessage
self.messageWindow.SendMessage(kind, message, copy)
File "C:\g2e\MessageWindow.py", line 309, in SendMessage
self.list.SetStringItem(indx, 2, msg)
File "C:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx
\_controls.py", line 4578, in SetStringItem
return _controls_.ListCtrl_SetStringItem(*args, **kwargs)
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 69-71:
invalid data

#---- End Traceback Info ----#

Andrea Gavana

unread,
Apr 13, 2010, 12:09:55 PM4/13/10
to gui...@googlegroups.com
Hi Dominique,

On 13 April 2010 16:52, Dominique wrote:
> Hi Andrea,
>
> First of all, thank you so much for all your work for the wx
> community !
>
> Every time I use Gui2exe, I have this Traceback when pressing on the
> Try (not compile) button.
> Is this error due to some bad parameters on my machine ?
> I don't think so but you never know... Unicode errors may be tricky.

No, I don't think has anything to do with your machine... I'll have to
dig into it as I never use the Dry Run button myself, and actually
py2exe has always had a bug with the dry-run option (see the "Caveats"
section at http://xoomer.virgilio.it/infinity77/main/GUI2Exe.html). In
any case, GUI2Exe should not crash in this way anyway :-)

I'll take a look at it if I can reproduce it in some way.

> Nevertheless, I can use the compile button which works fine.
> By the way, what's the difference between the 2 buttons ?

The difference between the 2 buttons exists only for py2exe (the other
compilers do not have the dry run option), and the first time I
implemented GUI2Exe it seemed cool to have a dry run option (which
doesn't actually build the executable, it just finds your modules and
check if everything is OK in your setup). However, it has shown itself
to be less cool when I discovered that most of the time py2exe crashes
when you use the dry run option :-D

By the way, are you using the SVN version of GUI2Exe or the one in the
zip file in the GUI2Exe googlecode page?

> PS: Bad luck with the removers !!

Don't tell me that...


Andrea.

"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/

==> Never *EVER* use RemovalGroup for your house removal. You'll
regret it forever.
http://thedoomedcity.blogspot.com/2010/03/removal-group-nightmare.html <==

Dominique

unread,
Apr 13, 2010, 12:22:07 PM4/13/10
to GUI2Exe
Thanks Andrea.

On 13 avr, 18:09, Andrea Gavana <andrea.gav...@gmail.com> wrote:
> Hi Dominique,
>
> On 13 April 2

> I'll take a look at it if I can reproduce it in some way.

Don't do that for me ! Now that I know the Try button is useless, iI
won't use it !

> > Nevertheless, I can use the compile button which works fine.
> > By the way, what's the difference between the 2 buttons ?
>

> By the way, are you using the SVN version of GUI2Exe or the one in the
> zip file in the GUI2Exe googlecode page?
>

The latest svn version (that of last week).

> > PS: Bad luck with the removers !!
>
> Don't tell me that...

I was kidding.I read your story.... ;-)


Thanks again for all Andrea
Dominique

Andrea Gavana

unread,
Apr 13, 2010, 12:39:45 PM4/13/10
to gui...@googlegroups.com
Hi Dominique,

On 13 April 2010 17:22, Dominique wrote:
> Thanks Andrea.
>
> On 13 avr, 18:09, Andrea Gavana <andrea.gav...@gmail.com> wrote:
>> Hi Dominique,
>>
>> On 13 April 2
>
>> I'll take a look at it if I can reproduce it in some way.
>
> Don't do that for me ! Now that I know the Try button is useless, iI
> won't use it !

I'll changed a couple of lines in the code, it shouldn't crash anymore
now (but you never know...).

>> > Nevertheless, I can use the compile button which works fine.
>> > By the way, what's the difference between the 2 buttons ?
>>
>> By the way, are you using the SVN version of GUI2Exe or the one in the
>> zip file in the GUI2Exe googlecode page?
>>
>
> The latest svn version (that of last week).

Very well :-D . There is now a slightly updated one in SVN. Only
corrected a couple of details.

>> > PS: Bad luck with the removers !!
>>
>> Don't tell me that...
>
> I was kidding.I read your story.... ;-)

I know you were kidding, thank you for your moral support :-)

Reply all
Reply to author
Forward
0 new messages