[Bug 80237] Re: Please backport Democracy TV to Edgy

KenSentMe jeroen at vandenieuwenhof.nl
Thu Mar 22 09:13:52 GMT 2007


I've updated to this backported version of Democracy Player. However, i
can't get it to run. I get these errors on startup:

jeroen at lisa2-ubuntu:~$ democracyplayer 
/var/lib/python-support/python2.5/democracy/eventloop.py:17: RuntimeWarning: Python C API version mismatch for module fasttypes: This Python has API version 1013, module fasttypes has version 1012.
  import database
/var/lib/python-support/python2.5/democracy/frontend_implementation/Application.py:26: GtkDeprecationWarning: gtk.threads_init is deprecated, use gtk.gdk.threads_init instead
  gtk.threads_init()
DTV: Starting up Democracy Player
DTV: Version:  0.9.2.1
DTV: Revision: unknown
DTV: Loading preferences...
DTV: Restoring database...
DTV: Recomputing filters...
failed() called; generating crash report.
WARNING: Error reading logfile: /home/jeroen/.democracy/log
Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/democracy/util.py", line 194, in readLog
    f = open(logFile, "rt")
IOError: [Errno 2] No such file or directory: '/home/jeroen/.democracy/log'
WARNING: Error reading logfile: /home/jeroen/.democracy/dtv-downloader-log
Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/democracy/util.py", line 194, in readLog
    f = open(logFile, "rt")
IOError: [Errno 2] No such file or directory: '/home/jeroen/.democracy/dtv-downloader-log'
----- CRASH REPORT (DANGER CAN HAPPEN) -----
App:        Democracy Player
Publisher:  Participatory Culture Foundation
Platform:   gtk-x11
Python:     2.5 (r25:51908, Oct  6 2006, 15:22:41) 
[GCC 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu4)]
Py Path:    ['/var/lib/python-support/python2.5/democracy', '/usr/bin', '/usr/lib/python25.zip', '/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/Numeric', '/usr/lib/python2.5/site-packages/cairo', '/usr/lib/python2.5/site-packages/gst-0.10', '/var/lib/python-support/python2.5', '/usr/lib/python2.5/site-packages/gtk-2.0', '/var/lib/python-support/python2.5/gtk-2.0']
Version:    0.9.2.1
Serial:     20061127000
Revision:   unknown
Time:       Thu Mar 22 10:11:56 2007
When:       while finishing starting up

Exception
---------
Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/democracy/app.py", line 531, in finishStartup
    downloader.startupDownloader()
  File "/var/lib/python-support/python2.5/democracy/downloader.py", line 438, in startupDownloader
    cleanupIncompleteDownloads()
  File "/var/lib/python-support/python2.5/democracy/downloader.py", line 405, in cleanupIncompleteDownloads
    for downloader in views.remoteDownloads:
  File "database.pyx", line 496, in database.DynamicDatabase.next
TypeError: exceptions must be strings, classes, or instances, not type

Call stack
----------
  File "/usr/bin/democracyplayer", line 90, in <module>
    startapp()
  File "/usr/bin/democracyplayer", line 57, in startapp
    app.main()
  File "/var/lib/python-support/python2.5/democracy/app.py", line 71, in main
    Controller().Run()
  File "/var/lib/python-support/python2.5/democracy/frontend_implementation/Application.py", line 27, in Run
    self.onStartup()
  File "/var/lib/python-support/python2.5/democracy/app.py", line 512, in onStartup
    self.finishStartup(gatheredVideos)
  File "/var/lib/python-support/python2.5/democracy/app.py", line 674, in finishStartup
    util.failedExn("while finishing starting up")
  File "/var/lib/python-support/python2.5/democracy/util.py", line 131, in failedExn
    failed(when, withExn = True, **kwargs)

Threads
-------
Current: MainThread
Active:
 - MainThread

----- END OF CRASH REPORT -----
/var/lib/python-support/python2.5/democracy/frontend_implementation/gtk_queue.py:109: GtkDeprecationWarning: gtk.threads_enter is deprecated, use gtk.gdk.threads_enter instead
  gtk.threads_enter()
/var/lib/python-support/python2.5/democracy/frontend_implementation/gtk_queue.py:129: GtkDeprecationWarning: gtk.threads_leave is deprecated, use gtk.gdk.threads_leave instead
  gtk.threads_leave()
/var/lib/python-support/python2.5/democracy/frontend_implementation/gtk_queue.py:116: GtkDeprecationWarning: gtk.threads_leave is deprecated, use gtk.gdk.threads_leave instead
  gtk.threads_leave()

Besides that i get a popup stating:An unknown error has occurred while
finishing starting up.

-- 
Please backport Democracy TV to Edgy
https://launchpad.net/bugs/80237



More information about the ubuntu-archive mailing list