<h1>Statistics</h1>
<ul>
<li tal:repeat="at package/annotationTypes">
<em tal:content="at/id">at</em>
: <span tal:content="at/annotations/length">count</span> annotations
- duration : <span tal:define="s python:sum(a.fragment.duration for a in at.annotations)" tal:content="s/formatted">duration</span></li>
</ul>
<h1>Type selection</h1>
<!-- definition of the list of annotation types (specify the list of ids, separated by spaces, between the single quotes) -->
<span tal:define="list_types python:[ package.get_element_by_id(t) for t in 'plan at_values'.split() ]">
<ul>
<!-- detail information about each type -->
<li tal:repeat="at list_types"><span tal:content="at/id">type</span> : <span tal:content="at/annotations/length">annotations</span> annotations - duration : <span tal:define="s python:sum(a.fragment.duration for a in at.annotations)" tal:content="s/formatted">duration</span></li>
<!-- total duration computation and display -->
<li><strong>Total </strong>: <span tal:content="python:sum(len(at.annotations) for at in list_types)">count</span> annotations - duration : <em tal:define="s python:sum(a.fragment.duration for at in list_types for a in at.annotations)" tal:content="s/formatted">total duration</em></li>
</ul>
</span>
Advene v. 1.0 release 20111220 (svn 7523) run at 30/05/12 09:12:13 W. Europe Daylight Time on win32
Using gtk pixbufloader: C:\Program Files (x86)\Advene\lib\gdk-pixbuf-2.0\2.10.0\loaders\loaders.cache
GTK DLLs found in Advene directory
Using localedir C:\Program Files (x86)\Advene\\locale
Using gstreamer to play sounds
mediacontrol: using gstreamer
SVG: Using rsvgoverlay element
gstreamer: gstreamer: using directdrawsink
gstreamer: Reparent 0x340624L
SVG: Using rsvgoverlay element
gstreamer: check player
C:\Program Files (x86)\Advene\library.zip\advene\gui\main.py:1320: GtkWarning: gdkdrawable-win32.c:2013 drawable is not a pixmap or window
Traceback (most recent call last):
File "advene\gui\views\timeline.pyc", line 1959, in create_annotations
File "advene\gui\views\timeline.pyc", line 591, in finalize_callback
File "advene\gui\views\timeline.pyc", line 3022, in update_legend_widget
File "advene\gui\views\timeline.pyc", line 2804, in resize_legend_widget
AttributeError: 'NoneType' object has no attribute 'get_parent'
C:\Program Files (x86)\Advene\library.zip\advene\gui\main.py:1320: GtkWarning: gtk_widget_size_allocate(): attempt to allocate widget with width -5 and height 15
C:\Program Files (x86)\Advene\library.zip\advene\gui\views\timeline.py:1312: GtkWarning: gdkdrawable-win32.c:2013 drawable is not a pixmap or window
C:\Program Files (x86)\Advene\library.zip\advene\gui\main.py:1320: GtkWarning: gtk_widget_size_allocate(): attempt to allocate widget with width -5 and height 18
C:\Program Files (x86)\Advene\library.zip\advene\gui\views\timeline.py:1259: GtkWarning: gdkdrawable-win32.c:2013 drawable is not a pixmap or window
C:\Program Files (x86)\Advene\library.zip\advene\gui\views\timeline.py:2448: GtkWarning: gdkdrawable-win32.c:2013 drawable is not a pixmap or window
C:\Program Files (x86)\Advene\library.zip\advene\gui\main.py:2315: GtkWarning: gdkdrawable-win32.c:2013 drawable is not a pixmap or window
Traceback (most recent call last):
File "advene\gui\main.pyc", line 2290, in update_extension
File "ntpath.pyc", line 198, in basename
File "ntpath.pyc", line 170, in split
File "ntpath.pyc", line 125, in splitdrive
TypeError: 'NoneType' object is not subscriptable
C:\Program Files (x86)\Advene\library.zip\advene\gui\main.py:2315: GtkWarning: Could not find the icon 'gtk-file'. The 'hicolor' theme
was not found either, perhaps you need to install it.
You can get a copy from:
http://icon-theme.freedesktop.org/releases
C:\Program Files (x86)\Advene\library.zip\advene\gui\main.py:2315: GtkWarning: Unable to retrieve the file info for `file:///E:/Simon/COCON-Videos/Advene/4896.csv': Error stating file 'E:\Simon\COCON-Videos\Advene\4896.csv': No such file or directory
C:\Program Files (x86)\Advene\library.zip\advene\gui\main.py:1320: GtkWarning: inner_clipboard_window_procedure: assertion `success' failed
Advene v. 1.0 release 20111220 (svn 7523) run at 30/05/12 09:44:47 W. Europe Daylight Time on win32
Using gtk pixbufloader: C:\Program Files (x86)\Advene\lib\gdk-pixbuf-2.0\2.10.0\loaders\loaders.cache
GTK DLLs found in Advene directory
Using localedir C:\Program Files (x86)\Advene\\locale
Using gstreamer to play sounds
mediacontrol: using gstreamer
SVG: Using rsvgoverlay element
gstreamer: gstreamer: using directdrawsink
gstreamer: Reparent 0x40644L
SVG: Using rsvgoverlay element
gstreamer: check player
C:\Program Files (x86)\Advene\library.zip\advene\gui\main.py:1320: GtkWarning: gdkdrawable-win32.c:2013 drawable is not a pixmap or window
sys:1: Warning: cannot register existing type `GstPlaybinSelectorPad'
sys:1: Warning: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed
sys:1: Warning: invalid (NULL) pointer instance
sys:1: Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
sys:1: Warning: g_object_set_data: assertion `G_IS_OBJECT (object)' failed
snapshotter: error when sending event
snapshotter: error when sending event
snapshotter: error when sending event
Traceback (most recent call last):
File "advene\gui\views\timeline.pyc", line 1959, in create_annotations
File "advene\gui\views\timeline.pyc", line 591, in finalize_callback
File "advene\gui\views\timeline.pyc", line 3022, in update_legend_widget
File "advene\gui\views\timeline.pyc", line 2804, in resize_legend_widget
AttributeError: 'NoneType' object has no attribute 'get_parent'
C:\Program Files (x86)\Advene\library.zip\advene\gui\main.py:1320: GtkWarning: gtk_widget_size_allocate(): attempt to allocate widget with width -5 and height 15
Advene v. 1.0 release 20111220 (svn 7523) run at 31/05/12 09:28:48 W. Europe Daylight Time on win32
Using gtk pixbufloader: C:\Program Files (x86)\Advene\lib\gdk-pixbuf-2.0\2.10.0\loaders\loaders.cache
GTK DLLs found in Advene directory
Using localedir C:\Program Files (x86)\Advene\\locale
Using gstreamer to play sounds
mediacontrol: using gstreamer
SVG: Using rsvgoverlay element
gstreamer: gstreamer: using directdrawsink
gstreamer: Reparent 0x3056aL
SVG: Using rsvgoverlay element
gstreamer: check player
C:\Program Files (x86)\Advene\library.zip\advene\gui\main.py:1320: GtkWarning: gdkdrawable-win32.c:2013 drawable is not a pixmap or window
snapshotter: error when sending event
snapshotter: error when sending event
snapshotter: error when sending event
Traceback (most recent call last):
File "advene\gui\views\timeline.pyc", line 1959, in create_annotations
File "advene\gui\views\timeline.pyc", line 591, in finalize_callback
File "advene\gui\views\timeline.pyc", line 3022, in update_legend_widget
File "advene\gui\views\timeline.pyc", line 2804, in resize_legend_widget
AttributeError: 'NoneType' object has no attribute 'get_parent'
C:\Program Files (x86)\Advene\library.zip\advene\gui\main.py:1320: GtkWarning: gtk_widget_size_allocate(): attempt to allocate widget with width -5 and height 15