[wingide-users] "Global name 'error' is not defined" after upgrading to Django 1.0

Filip Ristic merjadok at gmail.com
Fri Sep 12 11:50:53 MDT 2008


Hello,

I am having strange issues with latest WingIDE Personal and Django
1.0. Two days ago, I updated Django to 1.0 version (previously I was
using 0.97 SVN version), and now when I try to debug my project I am
getting following error:

NameError: Global name 'error' is not defined
File "d:\Python\projects\Hostel\hostel\manage.py", line 11, in <module>
  execute_manager(settings)
File "C:\Python25\Lib\site-packages\django\core\management\__init__.py",
line 340, in execute_manager
  utility.execute()
File "C:\Python25\Lib\site-packages\django\core\management\__init__.py",
line 268, in execute
  options, args = parser.parse_args(self.argv)
File "C:\Python25\Lib\optparse.py", line 1378, in parse_args
  stop = self._process_args(largs, rargs, values)
File "C:\Python25\Lib\site-packages\django\core\management\__init__.py",
line 210, in _process_args
  raise error

I must say that everything worked well before. Also, I first suspected
that this was Django-related issue, but when I run this command from
console, server starts without problems:

python manage.py startserver --noreload

Thanks in advance,
Filip Ristic


More information about the wingide-users mailing list