Hi all, I have a django app that works correctly from the console, but
if I try to pass the tests cases from Eclipse+PyDev I got the
following exception:

Traceback (most recent call last):
  File "C:\Users\gfuentes\workspace\AG\src\cfx\manage.py", line 19, in
<module>
    execute_manager(settings)
  File "c:\users\gfuentes\workspace\ag\lib\site-packages\django-1.3-
py2.5.egg\django\core\management\__init__.py", line 438, in
execute_manager
    utility.execute()
  File "c:\users\gfuentes\workspace\ag\lib\site-packages\django-1.3-
py2.5.egg\django\core\management\__init__.py", line 379, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "c:\users\gfuentes\workspace\ag\lib\site-packages\django-1.3-
py2.5.egg\django\core\management\base.py", line 191, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "c:\users\gfuentes\workspace\ag\lib\site-packages\django-1.3-
py2.5.egg\django\core\management\base.py", line 220, in execute
    output = self.handle(*args, **options)
  File "c:\users\gfuentes\workspace\ag\lib\site-packages\django-1.3-
py2.5.egg\django\core\management\commands\test.py", line 19, in handle
    from django.test.utils import get_runner
  File "c:\users\gfuentes\workspace\ag\lib\site-packages\django-1.3-
py2.5.egg\django\test\__init__.py", line 6, in <module>
    from django.test.testcases import TestCase, TransactionTestCase,
skipIfDBFeature, skipUnlessDBFeature
  File "c:\users\gfuentes\workspace\ag\lib\site-packages\django-1.3-
py2.5.egg\django\test\testcases.py", line 14, in <module>
    from django.test import _doctest as doctest
  File "c:\users\gfuentes\workspace\ag\lib\site-packages\django-1.3-
py2.5.egg\django\test\_doctest.py", line 104, in <module>
    import unittest, difflib, pdb, tempfile
  File "C:\sw\Python25\lib\pdb.py", line 53, in <module>
    class Pdb(bdb.Bdb, cmd.Cmd):
AttributeError: 'module' object has no attribute 'Cmd'

The django version is: 1.3
Python version: 2.5

I already checked on the Internet but without success. When I run it
from the console I use the same python installation

Do you have any ideas?
Thank you from advanced

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to