Your message dated Tue, 13 Feb 2018 06:21:21 +0000
with message-id <e1eltxx-000azv...@fasolo.debian.org>
and subject line Bug#889099: Removed package(s) from unstable
has caused the Debian Bug report #856856,
regarding cobbler-web: Doesn't run out of the box with Django 1.10
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
856856: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=856856
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: cobbler-web
Version: 2.6.6+dfsg1-13
Severity: important

The cobbler-web package appears to assume an earlier django version and
breaks on version 1.10 which is currently in Stretch.  500 Server error.

I've made the following changes in an effort to workaround, but given up
as didn't look like it was going to be a quick fix...  Haven't checked
upstream git to see if this has already been done...

in  /usr/share/cobbler-common/web/settings.py


TEMPLATES = [
    {
        'BACKEND': 'django.template.backends.django.DjangoTemplates',
        'DIRS': [
            '/usr/share/cobbler/web/templates',
        ],
        'APP_DIRS': True,
        'OPTIONS': {
            'context_processors': [
                'django.core.context_processors.request',
            ],
        },
    },
]

ALLOWED_HOSTS = ['cobbler.mydomain']

and have commented out:

#from django.conf.global_settings import TEMPLATE_CONTEXT_PROCESSORS
#
#TEMPLATE_CONTEXT_PROCESSORS += (
#     'django.core.context_processors.request',
#) 

... sources were: 
https://review.fuel-infra.org/gitweb?p=packages%2Fcentos7%2Fcobbler.git;a=commitdiff;h=234bb8912faacdc1840d00e67caf8833d12ab502

and https://docs.djangoproject.com/en/1.10/ref/templates/upgrading/


In /usr/share/cobbler-common/web/urls.py :


from django.conf.urls import include, url

urlpatterns=[
    url(r'^', include('cobbler_web.urls')),
]

reference: 
http://stackoverflow.com/questions/38786036/importerror-cannot-import-name-patterns




-- System Information:
Debian Release: 9.0
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

--- End Message ---
--- Begin Message ---
Version: 2.6.6+dfsg1-13+rm

Dear submitter,

as the package cobbler has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/889099

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmas...@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to