durusmail: quixote-users: help
help
help
Mark Bucciarelli
2003-07-02
On Wednesday 02 July 2003 3:10 pm, Neil Schemenauer wrote:
> On Wed, Jul 02, 2003 at 02:38:42PM -0400, Mark Bucciarelli wrote:
[...]
> > TypeError: session not an instance of  > realtime.realtime_server.DemoSession at 0x83328c4>:  > at 82d3954: 571be1b576956b3f>

> I suspect you are using relative imports

relative == "from this import that"?

> and ending up with two DemoSession classes.

I did find another file that contained that class.  Thanks for the
tip.

> If you are curious, you could try adding:
>
>     for k, v in sys.modules.items():
>         print k, getattr(v, '__file__', None)

I'll try this if the problem continues.

Mark

reply