Uploaded image for project: 'Health'
  1. Health
  2. HEALTH-204

bika.health.browser.batch.samples in contentsMethod

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.1.5
    • Fix Version/s: 3.1.6
    • Labels:
    • Sprint:
      Bika Health 3.1.8

      Description

      http://sentry.bikalabs.com/bikalims/healthbikalabscom/group/5018/

      Stacktrace (most recent call last):
      
        File "ZPublisher/Publish.py", line 138, in publish
          request, bind=1)
        File "ZPublisher/mapply.py", line 77, in mapply
          if debug is not None: return debug(object,args,context)
        File "ZPublisher/Publish.py", line 48, in call_object
          result=apply(object,args) # Type s<cr> to step into published object.
        File "home/plone/health.bikalabs.com/zeocluster/src/bika.lims/bika/lims/browser/bika_listing.py", line 560, in __call__
          return self.template()
        File "home/plone/health.bikalabs.com/buildout-cache/eggs/Zope2-2.13.21-py2.7.egg/Products/Five/browser/pagetemplatefile.py", line 125, in __call__
          return self.im_func(im_self, *args, **kw)
        File "home/plone/health.bikalabs.com/buildout-cache/eggs/Zope2-2.13.21-py2.7.egg/Products/Five/browser/pagetemplatefile.py", line 59, in __call__
          sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
        File "home/plone/health.bikalabs.com/buildout-cache/eggs/zope.pagetemplate-3.6.3-py2.7.egg/zope/pagetemplate/pagetemplate.py", line 132, in pt_render
          strictinsert=0, sourceAnnotations=sourceAnnotations
        File "home/plone/health.bikalabs.com/buildout-cache/eggs/zope.pagetemplate-3.6.3-py2.7.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
          interpreter()
        File "home/plone/health.bikalabs.com/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 271, in __call__
          self.interpret(self.program)
        File "home/plone/health.bikalabs.com/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
          handlers[opcode](self, args)
        File "home/plone/health.bikalabs.com/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 888, in do_useMacro
          self.interpret(macro)
        File "home/plone/health.bikalabs.com/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
          handlers[opcode](self, args)
        File "home/plone/health.bikalabs.com/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
          self.do_optTag(stuff)
        File "home/plone/health.bikalabs.com/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
          return self.no_tag(start, program)
        File "home/plone/health.bikalabs.com/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 513, in no_tag
          self.interpret(program)
        File "home/plone/health.bikalabs.com/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
          handlers[opcode](self, args)
        File "home/plone/health.bikalabs.com/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 954, in do_defineSlot
          self.interpret(block)
        File "home/plone/health.bikalabs.com/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
          handlers[opcode](self, args)
        File "home/plone/health.bikalabs.com/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
          self.do_optTag(stuff)
        File "home/plone/health.bikalabs.com/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
          return self.no_tag(start, program)
        File "home/plone/health.bikalabs.com/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 513, in no_tag
          self.interpret(program)
        File "home/plone/health.bikalabs.com/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
          handlers[opcode](self, args)
        File "home/plone/health.bikalabs.com/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 858, in do_defineMacro
          self.interpret(macro)
        File "home/plone/health.bikalabs.com/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
          handlers[opcode](self, args)
        File "home/plone/health.bikalabs.com/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 954, in do_defineSlot
          self.interpret(block)
        File "home/plone/health.bikalabs.com/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
          handlers[opcode](self, args)
        File "home/plone/health.bikalabs.com/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
          self.do_optTag(stuff)
        File "home/plone/health.bikalabs.com/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
          return self.no_tag(start, program)
        File "home/plone/health.bikalabs.com/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 513, in no_tag
          self.interpret(program)
        File "home/plone/health.bikalabs.com/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
          handlers[opcode](self, args)
        File "home/plone/health.bikalabs.com/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 954, in do_defineSlot
          self.interpret(block)
        File "home/plone/health.bikalabs.com/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
          handlers[opcode](self, args)
        File "home/plone/health.bikalabs.com/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
          self.do_optTag(stuff)
        File "home/plone/health.bikalabs.com/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
          return self.no_tag(start, program)
        File "home/plone/health.bikalabs.com/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 513, in no_tag
          self.interpret(program)
        File "home/plone/health.bikalabs.com/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
          handlers[opcode](self, args)
        File "home/plone/health.bikalabs.com/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 946, in do_defineSlot
          self.interpret(slot)
        File "home/plone/health.bikalabs.com/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
          handlers[opcode](self, args)
        File "home/plone/health.bikalabs.com/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
          self.do_optTag(stuff)
        File "home/plone/health.bikalabs.com/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
          return self.no_tag(start, program)
        File "home/plone/health.bikalabs.com/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 513, in no_tag
          self.interpret(program)
        File "home/plone/health.bikalabs.com/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
          handlers[opcode](self, args)
        File "home/plone/health.bikalabs.com/buildout-cache/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 742, in do_insertStructure_tal
          structure = self.engine.evaluateStructure(expr)
        File "home/plone/health.bikalabs.com/buildout-cache/eggs/Zope2-2.13.21-py2.7.egg/Products/PageTemplates/Expressions.py", line 218, in evaluateStructure
          text = super(ZopeContext, self).evaluateStructure(expr)
        File "home/plone/health.bikalabs.com/buildout-cache/eggs/zope.tales-3.5.3-py2.7.egg/zope/tales/tales.py", line 696, in evaluate
          return expression(self)
        File "home/plone/health.bikalabs.com/buildout-cache/eggs/zope.tales-3.5.3-py2.7.egg/zope/tales/expressions.py", line 217, in __call__
          return self._eval(econtext)
        File "home/plone/health.bikalabs.com/buildout-cache/eggs/Zope2-2.13.21-py2.7.egg/Products/PageTemplates/Expressions.py", line 155, in _eval
          return render(ob, econtext.vars)
        File "home/plone/health.bikalabs.com/buildout-cache/eggs/Zope2-2.13.21-py2.7.egg/Products/PageTemplates/Expressions.py", line 117, in render
          ob = ob()
        File "home/plone/health.bikalabs.com/zeocluster/src/bika.lims/bika/lims/browser/bika_listing.py", line 786, in contents_table
          table = BikaListingTable(bika_listing = self, table_only = table_only)
        File "home/plone/health.bikalabs.com/zeocluster/src/bika.lims/bika/lims/browser/bika_listing.py", line 875, in __init__
          folderitems = bika_listing.folderitems()
        File "bika/health/browser/samples/folder_view.py", line 27, in folderitems
          items = super(SamplesView, self).folderitems(full_objects)
        File "home/plone/health.bikalabs.com/zeocluster/src/bika.lims/bika/lims/browser/sample.py", line 620, in folderitems
          items = BikaListingView.folderitems(self)
        File "home/plone/health.bikalabs.com/zeocluster/src/bika.lims/bika/lims/browser/bika_listing.py", line 642, in folderitems
          brains = self.contentsMethod(self.contentFilter)
        File "bika/health/browser/batch/samples.py", line 14, in contentsMethod
          state = [x for x in self.review_states if x['id'] == self.review_state][0]
      

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Espurna Pau Soliva (Inactive)
              Reporter:
              xispa Jordi (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Agile