Ed Leafe wrote:
On Jan 10, 2006, at 9:37 PM, Don Taylor wrote:
No it does not, and the path to the program being tested does not
appear in the sys.path. It looks like it runs in the context of the
directory that the Designer is in because daboide is in sys.path.
Let me know how the recent commit handles your setup. I tried to
repro it as closely as possible, and it's running fine now.
Ed:
I am getting syntax errors now:
Dabo Info Log: Wed Jan 11 19:29:14 2006: 1 database connection
definition(s) loa
ded.
Dabo Info Log: Wed Jan 11 19:29:14 2006: User interface already set to
'wx', so
dApp didn't touch it.
Dabo Info Log: Wed Jan 11 19:29:14 2006: wxPython Version: 2.6.1.0 wxMSW
(ascii)
Dabo Error Log: Wed Jan 11 20:49:59 2006: Method 'onActivate' of object
'dForm'
has the following error: invalid syntax (, line 1)
Dabo Error Log: Wed Jan 11 20:50:07 2006: Method 'onHit' of object
'dButton' has
the following error: invalid syntax (, line 1)
Dabo Error Log: Wed Jan 11 20:50:07 2006: Method 'onActivate' of object
'dForm'
has the following error: invalid syntax (, line 1)
Dabo Error Log: Wed Jan 11 20:50:07 2006: Method 'onHit' of object
'dButton' has
the following error: invalid syntax (, line 1)
Dabo Error Log: Wed Jan 11 20:52:02 2006: Method 'onHit' of object
'dButton' has
the following error: invalid syntax (, line 1)
Dabo Error Log: Wed Jan 11 20:52:10 2006: Method 'onHit' of object
'dButton' has
the following error: invalid syntax (, line 1)
Dabo Error Log: Wed Jan 11 20:52:10 2006: Method 'onActivate' of object
'dForm'
has the following error: invalid syntax (, line 1)
Dabo Error Log: Wed Jan 11 20:52:10 2006: Method 'onHit' of object
'dButton' has
the following error: invalid syntax (, line 1)
Dabo Error Log: Wed Jan 11 21:25:53 2006: Method 'onHit' of object
'dButton' has
the following error: invalid syntax (, line 1)
I have attached the various bits and pieces,
Don.
def printme(str):
print str
import dabo
def main():
app = dabo.dApp()
app.MainFormClass = "test2.cdxml"
app.start()
if __name__ == '__main__':
main()
--- StripMime Report -- processed MIME parts ---
multipart/mixed
text/plain (text body -- kept)
text/plain (text body -- kept)
text/xml
text/plain (text body -- kept)
---
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users