Some other explanation:
In fact removing the .miro directory solve the problem for one run of
miro, it is after miro have been closed once and reopen that the
problem arrive.
here are the log of a first successful run of miro:
2009-05-11 15:16:19,751 INFO Starting up Miro
2009-05-11 15:16:19,751 INFO Version: 2.0.3
2009-05-11 15:16:19,755 INFO OS: Linux 2.6.29-2-amd64 x86_64
2009-05-11 15:16:19,756 INFO Revision:
https://svn.participatoryculture.org/svn/dtv/tags/Miro-2.0.3/tv/resources
- 9307
2009-05-11 15:16:19,756 INFO Builder: u...@greenwood
2009-05-11 15:16:19,756 INFO Build Time: 1237224895.24
2009-05-11 15:16:19,756 INFO Starting event loop thread
2009-05-11 15:16:19,758 INFO Python version: 2.5.4
(r254:67916, Feb 18 2009, 03:00:47)
[GCC 4.3.3]
2009-05-11 15:16:19,758 INFO Gtk+ version: (2, 16, 1)
2009-05-11 15:16:19,758 INFO PyGObject version: (2, 16, 1)
2009-05-11 15:16:19,763 INFO Restoring database...
2009-05-11 15:16:19,763 INFO PyGtk version: (2, 14, 1)
2009-05-11 15:16:19,764 INFO Connecting to /home/moi/.miro/sqlitedb
2009-05-11 15:16:19,764 INFO Language: [('LANG',
'fr_FR.UTF-8')]
2009-05-11 15:16:19,765 INFO set_renderer: trying to add
gstreamerrenderer
2009-05-11 15:16:19,805 INFO GStreamer version: GStreamer 0.10.22
2009-05-11 15:16:19,812 INFO GStreamer videosink: gconfvideosink
2009-05-11 15:16:19,813 INFO GStreamer audiosink: gconfaudiosink
2009-05-11 15:16:19,835 INFO set_renderer: successfully loaded
gstreamerrenderer
2009-05-11 15:16:20,096 TIMING Database load slow: 0.332
2009-05-11 15:16:20,096 INFO Database size on disk (in bytes): 5120
2009-05-11 15:16:20,097 INFO Database object count: 0
2009-05-11 15:16:20,102 INFO Spawning global feed dtv:manualFeed
2009-05-11 15:16:20,106 INFO Spawning global feed dtv:singleFeed
2009-05-11 15:16:20,108 INFO Spawning global feed dtv:search
2009-05-11 15:16:20,110 INFO Spawning global feed dtv:searchDownloads
2009-05-11 15:16:20,112 INFO Spawning global feed dtv:directoryfeed
2009-05-11 15:16:20,114 INFO Creating site tab order
2009-05-11 15:16:20,114 INFO Creating channel tab order
2009-05-11 15:16:20,115 INFO Creating audio-channel tab order
2009-05-11 15:16:20,116 INFO Creating playlist tab order
2009-05-11 15:16:20,116 INFO Spawning Miro Guide...
2009-05-11 15:16:20,118 INFO Adding default feeds
2009-05-11 15:16:20,129 INFO Checking movies directory
'/home/moi/.miro/Movies/'...
2009-05-11 15:16:21,043 WARNING Ignoring Dialog -- title: text:
(ssl_error_ssl_disabled)
2009-05-11 15:16:22,965 INFO Starting auto downloader...
2009-05-11 15:16:22,968 TIMING Icon clear: 0.000
2009-05-11 15:16:22,968 INFO Starting movie data updates
2009-05-11 15:17:09,504 INFO Shutting down Downloader...
2009-05-11 15:17:09,587 INFO Closing Database...
2009-05-11 15:17:09,827 INFO Shutting down event loop
2009-05-11 15:17:09,827 INFO Shutting down...
2009-05-11 15:17:09,828 INFO Saving preferences...
2009-05-11 15:17:09,828 INFO Shutting down icon cache updates
2009-05-11 15:17:09,828 INFO Shutting down movie data updates
2009-05-11 15:17:09,828 INFO Done shutting down.
2009-05-11 15:17:09,828 INFO Remaining threads are:
2009-05-11 15:17:09,828 INFO <_MainThread(MainThread, started)>
There is the logs of the next (failed) run:
2009-05-11 15:18:48,106 INFO Starting up Miro
2009-05-11 15:18:48,106 INFO Version: 2.0.3
2009-05-11 15:18:48,110 INFO OS: Linux 2.6.29-2-amd64 x86_64
2009-05-11 15:18:48,111 INFO Revision:
https://svn.participatoryculture.org/svn/dtv/tags/Miro-2.0.3/tv/resources
- 9307
2009-05-11 15:18:48,111 INFO Builder: u...@greenwood
2009-05-11 15:18:48,111 INFO Build Time: 1237224895.24
2009-05-11 15:18:48,111 INFO Starting event loop thread
2009-05-11 15:18:48,113 INFO Python version: 2.5.4
(r254:67916, Feb 18 2009, 03:00:47)
[GCC 4.3.3]
2009-05-11 15:18:48,118 INFO Restoring database...
2009-05-11 15:18:48,118 INFO Gtk+ version: (2, 16, 1)
2009-05-11 15:18:48,118 INFO Connecting to /home/moi/.miro/sqlitedb
2009-05-11 15:18:48,118 INFO PyGObject version: (2, 16, 1)
2009-05-11 15:18:48,119 INFO PyGtk version: (2, 14, 1)
2009-05-11 15:18:48,119 INFO Language: [('LANG',
'fr_FR.UTF-8')]
2009-05-11 15:18:48,122 INFO set_renderer: trying to add
gstreamerrenderer
2009-05-11 15:18:48,164 INFO GStreamer version: GStreamer 0.10.22
2009-05-11 15:18:48,202 INFO GStreamer videosink: gconfvideosink
2009-05-11 15:18:48,203 INFO GStreamer audiosink: gconfaudiosink
2009-05-11 15:18:48,224 INFO set_renderer: successfully loaded
gstreamerrenderer
2009-05-11 15:18:48,267 TIMING Database load slow: 0.148
2009-05-11 15:18:48,267 INFO Database size on disk (in bytes): 625664
2009-05-11 15:18:48,267 INFO Database object count: 96
2009-05-11 15:18:48,311 INFO Checking movies directory
'/home/moi/.miro/Movies/'...
2009-05-11 15:18:48,805 WARNING Ignoring Dialog -- title: text:
(ssl_error_ssl_disabled)
2009-05-11 15:18:50,739 INFO Starting auto downloader...
2009-05-11 15:18:50,741 TIMING Icon clear: 0.000
2009-05-11 15:18:50,742 INFO Starting movie data updates
Cannot operate on a closed cursor.
Cannot operate on a closed cursor.
Cannot operate on a closed cursor.
2009-05-11 15:19:25,747 INFO updating
http://feeds.miroguide.com/miroguide/new
2009-05-11 15:19:25,748 INFO updating
http://feeds.miroguide.com/miroguide/featured
2009-05-11 15:19:25,750 INFO updating
http://feeds.feedburner.com/earth-touch_podcast_720p
2009-05-11 15:19:26,068 INFO updating
http://www.linktv.org/rss/hq/globalpulse.xml
2009-05-11 15:19:27,371 INFO Shutting down Downloader...
2009-05-11 15:19:27,387 INFO Closing Database...
2009-05-11 15:19:27,387 INFO failed() called; generating crash report.
2009-05-11 15:19:27,391 INFO ----- CRASH REPORT (DANGER CAN
HAPPEN) -----
2009-05-11 15:19:27,391 INFO App: Miro
Publisher: Participatory Culture Foundation
Platform: gtk-x11
Python: 2.5.4 (r254:67916, Feb 18 2009, 03:00:47) [GCC 4.3.3]
Py Path: ['/usr/bin',
'/usr/lib/python2.5/site-packages/gst-0.10', '/usr/bin',
'/usr/lib/python2.5', '/usr/lib/python2.5/plat-linux2',
'/usr/lib/python2.5/lib-tk', '/usr/lib/python2.5/lib-dynload',
'/usr/local/lib/python2.5/site-packages',
'/usr/lib/python2.5/site-packages',
'/usr/lib/python2.5/site-packages/PIL',
'/usr/lib/pymodules/python2.5',
'/usr/lib/python2.5/site-packages/gtk-2.0',
'/usr/lib/pymodules/python2.5/gtk-2.0']
Version: 2.0.3
Serial: 20090312000
Revision:
https://svn.participatoryculture.org/svn/dtv/tags/Miro-2.0.3/tv/resources
- 9307
Builder: u...@greenwood
Build Time: 1237224895.24
Time: Mon May 11 15:19:27 2009
When: Running:
<miro.dl_daemon.command.ShutDownResponseCommand instance at 0x335ec20>
Exception
---------
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.5/miro/trapcall.py", line 42,
in trap_call
function(*args, **kwargs)
File "/usr/lib/pymodules/python2.5/miro/dl_daemon/daemon.py",
line 180, in runCommand
comm.action()
File "/usr/lib/pymodules/python2.5/miro/dl_daemon/command.py",
line 116, in action
self.daemon.shutdownResponse()
File "/usr/lib/pymodules/python2.5/miro/dl_daemon/daemon.py",
line 282, in shutdownResponse
self.shutdown_callback()
File "/usr/lib/pymodules/python2.5/miro/controller.py", line 82,
in downloaderShutdown
app.db.liveStorage.close()
File "/usr/lib/pymodules/python2.5/miro/storedatabase.py", line
1259, in close
self.cursor.execute("VACUUM")
ProgrammingError: Cannot operate on a closed cursor.
Call stack
----------
File "/usr/lib/pymodules/python2.5/miro/trapcall.py", line 42,
in trap_call
function(*args, **kwargs)
File "/usr/lib/pymodules/python2.5/miro/httpclient.py", line
186, in trap_call
return trapcall.time_trap_call("Calling %s on %s" % (function,
object), function, *args, **kwargs)
File "/usr/lib/pymodules/python2.5/miro/trapcall.py", line 42,
in trap_call
function(*args, **kwargs)
File "/usr/lib/pymodules/python2.5/miro/trapcall.py", line 47,
in trap_call
signals.system.failed_exn(when)
Threads
-------
Current: Event Loop
Active:
- ThreadPool - 0 [Daemon]
- ThreadPool - 2 [Daemon]
- ThreadPool - 1 [Daemon]
- MainThread
- Movie Data Thread [Daemon]
- Event Loop
2009-05-11 15:19:27,391 INFO ----- END OF CRASH REPORT -----
Cannot operate on a closed cursor.
After this, miro process stay as long as I don't kill it (or interupt
it with C-c), with the "Cannot operate on a closed cursor" line
repeated every 10s or so.
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]