On Tuesday 27 February 2007 13:44, 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

The first error (where nothing happens) could be due to a field type that Dabo 
does not know how to deal with.   This was fixed sometime ago. 

The second just means you are asking for a table that does not exist.  I could 
be wrong about this - but I don't recall a table named 'spacy'.  I wonder 
where that table name came from?

I recall you asking other questions but I don't recall you providing 
information on your platform and Dabo version.  You can just 
run /daboide/ClassDesigner.py and open the "about" under the help menu to 
determine the version information, platform, etc.  

Normally, I would suggest that you start using the SVN to get the latest 
version of Dabo but the ClassDesigner is not very easy to use at the moment.  
But it can be done.  Using the lastest SVN of Dabo will fix the first error.  
So if you are not running the latest - you might consider doing so.  

-- 
John Fabiani

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users

Reply via email to