[silva-dev] SilvaDemoMembership??

Bas Leeflang b.r.leeflang at chem.uu.nl
Tue Aug 12 17:06:12 CEST 2003


Indeed,

It does nolonger work:
Here is the TraceBack

Bas


    Site Error

An error was encountered while publishing this resource.

*Unauthorized*

Sorry, a site error occurred.

Traceback (innermost last):

    * Module ZPublisher.Publish, line 150, in publish_module
    * Module ZPublisher.Publish, line 114, in publish
    * Module Zope.App.startup, line 182, in zpublisher_exception_hook
    * Module ZPublisher.Publish, line 98, in publish
    * Module ZPublisher.mapply, line 88, in mapply
    * Module ZPublisher.Publish, line 39, in call_object
    * Module Shared.DC.Scripts.Bindings, line 252, in __call__
    * Module Shared.DC.Scripts.Bindings, line 283, in _bindAndExec
    * Module Products.PythonScripts.PythonScript, line 315, in _exec
    * Module Script (Python), line 17, in index_html
      *<PythonScript at /silva/sites/spine/index_html used for
      /silva/sites/spine/vrc>*
      *Line 17*
    * Module Shared.DC.Scripts.Bindings, line 252, in __call__
    * Module Shared.DC.Scripts.Bindings, line 283, in _bindAndExec
    * Module Products.PageTemplates.ZopePageTemplate, line 228, in _exec
    * Module Products.PageTemplates.PageTemplate, line 95, in pt_render
      *<ZopePageTemplate at /silva/sites/spine/content.html used for
      /silva/sites/spine/vrc>*
    * Module TAL.TALInterpreter, line 200, in __call__
    * Module TAL.TALInterpreter, line 244, in interpret
    * Module TAL.TALInterpreter, line 703, in do_useMacro
    * Module TAL.TALInterpreter, line 244, in interpret
    * Module TAL.TALInterpreter, line 734, in do_defineSlot
    * Module TAL.TALInterpreter, line 244, in interpret
    * Module TAL.TALInterpreter, line 682, in do_defineMacro
    * Module TAL.TALInterpreter, line 244, in interpret
    * Module TAL.TALInterpreter, line 414, in do_optTag_tal
    * Module TAL.TALInterpreter, line 399, in do_optTag
    * Module TAL.TALInterpreter, line 394, in no_tag
    * Module TAL.TALInterpreter, line 244, in interpret
    * Module TAL.TALInterpreter, line 726, in do_defineSlot
    * Module TAL.TALInterpreter, line 244, in interpret
    * Module TAL.TALInterpreter, line 412, in do_optTag_tal
    * Module TAL.TALInterpreter, line 394, in no_tag
    * Module TAL.TALInterpreter, line 244, in interpret
    * Module TAL.TALInterpreter, line 592, in do_insertStructure_tal
    * Module Products.PageTemplates.TALES, line 217, in evaluate
      *URL: /silva/sites/spine/content.html*
      *Line 143, Column 10*
      *Expression: <PythonExpr getattr(here, view_method)()>*
      *Names:*

{'container': <Silva Publication instance spine>,
 'default': <Products.PageTemplates.TALES.Default instance at 0x870807c>,
 'here': <Silva Document instance vrc>,
 'loop': <SafeMapping instance at 9085378>,
 'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0x8715cf4>,
 'nothing': None,
 'options': {'args': (), 'view_method': 'view'},
 'repeat': <SafeMapping instance at 9085378>,
 'request': <HTTPRequest, URL=http://www.spineurope.org/vrc/index_html>,
 'root': <Application instance at 8ff0260>,
 'template': <ZopePageTemplate at /silva/sites/spine/content.html used for /silva/sites/spine/vrc>,
 'traverse_subpath': [],
 'user': Anonymous User}

    * Module Products.PageTemplates.ZRPythonExpr, line 48, in __call__
      __traceback_info__: getattr(here, view_method)()
    * Module Python expression "getattr(here, view_method)()", line 2, in f

Unauthorized: You are not allowed to access view in this context (Also, 
an error occurred while attempting to render the standard error message.)
------------------------------------------------------------------------

Troubleshooting Suggestions

    * The URL may be incorrect.
    * The parameters passed to this resource may be incorrect.
    * A resource that this resource relies on may be encountering an error.

For more detailed information about the error, please refer to the HTML 
source for this page.

If the error persists please contact the site maintainer. Thank you for 
your patience.



Guido Wesdorp wrote:

> Bas Leeflang wrote:
>
>> Is SDM nolonger compatible with Silva is there some minor error 
>> somewhere?
>>
>> Bas
>>
> This particular error shouldn't be too hard to fix: I renamed a 
> variable called 'allow_subscription' to 
> 'allow_authentication_requests' somewhere, if you rename that 
> everywhere in the product the error should be gone. However I don't 
> know if the product will still work: there were a lot of changes in 
> the Silva core in this release...
>
> Cheers,
>
> Guido
>
>

-- 
Dr. Bas R. Leeflang
Bijvoet Center for Biomolecular Research Tel : +31.30.253.3498
Utrecht University                       Fax : +31.30.254.0980
Padualaan 8, NL-3584 CH  Utrecht         Email: b.r.leeflang at chem.uu.nl
The Netherlands                          http://www.bijvoet-center.nl

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.infrae.com/pipermail/silva-dev/attachments/20030812/1b6b87e6/attachment.htm 


More information about the silva-dev mailing list