Re: [dabo-users] AppWizard Irregularity

2009-09-15 Thread Jeff Johnson
C:\PythonProjects\dabo\ide\wizards\AppWizardpython appwizard.py Traceback (most recent call last): File appwizard.py, line 305, in onLeavePage tables = cursor.getTables() File C:\PythonProjects\dabo\dabo\db\dCursorMixin.py, line 1932, in getTables return

Re: [dabo-users] AppWizard Irregularity

2009-09-15 Thread Ed Leafe
On Sep 15, 2009, at 8:51 AM, Jeff Johnson wrote: DBQueryException: pymssqlCnx instance has no attribute 'errmsg' Is this *after* commenting out the lines I mentioned? -- Ed Leafe ___ Post Messages to: Dabo-users@leafe.com Subscription

Re: [dabo-users] AppWizard Irregularity

2009-09-15 Thread Jeff Johnson
Ed: Yes. Sorry I did not make that clear. Ed Leafe wrote: On Sep 15, 2009, at 8:51 AM, Jeff Johnson wrote: DBQueryException: pymssqlCnx instance has no attribute 'errmsg' Is this *after* commenting out the lines I mentioned? -- Ed Leafe -- Jeff Jeff Johnson

Re: [dabo-users] Choice of Database (was: Design Question)

2009-09-15 Thread Henning Hraban Ramm
Am 2009-09-15 um 01:41 schrieb Adrian Klaver: For version 8.4 it is not a requirement that it run under C locale. See section 22.2.2. Setting the Character Set for some examples. The LC_CTYPE and LC_COLLATE can be set for each database. You are correct that for 8.3- the LC_CTYPE is

Re: [dabo-users] AppWizard Irregularity

2009-09-15 Thread Jeff Johnson
Ed: I had a problem with interference from the egg. I reinstalled Dabo and ran the appwizard with lines 295 and 296 commented out and here is the traceback: C:\PythonProjects\dabo\ide\wizards\AppWizardpython appwizard.py Traceback (most recent call last): File

Re: [dabo-users] AppWizard Irregularity

2009-09-15 Thread John
On Monday 14 September 2009 05:52:32 pm Jeff Johnson wrote: Ed: For background on this, I created an app with the appwizard using PostgreSQL and was using the command window to create a connection to the MsSQL database with no problems. I wanted some code from an app built on the MsSQL

Re: [dabo-users] AppWizard Irregularity

2009-09-15 Thread Jeff Johnson
John: Yes. In order to comment out the lines Ed mentioned I had to get a Dabo pymssql.py. John wrote: On Monday 14 September 2009 05:52:32 pm Jeff Johnson wrote: Ed: For background on this, I created an app with the appwizard using PostgreSQL and was using the command window to create a

Re: [dabo-users] AppWizard Irregularity

2009-09-15 Thread John
On Tuesday 15 September 2009 01:56:02 pm Jeff Johnson wrote: John: Yes. In order to comment out the lines Ed mentioned I had to get a Dabo pymssql.py. The error appears to be with code that has worked for a very long time. There has to be something different. I'm just wondering where/what

Re: [dabo-users] AppWizard Irregularity

2009-09-15 Thread Jeff Johnson
John: Could not make connection to database with no traceback. John wrote: On Tuesday 15 September 2009 01:56:02 pm Jeff Johnson wrote: John: Yes. In order to comment out the lines Ed mentioned I had to get a Dabo pymssql.py. The error appears to be with code that has worked for a

Re: [dabo-users] AppWizard Irregularity

2009-09-15 Thread Adrian Klaver
On Tuesday 15 September 2009 3:24:44 pm Jeff Johnson wrote: John: Could not make connection to database with no traceback. Seemed to me from your first report that the connection did not have the name of the database. This looks like one of those step by step things. 1) Can you make a

Re: [dabo-users] AppWizard Irregularity

2009-09-15 Thread Paul McNett
Jeff Johnson wrote: Ed: I had a problem with interference from the egg. I reinstalled Dabo and ran the appwizard with lines 295 and 296 commented out and here is the traceback: C:\PythonProjects\dabo\ide\wizards\AppWizardpython appwizard.py Traceback (most recent call last): File

Re: [dabo-users] AppWizard Irregularity

2009-09-15 Thread Jeff Johnson
Paul: Here are the results: C:\PythonProjects\dabo\ide\wizards\AppWizardpython appwizard.py self: dabo.db.dConnection.DaboCursor (baseclass dabo.db.dConnection.DaboCursor, id:55169104) type(self): class 'dabo.db.dConnection.DaboCursor' Traceback (most recent call last): File

Re: [dabo-users] AppWizard Irregularity

2009-09-15 Thread Jeff Johnson
Adrian: See in line notes below: Adrian Klaver wrote: On Tuesday 15 September 2009 3:24:44 pm Jeff Johnson wrote: John: Could not make connection to database with no traceback. Seemed to me from your first report that the connection did not have the name of the database. This looks

Re: [dabo-users] AppWizard Irregularity

2009-09-15 Thread Paul McNett
Jeff Johnson wrote: AttributeError: pymssqlCnx instance has no attribute '_cnx' Okay, this is likely the root cause of the problems. Ed, why would src._cnx not be defined? Paul ___ Post Messages to: Dabo-users@leafe.com Subscription Maintenance:

