Re: collective.bulksharing problem in Plone 4.3.3

Luca Fabbri <[email protected]>
Newsgroups gmane.comp.web.zope.plone.user
Message-ID <CAGfGq=a+PkO0UxXE1Tf113po2F6ruek8o5nmn0FpipHrxDs3zg@mail.gmail.com>
On Fri, Jul 18, 2014 at 12:29 AM, Alain Schoenmakers
<[email protected]> wrote:
> Hi all,
>
> I'm having troubles using collective.bulksharing in Plone 4.3.3
>
> When I try to use the bulsharing view afther selection 2 random plone
> folders
>  I get the following traceback:
>
>  Module Products.PageTemplates.Expressions, line 218, in evaluateStructure
>   Module zope.tales.tales, line 696, in evaluate
>    - URL:
> /usr/local/Plone43Zeo/buildout-cache/eggs/collective.bulksharing-1.0-py2.7.egg/collective/bulksharing/browser/bulksharing.pt
>    - Line 86, Column 30
>    - Expression: <PathExpr standard:u'context/group.gif'>
>    - Names:
>       {'args': (),
>        'container': <ATFolder at
> /aloysius/nieuwbouw/Roermond-Kennis-Expertisecentrum>,
>        'context': <ATFolder at
> /aloysius/nieuwbouw/Roermond-Kennis-Expertisecentrum>,
>        'default': <object object at 0x7fb9d2db54e0>,
>        'here': <ATFolder at
> /aloysius/nieuwbouw/Roermond-Kennis-Expertisecentrum>,
>        'loop': {},
>        'nothing': None,
>        'options': {},
>        'repeat': <Products.PageTemplates.Expressions.SafeMapping object at
> 0x7fb9c02b8ba8>,
>        'request': <HTTPRequest,
> URL=https://aloysius.vezavastgoed.nl/nieuwbouw/Roermond-Kennis-Expertisecentrum/@@bulksharing>,
>        'root': <Application at >,
>        'template':
> <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at
> 0x7fb9bcb58a50>,
>        'traverse_subpath': [],
>        'user': <PropertiedUser 'admin'>,
>        'view': <Products.Five.metaclass.BulkSharingView object at
> 0x7fb9c0741150>,
>        'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at
> 0x7fb9c0741950>}
>   Module zope.tales.expressions, line 217, in __call__
>   Module Products.PageTemplates.Expressions, line 147, in _eval
>   Module zope.tales.expressions, line 124, in _eval
>   Module Products.PageTemplates.Expressions, line 94, in
> trustedBoboAwareZopeTraverse
>   Module OFS.Traversable, line 285, in unrestrictedTraverse
>    - __traceback_info__: ([], 'group.gif')
> AttributeError: group.gif
>
> Any ideas? I found this old Ticket but It seemed fixed in plone.app.workflow
> 2.0.6. I'm using 2.1.7
>
> Help would be apreciated,
>

group.gif has been removed from Plone 4.3.

Best thing you can do is to open an issue here:
https://github.com/softformance/collective.bulksharing/issues

Quick fix - from the code remove those two lines:
https://github.com/softformance/collective.bulksharing/blob/79cec26bbf9f46c4e349c6053e8ed67db8e4dfbb/collective/bulksharing/browser/bulksharing.pt#L86


-- 
-- luca

twitter: http://twitter.com/keul
linkedin: http://linkedin.com/in/lucafbb
blog: http://blog.keul.it/

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.