Project

General

Profile

Segnalazione #149

eccezione su modifica cluster

Added by Christopher R. Gabriel about 6 years ago. Updated about 6 years ago.

Status:
Chiuso
Priority:
Normale
Start date:
01/18/2017
Due date:
% Done:

0%

Estimated time:

Description

Environment:

Request Method: GET
Request URL: http://localhost:8000/host/group/edit/paperopoli

Django Version: 1.8.4
Python Version: 3.4.2
Installed Applications:
['django.contrib.sessions',
 'django.contrib.messages',
 'whitenoise.runserver_nostatic',
 'django.contrib.staticfiles',
 'octonet',
 'hostqueue.apps.HostQueue',
 'firewall.apps.Firewall',
 'dhcp.apps.Dhcp',
 'dansguardian.apps.DansGuardian',
 'host.apps.Host',
 'polygen.apps.Polygen',
 'upgrade.apps.Upgrade',
 'asterisk.apps.Asterisk',
 'samba.apps.Samba',
 'users.apps.Users',
 'script.apps.Script',
 'quota.apps.Quota',
 'printers.apps.Printers',
 'auth.apps.Auth']
Installed Middleware:
['django.middleware.security.SecurityMiddleware',
 'whitenoise.middleware.WhiteNoiseMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.common.CommonMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.middleware.locale.LocaleMiddleware',
 'octonet.middleware.AuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'django.middleware.clickjacking.XFrameOptionsMiddleware']

Traceback:
File "/usr/local/lib/python3.4/dist-packages/django/core/handlers/base.py" in get_response
  132.                     response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/local/lib/python3.4/dist-packages/django/views/generic/base.py" in view
  71.             return self.dispatch(request, *args, **kwargs)
File "/home/cgabriel/git/fuss/octonet/host/views.py" in dispatch
  96.         return super().dispatch(*args, **kwargs)
File "/home/cgabriel/git/fuss/octonet/octonet/mixins.py" in dispatch
  105.         return super().dispatch(request, *args, **kw)
File "/home/cgabriel/git/fuss/octonet/host/views.py" in dispatch
  17.         self.clusters = self.tree.list("cluster")
File "/home/cgabriel/git/fuss/pyoctofuss/octofuss/tree.py" in list
  80.         return self.llist(_tolist(path), **kw)
File "/home/cgabriel/git/fuss/pyoctofuss/octofuss/tree.py" in llist
  163.         return self.tree.llist(self.root + path, **kw)
File "/home/cgabriel/git/fuss/pyoctofuss/octofuss/xmlrpc.py" in llist
  72.         return self._wrap_call(self.server.list, "/".join(path))
File "/home/cgabriel/git/fuss/pyoctofuss/octofuss/xmlrpc.py" in _wrap_call
  42.                 raise globals().get(name, UnknownException)(msg)

Exception Type: UnknownException at /host/group/edit/paperopoli
Exception Value: 'NoneType' object has no attribute 'clusters'

Associated revisions

Revision ce5a200c (diff)
Added by Mark Caglienzi about 6 years ago

Hotfix. refs: #149

History

#1

Updated by Mark Caglienzi about 6 years ago

  • Status changed from Nuovo to In elaborazione
#2

Updated by Mark Caglienzi about 6 years ago

  • Status changed from In elaborazione to Commenti
  • Assignee changed from Mark Caglienzi to Christopher R. Gabriel

Corretto in ce5a200c

Ho fatto un giro nelle varie view e mi sembra ok adesso

#3

Updated by Christopher R. Gabriel about 6 years ago

  • Status changed from Commenti to Chiuso

Ok, chiudo.

Also available in: Atom PDF