tag:blogger.com,1999:blog-8550962.post9003615794699984147..comments2016-12-06T03:20:31.133-08:00Comments on PyDev adventures: Interactive console in PydevFabio Zadroznyhttp://www.blogger.com/profile/04202246218394712738noreply@blogger.comBlogger21125tag:blogger.com,1999:blog-8550962.post-72255574879403378102011-07-19T03:54:28.722-07:002011-07-19T03:54:28.722-07:00Please enter those as feature requests ( http://so...Please enter those as feature requests ( http://sourceforge.net/tracker/?group_id=85796&amp;atid=577332 )<br /><br />Thanks,<br /><br />FabioFabio Zadroznyhttp://www.blogger.com/profile/04202246218394712738noreply@blogger.comtag:blogger.com,1999:blog-8550962.post-69325305991343255022011-07-19T03:15:42.925-07:002011-07-19T03:15:42.925-07:00PyDev is great - thank you very much for the huge ...PyDev is great - thank you very much for the huge effort.<br /><br />So far I am having to use both PyDev and Spyder, however. PyDev for the debugging and because I like and use Eclipse for Java. <br /><br />Spyder because the interactive environment is better. Most of this is down to two simple issues. In Sypder you can select a block of code in the editor, and send it to the integrated ipython browser by pressing F5 *even if indented* (i.e. automatically remove the top layer of indentation). <br /><br />PyDev won&#39;t remove the indenting, so generates a lot of IndentationError exceptions, which makes it unusable. (Also Ctrl-Alt-Enter is much more painful than F5 if you use it a lot, and F9 in Spyder to simply rerun the current program in the console is much more convenient than the mouse and window manipulation in pydev to close and rerun a previous attampt. Of course this is the same for Java on eclipse, but it is a much less frequent operation than in Python).<br /><br />I feel bad appearing to criticise a fantastic and powerful and free tool (debugging is much better than Spyder, and the single IDE for all my code and version control is fatastic)- but if you could address these issues it would be even better.MZhttp://www.blogger.com/profile/13597150924613195963noreply@blogger.comtag:blogger.com,1999:blog-8550962.post-48120818136049856352009-09-07T19:29:32.001-07:002009-09-07T19:29:32.001-07:00Nice idea, but not needed anymore.
The PyDev insta...Nice idea, but not needed anymore.<br />The PyDev installation provides a Python console.<br />From Console view, open a new console (icon upper right corner) and select Python console.<br />Bingo - you have a python command line.Ozhttp://www.blogger.com/profile/11785667159336095182noreply@blogger.comtag:blogger.com,1999:blog-8550962.post-8330132906002865202009-06-21T21:11:09.473-07:002009-06-21T21:11:09.473-07:00ok thanks, that seems to do the job. Will try it o...ok thanks, that seems to do the job. Will try it out.<br />SorenSorenhttp://www.blogger.com/profile/08633679215064240904noreply@blogger.comtag:blogger.com,1999:blog-8550962.post-87153639530950215872009-06-21T15:08:16.802-07:002009-06-21T15:08:16.802-07:00There are currently no plans to add that support t...There are currently no plans to add that support to the debugger. Note that pydev extensions has a simple console already (you can type statements to be evaluated, but it has no code-completion: http://fabioz.com/pydev/manual_adv_debug_console.html )Fabio Zadroznyhttp://www.blogger.com/profile/04202246218394712738noreply@blogger.comtag:blogger.com,1999:blog-8550962.post-70224549761718633912009-06-20T22:58:28.996-07:002009-06-20T22:58:28.996-07:00The Pydev console is great and in my opinion a mus...The Pydev console is great and in my opinion a must-have for development so many thanks for the good work put into this. I can&#39;t make it work in debug mode however - any plans to add this in?Sorenhttp://www.blogger.com/profile/08633679215064240904noreply@blogger.comtag:blogger.com,1999:blog-8550962.post-53928669780285385042009-04-18T06:55:00.000-07:002009-04-18T06:55:00.000-07:00There are no plans for the iPython integration... ...There are no plans for the iPython integration... Is there some specific feature of iPython that you're missing from the interactive console?Fabio Zadroznyhttp://www.blogger.com/profile/04202246218394712738noreply@blogger.comtag:blogger.com,1999:blog-8550962.post-22634775337498167872009-04-17T13:11:00.000-07:002009-04-17T13:11:00.000-07:00Is there any plans for IPython integration?Is there any plans for IPython integration?Gökhan SEVERhttp://www.blogger.com/profile/17112569021092421804noreply@blogger.comtag:blogger.com,1999:blog-8550962.post-53680168862445944362008-08-14T08:53:00.000-07:002008-08-14T08:53:00.000-07:00That specific bug should be already fixed in the l...That specific bug should be already fixed in the latest version in the cvs.<BR/><BR/>Cheers,<BR/><BR/>FabioFabio Zadroznyhttp://www.blogger.com/profile/04202246218394712738noreply@blogger.comtag:blogger.com,1999:blog-8550962.post-21536794204007221272008-08-14T08:38:00.000-07:002008-08-14T08:38:00.000-07:00I have the following error too:&gt;&gt;&gt; import...I have the following error too:<BR/>&gt;&gt;&gt; import sys; print &#39;%s %s&#39; % (sys.executable or sys.platform, sys.version)<BR/>Failed to read servers response: Connection refused&gt;&gt;&gt; <BR/><BR/>I&#39;m using a remote python debugger with my target. Is there any dependency on whether the target env is remote or local?<BR/><BR/>My host is ubunto 8.04 with eclipse 3.4 and pydev 1.3.18<BR/><BR/>Is there some diagnostic or tracing that I can turn on to help debug this?Brucehttp://www.blogger.com/profile/01339645048547387146noreply@blogger.comtag:blogger.com,1999:blog-8550962.post-40063677700036778502008-07-30T15:19:00.000-07:002008-07-30T15:19:00.000-07:00cannot get interactive console during debug, e.g, ...cannot get interactive console during debug, e.g, to check functions and variables, etc. The usual stuff a debugger has.<BR/><BR/>YaakovAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-8550962.post-21958216727102298562008-04-15T07:03:00.000-07:002008-04-15T07:03:00.000-07:00Can you please report that as a bug in sf?Can you please report that as a bug in sf?Fabio Zadroznyhttp://www.blogger.com/profile/04202246218394712738noreply@blogger.comtag:blogger.com,1999:blog-8550962.post-25107758696098356722008-04-15T07:00:00.000-07:002008-04-15T07:00:00.000-07:00"This seems like you have something blocking commu..."This seems like you have something blocking communication with the shell... do you have some firewall enabled?"<BR/><BR/>No, I have no firewall. I suspect some kind of race condition (it behaves like random and it has something to do with time), sometimes it works with only 2 empty lines at the beginning, sometimes not and today it worked one out of two times without an empty line at the beginning. After the prompt is there the console (CPython) works perfectly, but the Jython console won't work at all. <BR/><BR/>I have Kubuntu 7.10, Eclipse 3.3.2, PyDev 1.3.15, PyDev-Extensions deactivated because of another indeterministic problem, Hardware is an old ThinkPad-T40 (Pentium-M 1500MHz, 500MB RAM).Berndhttp://www.blogger.com/profile/16821742864074773245noreply@blogger.comtag:blogger.com,1999:blog-8550962.post-77748784100117931952008-04-09T17:36:00.000-07:002008-04-09T17:36:00.000-07:00It has just been released: http://pydev.blogspot.c...It has just been released: http://pydev.blogspot.com/2008/04/pydev-1315-released-new-interactive.html<BR/><BR/>Cheers,<BR/><BR/>FabioFabio Zadroznyhttp://www.blogger.com/profile/04202246218394712738noreply@blogger.comtag:blogger.com,1999:blog-8550962.post-51748307916260463422008-04-09T16:24:00.000-07:002008-04-09T16:24:00.000-07:00Can someone tell me how to install this test versi...Can someone tell me how to install this test version? I would love to try it out.Staciahttp://www.blogger.com/profile/06270960706515058229noreply@blogger.comtag:blogger.com,1999:blog-8550962.post-21178665074163579892008-04-09T14:15:00.000-07:002008-04-09T14:15:00.000-07:00This seems like you have something blocking commun...This seems like you have something blocking communication with the shell... do you have some firewall enabled?Fabio Zadroznyhttp://www.blogger.com/profile/04202246218394712738noreply@blogger.comtag:blogger.com,1999:blog-8550962.post-63555686560294785782008-04-09T14:08:00.000-07:002008-04-09T14:08:00.000-07:00Failed to read servers response: Connection refuse...Failed to read servers response: Connection refused>>> import sys<BR/>Failed to read servers response: Connection refused>>> print '%s %s' % (sys.executable or sys.platform, sys.version)<BR/>Failed to read servers response: Connection refused>>> <BR/><BR/>after that the console works but nothing was imported. A couple of newlines at the beginning of the initial import in the preferences seem to help, but the jython console doesn't work at all:<BR/><BR/>Failed to read servers response: Connection refused>>> import sys<BR/>Failed to read servers response: Connection refused>>> print '%s %s' % (sys.executable or sys.platform, sys.version)<BR/>Failed to read servers response: Connection refused>>> <BR/>Console already exited with value: 255 while waiting for an answer.<BR/>>>> print "foo"<BR/>Console already exited with value: 255 while waiting for an answer.<BR/>>>>Berndhttp://www.blogger.com/profile/16821742864074773245noreply@blogger.comtag:blogger.com,1999:blog-8550962.post-24268869292718631952008-03-23T16:20:00.000-07:002008-03-23T16:20:00.000-07:00You sir, are a gentleman and a scholar. I just ins...You sir, are a gentleman and a scholar. I just installed and tested PyDev for a uni project, and was thinking 'hey, this is absolutely fantastic, but I wish I didn't have to have IDLE running as well for on-the-fly experimentation'Justin Marringtonhttp://www.blogger.com/profile/06363022707419685608noreply@blogger.comtag:blogger.com,1999:blog-8550962.post-16967581519817232852008-03-21T11:33:00.000-07:002008-03-21T11:33:00.000-07:00deuce868's comment about iPython; Seconded!deuce868's comment about iPython; Seconded!Manuelhttp://www.blogger.com/profile/04878149837118503541noreply@blogger.comtag:blogger.com,1999:blog-8550962.post-10478830851983918462008-03-21T06:42:00.000-07:002008-03-21T06:42:00.000-07:00How will this compare to iPython? I've often wishe...How will this compare to iPython? I've often wished I could get iPython directly into pydev and set it up so that when I run %edit it just opens a new file right there in pydev for me, saving it runs it in the iPython console. Would be great to setup an initial setup in the project definition so that when I go to work on my Django project, the shell is setup with the paths and such I need for that. Then if I go to another project, the shell would update as well.Deuce868http://www.blogger.com/profile/18055907953855852577noreply@blogger.comtag:blogger.com,1999:blog-8550962.post-25655941103140835752008-03-20T17:16:00.000-07:002008-03-20T17:16:00.000-07:00Sweet...Sweet...Anonymousnoreply@blogger.com