main logo
Subject: [dabo-users] More on quick death of new app and traceback
Author: Steve Rose
Posted: 2006/11/30 15:17:48
 
View Entire Thread
New Search


Still trying to determine why my apps generated by the AppWizard die
quickly.
Here are the code lines from "Customer.py". Everything appears to be
o.k -- self.Caption = "Customer" looks like all ascii to me.
Couldn\'t see any strange non-ascii characters when looking at it in
Notepad either.

from Base import Base

class Customer(Base):
def initProperties(self):
self.super()
self.Caption = "Customer"
self.DataSource = "customer"
self.KeyField = "pkid"

Ditto for "Pet.py"


from Base import Base

class Pet(Base):
def initProperties(self):
Pet.doDefault()
self.Caption = "Pet"
self.DataSource = "pet"
self.KeyField = None

I ran the AppWizard on the Zipcodes table in the Webtest db and got the
exact same traceback as I did from using the Customer table. This time
I was able to use your suggestion of using Edit from the left top icon
in the command window. Thanks for that as I had completely forgotten
that little trick.

Here is the version info from about.py:

Platform: Win
Python Version: 2.4.3 on win32
Dabo Version: Version 0.7.1s; Revision 2490
UI Version: 2.6.3.3 on wxMSW

All the best,
Steve


 
©2006 Steve Rose
<-- Prior Message New Search Next Message -->