Giter Club home page Giter Club logo

Comments (2)

grulisco avatar grulisco commented on August 20, 2024

still a problem with senaite 1.1.6.

In my instance it also sometimes works and sometimes works not.
I think , in the example of @Espurna the important message is hidden by the expiry messages, which is visible in my case:
spectacle f14874
So this might be an issue of privileges.

from senaite.core.

ramonski avatar ramonski commented on August 20, 2024

Traceback with verbose security on:

Traceback (innermost last):
  Module ZPublisher.Publish, line 138, in publish
  Module ZPublisher.mapply, line 77, in mapply
  Module ZPublisher.Publish, line 48, in call_object
  Module bika.lims.browser.analysisservice, line 136, in __call__
  Module Products.Five.browser.pagetemplatefile, line 125, in __call__
  Module Products.Five.browser.pagetemplatefile, line 59, in __call__
  Module zope.pagetemplate.pagetemplate, line 132, in pt_render
  Module five.pt.engine, line 98, in __call__
  Module z3c.pt.pagetemplate, line 158, in render
  Module chameleon.zpt.template, line 297, in render
  Module chameleon.template, line 191, in render
  Module chameleon.template, line 171, in render
  Module 87ec0d9b8518d2f8fa88147f30ed4741.py, line 590, in render
  Module Products.CMFCore.FSPythonScript, line 127, in __call__
  Module Shared.DC.Scripts.Bindings, line 322, in __call__
  Module Shared.DC.Scripts.Bindings, line 359, in _bindAndExec
  Module Products.PythonScripts.PythonScript, line 344, in _exec
  Module script, line 17, in getObjSize
   - <FSPythonScript at /bikalims/methods/method-5/getObjSize>
   - Line 17
  Module AccessControl.ImplPython, line 716, in guarded_getattr
  Module AccessControl.ImplPython, line 658, in aq_validate
  Module AccessControl.ImplPython, line 552, in validate
  Module AccessControl.ImplPython, line 432, in validate
  Module AccessControl.ImplPython, line 797, in raiseVerbose
Unauthorized: The object is marked as private.  Access to 'get_size' of (plone.app.blob.field.BlobWrapper object at 0x10ce0f938) denied.

 - Expression: "e python:file.getObjSize"
 - Filename:   ... ims/bika/lims/browser/templates/analysisservice_popup.pt
 - Location:   (line 102: col 24)
 - Source:     filesize python:file.getObjSize();
                      ^^^^^^^^^^^^^^^^^^^^^^^^
 - Arguments:  locale: <Locale None at 0x10ceb82d0>
               modules: <instance - at 0x103c53b00>
               currency: EUR
               currencies: {...} (380)
               file: <ImplicitAcquisitionWrapper - at 0x10a756280>
               container: <ImplicitAcquisitionWrapper bikalims at 0x11323deb0>
               ShowPrices: True
               wrapped_repeat: <SafeMapping - at 0x1132acd08>
               portal_url: http://localhost:6060/bikalims
               filename: <NoneType - at 0x101b9fef8>
               traverse_subpath: <list - at 0x11399fc68>
               template: <ViewPageTemplateFile - at 0x10ccf2490>
               translate: <function translate at 0x1132da500>
               method: <ImplicitAcquisitionWrapper method-5 at 0x11321daa0>
               repeat: {...} (0)
               views: <ViewMapper - at 0x113770050>
               args: <tuple - at 0x101c2f050>
               here: <ImplicitAcquisitionWrapper bikalims at 0x11323deb0>
               user: <ImplicitAcquisitionWrapper - at 0x1131c8410>
               nothing: <NoneType - at 0x101b9fef8>
               default: <object - at 0x101c85c40>
               request: <instance - at 0x1136193f8>
               loop: {...} (0)
               context: <ImplicitAcquisitionWrapper bikalims at 0x11323deb0>
               portal_state: <PortalState plone_portal_state at 0x113770b10>
               view: <ajaxServicePopup analysisservice_popup at 0x1139076d0>
               root: <ImplicitAcquisitionWrapper Zope at 0x1087e7fa0>
               options: {...} (0)
               target_language: <NoneType - at 0x101b9fef8>

from senaite.core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.