Hi, we are using jenkins to build our django stack, we changed the django version from 1.4.3 to 1.4.4. this results in a
ImportError: Bad magic number in /x86build/dpp/opt/django-auth-venv/lib/python2.5/site-packages/django/contrib/sessions/management/__init__.pyc Even deleting all pyc files does not solve the problem. We are using python 2.5 on solaris. Any suggestion would help, digging the net has not shown fix, beside delete pyc files. The same problem appears on another project updating from 1.3.5 to 1.3.6 Thanks Frank Traceback below Creating test database for alias 'default'... Traceback (most recent call last): File "/x86build/dpp/opt/django-auth/authhub/manage.py", line 24, in <module> execute_manager(settings) File "/x86build/dpp/opt/django-auth-venv/lib/python2.5/site-packages/django/core/management/__init__.py", line 459, in execute_manager utility.execute() File "/x86build/dpp/opt/django-auth-venv/lib/python2.5/site-packages/django/core/management/__init__.py", line 382, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/x86build/dpp/opt/django-auth-venv/lib/python2.5/site-packages/django/core/management/base.py", line 196, in run_from_argv self.execute(*args, **options.__dict__) File "/x86build/dpp/opt/django-auth-venv/lib/python2.5/site-packages/django/core/management/base.py", line 232, in execute output = self.handle(*args, **options) File "/x86build/dpp/opt/django-auth-venv/lib/python2.5/site-packages/django_jenkins/management/commands/__init__.py", line 81, in handle if test_runner.run_tests(test_labels): File "/x86build/dpp/opt/django-auth-venv/lib/python2.5/site-packages/django/test/simple.py", line 381, in run_tests old_config = self.setup_databases() File "/x86build/dpp/opt/django-auth-venv/lib/python2.5/site-packages/django_jenkins/runner.py", line 260, in setup_databases return super(CITestSuiteRunner, self).setup_databases() File "/x86build/dpp/opt/django-auth-venv/lib/python2.5/site-packages/django/test/simple.py", line 317, in setup_databases self.verbosity, autoclobber=not self.interactive) File "/x86build/dpp/opt/django-auth-venv/lib/python2.5/site-packages/django/db/backends/creation.py", line 271, in create_test_db load_initial_data=False) File "/x86build/dpp/opt/django-auth-venv/lib/python2.5/site-packages/django/core/management/__init__.py", line 150, in call_command return klass.execute(*args, **defaults) File "/x86build/dpp/opt/django-auth-venv/lib/python2.5/site-packages/django/core/management/base.py", line 232, in execute output = self.handle(*args, **options) File "/x86build/dpp/opt/django-auth-venv/lib/python2.5/site-packages/django/core/management/base.py", line 371, in handle return self.handle_noargs(**options) File "/x86build/dpp/opt/django-auth-venv/lib/python2.5/site-packages/django/core/management/commands/syncdb.py", line 40, in handle_noargs import_module('.management', app_name) File "/x86build/dpp/opt/django-auth-venv/lib/python2.5/site-packages/django/utils/importlib.py", line 35, in import_module __import__(name) ImportError: Bad magic number in /x86build/dpp/opt/django-auth-venv/lib/python2.5/site-packages/django/contrib/sessions/management/__init__.pyc Fatal error: local() encountered an error (return code 1) while executing '. /x86build/dpp/opt/django-auth-venv/bin/activate && python /x86build/dpp/opt/django-auth/authhub/manage.py jenkins' -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.