Dennis Lee Bieber wrote:
> On Sat, 25 Oct 2008 16:42:25 -0300, Ricardo Aráoz
> <[EMAIL PROTECTED]> declaimed the
> following in gmane.comp.python.dabo.user:
>
>
>
>> What am I doing wrong?
>>
> Off-hand, trying to run a wx application from within a wx
> application.
>
> PyCrust and family are, as I recall, wx applications, running with
> an event loop.
>
> Dabo is a wx application, and you are trying to create a second
> top-level event loop which is conflicting with the one used by PyCrust.
>
>
> Recommendation: maybe use IDLE or, if you have the win32 extensions
> installed (native with ActiveState install, available stand-alone),
> PythonWin to do the editing -- IDLE is a tkinter/tk app, and PythonWin
> is native windows calls; starting a wx event loop from them may not
> cause conflict.
>
> Or, what may be simpler in the end, open a command console, navigate
> to the directory of you code, and run the code (after saving from
> whatever editing environment you use) in the console. You can leave the
> editing environment up on one side, console elsewhere... edit, save,
> switch window, run, repeat ad nauseum...
Thanks for your time Dennis. Tried IDLE and....
Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit
(Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
****************************************************************
Personal firewall software may warn about the connection IDLE
makes to its subprocess using this computer's internal loopback
interface. This connection is not visible on any external
interface and no data is sent to or received from the Internet.
****************************************************************
IDLE 1.2.2
>>> import dabo
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
import dabo
File "E:\Dabo\dabo\__init__.py", line 129, in <module>
dLocalize.install("dabo")
File "E:\Dabo\dabo\dLocalize.py", line 53, in install
setLanguage(_defaultLanguage, _defaultEncoding)
File "E:\Dabo\dabo\dLocalize.py", line 73, in setLanguage
daboTranslation = gettext.translation("dabo", daboLocaleDir,
languages=lang, codeset=charset)
File "gettext.pyc", line 469, in translation
IOError: [Errno 2] No translation file found for domain: 'dabo'
>>>
But hey! I tried the command window and it worked. Thanks a lot!
_______________________________________________
Post Messages to: [email protected]
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/[EMAIL PROTECTED]