When trying to add cluster to skills document get Server Error

Bug #1353932 reported by Neville Turner on 2014-08-07
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SchoolTool CanDo
High
Douglas Cerna

Bug Description

Exception

NotYet: <schooltool.relationship.relationship.Link object at 0xabc623ac>

Traceback

File "/usr/lib/python2.7/dist-packages/zope/publisher/publish.py", line 132, in publish
  result = publication.callObject(request, obj)
File "/usr/lib/python2.7/dist-packages/zope/app/publication/zopepublication.py", line 205, in callObject
  return mapply(ob, request.getPositionalArguments(), request)
File "/usr/lib/python2.7/dist-packages/zope/publisher/publish.py", line 107, in mapply
  return debug_call(obj, args)
Extra information: <schooltool.skin.flourish.zcml_content.DocumentAddNodeView_add_document_node.html object at 0xabe1e08c>
File "/usr/lib/python2.7/dist-packages/zope/publisher/publish.py", line 113, in debug_call
  return obj(*args)
File "/usr/lib/python2.7/dist-packages/schooltool/skin/flourish/page.py", line 68, in __call__
  self.update()
File "/usr/lib/python2.7/dist-packages/schooltool/skin/flourish/form.py", line 72, in update
  super(AddForm, self).update()
File "/usr/lib/python2.7/dist-packages/schooltool/skin/flourish/form.py", line 55, in update
  super(Form, self).update()
File "/usr/lib/python2.7/dist-packages/z3c/form/form.py", line 211, in update
  self.actions.execute()
File "/usr/lib/python2.7/dist-packages/z3c/form/action.py", line 99, in execute
  result = handler()
File "/usr/lib/python2.7/dist-packages/z3c/form/button.py", line 315, in __call__
  return handler(self.form, self.action)
File "/usr/lib/python2.7/dist-packages/z3c/form/button.py", line 170, in __call__
  return self.func(form, action)
File "/usr/lib/python2.7/dist-packages/schooltool/cando/browser/document.py", line 707, in handleAdd
  super(DocumentAddNodeBase, self).handleAdd.func(self, action)
File "/usr/lib/python2.7/dist-packages/schooltool/skin/flourish/form.py", line 79, in handleAdd
  return z3c.form.form.AddForm.handleAdd.func(self, action)
File "/usr/lib/python2.7/dist-packages/z3c/form/form.py", line 240, in handleAdd
  obj = self.createAndAdd(data)
File "/usr/lib/python2.7/dist-packages/z3c/form/form.py", line 246, in createAndAdd
  obj = self.create(data)
File "/usr/lib/python2.7/dist-packages/schooltool/cando/browser/document.py", line 718, in create
  node.parents.add(removeSecurityProxy(self.context))
File "/usr/lib/python2.7/dist-packages/schooltool/relationship/relationship.py", line 634, in add
  (other, self.other_role), extra_info)
File "/usr/lib/python2.7/dist-packages/schooltool/relationship/relationship.py", line 92, in relate
  IRelationshipLinks(a).add(link_a)
File "/usr/lib/python2.7/dist-packages/schooltool/relationship/relationship.py", line 1035, in add
  notify(ObjectAddedEvent(link, self._links, link.__name__))
File "/usr/lib/python2.7/dist-packages/zope/event/__init__.py", line 31, in notify
  subscriber(event)
File "/usr/lib/python2.7/dist-packages/zope/component/event.py", line 27, in dispatch
  component_subscribers(event, None)
File "/usr/lib/python2.7/dist-packages/zope/component/_api.py", line 139, in subscribers
  return sitemanager.subscribers(objects, interface)
File "/usr/lib/python2.7/dist-packages/zope/interface/registry.py", line 323, in subscribers
  return self.adapters.subscribers(objects, provided)
File "/usr/lib/python2.7/dist-packages/zope/interface/adapter.py", line 601, in subscribers
  subscription(*objects)
File "/usr/lib/python2.7/dist-packages/zope/component/event.py", line 36, in objectEventNotify
  component_subscribers((event.object, event), None)
File "/usr/lib/python2.7/dist-packages/zope/component/_api.py", line 139, in subscribers
  return sitemanager.subscribers(objects, interface)
File "/usr/lib/python2.7/dist-packages/zope/interface/registry.py", line 323, in subscribers
  return self.adapters.subscribers(objects, provided)
File "/usr/lib/python2.7/dist-packages/zope/interface/adapter.py", line 601, in subscribers
  subscription(*objects)
File "/usr/lib/python2.7/dist-packages/zope/intid/__init__.py", line 166, in addIntIdSubscriber
  key = IKeyReference(ob, None)
File "/usr/lib/python2.7/dist-packages/zope/component/hooks.py", line 119, in adapter_hook
  return siteinfo.adapter_hook(interface, object, name, default)
File "/usr/lib/python2.7/dist-packages/zope/security/adapter.py", line 86, in __call__
  adapter = self.factory(*args)
File "/usr/lib/python2.7/dist-packages/zope/keyreference/persistent.py", line 38, in __init__
  raise zope.keyreference.interfaces.NotYet(object)

Neville Turner (l-launchpld-s) wrote :

New to both SchoolTool, Ubuntu and Launchpad. Apologies if I'm missing something basic. This error occurs in x32 bit live version as well as a 64 bit version running as a VM.

description: updated
Douglas Cerna (replaceafill) wrote :

Thanks for the report. The fix should be included in the next release (http://bazaar.launchpad.net/~schooltool-owners/schooltool.cando/trunk/revision/286)

Changed in schooltool.cando:
status: New → Fix Committed
importance: Undecided → High
assignee: nobody → Douglas Cerna (replaceafill)
Changed in schooltool.cando:
milestone: none → 2.8.1
Changed in schooltool.cando:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers