errors with exhibit facets with multiple timelines

6 views
Skip to first unread message

Brian

unread,
Jan 23, 2009, 1:55:25 PM1/23/09
to SIMILE Widgets
Hello, and thanks for developing such great visualization tools.

I was working from this example in order to produce multiple timelines
from one data source in my exhibit -
http://people.csail.mit.edu/dfhuynh/projects/timeline-exhibit/timeline-exhibit2.html

My exhibit loads without errors, however when I try to select from one
of the facets or search for text, I get the following errors, then the
page never loads. I tried to search for "Old" in the Search box of the
exhibit referenced in the URL above, but noted the same errors.

Error 1 - Caught exception: undefined / Details: ReferenceError:
console is not defined
Error 2 - Caught exception: Error adding action {Text search Old} to
history / Details: TypeError: invalid 'in' operand F

I'm not that versed in Javascript etc., so any help would be greatly
appreciated.

Thanks,

Brian

David Huynh

unread,
Jan 25, 2009, 3:06:31 AM1/25/09
to simile-...@googlegroups.com
If you look in

http://people.csail.mit.edu/dfhuynh/projects/timeline-exhibit/filtered-sources.js
you'd see
console.log(...)

"console" is a variable available in Firefox with Firebug installed.
It's also available in Safari and Chrome. But otherwise, it's not
available, thus causing the "console is not defined" error. Use a copy
of that file where the console.log calls are removed.

David

Brian

unread,
Jan 26, 2009, 10:40:43 AM1/26/09
to SIMILE Widgets
Thanks very much David - removing the 'console' reference in the
'filtered.js' script took care of the problem.

Brian


On Jan 25, 1:06 am, David Huynh <dfhu...@alum.mit.edu> wrote:
> Brian wrote:
> > Hello, and thanks for developing such great visualization tools.
>
> > I was working from this example in order to produce multiple timelines
> > from one data source in my exhibit -
> >http://people.csail.mit.edu/dfhuynh/projects/timeline-exhibit/timelin...
>
> > My exhibit loads without errors, however when I try to select from one
> > of the facets or search for text, I get the following errors, then the
> > page never loads. I tried to search for "Old" in the Search box of the
> > exhibit referenced in the URL above, but noted the same errors.
>
> > Error 1 - Caught exception: undefined / Details: ReferenceError:
> > console is not defined
> > Error 2 - Caught exception: Error adding action {Text search Old} to
> > history / Details: TypeError: invalid 'in' operand F
>
> > I'm not that versed in Javascript etc., so any help would be greatly
> > appreciated.
>
> If you look in
>
> http://people.csail.mit.edu/dfhuynh/projects/timeline-exhibit/filtere...
Reply all
Reply to author
Forward
0 new messages