Ubuntu Pastebin

Paste from david at Thu, 2 Jun 2016 08:51:50 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
anyToManyField.
Traceback (most recent call last):
  File "manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 354, in execute_from_command_line
    utility.execute()
  File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 346, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 394, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 445, in execute
    output = self.handle(*args, **options)
  File "/srv/devportal-app-0/code/182/developer_portal/management/commands/check-consistency.py", line 70, in handle
    delete_pages(pages)
  File "/srv/devportal-app-0/code/182/developer_portal/management/commands/check-consistency.py", line 43, in delete_pages
    (p.get_absolute_url(),
  File "/usr/local/lib/python2.7/dist-packages/cms/models/pagemodel.py", line 160, in get_absolute_url
    return reverse('pages-details-by-slug', kwargs={"slug": path})
  File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 578, in reverse
    return force_text(iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs)))
  File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 495, in _reverse_with_prefix
    (lookup_view_s, args, kwargs, len(patterns), patterns))
django.core.urlresolvers.NoReverseMatch: Reverse for 'pages-details-by-slug' with arguments '()' and keyword arguments '{'slug': ''}' not found. 1 pattern(s) tried: [u'None/(?P<slug>[0-9A-Za-z-_.//]+)/$']
Traceback (most recent call last):
  File "./run.py", line 30, in <module>
    subprocess.check_call(' '.join(sys.argv[1:]), env=env, shell=True)
  File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'python manage.py check-consistency' returned non-zero exit status 1
Download as text