#3 — Flikr links syntax
by
richardc
—
last modified
Nov 18, 2011 09:21 AM
| State | Resolved |
|---|---|
| Version: | 1.0 |
| Area | Functionality |
| Issue type | Bug |
| Severity | Medium |
| Submitted by | richardc |
| Submitted on | Nov 18, 2011 |
| Responsible | Jean-Michel FRANCOIS |
| Target release: |
—
|
I've only managed to get one Flikr link type to display as noted on the collective.gallery Plone page.
Sets of images are displayed (eg., http://www.flickr.com/photos/autowitch/sets/1002610), but URLs of the type 'http://www.flickr.com/photos/rbpdesigner' do not seem to display.
Error:
Here is the full error message:
Display traceback as text
Traceback (innermost last):
* Module ZPublisher.Publish, line 126, in publish
* Module ZPublisher.mapply, line 77, in mapply
* Module ZPublisher.Publish, line 46, in call_object
* Module Shared.DC.Scripts.Bindings, line 322, in __call__
* Module Shared.DC.Scripts.Bindings, line 359, in _bindAndExec
* Module Products.CMFCore.FSPageTemplate, line 240, in _exec
* Module Products.CMFCore.FSPageTemplate, line 180, in pt_render
* Module Products.PageTemplates.PageTemplate, line 79, in pt_render
* Module zope.pagetemplate.pagetemplate, line 113, in pt_render
* Module zope.tal.talinterpreter, line 271, in __call__
* Module zope.tal.talinterpreter, line 343, in interpret
* Module zope.tal.talinterpreter, line 888, in do_useMacro
* Module zope.tal.talinterpreter, line 343, in interpret
* Module zope.tal.talinterpreter, line 533, in do_optTag_tal
* Module zope.tal.talinterpreter, line 518, in do_optTag
* Module zope.tal.talinterpreter, line 513, in no_tag
* Module zope.tal.talinterpreter, line 343, in interpret
* Module zope.tal.talinterpreter, line 954, in do_defineSlot
* Module zope.tal.talinterpreter, line 343, in interpret
* Module zope.tal.talinterpreter, line 533, in do_optTag_tal
* Module zope.tal.talinterpreter, line 518, in do_optTag
* Module zope.tal.talinterpreter, line 513, in no_tag
* Module zope.tal.talinterpreter, line 343, in interpret
* Module zope.tal.talinterpreter, line 858, in do_defineMacro
* Module zope.tal.talinterpreter, line 343, in interpret
* Module zope.tal.talinterpreter, line 954, in do_defineSlot
* Module zope.tal.talinterpreter, line 343, in interpret
* Module zope.tal.talinterpreter, line 533, in do_optTag_tal
* Module zope.tal.talinterpreter, line 518, in do_optTag
* Module zope.tal.talinterpreter, line 513, in no_tag
* Module zope.tal.talinterpreter, line 343, in interpret
* Module zope.tal.talinterpreter, line 946, in do_defineSlot
* Module zope.tal.talinterpreter, line 343, in interpret
* Module zope.tal.talinterpreter, line 858, in do_defineMacro
* Module zope.tal.talinterpreter, line 343, in interpret
* Module zope.tal.talinterpreter, line 533, in do_optTag_tal
* Module zope.tal.talinterpreter, line 518, in do_optTag
* Module zope.tal.talinterpreter, line 513, in no_tag
* Module zope.tal.talinterpreter, line 343, in interpret
* Module zope.tal.talinterpreter, line 819, in do_loop_tal
* Module zope.tales.tales, line 682, in setRepeat
* Module zope.tales.tales, line 696, in evaluate
URL: file:/home/rcooper/plone41/buildout-cache/eggs/collective.gallery-1.0-py2.6.egg/collective/gallery/skins/collective_gallery_theme/gallery.html.pt
Line 30, Column 16
Expression: <PathExpr standard:u'galleryview/photos'>
Names:
{'container': <ATLink at /site2/epditemplate/demo-of-epdi-products/collective-image-gallery/ggggg>,
'context': <ATLink at /site2/epditemplate/demo-of-epdi-products/collective-image-gallery/ggggg>,
'default': <object object at 0xb77ae7d0>,
'here': <ATLink at /site2/epditemplate/demo-of-epdi-products/collective-image-gallery/ggggg>,
'loop': {},
'nothing': None,
'options': {'args': ()},
'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x1199fd9c>,
'request': <HTTPRequest, URL=http://localhost:8080/[…]/gallery.html>,
'root': <Application at >,
'template': <FSPageTemplate at /site2/epditemplate/demo-of-epdi-products/collective-image-gallery/ggggg/gallery.html>,
'traverse_subpath': [],
'user': <PropertiedUser 'admin'>}
* Module zope.tales.expressions, line 217, in __call__
* Module Products.PageTemplates.Expressions, line 155, in _eval
* Module Products.PageTemplates.Expressions, line 117, in render
* Module plone.memoize.volatile, line 283, in replacement
* Module collective.gallery.link, line 59, in photos
* Module collective.gallery.link.flickr, line 84, in photos
UnboundLocalError: local variable 'set' referenced before assignment
Sets of images are displayed (eg., http://www.flickr.com/photos/autowitch/sets/1002610), but URLs of the type 'http://www.flickr.com/photos/rbpdesigner' do not seem to display.
Error:
Here is the full error message:
Display traceback as text
Traceback (innermost last):
* Module ZPublisher.Publish, line 126, in publish
* Module ZPublisher.mapply, line 77, in mapply
* Module ZPublisher.Publish, line 46, in call_object
* Module Shared.DC.Scripts.Bindings, line 322, in __call__
* Module Shared.DC.Scripts.Bindings, line 359, in _bindAndExec
* Module Products.CMFCore.FSPageTemplate, line 240, in _exec
* Module Products.CMFCore.FSPageTemplate, line 180, in pt_render
* Module Products.PageTemplates.PageTemplate, line 79, in pt_render
* Module zope.pagetemplate.pagetemplate, line 113, in pt_render
* Module zope.tal.talinterpreter, line 271, in __call__
* Module zope.tal.talinterpreter, line 343, in interpret
* Module zope.tal.talinterpreter, line 888, in do_useMacro
* Module zope.tal.talinterpreter, line 343, in interpret
* Module zope.tal.talinterpreter, line 533, in do_optTag_tal
* Module zope.tal.talinterpreter, line 518, in do_optTag
* Module zope.tal.talinterpreter, line 513, in no_tag
* Module zope.tal.talinterpreter, line 343, in interpret
* Module zope.tal.talinterpreter, line 954, in do_defineSlot
* Module zope.tal.talinterpreter, line 343, in interpret
* Module zope.tal.talinterpreter, line 533, in do_optTag_tal
* Module zope.tal.talinterpreter, line 518, in do_optTag
* Module zope.tal.talinterpreter, line 513, in no_tag
* Module zope.tal.talinterpreter, line 343, in interpret
* Module zope.tal.talinterpreter, line 858, in do_defineMacro
* Module zope.tal.talinterpreter, line 343, in interpret
* Module zope.tal.talinterpreter, line 954, in do_defineSlot
* Module zope.tal.talinterpreter, line 343, in interpret
* Module zope.tal.talinterpreter, line 533, in do_optTag_tal
* Module zope.tal.talinterpreter, line 518, in do_optTag
* Module zope.tal.talinterpreter, line 513, in no_tag
* Module zope.tal.talinterpreter, line 343, in interpret
* Module zope.tal.talinterpreter, line 946, in do_defineSlot
* Module zope.tal.talinterpreter, line 343, in interpret
* Module zope.tal.talinterpreter, line 858, in do_defineMacro
* Module zope.tal.talinterpreter, line 343, in interpret
* Module zope.tal.talinterpreter, line 533, in do_optTag_tal
* Module zope.tal.talinterpreter, line 518, in do_optTag
* Module zope.tal.talinterpreter, line 513, in no_tag
* Module zope.tal.talinterpreter, line 343, in interpret
* Module zope.tal.talinterpreter, line 819, in do_loop_tal
* Module zope.tales.tales, line 682, in setRepeat
* Module zope.tales.tales, line 696, in evaluate
URL: file:/home/rcooper/plone41/buildout-cache/eggs/collective.gallery-1.0-py2.6.egg/collective/gallery/skins/collective_gallery_theme/gallery.html.pt
Line 30, Column 16
Expression: <PathExpr standard:u'galleryview/photos'>
Names:
{'container': <ATLink at /site2/epditemplate/demo-of-epdi-products/collective-image-gallery/ggggg>,
'context': <ATLink at /site2/epditemplate/demo-of-epdi-products/collective-image-gallery/ggggg>,
'default': <object object at 0xb77ae7d0>,
'here': <ATLink at /site2/epditemplate/demo-of-epdi-products/collective-image-gallery/ggggg>,
'loop': {},
'nothing': None,
'options': {'args': ()},
'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x1199fd9c>,
'request': <HTTPRequest, URL=http://localhost:8080/[…]/gallery.html>,
'root': <Application at >,
'template': <FSPageTemplate at /site2/epditemplate/demo-of-epdi-products/collective-image-gallery/ggggg/gallery.html>,
'traverse_subpath': [],
'user': <PropertiedUser 'admin'>}
* Module zope.tales.expressions, line 217, in __call__
* Module Products.PageTemplates.Expressions, line 155, in _eval
* Module Products.PageTemplates.Expressions, line 117, in render
* Module plone.memoize.volatile, line 283, in replacement
* Module collective.gallery.link, line 59, in photos
* Module collective.gallery.link.flickr, line 84, in photos
UnboundLocalError: local variable 'set' referenced before assignment
Added by
Jean-Michel FRANCOIS
on
Nov 18, 2011 09:20 AM
Fixed by https://github.com/[…]/741098b9b874a7d902125a09452e147e01295628thanks for the report.
Added by
Jean-Michel FRANCOIS
on
Nov 18, 2011 09:21 AM
Issue state:
Unconfirmed
→
Resolved
Responsible manager:
(UNASSIGNED)
→
toutpt
No responses can be added.
If you can, please log in before submitting a reaction.
