Hi Andornaut,
I've just fixed it and it should be available in the nightly build (please
grab it and see if it works for you).
Cheers,
Fabio
On Mon, Apr 9, 2012 at 2:46 PM, Andornaut <andorn...@gmail.com> wrote:
> Hi Fabio,
>
> One of your changes to support django 1.4 autoreload does not work on
> non-windows systems.
>
> pydevd.py#1167:
>
> popen = subprocess.Popen(args, env=new_environ,
> creationflags=subprocess.CREATE_NEW_CONSOLE)
>
> But, subprocess.CREATE_NEW_CONSOLE does not exist on Linux. See python
> 2.7 subprocess.py#443:
>
> if mswindows:
> from _subprocess import (CREATE_NEW_CONSOLE ...
>
> This causes:
>
> File
> "/home/user/.eclipse/org.eclipse.platform_3.7.0_1473617060/plugins/org.python.pydev.debug_2.5.0.2012040618/pysrc/pydevd.py",
> line 1167, in restart_with_reloader
>
> AttributeError: 'module' object has no attribute 'CREATE_NEW_CONSOLE'
>
> Also, please note the typo in the release Highlights, the function
> name should be "patch_django_autoreload()" not
> "patch_django_auto_reload()".
>
> Thanks.
>
> On Fri, Apr 6, 2012 at 2:37 PM, Fabio Zadrozny <fabi...@gmail.com> wrote:
> > Hi All,
> >
> > PyDev 2.5.0 has been released
> >
> > Details on PyDev: http://pydev.org
> > Details on its development: http://pydev.blogspot.com
> >
> > Release Highlights:
> > -------------------------------
> >
> >
> > Django:
> >
> > Project wizard now properly supports Django 1.4.
> >
> > Django with auto-reload:
> >
> > pydevd.patch_django_auto_reload() now properly patches Django 1.4 for
> > the remote debugger.
> > pydevd.patch_django_auto_reload() now patches the Django reload to
> show
> > a console out of Eclipse so that Ctrl+C can be used.
> > Created code template to pydevd.patch_django_auto_reload().
> >
> > Interactive Console:
> >
> > The interactive console may be attached to the variables view (patch
> > from Jonah Graham). See:
> > http://pydev.org/manual_adv_interactive_console.html for details.
> > Drag and Drop may be used to drag code from the editor to the
> > interactive console (patch from Jonah Graham).
> > When starting an interactive console, a link to configure the
> > preferences is shown in the dialog.
> >
> > Code formatter:
> >
> > Multi-lines may be right-trimmed (patch from Haw-Bin Chai) -- option
> > must be enabled in the code-formatting settings.
> > Fixed issue where the auto code-formatting would end up formatting
> > strings as regular code when the "format only changed lines" setting was
> on.
> >
> > Others:
> >
> > pydevd.settrace() template now adds the debugger to the PYTHONPATH
> > before actually doing the settrace().
> > ${pydevd_file_location} and ${pydevd_dir_location} variables were
> added
> > to the templates.
> > The style of generated docstrings (EpyDoc or Sphinx) may be chosen in
> > the preferences (patch from Paul Collins).
> > Some performance improvements were done on the parser.
> >
> > Aside from the features above, lots of bugs were fixed in this release
> > (including a deadlock in a race condition).
> >
> >
> > What is PyDev?
> > ---------------------------
> >
> > PyDev is a plugin that enables users to use Eclipse for Python, Jython
> and
> > IronPython development -- making Eclipse a first class Python IDE -- It
> > comes with many goodies such as code completion, syntax highlighting,
> syntax
> > analysis, refactor, debug and many others.
> >
> >
> > Cheers,
> >
> > --
> > Fabio Zadrozny
> > ------------------------------------------------------
> > Software Developer
> >
> > Appcelerator
> > http://appcelerator.com/
> >
> > Aptana
> > http://aptana.com/
> >
> > PyDev - Python Development Environment for Eclipse
> > http://pydev.org
> > http://pydev.blogspot.com
> >
> >
> ------------------------------------------------------------------------------
> > For Developers, A Lot Can Happen In A Second.
> > Boundary is the first to Know...and Tell You.
> > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
> > http://p.sf.net/sfu/Boundary-d2dvs2
> > _______________________________________________
> > pydev-code mailing list
> > pydev-code@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/pydev-code
> >
>
>
> ------------------------------------------------------------------------------
> For Developers, A Lot Can Happen In A Second.
> Boundary is the first to Know...and Tell You.
> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
> http://p.sf.net/sfu/Boundary-d2dvs2
> _______________________________________________
> pydev-code mailing list
> pydev-code@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pydev-code
>
------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
pydev-code mailing list
pydev-code@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-code