By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,208 Members | 1,592 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,208 IT Pros & Developers. It's quick & easy.

py2exe Python2.4 and "warning: string/unicode conversion"

P: n/a
Hello All,

I'm shipping an application using py2exe.
With Python2.3 it worked fine but when switching to Python2.4 I started
getting "warning: string/unicode conversion" all over the place.

Any ideas how to solve this (other than using 'filterwarnings')?

Thanks.

Bye.
--
------------------------------------------------------------------------
Miki Tebeka <mi*********@zoran.com>
http://tebeka.bizhat.com
The only difference between children and adults is the price of the toys

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Cygwin)

iD8DBQFCLVxX8jAdENsUuJsRArWQAJ9jpw1dd1mbRJ2AmxaBGp jITDrV4ACfcc0R
u6SbCoDvfU0iQSEOpzgaPfc=
=VMVh
-----END PGP SIGNATURE-----

Jul 18 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Miki Tebeka wrote:
I'm shipping an application using py2exe.
With Python2.3 it worked fine but when switching to Python2.4 I started
getting "warning: string/unicode conversion" all over the place.

Any ideas how to solve this (other than using 'filterwarnings')?


It is really surprising that you get this, as the only occurrence of
the string "string/unicode conversion" in Python was *removed* in
Python 2.4. It was present in 2.3, and occurred if strtoul returned
an overflow error.

Are you sure you are using Python 2.4?

Regards,
Martin
Jul 18 '05 #2

P: n/a
Hello "Martin,
> I'm shipping an application using py2exe.
With Python2.3 it worked fine but when switching to Python2.4 I started
getting "warning: string/unicode conversion" all over the place.

Any ideas how to solve this (other than using 'filterwarnings')?


It is really surprising that you get this, as the only occurrence of
the string "string/unicode conversion" in Python was *removed* in
Python 2.4. It was present in 2.3, and occurred if strtoul returned
an overflow error.

Are you sure you are using Python 2.4?

<sigh> Found out that one of the extension modules was compiled with 2.3 </sigh>
Thanks Martin.

Bye.
--
------------------------------------------------------------------------
Miki Tebeka <mi*********@zoran.com>
http://tebeka.bizhat.com
The only difference between children and adults is the price of the toys

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Cygwin)

iD8DBQFCLt1+8jAdENsUuJsRAuufAJ0WFZIaI1rC8q47K8f9n/mFHJrjLgCdGEos
r89fbYx/PnODBm6rsBwTZxk=
=9Upu
-----END PGP SIGNATURE-----

Jul 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.