oops. typo. IN models/plugin_wiki.py d='download'
should be f='download' I will repost soon. On Aug 10, 3:01 pm, Hans <[email protected]> wrote: > I'm trying to use this widget on localhost on source version of web2py > 1.82.1 but running into the error below. other widgets like jqgrid or > select are working fine. > > how can I get slideshow working? > > `` > name: slideshow > table: coin > field: edge > transition: fade > width: 200 > height: 200 > ``:widget > > db.define_table('coin', > Field('country', db.country), > Field('national_side','upload'), > Field('common_side', 'upload'), > Field('edge', 'upload'), > Field('date_of_issue','date'), > Field('issue_volume','integer'), > Field('artist','string'), > Field('feature','string'), > Field('description','text'), > Field('approved_by', db.auth_user, default=None), > timestamp, > format=lambda row: '%s | %s | %s' % > (row.country.name,str(row.date_of_issue)[0:4],row.feature)) > > Traceback (most recent call last): > File "C:\Dokumente und Einstellungen\Hans\Desktop\coins\server\web2py > \applications\coins/models/plugin_wiki.py", line 584, in render_widget > html = getattr(PluginWikiWidgets,name)(**args) > File "C:\Dokumente und Einstellungen\Hans\Desktop\coins\server\web2py > \applications\coins/models/plugin_wiki.py", line 356, in slideshow > images = > [IMG(_src=URL(r=request,c='default',d='download',args=row[field])) for > row in rows] > File "C:\Dokumente und Einstellungen\Hans\Desktop\coins\server\web2py > \gluon\html.py", line 224, in _URL > return URL(*args, **kwargs) > TypeError: URL() got an unexpected keyword argument 'd'

