Author: MELKARTH@terra.es
Posted: 2011-05-19 at 07:02:12
Fast support! I am falling in love with Dabo.
I am using Python 2.5.4 on Vista and Win7. I've tried to adhere to same
versions of Python software in
http://wiki.dabodev.com/InstallationOnWindows, but wxPython recommended
there is too old for dPageStyle in demo, so I upgraded to version 2.8.10.1.
My OS locale is Spain (Spain, Traditional).
Version info:
Platform: Win
Python Version: 2.5.4 on win32
Dabo Version: Version 0.9.3;
Revision ~6449
UI Version: 2.8.10.1 on wxMSW (---> wxPython2.8-win32-unicode-2.8.10.1-py25.exe)
I also downloaded the Dabo Runtime Engine: same problem, info is:
Platform: Win
Python Version: 2.5.2 on win32
Dabo Version: Version 0.9.3;
Revision ~6449
UI Version: 2.8.10.1 on wxMSW
(obviously I can't see the error, no stdout in demo)
Thank You, Ed. I'm afraid my email provider of 10 years (Terra) is finally drawing to an end. I coundn't reply to your post and I had to create a new one. I will create a new account at gmail soon, sorry for the inconvenience.
melkarth
--------------------------------------------------
From: "Ed Leafe" <ed@leafe.com>
Sent: Thursday, May 19, 2011 1:00 AM
To: <MELKARTH@terra.es>; "Dabo Users list" <dabo-users@leafe.com>
Subject: Re: [dabo-users] Problem in Dabo demo
> On May 18, 2011, at 6:21 PM, MELKARTH@terra.es wrote:
>
>> Hi! I'm a total novice to Dabo and (almost) to Python.
>
> Welcome to both Dabo and Python!
>
>> I'm looking for a new tool to make backend programs, I just to use high
>> level 4GL languages, like Progress or Windev.
>> I just started to read the PyCon tutorial and play with the demo. Looks
>> great!
>>
>> My question is simple. I have seen a difference between dTextBox and
>> dEditBox: dTextBox in the demo doesn't allow me to type accented vowels
>> in it (returns an error), while dEditBox works fine. The error is:
>>
>> File "C:\Projects\dabo\demo\samples/dTextBox.py", line 56, in
>> onTextKeyChar
>> cd, ch = evt.keyCode, evt.keyChar
>> UnicodeDecodeError: 'ascii' codec can't decode byte 0xe1 in position 0:
>> ordinal not in range(128)
>>
>> I am trying to localize my apps in spanish, so it's not a lot of change,
>> but the range of chars is 256.
>> In my Python novice code I always write this line: # -*- coding:
>> latin-1 -*- (I don't know if it helps).
>
> Hmmm.. I just tried entering some accented characters in the demo, and it
> worked fine in both dTextBox and dEditBox. Can you tell me your version
> information? You can get it by running the app, selecting the Help/About
> menu item, and then clicking the Copy button. You can then paste the info
> into your reply.
>
>> I'd like to know if this little problem is difficult to -fix? (It doesn't
>> seem to me, because dEditBox is ok !).
>
> It might already be fixed - we have a few non-USA people who have been a
> great help in moving our unicode support forward.
>
>> Thanks in advance, and excuse my bad english.
>
>
> Your English is fine!
>
>
>
> -- Ed Leafe
>
>
>
--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---
_______________________________________________
Post Messages to: Dabo-users@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/24729442.859161305802932157.JavaMail.defaultUser@defaultHost