Django change breaks Wing IDE

View: New views
2 Messages — Rating Filter:   Alert me  

Django change breaks Wing IDE

by Kevin Cole :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I'm running Wing IDE Pro 3.1.2-1 (rev 18362) w/ Python 2.5.2 (r252:60911)
under Ubuntu Hardy Heron.

The Django guys suggest keeping up with their SVN trunk.  So, that's what
I've been using.  It seems a change at r7888 now causes Django to misfire
when launched from Wing IDE.  Or so I theorize from the error below, and
walking backwards through Django's changesets:

http://code.djangoproject.com/changeset/7888

Now, when I start the debugger as recommended in the Wing IDE Django Howto,
I get:

NameError: global name 'error' is not defined
File ".../django/core/management/__init__.py" line 163 in _process_args
raise error

However, "python manage.py runserver" from the shell still works fine.

Any thoughts on how to fix it?

Thanks!

    ____________________________________________________________

       [This message is digitally signed with the GNU Privacy
       Guard (GPG). See http://www.gnupg.org/ for more info.]
    ____________________________________________________________

--
  Kevin Cole                 |  Key ID: 0xE6F332C7   (GPG/PGP)
  Gallaudet University       |     WWW: http://gri.gallaudet.edu/~kjcole/
  Hall Memorial Bldg  S-419  |   V/TTY: (202) 651-5135
  Washington, D.C.  20002    |     FAX: (202) 651-5746

            ". ! 1 |" -- Rene Magritte's computer



_________________________________________________
Wing IDE users list
http://wingware.com/lists/wingide

signature.asc (314 bytes) Download Attachment

Re: Django change breaks Wing IDE

by Wingware Support :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Kevin Cole wrote:

> I'm running Wing IDE Pro 3.1.2-1 (rev 18362) w/ Python 2.5.2
> (r252:60911) under Ubuntu Hardy Heron.
>
> The Django guys suggest keeping up with their SVN trunk.  So, that's
> what I've been using.  It seems a change at r7888 now causes Django to
> misfire when launched from Wing IDE.  Or so I theorize from the error
> below, and walking backwards through Django's changesets:
>
> http://code.djangoproject.com/changeset/7888
>
> Now, when I start the debugger as recommended in the Wing IDE Django Howto,
> I get:
>
> NameError: global name 'error' is not defined
> File ".../django/core/management/__init__.py" line 163 in _process_args
> raise error
>
> However, "python manage.py runserver" from the shell still works fine.
>
> Any thoughts on how to fix it?

Wing's debugger always reports NameErrors since they are usually bugs
(even if masked somehow).  You can either ignore the exception in the
Exceptions tool and continue debugging or you can go into Preferences
and remove NameError from the Debugger / Exceptions / Always Report
list.

Sorry for the confusion!

--

Stephan Deibel
Wingware | Python IDE
Advancing Software Development

www.wingware.com

_________________________________________________
Wing IDE users list
http://wingware.com/lists/wingide
LightInTheBox - Buy quality products at wholesale price