On Tuesday 27 February 2007 15:54, Uwe Grauer wrote:
> Douglas Kennedy wrote:
> > Hi Dabo Users,
> >
> > I appreciate you guys being here!
> >
> > As I watch the screencast video "dataenv1screencast" I am following
> > attempting to accomplish the same action that are described on the video.
> >
> > In display controls add Panel.
> >
> > I get as far as dividing the slut horizontally in two.
> >
> > I divide the left slot in two vertically.
> >
> > I edit sizer settings set Proportion to 0 of the left lower slot.
> >
> > In upper left slot select Add controls from data environment.
> >
> > Add from data environment screen opens.
> >
> > I select Create New connection File.
> >
> > Dabo Connection Editor: untitled screen opens.
> >
> > Select Edit Name the connection Name screen opens and I change the name
> > connection 1 to screencast click OK.
> >
> > return to Dabo Connection Editor: untitled
> >
> > update screen values as follows
> > connection screencast
> > database type MySQL
> > Host dabadev.com
> > Port 3306
> > database webtest
> > user Name webuser
> > password foxrocks
> >
> > click the test button with connection was successful then click OK.
> >
> > click save and name it screencast.
> >
> > returns to Add from data Environment screen.
> >
> > The select a connection value is still blank which is different from
> > the training video which had the value screencast.
> >
> > I select to open a connection file.
> > the screen select the connection file to use opens and I select
> > screencast.cnxml file and click the open button.
> >
> > returns to Add from Data environment screen.
> >
> > Click on the select a connection list button and now there are two
> > values sample and screencast I select screencast and click next and
> > nothing seems to happen.
> >
> > see Cmd window list 1.
> >
> > I have left this screen it in this state a long period hoping it was a
> > connection speed problem with no effect.
> >
> > Within the Cmd window this is what is displayed
> > C:\dabo-projects\projects\lc-app-001>dabo-des
> > C:\dabo-projects\projects\lc-app-001>c:\python24\python
> > c:\daboide\classdesigner.py dabo info log: tue feb 27 12;23:08 207: 1
> > database connection definition(s) loaded. dabo info log: tue feb 27
> > 12:23:08 2007: user interface already set to 'wx' so dapp didn't touch
> > it. dabo info log: tue feb 27 12:23:08 2007: wxpython version: 2.8.1.1
> > wxmsw (unicode)
> >
> > This is what happen every time I start the classdesigner.py
> >
> >
> > cmd window list 1.
> >
> > traceback (most recent call last):
> > file "c:\dabo\dabo\lib\eventmixin.py", line 97, in raiseevent
> > bindingfunction(event)
> > file "c:\dabo\dabo\ui\dialogs\wizard.py", line 124, in onnext
> > self.currentpage = pg.nextpage()
> > file "c:\daboide\wizards\quicklayoutwizard.py", line 55, in onleavepage
> > return self.wizard.makeconnection()
> > file "c:\daboide\wizards\quicklayoutwizard.py", line 730, in
> > makeconnection flds = crs.getfelds(tb)
> > file "c:\dabo\dabo\db\dcursormixin.py", line 147, in getfields
> > return self.backendobject.getfields(tablename)
> > file "c:\dabo\dabo\db\dbmysql.py", line 105, in getfields
> > tempcuror.execute("describe %s" % tablename)
> > file "c:\python24\lib\site-packages\mysqldb\cursors.py", line 163, in
> > execute self.errorhandler(self, exc, value)
> > file "c:\python24\lib\site-packages\mysqldb\connections.py", line 35, in
> > defaulterrorhandler raise errorclass, errorvalue
> > programmingerror: (1146, "table 'webtest.spacy' doesn't exist")
> >
> >
> >
> > I'll be looking for the wisdom that I am sure that will return.
> >
> > Thanks Again,
> >
> > Doug
>
> I tested it with under win2000, python 2.4.4, wxPython 2.8.1.1 unicode,
> but with the latest svn revisions.
> I first created the cnxml file, then started up Classdesigner.
> It worked.
> Did you choose the table "Spacy Name"?
> If so please get the latest svn.
> I guess you used the runtime version.
> I think the runtime contains a bug which prevents using tablenames
> containing spaces.
>
> Uwe
That would explain the "Spacy" as a table name.
Can I assume you are NOT having any trouble with SVN of ClassDesigner?
--
John Fabiani
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users