[Zope] Product CalendarTag on zope2.13.19
Giampiero Benvenuti
giampiero.benvenuti at chiaroscuro.com
Wed Mar 27 17:40:41 UTC 2013
Thanks so much for your tips!
I'm running out right now.
I'll be testing and reporting tomorrow.
Giampiero
On Mar 27, 2013, at 17:56 44, Tres Seaver wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 03/27/2013 11:44 AM, Giampiero Benvenuti wrote:
>> Hello!
>>
>> I'm running a zope2.13.19 instance on my mac. I intstalled the product
>> Calendar version 1.0.19
>>
>> I adjusted the file __init__.py
>>
>> Change the line:
>>
>> from ImageFile import ImageFile
>>
>> with:
>>
>> from App.ImageFile import ImageFile
>>
>> so far so good.
>>
>> Still, one problem is this type of error:
>>
>> SyntaxError: Non-ASCII character '\xf1' in file
>> /Applications/zope21319/Products/Calendar/CalendarTag.py on line 139,
>> but no encoding declared;
>>
>> Is pointing to lines containing non ASCII character such as this one:
>>
>> 'pl':
>> ('StyczeÒ','Luty','Marzec','KwiecieÒ','Maj','Czerwiec','Lipiec','SierpieÒ','WrzesieÒ','Paºdziernik','Listopad','GrudzieÒ')
>>
>> What is the best way to take care of this issue? Of course, the
>> fastest is to get rid of some languages... not good.
>>
>> It could be nice to release a complete working version of the
>> product.
>>
>> Please give me some hints.
>
> You could add the encoding at the top of the Python module. See PEP 263:
>
> http://www.python.org/dev/peps/pep-0263/
>
>
>
> Tres.
> - --
> ===================================================================
> Tres Seaver +1 540-429-0999 tseaver at palladion.com
> Palladion Software "Excellence by Design" http://palladion.com
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
> Comment: Using GnuPG with undefined - http://www.enigmail.net/
>
> iEYEARECAAYFAlFTJMwACgkQ+gerLs4ltQ6sugCeNDKMadJOIa1IlmdoIvIImO+4
> +FcAnAzX7dZrorjmoJCmSvBYV4U+a7mH
> =hmSL
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Zope maillist - Zope at zope.org
> https://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> https://mail.zope.org/mailman/listinfo/zope-announce
> https://mail.zope.org/mailman/listinfo/zope-dev )
More information about the Zope
mailing list