Could you be a little more specific to how you got it working?
I've got:
C:\Python24\Lib\site-packages\twisted
under System PYTHONPATH
and 'twisted' is now listed for the forced built-in
Do I have to 'twisted\internet' to get reactor working? That could take ALOT
of work for all the modules =P
There is ALOT more auto-completing now, but I still can't get it to
recognized reactor.run()
On 2/9/07, Patrick Smith <[EMAIL PROTECTED]> wrote:
Awesome.
Fabio - I read what you said and added twisted to the System
PYTHONPATH and to the list of Forced builtin libs. Code completion now
works for the example Chris sent. Give it a second try, Chris!
I'll have to try doing the same for the zope code that I am using. The
only problem is that I like to have that code in a Project in eclipse
so I can easily browse it. I don't I can have it as both a project and
a builtin lib. Any thoughts on how to get around this?
Thanks,
Patrick Smith
http://www.openengagement.com
On 2/9/07, Chris Hengge <[EMAIL PROTECTED]> wrote:
> You lost me on this, but thank you for putting the time and effort into
> atleast finding information that makes sense to the developer. :)
>
> Problem or not, I've been very happy learning Python using Pydev. So
much
> infact that I bought the extensions license to hopefully help fund
further
> development and maybe a pizza for the creator =P
>
>
> On 2/9/07, Patrick Smith <[EMAIL PROTECTED]> wrote:
> > I just gave your test module a try and got the following:
> >
> > "Undefined variable from import: run"
> >
> > Looking into the twisted code (for the first time ever - I just
> > happened to have it installed for pretty much no reason) I see that
> > there is not much at all installed in reactor.py. It seems to me that
> > everything that you are expecting to be there is dynamically put there
> > via:
> >
> > selectreactor.install()
> >
> > I notice that run() part of IReactorCore but it is not clear to me how
> > that gets hooked up to twisted.internet.reactor but I'll assume that
> > it does via the above magic.
> >
> > Pydev is seeing the content of reactor that I expect it to see i.e.
> > code completion works for sys and selectreactor. Keep in mind that I
> > am not sure which version of twisted I am looking at here. It's at
> > least a few months stale.
> >
> > I personally work with the zope/plone stack and have found similar
issues.
> >
> > Fabio - It looks like the code completion is dependent on static
> > analysis and as a result pydev is not aware of dynamic additions to a
> > module. Is this a limitation to the awareness that pydev has?
> >
> >
> > Thanks,
> > Patrick Smith
> > http://www.openengagement.com
> >
> > On 2/9/07, Chris Hengge <[EMAIL PROTECTED]> wrote:
> > > Tried that. I've also tried this on two different machines.
> > >
> > > Just a simple test code
> > >
> > > TestProj
> > > -/src
> > > -test.py
> > >
> > >
> #####################################################################
> > > from twisted.internet import reactor
> > > # autocompletes .internet
> > > reactor.run()
> > > # says the above is an error / missing most of exposed methods and
> objects
> > >
> #####################################################################
> > > On 2/9/07, Fabio Zadrozny < [EMAIL PROTECTED]> wrote:
> > > >
> > > >
> > > >
> > > > On 2/9/07, Chris Hengge < [EMAIL PROTECTED]> wrote:
> > > > > I verified that I'm setup correctly to my knowledge
> > > > > -/Project
> > > > > --------/src
> > > > > -------------/myfilethatdoesn'tautocompleteTwisted.py
> > > > >
> > > > > the /src was added to the path automatically when I made the new
> dummy
> > > project, but I verified it anyways.
> > > > >
> > > > > The project is only one file is size, it's nothing more then a
basic
> > > chapter lesson from the Twisted Networking Essentials book. (chpt 2)
> > > Anyways, I included the code because very basic stuff like
reactor.stop
> ()
> > > and reactor.run() are registering as wrong.. It actually has a few
> methods
> > > or whatever there is autocomplete, but it's like the list is far
from
> > > complete.
> > > > >
> > > > > Any further idea's? Thanks.
> > > > >
> > > >
> > > > Try putting 'twisted' in the 'forced builtins' (details on
> > > http://www.fabioz.com/pydev/manual_101_interpreter.html
> )
> > > >
> > > > Cheers,
> > > >
> > > > Fabio
> > > >
> > > >
> > >
>
-------------------------------------------------------------------------
> > > > Using Tomcat but need to do more? Need to support web services,
> security?
> > > > Get stuff done quickly with pre-integrated technology to make your
job
> > > easier.
> > > > Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> > > >
> > >
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > > > _______________________________________________
> > > > Pydev-users mailing list
> > > > Pydev-users@lists.sourceforge.net
> > > >
> https://lists.sourceforge.net/lists/listinfo/pydev-users
> > > >
> > > >
> > >
> > >
> > >
>
-------------------------------------------------------------------------
> > > Using Tomcat but need to do more? Need to support web services,
> security?
> > > Get stuff done quickly with pre-integrated technology to make your
job
> > > easier.
> > > Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> > >
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > > _______________________________________________
> > > Pydev-users mailing list
> > > Pydev-users@lists.sourceforge.net
> > >
> https://lists.sourceforge.net/lists/listinfo/pydev-users
> > >
> > >
> >
> >
>
-------------------------------------------------------------------------
> > Using Tomcat but need to do more? Need to support web services,
security?
> > Get stuff done quickly with pre-integrated technology to make your job
> easier.
> > Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
> >
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > _______________________________________________
> > Pydev-users mailing list
> > Pydev-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/pydev-users
> >
>
>
>
-------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services,
security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier.
> Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Pydev-users mailing list
> Pydev-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pydev-users
>
>
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users