Re: [dabo-users] AppWizard Irregularity

2009-09-15 Thread Adrian Klaver
On Tuesday 15 September 2009 4:07:15 pm Jeff Johnson wrote: Adrian: See in line notes below: Adrian Klaver wrote: On Tuesday 15 September 2009 3:24:44 pm Jeff Johnson wrote: John: Could not make connection to database with no traceback. Seemed to me from your first report that the

Re: [dabo-users] AppWizard Irregularity

2009-09-15 Thread Jeff Johnson
Adrian Klaver wrote: On Tuesday 15 September 2009 4:07:15 pm Jeff Johnson wrote: 3) How are passing the connection information into your hand coded app ? app.dbConnection = app.getConnectionByName(SanDC MsSQL) Is there a app.addConnectFile() somewhere before this? This works fine. I

Re: [dabo-users] AppWizard Irregularity

2009-09-15 Thread John
On Tuesday 15 September 2009 04:26:35 pm Jeff Johnson wrote: Adrian Klaver wrote: On Tuesday 15 September 2009 4:07:15 pm Jeff Johnson wrote: 3) How are passing the connection information into your hand coded app ? app.dbConnection = app.getConnectionByName(SanDC MsSQL) Is there a

Re: [dabo-users] AppWizard Irregularity

2009-09-15 Thread Adrian Klaver
On Tuesday 15 September 2009 3:35:41 pm Paul McNett wrote: Jeff Johnson wrote: Ed: I had a problem with interference from the egg. I reinstalled Dabo and ran the appwizard with lines 295 and 296 commented out and here is the traceback:

Re: [dabo-users] AppWizard Irregularity

2009-09-15 Thread Ed Leafe
On Sep 15, 2009, at 6:01 PM, Paul McNett wrote: AttributeError: pymssqlCnx instance has no attribute '_cnx' Okay, this is likely the root cause of the problems. Ed, why would src._cnx not be defined? Because the code was never fully tested? ;-) Here's the method in

[dabo-users] Sizers issue and question

2009-09-15 Thread Ricardo Aráoz
I have a dLabel inside a BorderSizer whose caption gets changed as I move through a grid. But the sizer does not change size accordingly, it does so if I change the size of the form just a tiny bit. Is this a bug or should I send some message to the sizer? This same Border Sizer has a Caption

Re: [dabo-users] AppWizard Irregularity

2009-09-15 Thread Adrian Klaver
On Tuesday 15 September 2009 5:14:19 pm Adrian Klaver wrote: On Tuesday 15 September 2009 3:35:41 pm Paul McNett wrote: Just out of curiosity what is the file date on your version of dbMsSQL.py ? I am not seeing a self.super() in my version (2009-04-15 04:03 dbMsSQL.py) Just realized I was

Re: [dabo-users] AppWizard Irregularity

2009-09-15 Thread Adrian Klaver
On Tuesday 15 September 2009 5:29:41 pm Adrian Klaver wrote: On Tuesday 15 September 2009 5:14:19 pm Adrian Klaver wrote: On Tuesday 15 September 2009 3:35:41 pm Paul McNett wrote: Just out of curiosity what is the file date on your version of dbMsSQL.py ? I am not seeing a self.super()

Re: [dabo-users] Sizers issue and question

2009-09-15 Thread Ed Leafe
On Sep 15, 2009, at 7:20 PM, Ricardo Aráoz wrote: I have a dLabel inside a BorderSizer whose caption gets changed as I move through a grid. But the sizer does not change size accordingly, it does so if I change the size of the form just a tiny bit. Is this a bug or should I send some

Re: [dabo-users] AppWizard Irregularity

2009-09-15 Thread Jeff Johnson
Thank Ed - and Paul and John and Adrian: I will get into this tomorrow and follow it through. The only time it fails is when it tries to gather all of the tables in the class designer or the app wizard. I have no problems with the connection or accessing the connection in code. Thanks for

Re: [dabo-users] Sizers issue and question

2009-09-15 Thread Ricardo Aráoz
Ed Leafe wrote: On Sep 15, 2009, at 7:20 PM, Ricardo Aráoz wrote: I have a dLabel inside a BorderSizer whose caption gets changed as I move through a grid. But the sizer does not change size accordingly, it does so if I change the size of the form just a tiny bit. Is this a bug or

Re: [dabo-users] Sizers issue and question

2009-09-15 Thread Ed Leafe
On Sep 15, 2009, at 9:40 PM, Ricardo Aráoz wrote: The sizer is used to put a box around a dLabel, but this dLabel's caption is changed as the user navigates through a grid. Sometimes the length of the caption is not enough to show the Border Sizer's caption and I wished to avoid that. I will

Re: [dabo-users] Sizers issue and question

2009-09-15 Thread Paul McNett
Ricardo Aráoz wrote: The sizer is used to put a box around a dLabel, but this dLabel's caption is changed as the user navigates through a grid. Sometimes the length of the caption is not enough to show the Border Sizer's caption and I wished to avoid that. I will probably have to pad the