[plumi-discuss] [Plumi] #231: Need to enable user folders by default

Plumi trac at plumi.org
Fri May 22 23:13:49 EST 2009


#231: Need to enable user folders by default
--------------------------------+-------------------------------------------
  Reporter:  vik                |       Owner:  vik                        
      Type:  defect             |      Status:  closed                     
  Priority:  major              |   Milestone:  0.3alpha - Plumi to Plone 3
 Component:  plone3             |     Version:                             
Resolution:  ready for testing  |    Keywords:                             
--------------------------------+-------------------------------------------

Comment(by vik):

 Content licensing add-in problem has disappeared. It first occurred after
 installing the site, including the content-licensing add-in, then enabling
 user folders. Viewing a user folder would create the error message shown
 below. I disabled the content licensing add-in, then enabled user folders
 and they started working. Then I re-enabled the content licensing add-in,
 and user folders still work. The problem may recur.

 Plone Error Log follows:
 Time
     May 22, 2009 01:01 PM
 User Name
     vik (vik)
 Request URL
     http://192.168.1.106:9080/plumi/Members/vik/folder_listing
 Exception Type
     ComponentLookupError
 Exception Value
     (<InterfaceClass
 Products.ContentLicensing.utilities.interfaces.IContentLicensingUtility>,
 '')

 Traceback (innermost last):

     * Module ZPublisher.Publish, line 119, in publish
     * Module ZPublisher.mapply, line 88, in mapply
     * Module ZPublisher.Publish, line 42, in call_object
     * Module Shared.DC.Scripts.Bindings, line 313, in __call__
     * Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
     * Module Products.CMFCore.FSPageTemplate, line 216, in _exec
     * Module Products.CMFCore.FSPageTemplate, line 155, in pt_render
     * Module Products.PageTemplates.PageTemplate, line 98, in pt_render
     * Module zope.pagetemplate.pagetemplate, line 117, in pt_render
     * Module zope.tal.talinterpreter, line 271, in __call__
     * Module zope.tal.talinterpreter, line 346, in interpret
     * Module zope.tal.talinterpreter, line 891, in do_useMacro
     * Module zope.tal.talinterpreter, line 346, in interpret
     * Module zope.tal.talinterpreter, line 536, in do_optTag_tal
     * Module zope.tal.talinterpreter, line 521, in do_optTag
     * Module zope.tal.talinterpreter, line 516, in no_tag
     * Module zope.tal.talinterpreter, line 346, in interpret
     * Module zope.tal.talinterpreter, line 957, in do_defineSlot
     * Module zope.tal.talinterpreter, line 346, in interpret
     * Module zope.tal.talinterpreter, line 536, in do_optTag_tal
     * Module zope.tal.talinterpreter, line 521, in do_optTag
     * Module zope.tal.talinterpreter, line 516, in no_tag
     * Module zope.tal.talinterpreter, line 346, in interpret
     * Module zope.tal.talinterpreter, line 861, in do_defineMacro
     * Module zope.tal.talinterpreter, line 346, in interpret
     * Module zope.tal.talinterpreter, line 957, in do_defineSlot
     * Module zope.tal.talinterpreter, line 346, in interpret
     * Module zope.tal.talinterpreter, line 536, in do_optTag_tal
     * Module zope.tal.talinterpreter, line 521, in do_optTag
     * Module zope.tal.talinterpreter, line 516, in no_tag
     * Module zope.tal.talinterpreter, line 346, in interpret
     * Module zope.tal.talinterpreter, line 949, in do_defineSlot
     * Module zope.tal.talinterpreter, line 346, in interpret
     * Module zope.tal.talinterpreter, line 861, in do_defineMacro
     * Module zope.tal.talinterpreter, line 346, in interpret
     * Module zope.tal.talinterpreter, line 536, in do_optTag_tal
     * Module zope.tal.talinterpreter, line 521, in do_optTag
     * Module zope.tal.talinterpreter, line 516, in no_tag
     * Module zope.tal.talinterpreter, line 346, in interpret
     * Module zope.tal.talinterpreter, line 534, in do_optTag_tal
     * Module zope.tal.talinterpreter, line 516, in no_tag
     * Module zope.tal.talinterpreter, line 346, in interpret
     * Module zope.tal.talinterpreter, line 745, in do_insertStructure_tal
     * Module Products.PageTemplates.Expressions, line 221, in
 evaluateStructure
     * Module zope.tales.tales, line 696, in evaluate
       URL:
 file:/home/vik/src/plumi-0.3/parts/plumi/ContentLicensing/skins/ContentLicensing/folder_listing.pt
       Line 178, Column 3
       Expression: <PathExpr standard:u'context/@@copyright_byline_view'>
       Names:

       {'container': <PloneSite at /plumi>,
        'context': <ATFolder at /plumi/Members/vik>,
        'default': <object object at 0xb7d8e530>,
        'here': <ATFolder at /plumi/Members/vik>,
        'loop': {},
        'nothing': None,
        'options': {'args': ()},
        'repeat': <Products.PageTemplates.Expressions.SafeMapping object at
 0xf0aef2c>,
        'request': <HTTPRequest,
 URL=http://192.168.1.106:9080/plumi/Members/vik/folder_listing>,
        'root': <Application at >,
        'template': <FSPageTemplate at /plumi/folder_listing used for
 /plumi/Members/vik>,
        'traverse_subpath': [],
        'user': <PloneUser 'vik'>}

     * Module zope.tales.expressions, line 217, in __call__
     * Module Products.PageTemplates.Expressions, line 153, in _eval
     * Module zope.tales.expressions, line 124, in _eval
     * Module Products.PageTemplates.Expressions, line 80, in
 boboAwareZopeTraverse
     * Module OFS.Traversable, line 301, in restrictedTraverse
     * Module OFS.Traversable, line 193, in unrestrictedTraverse
       __traceback_info__: ([], '@@copyright_byline_view')
     * Module zope.traversing.namespace, line 109, in namespaceLookup
     * Module zope.traversing.namespace, line 340, in traverse
     * Module zope.component._api, line 114, in queryMultiAdapter
     * Module zope.component.registry, line 206, in queryMultiAdapter
     * Module zope.interface.adapter, line 482, in queryMultiAdapter
     * Module Products.ContentLicensing.browser, line 45, in __init__
     * Module zope.component._api, line 207, in getUtility

 ComponentLookupError: (<InterfaceClass
 Products.ContentLicensing.utilities.interfaces.IContentLicensingUtility>,
 '')

 Display traceback as text
 REQUEST
 form
 -C      ''
 cookies
 __ac    'pxET0XGmdDSEg8OsfuKe8olYKF8gdmlr'
 _ZopeId '88689521A34lOO2cA0Q'
 lazy items
 SESSION <bound method SessionDataManager.getSessionData of
 <SessionDataManager at /session_data_manager>>
 other
 _oai_cache      {251969900: <Products.CMFCore.ActionInformation.oai
 instance at 0xf09d72c>}
 TraversalRequestNameStack       []
 LANGUAGE        'en-au'
 AUTHENTICATED_USER      <PloneUser 'vik'>
 URL     'http://192.168.1.106:9080/plumi/Members/vik/folder_listing'
 _pts_is_rtl     False
 SERVER_URL      'http://192.168.1.106:9080'
 LANGUAGE_TOOL   <Products.PloneLanguageTool.LanguageTool.LanguageBinding
 instance at 0xe0be54c>
 AUTHENTICATION_PATH     'plumi'
 traverse_subpath        []
 _ec_cache       {251969900:
 <Products.PageTemplates.Expressions.ZopeContext object at 0xf0a63cc>}
 __ac    'pxET0XGmdDSEg8OsfuKe8olYKF8gdmlr'
 PUBLISHED       <FSPageTemplate at /plumi/folder_listing used for
 /plumi/Members/vik>
 ACTUAL_URL      'http://192.168.1.106:9080/plumi/Members/vik'
 URL0    http://192.168.1.106:9080/plumi/Members/vik/folder_listing
 URL1    http://192.168.1.106:9080/plumi/Members/vik
 URL2    http://192.168.1.106:9080/plumi/Members
 URL3    http://192.168.1.106:9080/plumi
 URL4    http://192.168.1.106:9080
 BASE0   http://192.168.1.106:9080
 BASE1   http://192.168.1.106:9080
 BASE2   http://192.168.1.106:9080/plumi
 BASE3   http://192.168.1.106:9080/plumi/Members
 BASE4   http://192.168.1.106:9080/plumi/Members/vik
 BASE5   http://192.168.1.106:9080/plumi/Members/vik/folder_listing
 environ
 HTTP_ACCEPT
 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
 HTTP_ACCEPT_CHARSET     'ISO-8859-1,utf-8;q=0.7,*;q=0.7'
 HTTP_USER_AGENT 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.10)
 Gecko/2009042523 Ubuntu/9.04 (jaunty) Firefox/3.0.10'
 HTTP_REFERER    'http://192.168.1.106:9080/plumi/'
 SERVER_NAME     '0.0.0.0'
 GATEWAY_INTERFACE       'CGI/1.1'
 channel.creation_time   1243011664
 SERVER_SOFTWARE 'Zope/(Zope 2.10.7-final, python 2.4.5, linux2)
 ZServer/1.1 Plone/3.3rc2'
 REMOTE_ADDR     '192.168.1.103'
 HTTP_ACCEPT_LANGUAGE    'en-us,en;q=0.5'
 SCRIPT_NAME     ''
 REQUEST_METHOD  'GET'
 HTTP_HOST       '192.168.1.106:9080'
 HTTP_KEEP_ALIVE '300'
 SERVER_PORT     '9080'
 SERVER_PROTOCOL 'HTTP/1.1'
 PATH_TRANSLATED '/plumi/Members/vik'
 CONNECTION_TYPE 'keep-alive'
 HTTP_ACCEPT_ENCODING    'gzip,deflate'
 HTTP_COOKIE     '_ZopeId="88689521A34lOO2cA0Q";
 __ac="pxET0XGmdDSEg8OsfuKe8olYKF8gdmlr"'
 PATH_INFO       '/plumi/Members/vik'

-- 
Ticket URL: <http://plumi.org/ticket/231#comment:4>
Plumi <http://plumi.org/>
Plumi - FOSS Video Sharing Platform


More information about the Discuss mailing list