super() argument 1 must be type, not None

2009-12-21 Thread TiNo
ince a while (don't know since when, don't know what changed, can't find anything suspicious in hg log...) "super() argument 1 must be type, not None". When I run with pdb.set_trace as the first line of the save method in the dev server, I can see that Lid is indeed None. W

Re: super() argument 1 must be type, not None

2009-12-21 Thread Kieran Brownlees
don't know what > changed, can't find anything suspicious in hg log...) "super() argument 1 > must be type, not None". When I run with pdb.set_trace as the first line of > the save method in the dev server, I can see that Lid is indeed None. What > is surprising is th

Re: super() argument 1 must be type, not None

2009-12-21 Thread TiNo
On Tue, Dec 22, 2009 at 00:19, Kieran Brownlees wrote: > Have you restarted your server lately? I find that bug turns up from > time to time when the auto reloader doesn't reload properly. > Yep. Also tried in the dev server as mentioned... -- You received this message because you are subscribe

Re: super() argument 1 must be type, not None

2009-12-23 Thread TiNo
a while (don't know since when, don't know what changed, can't find anything suspicious in hg log...) "super() argument 1 must be type, not None". When I run with pdb.set_trace as the first line of the save method in the dev server, I can see that Lid is indeed None. What is sur

Re: super() argument 1 must be type, not None

2009-12-23 Thread Bill Freeman
on't know since when, don't know what >> changed, can't find anything suspicious in hg log...) "super() argument 1 >> must be type, not None". When I run with pdb.set_trace as the first line of >> the save method in the dev server, I can see that Lid is i

Re: super() argument 1 must be type, not None

2009-12-23 Thread TiNo
On Wed, Dec 23, 2009 at 16:53, Bill Freeman wrote: > Are you sure that Lid is defined in this context? Try putting: > > import pdb;pdb.set_trace() > > before the super and check. > As I described, I checked that. The strange thing is, that it is defined as ``None``. As are all other imports, as

Re: super() argument 1 must be type, not None

2009-12-23 Thread Doug Blank
On Wed, Dec 23, 2009 at 11:15 AM, TiNo wrote: > On Wed, Dec 23, 2009 at 16:53, Bill Freeman wrote: >> >> Are you sure that Lid is defined in this context?  Try putting: >> >> import pdb;pdb.set_trace() >> >> before the super and check. > > As I described, I checked that. The strange thing is, tha

Re: super() argument 1 must be type, not None

2009-12-23 Thread Hanne Moa
2009/12/22 TiNo : > /../ for some reason it throws the > following error since a while (don't know since when, don't know what > changed, can't find anything suspicious in hg log...) "super() argument 1 > must be type, not None". When I run with pdb.set_

Re: super() argument 1 must be type, not None

2009-12-23 Thread TiNo
On Wed, Dec 23, 2009 at 17:31, Doug Blank wrote: > Perhaps this is a cyclic Python import issue. I think Python will go > through a file twice, the first time getting names into the scope, and > then a second time to fill in the details. Perhaps you are still in > the middle of importing when you