I have given the details about the installation of python, dabo and the
execution of the sample program.
Paul had asked me to run the program from the DOS prompt. I have done that I
have reported the errors below.
I hopes this helps narrow down in resolving the issue.
Rupesh
1: About python installation
----------------------------
My Python installation is in D:\Python25
I unzipped the zip file and placed the folder in D:\Python25\dabo
I entered the DOS terminal at D:\Python25 and gave the following commands:
D:\Python > path = %path%;D:\Python25;
D:\Python > CD dabo
D:\Python\dabo >python setup.py install
2: About locale directory
-------------------------
In searching for the 'locale' directory, the following paths turned up
D:\Python25\dabo\dabo\locale
D:\Python25\Lib\site-packages\Dabo-0.8.4-py2.5.egg\dabo\locale
D:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\locale
D:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\tools\Editra\locale
D:\Python25\Lib\site-packages\_spe\plugins\wxGlade\locale
D:\Python25\Lib\sqlite3\_spe\plugins\wxGlade\locale
3: About my project folder
--------------------------
My project folder is located at:
D:\Python\PYTHONdev\Dabo\HelloWorld
It contains the following files:
Hello_msgBox-code.py
Hello_msgBox.cdxml
Hello_msgBox.py
tmpe-ziai.cdxml
4: About the path (could it be causing the problem)
---------------------------------------------------
Every time In open up a DOS terminal, i have to update the path to include
D:\Python25 using the process I described in note A.
I have also included the same in autoexec.bat, but it does not help. I still
have to manually set it on opening a DOS terminal.
5: About the error I am getting running from MSDOS prompt
---------------------------------------------------------
The following command was given:
D:\Python\PYTHONdev\Dabo\HelloWorld>python Hello_msgBox.py
ERROR MESSAGE:
Dabo Info Log: Thu Oct 23 12:57:35 2008: 0 database connection definition(s)
loa
ded.
Dabo Info Log: Thu Oct 23 12:57:36 2008: User interface set to 'wx' by dApp.
Dabo Info Log: Thu Oct 23 12:57:36 2008: wxPython Version: 2.8.9.1 wxMSW
(unicod
e)
Traceback (most recent call last):
File "Hello_msgBox.py", line 22, in <module>
main()
File "Hello_msgBox.py", line 15, in main
app.start()
File "d:\python25\lib\site-packages\Dabo-0.8.4-py2.5.egg\dabo\dApp.py",
line 3
12, in start
self.setup()
File "d:\python25\lib\site-packages\Dabo-0.8.4-py2.5.egg\dabo\dApp.py",
line 2
77, in setup
self.initUIApp()
File "d:\python25\lib\site-packages\Dabo-0.8.4-py2.5.egg\dabo\dApp.py",
line 3
04, in initUIApp
self.uiApp.setup()
File
"d:\python25\lib\site-packages\Dabo-0.8.4-py2.5.egg\dabo\ui\uiwx\uiApp.py
", line 277, in setup
frm = self.dApp.MainForm = dabo.ui.createForm(mfc)
File
"d:\python25\lib\site-packages\Dabo-0.8.4-py2.5.egg\dabo\ui\uiwx\__init__
.py", line 1073, in createForm
cls = conv.classFromXml(srcFile)
File
"d:\python25\lib\site-packages\Dabo-0.8.4-py2.5.egg\dabo\lib\DesignerXmlC
onverter.py", line 72, in classFromXml
compClass = compile(self.classText, self._classFileName, "exec")
File "c:\docume~1\rupesh\locals~1\temp\tmp4rfk23.py", line 101
dabo.ui.info("Hello World", title "I say")
^
SyntaxError: invalid syntax
D:\Python\PYTHONdev\Dabo\HelloWorld>
----- Original Message -----
From: "Ed Leafe" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "Dabo Users list" <[email protected]>
Sent: Thursday, October 23, 2008 9:25 AM
Subject: Re: [dabo-users] No translation file found for domain: 'dabo'
> On Oct 22, 2008, at 10:43 PM, <[EMAIL PROTECTED]>
> <[EMAIL PROTECTED]
> > wrote:
>
>> IOError: [Errno 2] No translation file found for domain: 'dabo'
>>
>> My Setup:
>> ---------
>> Windows XP SP2 (32 Bit)
>> Python 2.5.2
>> wxPython 2.8.9.1
>> Dabo 0.8.4
>
> How did you install Dabo? This error means that Python can't find the
> 'locale' directory that should be installed in the main 'dabo' directory.
>
>
> -- Ed Leafe
>
>
>
--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---
_______________________________________________
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]