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:
> >
> > C:\PythonProjects\dabo\ide\wizards\AppWizard>python appwizard.py
> > Traceback (most recent call last):
> >    File "c:\pythonprojects\dabo\dabo\ui\uiwx\dControlMixin.py", line 27,
> > in _onWx
> > Hit
> >      self.raiseEvent(dEvents.Hit, evt, *args, **kwargs)
> >    File "c:\pythonprojects\dabo\dabo\ui\uiwx\dPemMixin.py", line 949, in
> > raiseEve
> > nt
> >      super(dPemMixin, self).raiseEvent(eventClass, nativeEvent, *args,
> > **kwargs)
> >    File "c:\pythonprojects\dabo\dabo\lib\eventMixin.py", line 93, in
> > raiseEvent
> >      bindingFunction(event)
> >    File "c:\pythonprojects\dabo\dabo\ui\dialogs\Wizard.py", line 124, in
> > onNext
> >      self.CurrentPage += pg.nextPage()
> >    File "c:\pythonprojects\dabo\dabo\ui\dialogs\Wizard.py", line 291, in
> > _setCurr
> > Page
> >      ok = self._pages[self._currentPage].onLeavePage(direction)
> >    File "appwizard.py", line 302, in onLeavePage
> >      cursor = self.Form.cursor =
> > conn.getDaboCursor(ci.getDictCursorClass()) File
> > "c:\pythonprojects\dabo\dabo\db\dConnection.py", line 67, in getDaboCurso
> > r
> >      crs = bo.getCursor(DaboCursor)
> >    File "c:\pythonprojects\dabo\dabo\db\dBackend.py", line 72, in
> > getCursor return cursorClass(self._connection)
> >    File "c:\pythonprojects\dabo\dabo\db\dConnection.py", line 64, in
> > __init__
> >      apply(cursorClass.__init__,(self,) + args, kwargs)
> >    File "c:\pythonprojects\dabo\dabo\db\dbMsSQL.py", line 46, in __init__
> >      self.super(src._cnx)
> >    File "c:\pythonprojects\dabo\dabo\lib\autosuper\autosuper.py", line
> > 457, in _g
> > etSuper
> >      return _super(cur_class, self, name)
> >    File "c:\pythonprojects\dabo\dabo\lib\autosuper\autosuper.py", line
> > 157, in __
> > init__
> >      super = builtin_super(klass, obj)
> > TypeError: super() argument 1 must be type, not classobj
>
> in dbMsSQL.py, around line 46 of __init__, comment out the self.super()
> call and replace with:
>
> print "self:", self
> print "type(self):", type(self)
> print src._cnx
> super(dbMsSQL, self).__init__(src._cnx)
>
> And let's see the entire output.
>
> Paul

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)


-- 
Adrian Klaver
akla...@comcast.net


_______________________________________________
Post Messages to: Dabo-users@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: 
http://leafe.com/archives/byMID/200909151714.20136.akla...@comcast.net

Reply via email to