Bug 771048 - [abrt] Django-1.3.1-2.fc16: __init__.py:40:_setup:ImportError: Settings cannot be imported, because environment variable DJANGO_SETTINGS_MODULE is undefined.
Summary: [abrt] Django-1.3.1-2.fc16: __init__.py:40:_setup:ImportError: Settings canno...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: Django
Version: 16
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Steve Milner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:37af2bba1275c16b3969107a040...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-31 13:41 UTC by kassimorra
Modified: 2013-02-13 22:24 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-02-13 22:24:31 UTC
Type: ---


Attachments (Terms of Use)

Description kassimorra 2011-12-31 13:41:52 UTC
libreport version: 2.0.8
abrt_version:   2.0.7
cmdline:        /usr/bin/python /usr/bin/django-admin syncdb
event_log:      2011-12-31-11:37:33> Smolt profile successfully saved
executable:     /usr/bin/django-admin
kernel:         3.1.6-1.fc16.x86_64
reason:         __init__.py:40:_setup:ImportError: Settings cannot be imported, because environment variable DJANGO_SETTINGS_MODULE is undefined.
time:           Sáb 31 Dez 2011 11:37:13 BRST
uid:            1000
username:       kassim

backtrace:
:__init__.py:40:_setup:ImportError: Settings cannot be imported, because environment variable DJANGO_SETTINGS_MODULE is undefined.
:
:Traceback (most recent call last):
:  File "/usr/bin/django-admin", line 5, in <module>
:    management.execute_from_command_line()
:  File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 429, in execute_from_command_line
:    utility.execute()
:  File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 379, in execute
:    self.fetch_command(subcommand).run_from_argv(self.argv)
:  File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 261, in fetch_command
:    klass = load_command_class(app_name, subcommand)
:  File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 67, in load_command_class
:    module = import_module('%s.management.commands.%s' % (app_name, name))
:  File "/usr/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module
:    __import__(name)
:  File "/usr/lib/python2.7/site-packages/django/core/management/commands/syncdb.py", line 7, in <module>
:    from django.core.management.sql import custom_sql_for_model, emit_post_sync_signal
:  File "/usr/lib/python2.7/site-packages/django/core/management/sql.py", line 6, in <module>
:    from django.db import models
:  File "/usr/lib/python2.7/site-packages/django/db/__init__.py", line 14, in <module>
:    if not settings.DATABASES:
:  File "/usr/lib/python2.7/site-packages/django/utils/functional.py", line 276, in __getattr__
:    self._setup()
:  File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 40, in _setup
:    raise ImportError("Settings cannot be imported, because environment variable %s is undefined." % ENVIRONMENT_VARIABLE)
:ImportError: Settings cannot be imported, because environment variable DJANGO_SETTINGS_MODULE is undefined.
:
:Local variables in innermost frame:
:self: <django.conf.LazySettings object at 0xb46850>

smolt_data:
:
:
:Geral
:=================================
:UUID: cbeea57e-1efc-4e0d-bb14-abae668b11f6
:SO: Fedora release 16 (Verne)
:Nível de execução padrão: Unknown
:Idioma: pt_BR.utf8
:Plataforma: x86_64
:BogoMIPS: 4590.03
:Fabricante da CPU: GenuineIntel
:Modelo da CPU: Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz
:Versão da CPU: 7
:Família da CPU: 6
:Modelo da CPU: 42
:Número de CPUs: 4
:Velocidade da CPU: 2301
:Memória do sistema: 3902
:Swap do sistema: 3499
:Fabricante: LG Electronics
:Sistema: P430-K.BE46P1 PHNXSF16
:Fator de uso: Notebook
:Kernel: 3.1.6-1.fc16.x86_64
:SELinux habilitado: 1
:Politica do SELinux: targeted
:Modo de reforço do SELinux: Enforcing
:MythTV Remote: Unknown
:MythTV Role: Unknown
:MythTV Theme: Unknown
:MythTV Plugin: 
:MythTV Tuner: -1
:
:
:Dispositivos
:=================================
:(4332:33128:6228:12289) pci, r8169, ETHERNET, RTL8111/8168B PCI Express Gigabit Ethernet controller
:(32902:7241:6228:12289) pci, None, PCI/ISA, HM65 Express Chipset Family LPC Controller
:(32902:278:6228:12289) pci, i915, VIDEO, 2nd Generation Core Processor Family Integrated Graphics Controller
:(32902:7171:6228:12289) pci, ahci, STORAGE, 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller
:(32902:7184:6228:12289) pci, pcieport, PCI/PCI, 6 Series/C200 Series Chipset Family PCI Express Root Port 1
:(32902:7186:6228:12289) pci, pcieport, PCI/PCI, 6 Series/C200 Series Chipset Family PCI Express Root Port 2
:(32902:7200:6228:12289) pci, snd_hda_intel, MULTIMEDIA, 6 Series/C200 Series Chipset Family High Definition Audio Controller
:(32902:7202:6228:12289) pci, i801_smbus, SERIAL, 6 Series/C200 Series Chipset Family SMBus Controller
:(6164:12432:6715:8257) pci, rt2800pci, NETWORK, RT3090 Wireless 802.11n 1T/1R PCIe
:(4318:4176:6228:12289) pci, nouveau, VIDEO, N/A
:(32902:7213:6228:12289) pci, ehci_hcd, USB, 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2
:(32902:7206:6228:12289) pci, ehci_hcd, USB, 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1
:(32902:260:6228:12289) pci, agpgart-intel, HOST/PCI, 2nd Generation Core Processor Family DRAM Controller
:(32902:7226:6228:12289) pci, None, SIMPLE, 6 Series/C200 Series Chipset Family MEI Controller #1
:(32902:257:6228:12289) pci, pcieport, PCI/PCI, Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port
:
:
:Informações do sistema de arquivos
:=================================
:device mtpt type bsize frsize blocks bfree bavail file ffree favail
:-------------------------------------------------------------------
:/dev/sda7 / ext4 4096 4096 19245064 17575415 17379969 4890624 4645422 4645422
:/dev/sda5 WITHHELD fuseblk 4096 4096 112671869 109837776 109837776 439416640 439416096 439416096
:

Comment 1 Fedora End Of Life 2013-01-16 17:34:22 UTC
This message is a reminder that Fedora 16 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 16. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '16'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 16's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 16 is end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" and open it against that version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 2 Fedora End Of Life 2013-02-13 22:24:34 UTC
Fedora 16 changed to end-of-life (EOL) status on 2013-02-12. Fedora 16 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.