Error: widgetId is a required parameter (2.12.2)

88 views
Skip to first unread message

Dennis Bauszus

unread,
Sep 28, 2015, 5:58:10 AM9/28/15
to web2py-users
Web2py version 2.12.2.

The admin site is throwing Error: widgetId is a required parameter from the widget.js library.

This is caused by the twitter-timeline link tag being inside a twitter-timeline container element.

This confuses the widget extraction code as noted in this post on the twitter community.

I am only starting to work with web2py so I don't really understand where the container name is defined within the web2py code.




Dennis Bauszus

unread,
Sep 29, 2015, 5:50:21 AM9/29/15
to web2py-users
I just updated to version 2.12.3. The error persists.

Massimo Di Pierro

unread,
Oct 3, 2015, 11:12:18 AM10/3/15
to web2py-users
what is widget.js? It does not come with web2py.

Dennis Bauszus

unread,
Oct 5, 2015, 5:15:47 AM10/5/15
to web...@googlegroups.com
Widget.js is a twitter library. The library throws an exception because the twitter-timeline link tag is within the twitter timeline div as explained in the twitter ticket.

But the problem needs to be fixed in admin/views/default/site.html

Inline images 1

The twitter-timeline class needs to be removed from the div.

Inline images 2

Inline images 3

And the twitter widget works again...

Inline images 4

Thanks for looking into this. I know it's not a big one but people get concerned when errors are flagged in firebugs.

Cheers,
Dennis

--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to a topic in the Google Groups "web2py-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py/YN5VV-tpP6g/unsubscribe.
To unsubscribe from this group and all its topics, send an email to web2py+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages