Hi, and thanks for the great work on Veusz!

I made a Tools Plugin that creates xy plots and dataset names with utf-8
symbols. This works fine if I run from source with encoding set to UTF-8 in
eclipse (Windows 7). However, it fails if I run the plugin from Veusz
installed with veusz-1.17.1.win32-py2.7.exe.

UnicodeEncodeError: 'ascii' codec can't encode character u'\u0394' in
> position 4: ordinal not in range(128)
>

I would like to distribute the Tool Plugin and Veusz to others who don't
have python installed. So I thought I could rebuild the installer using
pyinstaller-2.0 (If that was used to generate the windows installer).

I found a few pyinstaller '.spec' files on github (
https://github.com/jeremysanders/veusz) but they don't seem to work.

Can someone please build the installer for Veusz 1.17.1 with utf-8
encoding, or suggest how to get pyinstaller to work with the veusz source?

Is there another way to create the windows installer from source with
encoding set to UTF-8?

Many thanks in advance,

Paul


On Tue, May 14, 2013 at 11:02 PM, Paul Schwenn <[email protected]>wrote:

> Hi, and thanks for the great work on Veusz!
>
> I made a Tools Plugin that creates xy plots and dataset names with utf-8
> symbols. This works fine if I run from source with encoding set to UTF-8 in
> eclipse (Windows 7). However, it fails if I run the plugin from Veusz
> installed with veusz-1.17.1.win32-py2.7.exe.
>
> UnicodeEncodeError: 'ascii' codec can't encode character u'\u0394' in
>> position 4: ordinal not in range(128)
>>
>
> I would like to distribute the Tool Plugin and Veusz to others who don't
> have python installed. So I thought I could rebuild the installer using
> pyinstaller-2.0 (If that was used to generate the windows installer).
>
> I found a few pyinstaller '.spec' files on github (
> https://github.com/jeremysanders/veusz) but they don't seem to work.
>
> Can someone please build the installer for Veusz 1.17.1 with utf-8
> encoding, or suggest how to get pyinstaller to work with the veusz source?
>
> Is there another way to create the windows installer from source with
> encoding set to UTF-8?
>
> Many thanks in advance,
>
> Paul
>
_______________________________________________
Veusz-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/veusz-discuss

Répondre à