[Twisted-Python] importing twisted modules from my source tree

Ricardo Niederberger Cabral nieder at mail.ru
Fri Oct 24 02:47:36 EDT 2003


* Jp Calderone <exarkun at intarweb.us> [2003-10-24 03:14]:
> On Thu, Oct 23, 2003 at 10:59:10PM +0000, Ricardo Niederberger Cabral wrote:
> > 
> > But i get the following error when running my app (which eventually
> > imports imgClient, who by it's turn eventually imports reactor from
> > twisted.internet):
> > 
> > Traceback (most recent call last):
> >   File "./isnLib/net/imgClient.py", line 68, in connect
> >     reactor.connectTCP(self.addr, self.port, factory)
> > AttributeError: 'module' object has no attribute 'connectTCP'
> 
>   How is your app launched?  (I checked out the CVS, but couldn't find the
> main entry point, so I couldn't reproduce the above exception).
> 

You can run a server with "./imgSeekNet -s" from the root folder, but
you'd first need to do a "python setup.py build" and then copy
build/lib-foo/isnLib/img/_imgdb.so to isnLib/img/). And building it
requires wxWindows dev stuff.

Thanks and best regards,
-- 
rnc <nieder|at|mail.ru>




More information about the Twisted-Python mailing list