J'ai réalisé plusieurs annotations autour d'un enregistrement audio (format .ogg), visibles sur la ligne de temps et dans la boîte "prise de notes". Maintenant, je souhaite sauvegarder mon travail. Dans Fichier/Sauvegarder recueil, j'ai beau mettre des noms qui utilisent les extensions proposées (xml, azp, apl), dans des dossiers différents, aucun fichier n'est créé (les droits des dossiers sont en 777).
Seul la sauvegarde de la session semble écrire un fichier, mais il tient sur une seule ligne :
- Code: Select all
-
<advenetool:package-list xmlns:advenetool="http://experience.univ-lyon1.fr/advene/ns/advenetool" />
A noter que peu d'exportations fonctionnent (mêmes symptômes), mais parmi celles-ci, l'export au format Advene 2 semble fonctionner : un fichier xml est créé, je l'ai placé ici : http://thibaud.hulin.free.fr/doc/Analys ... dvene2.xml
Est-il possible de le réutiliser ? En effet, j'ai ouvert advene avec l'utilisateur root et j'ai ouvert le fichier en question, mais rien ne s'est passé (présence d' "Assertion error" dans le log root).
Je n'ai pas fermé ma session ni mon ordinateur, mais j'aimerai bien sauvegarder et retrouver mon travail au format advene !...
Voici mon log en mode utilisateur : ~/.advene/advene.log :
- Code: Select all
-
Advene v. 0.46 release 20110405 (svn 7270) run at 18/08/11 15:18:55 CEST on linux2
Using localedir /usr/share/locale
Using gstreamer to play sounds
ctypes RSVG support
mediacontrol: using gstreamer
SVG: Using rsvgoverlay element
gstreamer: gstreamer: using xvimagesink
gstreamer: Reparent 0x9000042L
SVG: Using rsvgoverlay element
gstreamer: check player
Port 1234 not free on '127.0.0.1'
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/advene/core/controller.py", line 354, in process_queue
method(*args, **kw)
File "/usr/lib/pymodules/python2.7/cherrypy/process/wspbus.py", line 184, in start
self.publish('start')
File "/usr/lib/pymodules/python2.7/cherrypy/process/wspbus.py", line 147, in publish
output.append(listener(*args, **kwargs))
File "/usr/lib/pymodules/python2.7/cherrypy/_cpserver.py", line 90, in start
ServerAdapter.start(self)
File "/usr/lib/pymodules/python2.7/cherrypy/process/servers.py", line 53, in start
wait_for_free_port(*self.bind_addr)
File "/usr/lib/pymodules/python2.7/cherrypy/process/servers.py", line 251, in wait_for_free_port
raise IOError("Port %r not free on %r" % (port, host))
IOError: Port 1234 not free on '127.0.0.1'
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/advene/gui/main.py", line 3037, in slow_update_display
if self.gui.win.get_title().endswith('(*)') ^ self.controller.package._modified:
AttributeError: 'NoneType' object has no attribute '_modified'
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/advene/gui/widget.py", line 216, in update_widget
self.draw(self.cached_context, bwidth, bheight)
File "/usr/lib/pymodules/python2.7/advene/gui/widget.py", line 574, in draw
color=self.container.get_element_color(self.annotationtype)
File "/usr/lib/pymodules/python2.7/advene/gui/views/timeline.py", line 847, in get_element_color
color=self.controller.get_element_color(element)
File "/usr/lib/pymodules/python2.7/advene/core/controller.py", line 1568, in get_element_color
c=self.build_context(here=element)
File "/usr/lib/pymodules/python2.7/advene/core/controller.py", line 719, in build_context
u'snapshot': self.package.imagecache,
AttributeError: 'NoneType' object has no attribute 'imagecache'
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/advene/gui/views/timeline.py", line 2851, in focus_in
w.set_highlight(True)
File "/usr/lib/pymodules/python2.7/advene/gui/widget.py", line 545, in set_highlight
self.update_widget()
File "/usr/lib/pymodules/python2.7/advene/gui/widget.py", line 216, in update_widget
self.draw(self.cached_context, bwidth, bheight)
File "/usr/lib/pymodules/python2.7/advene/gui/widget.py", line 574, in draw
color=self.container.get_element_color(self.annotationtype)
File "/usr/lib/pymodules/python2.7/advene/gui/views/timeline.py", line 847, in get_element_color
color=self.controller.get_element_color(element)
File "/usr/lib/pymodules/python2.7/advene/core/controller.py", line 1568, in get_element_color
c=self.build_context(here=element)
File "/usr/lib/pymodules/python2.7/advene/core/controller.py", line 719, in build_context
u'snapshot': self.package.imagecache,
AttributeError: 'NoneType' object has no attribute 'imagecache'
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/advene/gui/widget.py", line 216, in update_widget
self.draw(self.cached_context, bwidth, bheight)
File "/usr/lib/pymodules/python2.7/advene/gui/widget.py", line 574, in draw
color=self.container.get_element_color(self.annotationtype)
File "/usr/lib/pymodules/python2.7/advene/gui/views/timeline.py", line 847, in get_element_color
color=self.controller.get_element_color(element)
File "/usr/lib/pymodules/python2.7/advene/core/controller.py", line 1568, in get_element_color
c=self.build_context(here=element)
File "/usr/lib/pymodules/python2.7/advene/core/controller.py", line 719, in build_context
u'snapshot': self.package.imagecache,
AttributeError: 'NoneType' object has no attribute 'imagecache'
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/advene/gui/views/timeline.py", line 2869, in focus_out
w.set_highlight(False)
File "/usr/lib/pymodules/python2.7/advene/gui/widget.py", line 545, in set_highlight
self.update_widget()
File "/usr/lib/pymodules/python2.7/advene/gui/widget.py", line 216, in update_widget
self.draw(self.cached_context, bwidth, bheight)
File "/usr/lib/pymodules/python2.7/advene/gui/widget.py", line 574, in draw
color=self.container.get_element_color(self.annotationtype)
File "/usr/lib/pymodules/python2.7/advene/gui/views/timeline.py", line 847, in get_element_color
color=self.controller.get_element_color(element)
File "/usr/lib/pymodules/python2.7/advene/core/controller.py", line 1568, in get_element_color
c=self.build_context(here=element)
File "/usr/lib/pymodules/python2.7/advene/core/controller.py", line 719, in build_context
u'snapshot': self.package.imagecache,
AttributeError: 'NoneType' object has no attribute 'imagecache'
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/advene/gui/popup.py", line 101, in create_element
cr.popup()
File "/usr/lib/pymodules/python2.7/advene/gui/edit/create.py", line 322, in popup
d=self.build_widget(modal)
File "/usr/lib/pymodules/python2.7/advene/gui/edit/create.py", line 75, in build_widget
i=self.generate_id()
File "/usr/lib/pymodules/python2.7/advene/gui/edit/create.py", line 72, in generate_id
return self.controller.package._idgenerator.get_id(self.type_)
AttributeError: 'NoneType' object has no attribute '_idgenerator'
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/advene/gui/widget.py", line 216, in update_widget
self.draw(self.cached_context, bwidth, bheight)
File "/usr/lib/pymodules/python2.7/advene/gui/widget.py", line 574, in draw
color=self.container.get_element_color(self.annotationtype)
File "/usr/lib/pymodules/python2.7/advene/gui/views/timeline.py", line 847, in get_element_color
color=self.controller.get_element_color(element)
File "/usr/lib/pymodules/python2.7/advene/core/controller.py", line 1568, in get_element_color
c=self.build_context(here=element)
File "/usr/lib/pymodules/python2.7/advene/core/controller.py", line 719, in build_context
u'snapshot': self.package.imagecache,
AttributeError: 'NoneType' object has no attribute 'imagecache'
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/advene/gui/views/timeline.py", line 2851, in focus_in
w.set_highlight(True)
File "/usr/lib/pymodules/python2.7/advene/gui/widget.py", line 545, in set_highlight
self.update_widget()
File "/usr/lib/pymodules/python2.7/advene/gui/widget.py", line 216, in update_widget
self.draw(self.cached_context, bwidth, bheight)
File "/usr/lib/pymodules/python2.7/advene/gui/widget.py", line 574, in draw
color=self.container.get_element_color(self.annotationtype)
File "/usr/lib/pymodules/python2.7/advene/gui/views/timeline.py", line 847, in get_element_color
color=self.controller.get_element_color(element)
File "/usr/lib/pymodules/python2.7/advene/core/controller.py", line 1568, in get_element_color
c=self.build_context(here=element)
File "/usr/lib/pymodules/python2.7/advene/core/controller.py", line 719, in build_context
u'snapshot': self.package.imagecache,
AttributeError: 'NoneType' object has no attribute 'imagecache'
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/advene/gui/widget.py", line 216, in update_widget
self.draw(self.cached_context, bwidth, bheight)
File "/usr/lib/pymodules/python2.7/advene/gui/widget.py", line 574, in draw
color=self.container.get_element_color(self.annotationtype)
File "/usr/lib/pymodules/python2.7/advene/gui/views/timeline.py", line 847, in get_element_color
color=self.controller.get_element_color(element)
File "/usr/lib/pymodules/python2.7/advene/core/controller.py", line 1568, in get_element_color
c=self.build_context(here=element)
File "/usr/lib/pymodules/python2.7/advene/core/controller.py", line 719, in build_context
u'snapshot': self.package.imagecache,
AttributeError: 'NoneType' object has no attribute 'imagecache'
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/advene/gui/views/timeline.py", line 2869, in focus_out
w.set_highlight(False)
File "/usr/lib/pymodules/python2.7/advene/gui/widget.py", line 545, in set_highlight
self.update_widget()
File "/usr/lib/pymodules/python2.7/advene/gui/widget.py", line 216, in update_widget
self.draw(self.cached_context, bwidth, bheight)
File "/usr/lib/pymodules/python2.7/advene/gui/widget.py", line 574, in draw
color=self.container.get_element_color(self.annotationtype)
File "/usr/lib/pymodules/python2.7/advene/gui/views/timeline.py", line 847, in get_element_color
color=self.controller.get_element_color(element)
File "/usr/lib/pymodules/python2.7/advene/core/controller.py", line 1568, in get_element_color
c=self.build_context(here=element)
File "/usr/lib/pymodules/python2.7/advene/core/controller.py", line 719, in build_context
u'snapshot': self.package.imagecache,
AttributeError: 'NoneType' object has no attribute 'imagecache'
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/advene/gui/widget.py", line 216, in update_widget
self.draw(self.cached_context, bwidth, bheight)
File "/usr/lib/pymodules/python2.7/advene/gui/widget.py", line 574, in draw
color=self.container.get_element_color(self.annotationtype)
File "/usr/lib/pymodules/python2.7/advene/gui/views/timeline.py", line 847, in get_element_color
color=self.controller.get_element_color(element)
File "/usr/lib/pymodules/python2.7/advene/core/controller.py", line 1568, in get_element_color
c=self.build_context(here=element)
File "/usr/lib/pymodules/python2.7/advene/core/controller.py", line 719, in build_context
u'snapshot': self.package.imagecache,
AttributeError: 'NoneType' object has no attribute 'imagecache'
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/advene/gui/views/timeline.py", line 2851, in focus_in
w.set_highlight(True)
File "/usr/lib/pymodules/python2.7/advene/gui/widget.py", line 545, in set_highlight
self.update_widget()
File "/usr/lib/pymodules/python2.7/advene/gui/widget.py", line 216, in update_widget
self.draw(self.cached_context, bwidth, bheight)
File "/usr/lib/pymodules/python2.7/advene/gui/widget.py", line 574, in draw
color=self.container.get_element_color(self.annotationtype)
File "/usr/lib/pymodules/python2.7/advene/gui/views/timeline.py", line 847, in get_element_color
color=self.controller.get_element_color(element)
File "/usr/lib/pymodules/python2.7/advene/core/controller.py", line 1568, in get_element_color
c=self.build_context(here=element)
File "/usr/lib/pymodules/python2.7/advene/core/controller.py", line 719, in build_context
u'snapshot': self.package.imagecache,
AttributeError: 'NoneType' object has no attribute 'imagecache'
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/advene/gui/widget.py", line 216, in update_widget
self.draw(self.cached_context, bwidth, bheight)
File "/usr/lib/pymodules/python2.7/advene/gui/widget.py", line 574, in draw
color=self.container.get_element_color(self.annotationtype)
File "/usr/lib/pymodules/python2.7/advene/gui/views/timeline.py", line 847, in get_element_color
color=self.controller.get_element_color(element)
File "/usr/lib/pymodules/python2.7/advene/core/controller.py", line 1568, in get_element_color
c=self.build_context(here=element)
File "/usr/lib/pymodules/python2.7/advene/core/controller.py", line 719, in build_context
u'snapshot': self.package.imagecache,
AttributeError: 'NoneType' object has no attribute 'imagecache'
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/advene/gui/views/timeline.py", line 2869, in focus_out
w.set_highlight(False)
File "/usr/lib/pymodules/python2.7/advene/gui/widget.py", line 545, in set_hig] Close tag encountered with no corresponding open tag.
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/advene/gui/main.py", line 4691, in on_export_activate
self.export_element(self.controller.package)
File "/usr/lib/pymodules/python2.7/advene/gui/main.py", line 2222, in export_element
fs.get_filename())
File "/usr/lib/pymodules/python2.7/advene/core/controller.py", line 2464, in apply_export_filter
compiler.parseTemplate (filter.content.stream, 'utf-8')
File "/usr/lib/pymodules/python2.7/simpletal/simpleTAL.py", line 1280, in parseTemplate
self.feed (encodedFile.read())
File "/usr/lib/python2.7/HTMLParser.py", line 108, in feed
self.goahead(0)
File "/usr/lib/python2.7/HTMLParser.py", line 150, in goahead
k = self.parse_endtag(i)
File "/usr/lib/python2.7/HTMLParser.py", line 319, in parse_endtag
self.handle_endtag(tag.lower())
File "/usr/lib/pymodules/python2.7/simpletal/simpleTAL.py", line 1359, in handle_endtag
self.popTag ((tag, None))
File "/usr/lib/pymodules/python2.7/simpletal/simpleTAL.py", line 897, in popTag
raise TemplateParseException ("</%s>" % tag[0], "Close tag encountered with no corresponding open tag.")
simpletal.simpleTAL.TemplateParseException: [</span>] Close tag encountered with no corresponding open tag.
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/advene/gui/main.py", line 2192, in update_extension
f=generate_default_filename(filter, os.path.basename(fs.get_filename()))
File "/usr/lib/python2.7/posixpath.py", line 112, in basename
i = p.rfind('/') + 1
AttributeError: 'NoneType' object has no attribute 'rfind'
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/advene/gui/main.py", line 2192, in update_extension
f=generate_default_filename(filter, os.path.basename(fs.get_filename()))
File "/usr/lib/python2.7/posixpath.py", line 112, in basename
i = p.rfind('/') + 1
AttributeError: 'NoneType' object has no attribute 'rfind'
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/advene/gui/main.py", line 2192, in update_extension
f=generate_default_filename(filter, os.path.basename(fs.get_filename()))
File "/usr/lib/python2.7/posixpath.py", line 112, in basename
i = p.rfind('/') + 1
AttributeError: 'NoneType' object has no attribute 'rfind'
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/advene/gui/main.py", line 2192, in update_extension
f=generate_default_filename(filter, os.path.basename(fs.get_filename()))
File "/usr/lib/python2.7/posixpath.py", line 112, in basename
i = p.rfind('/') + 1
AttributeError: 'NoneType' object has no attribute 'rfind'
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/advene/gui/main.py", line 2192, in update_extension
f=generate_default_filename(filter, os.path.basename(fs.get_filename()))
File "/usr/lib/python2.7/posixpath.py", line 112, in basename
i = p.rfind('/') + 1
AttributeError: 'NoneType' object has no attribute 'rfind'
Unhandled tag span
Unbalanced tag at end br
Cannot remove start mark for span
Cannot remove start mark for span
Cannot remove start mark for span
Cannot remove start mark for span
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/advene/gui/widget.py", line 158, in realize_cb
if not self.reset_surface_size(*self.needed_size()):
File "/usr/lib/pymodules/python2.7/advene/gui/widget.py", line 149, in reset_surface_size
self.cached_surface = cairo.ImageSurface(cairo.FORMAT_ARGB32, width, height)
cairo.Error: invalid value (typically too big) for the size of the input (surface, pattern, etc.)
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/advene/gui/main.py", line 3675, in on_save1_activate
self.on_save_as1_activate (package=package)
File "/usr/lib/pymodules/python2.7/advene/gui/main.py", line 3737, in on_save_as1_activate
self.workspace_save('_default_workspace')
File "/usr/lib/pymodules/python2.7/advene/gui/main.py", line 2454, in workspace_save
workspace=self.workspace_serialize()
File "/usr/lib/pymodules/python2.7/advene/gui/main.py", line 2384, in workspace_serialize
if v in self.viewbook[v._destination].permanent_widgets:
KeyError: 'popup'
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/advene/gui/main.py", line 3675, in on_save1_activate
self.on_save_as1_activate (package=package)
File "/usr/lib/pymodules/python2.7/advene/gui/main.py", line 3737, in on_save_as1_activate
self.workspace_save('_default_workspace')
File "/usr/lib/pymodules/python2.7/advene/gui/main.py", line 2454, in workspace_save
workspace=self.workspace_serialize()
File "/usr/lib/pymodules/python2.7/advene/gui/main.py", line 2384, in workspace_serialize
if v in self.viewbook[v._destination].permanent_widgets:
KeyError: 'popup'
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/advene/gui/main.py", line 3737, in on_save_as1_activate
self.workspace_save('_default_workspace')
File "/usr/lib/pymodules/python2.7/advene/gui/main.py", line 2454, in workspace_save
workspace=self.workspace_serialize()
File "/usr/lib/pymodules/python2.7/advene/gui/main.py", line 2384, in workspace_serialize
if v in self.viewbook[v._destination].permanent_widgets:
KeyError: 'popup'
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/advene/gui/main.py", line 3675, in on_save1_activate
self.on_save_as1_activate (package=package)
File "/usr/lib/pymodules/python2.7/advene/gui/main.py", line 3737, in on_save_as1_activate
self.workspace_save('_default_workspace')
File "/usr/lib/pymodules/python2.7/advene/gui/main.py", line 2454, in workspace_save
workspace=self.workspace_serialize()
File "/usr/lib/pymodules/python2.7/advene/gui/main.py", line 2384, in workspace_serialize
if v in self.viewbook[v._destination].permanent_widgets:
KeyError: 'popup'
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/advene/gui/main.py", line 3737, in on_save_as1_activate
self.workspace_save('_default_workspace')
File "/usr/lib/pymodules/python2.7/advene/gui/main.py", line 2454, in workspace_save
workspace=self.workspace_serialize()
File "/usr/lib/pymodules/python2.7/advene/gui/main.py", line 2384, in workspace_serialize
if v in self.viewbook[v._destination].permanent_widgets:
KeyError: 'popup'
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/advene/gui/main.py", line 3737, in on_save_as1_activate
self.workspace_save('_default_workspace')
File "/usr/lib/pymodules/python2.7/advene/gui/main.py", line 2454, in workspace_save
workspace=self.workspace_serialize()
File "/usr/lib/pymodules/python2.7/advene/gui/main.py", line 2384, in workspace_serialize
if v in self.viewbook[v._destination].permanent_widgets:
KeyError: 'popup'
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/advene/gui/main.py", line 3675, in on_save1_activate
self.on_save_as1_activate (package=package)
File "/usr/lib/pymodules/python2.7/advene/gui/main.py", line 3737, in on_save_as1_activate
self.workspace_save('_default_workspace')
File "/usr/lib/pymodules/python2.7/advene/gui/main.py", line 2454, in workspace_save
workspace=self.workspace_serialize()
File "/usr/lib/pymodules/python2.7/advene/gui/main.py", line 2384, in workspace_serialize
if v in self.viewbook[v._destination].permanent_widgets:
KeyError: 'popup'
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/advene/gui/main.py", line 3580, in on_win_key_press_event
self.on_save1_activate()
File "/usr/lib/pymodules/python2.7/advene/gui/main.py", line 3675, in on_save1_activate
self.on_save_as1_activate (package=package)
File "/usr/lib/pymodules/python2.7/advene/gui/main.py", line 3737, in on_save_as1_activate
self.workspace_save('_default_workspace')
File "/usr/lib/pymodules/python2.7/advene/gui/main.py", line 2454, in workspace_save
workspace=self.workspace_serialize()
File "/usr/lib/pymodules/python2.7/advene/gui/main.py", line 23
Merci de l'aide,
Thibaud.
Linux Ubuntu Natty. Python 2.7.1+ Advene 0.46
Import de la sauvegarde testé aussi avec la version SVN.