Opened 2 years ago

Closed 2 years ago

#19860 closed Bug (duplicate)

django 1.3.6 package contains bad file

Reported by: vsafronovich Owned by: nobody
Component: Core (Management commands) Version: 1.3
Severity: Release blocker Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

django 1.3.6 package contains bad file 'django/contrib/sessions/management/init.pyc'
This file breaks execution of any management command.

Change History (2)

comment:1 Changed 2 years ago by vsafronovich

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

Example Traceback

Traceback (most recent call last):
  File "manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/var/lib/jenkins/jobs/chernov/workspace/env/lib/python2.6/site-packages/django/core/management/__init__.py", line 443, in execute_from_command_line
    utility.execute()
  File "/var/lib/jenkins/jobs/chernov/workspace/env/lib/python2.6/site-packages/django/core/management/__init__.py", line 382, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/var/lib/jenkins/jobs/chernov/workspace/env/lib/python2.6/site-packages/django/core/management/base.py", line 196, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/var/lib/jenkins/jobs/chernov/workspace/env/lib/python2.6/site-packages/django/core/management/base.py", line 232, in execute
    output = self.handle(*args, **options)
  File "/var/lib/jenkins/jobs/chernov/workspace/env/lib/python2.6/site-packages/django_jenkins/management/commands/__init__.py", line 81, in handle
    if test_runner.run_tests(test_labels):
  File "/var/lib/jenkins/jobs/chernov/workspace/env/lib/python2.6/site-packages/django/test/simple.py", line 381, in run_tests
    old_config = self.setup_databases()
  File "/var/lib/jenkins/jobs/chernov/workspace/env/lib/python2.6/site-packages/django_jenkins/runner.py", line 250, in setup_databases
    return super(CITestSuiteRunner, self).setup_databases()
  File "/var/lib/jenkins/jobs/chernov/workspace/env/lib/python2.6/site-packages/django/test/simple.py", line 317, in setup_databases
    self.verbosity, autoclobber=not self.interactive)
  File "/var/lib/jenkins/jobs/chernov/workspace/env/lib/python2.6/site-packages/django/db/backends/creation.py", line 271, in create_test_db
    load_initial_data=False)
  File "/var/lib/jenkins/jobs/chernov/workspace/env/lib/python2.6/site-packages/django/core/management/__init__.py", line 150, in call_command
    return klass.execute(*args, **defaults)
  File "/var/lib/jenkins/jobs/chernov/workspace/env/lib/python2.6/site-packages/django/core/management/base.py", line 232, in execute
    output = self.handle(*args, **options)
  File "/var/lib/jenkins/jobs/chernov/workspace/env/lib/python2.6/site-packages/django/core/management/base.py", line 371, in handle
    return self.handle_noargs(**options)
  File "/var/lib/jenkins/jobs/chernov/workspace/env/lib/python2.6/site-packages/django/core/management/commands/syncdb.py", line 40, in handle_noargs
    import_module('.management', app_name)
  File "/var/lib/jenkins/jobs/chernov/workspace/env/lib/python2.6/site-packages/django/utils/importlib.py", line 35, in import_module
    __import__(name)
ImportError: Bad magic number in /var/lib/jenkins/jobs/chernov/workspace/env/lib/python2.6/site-packages/django/contrib/sessions/management/__init__.pyc

comment:2 Changed 2 years ago by Jeremy Katz <katzj@…>

  • Resolution set to duplicate
  • Status changed from new to closed

This duplicates #19858

Note: See TracTickets for help on using tickets.
Back to Top