FFM / FFG

Funkfeuer Graz Node database
Other
1 stars 1 forks source link

create device: can't create device / stack trace #6

Closed aaronkaplan closed 10 years ago

aaronkaplan commented 10 years ago

Tested on the tmp nodedb Graz: I created a new node and then a new test device (testnode3, testdevice3). Devicetype = Generic. No comment field. Pressed submit --> error message and a stack trace was sent at 11:18 a.m. 2014/9/26 to the admin.

tanzer commented 10 years ago

This was the traceback::

Traceback (most recent call last): File "/home/ffg/active/tapyr/_GTW/_RST/Resource.py", line 1602, in wsgi_app result = self._http_response (resource, request, response) File "/home/ffg/active/tapyr/_GTW/_RST/_TOP/Root.py", line 152, in _http_response result = self.super._http_response (resource, request, response) File "/home/ffg/active/tapyr/_GTW/_RST/Resource.py", line 1660, in _http_response (method, request, response) File "/home/ffg/active/tapyr/_GTW/_RST/_TOP/Base.py", line 415, in _handle_method result = self.__super._handle_method (method, request, response) File "/home/ffg/active/tapyr/_GTW/_RST/Resource.py", line 830, in _handle_method return method (self, request, response) File "/home/ffg/active/tapyr/_GTW/_RST/HTTP_Method.py", line 98, in call__ body = self._response_body (resource, request, response) File "/home/ffg/active/tapyr/_GTW/_RST/_TOP/Base.py", line 120, in _response_body result = resource.rendered (context, template = template) File "/home/ffg/active/tapyr/_GTW/_RST/_TOP/Base.py", line 391, in rendered (template or self.template, context) File "/home/ffg/active/tapyr/_JNJ/Templateer.py", line 652, in render return template.render (context) File "/home/ffg/active/tapyr/_JNJ/Templateer.py", line 487, in render return self.template.render (context) File "/usr/lib/python2.7/dist-packages/jinja2/environment.py", line 894, in render return self.environment.handle_exception(exc_info, True) File "/home/ffg/v/1/www/app/html/dashboard/app.jnj", line 1, in top-level template code {%- extends "CNDB::html/dashboard/app.jnj" %} File "/home/ffg/active/cndb/_CNDB/_JNJ/html/dashboard/app.jnj", line 49, in top-level template code {%- call X.html (lang = page.language|default ("en")) -%} File "/home/ffg/active/tapyr/_JNJ/html/5.jnj", line 66, in template {{ caller () }} File "/home/ffg/active/cndb/_CNDB/_JNJ/html/dashboard/app.jnj", line 84, in template {%- block body -%} File "/home/ffg/active/cndb/_CNDB/_JNJ/html/dashboard/app.jnj", line 104, in block "body" {%- block main -%} File "/home/ffg/active/cndb/_CNDB/_JNJ/html/dashboard/app.jnj", line 107, in block "main" {%- block app -%} File "/home/ffg/active/cndb/_CNDB/_JNJ/html/dashboard/app.jnj", line 111, in block "app" {{- DB_View.main (page) -}} File "/home/ffg/active/cndb/_CNDB/_JNJ/html/dashboard/view.m.jnj", line 42, in template {{ DB.db_div_main (page.db_view) }} File "/home/ffg/active/cndb/_CNDB/_JNJ/html/dashboard/app.m.jnj", line 103, in template {{ DB.e_type_table (db_type) }} File "/home/ffg/active/cndb/_CNDB/_JNJ/html/dashboard/app.m.jnj", line 186, in template {%- if o.owner == user %} File "/home/ffg/active/tapyr/_MOM/Entity.py", line 1750, in eq rhs = (rhs.pid, rhs.home_scope.guid) UndefinedError: '_CNDB._OMP.Net_Device.Net_Device object' has no attribute 'owner'

Christian Tanzer http://www.c-tanzer.at/

tanzer commented 10 years ago

Fixed in CNDB commit 33df9a16d348.