[apport] democracyplayer crashed with TypeError in __new__()

Bug #81798 reported by Daniel Robitaille
614
Affects Status Importance Assigned to Milestone
democracyplayer (Ubuntu)
Fix Released
High
Michael Bienia

Bug Description

Binary package hint: democracyplayer

The Democracy player crashed simply by trying to start it up:

  from dbus.dbus_bindings import *
Traceback (most recent call last):
  File "/usr/bin/democracyplayer", line 89, in <module>
    onetime.OneTime()
  File "/var/lib/python-support/python2.5/democracy/onetime.py", line 105, in __init__
    bus_name = BusNameFlags('org.participatoryculture.dtv.onetime', bus=bus, flags=dbus.dbus_bindings.NAME_FLAG_DO_NOT_QUEUE)
  File "/var/lib/python-support/python2.5/democracy/onetime.py", line 53, in __new__
    retval = dbus.dbus_bindings.bus_request_name(bus.get_connection(), name, flags=flags)
TypeError: request_name() takes no keyword arguments

ProblemType: Crash
Date: Fri Jan 26 21:59:18 2007
DistroRelease: Ubuntu 7.04
ExecutablePath: /usr/bin/democracyplayer
InterpreterPath: /usr/bin/python2.5
Package: democracyplayer 0.9.2.1-2.1ubuntu1
ProcCmdline: /usr/bin/python2.5 /usr/bin/democracyplayer
ProcCwd: /home/daniel
ProcEnviron:
 SHELL=/bin/bash
 PATH=/home/daniel/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_CA.UTF-8
PythonArgs: ['/usr/bin/democracyplayer']
SourcePackage: democracyplayer
Uname: Linux laptop 2.6.20-5-generic #2 SMP Sat Jan 6 14:50:47 UTC 2007 i686 GNU/Linux

Revision history for this message
Daniel Robitaille (robitaille) wrote : Dependencies.txt
Revision history for this message
Daniel Robitaille (robitaille) wrote : ProcMaps.txt
Revision history for this message
Daniel Robitaille (robitaille) wrote : ProcStatus.txt
Revision history for this message
Daniel Robitaille (robitaille) wrote : Traceback.txt
Revision history for this message
Liviu Damian (liviudm) wrote :

same to me :(

Mika Fischer (zoop)
Changed in democracyplayer:
status: Unconfirmed → Confirmed
Revision history for this message
Bill Hand (fxwgbill-gmail) wrote :

For info: after the install of 2.6.20-6-generic, up from -5 for me, the error still occurrs...

Bill

Revision history for this message
littlemazeton2 (littlemazeton2) wrote :

having the same problem. It won't start

Revision history for this message
David Finch (ubuntu-mytsoftware) wrote :

If I install python 2.4, download the upstream Democracy Player 0.9.5.1 deb, modify its dependencies to install on feisty, comment out the crashing portions of "onetime.py", and remove MozillaBrowser references from "frontend.py" and "frontend_implementation/HTMLDisplay.py", I can get it to start up and play videos. But the html portions of the interface are gone, making it a pretty useless. But you get an idea of what needs fixing.

Revision history for this message
Bastian Holst (bastianholst) wrote :

I have the same problem.

Revision history for this message
Daan Odijk (dodijk) wrote :

I have had the same problem for more than a month, too...

Revision history for this message
Martin Knudsen (brainwashed) wrote :

Same here.

Revision history for this message
jandro (thejandroman) wrote :

I can run the program as super user.

Revision history for this message
mafix (mafix) wrote :

same here

startup with sudo works until the start up of the democracy daemon.
commandline output:
*** Launching Democracy Downloader Daemon ****
Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/democracy/dl_daemon/Democracy_Downloader.py", line 66, in ?
    launch()
  File "/var/lib/python-support/python2.5/democracy/dl_daemon/Democracy_Downloader.py", line 36, in launch
    from dl_daemon import daemon
  File "/var/lib/python-support/python2.5/democracy/dl_daemon/daemon.py", line 1, in ?
    from dl_daemon import command
  File "/var/lib/python-support/python2.5/democracy/dl_daemon/command.py", line 5, in ?
    import eventloop
  File "/var/lib/python-support/python2.5/democracy/eventloop.py", line 17, in ?
    import database
ImportError: /var/lib/python-support/python2.5/democracy/database.so: undefined symbol: _PyObject_CallFunction_SizeT

Michael Bienia (geser)
Changed in democracyplayer:
importance: Undecided → Medium
Revision history for this message
Sluggysan (deadslug) wrote :

i get the same too - can run it as root, but won't start up completely. :( stops at same point, at daemon startup.

Revision history for this message
kitpierce (kit-pierce) wrote : Re: [Bug 81798] Re: [apport] democracyplayer crashed with TypeError in __new__()

I hadn't even thought of running it as root, how silly (and total noob giveaway) of me. I tried kdesu democracyplayer (running Kubuntu) and at least it ran the setup tool - but it also crashed as the player tried to load. Ah well, here's to bug reports working wonderfully well in Ubuntu!

Sluggysan <email address hidden> wrote: i get the same too - can run it as root, but won't start up completely.
:( stops at same point, at daemon startup.

--
[apport] democracyplayer crashed with TypeError in __new__()
https://launchpad.net/bugs/81798

Revision history for this message
Michael Bienia (geser) wrote :

https://develop.participatoryculture.org/trac/democracy/ticket/5645 has a patch to make democracyplayer get past this python error. But it crashed short after with a segfault.

So it's not much improvement if I upload a new version with this patches included.

Michael Bienia (geser)
Changed in democracyplayer:
assignee: nobody → motu
importance: Medium → High
Revision history for this message
Loïc Martin (loic-martin3) wrote :

Same crash here in Feisty Beta

Revision history for this message
fimbulvetr (fimbulvetr) wrote :

Same here.

Revision history for this message
houstonbofh (leesharp) wrote :

Another "Me too" post. Feisty from Heard4 patched to current. If launched from a shell...

lee@big-laptop:~$ democracyplayer
/usr/bin/democracyplayer:81: DeprecationWarning: The dbus_bindings module is deprecated and will go away soon.

dbus-python 0.80 provides only a partial emulation of the old
dbus_bindings, which was never meant to be public API.

Most uses of dbus_bindings are applications catching the exception
dbus.dbus_bindings.DBusException. You should use dbus.DBusException
instead (this is compatible with all dbus-python versions since 0.40.2).

If you need additional public API, please contact the maintainers via
<email address hidden>.

  import dbus_bindings
/var/lib/python-support/python2.5/dbus_bindings.py:5: DeprecationWarning: The dbus_bindings module is deprecated and will go away soon.

dbus-python 0.80 provides only a partial emulation of the old
dbus_bindings, which was never meant to be public API.

Most uses of dbus_bindings are applications catching the exception
dbus.dbus_bindings.DBusException. You should use dbus.DBusException
instead (this is compatible with all dbus-python versions since 0.40.2).

If you need additional public API, please contact the maintainers via
<email address hidden>.

  from dbus.dbus_bindings import *
Traceback (most recent call last):
  File "/usr/bin/democracyplayer", line 89, in <module>
    onetime.OneTime()
  File "/var/lib/python-support/python2.5/democracy/onetime.py", line 105, in __init__
    bus_name = BusNameFlags('org.participatoryculture.dtv.onetime', bus=bus, flags=dbus.dbus_bindings.NAME_FLAG_DO_NOT_QUEUE)
  File "/var/lib/python-support/python2.5/democracy/onetime.py", line 53, in __new__
    retval = dbus.dbus_bindings.bus_request_name(bus.get_connection(), name, flags=flags)
TypeError: request_name() takes no keyword arguments
lee@big-laptop:~$

Revision history for this message
Pekay (pekayz) wrote :

Got the same error here too, (Feisty Beta release).

Revision history for this message
Ralf Nieuwenhuijsen (ralf-nieuwenhuijsen) wrote :

Same error here. (feisty up to date, generic kernel on amd64 machine)

Revision history for this message
Bruno Santos (bsantos) wrote :
Revision history for this message
Bruno Santos (bsantos) wrote :

I got it to work by doing the following:

Create /etc/ld.so.conf.d/democracy:

/usr/lib/firefox

And doing some changes to the code as in the patch attached.

It works, please guide me if I did something wrong on the patch.

Revision history for this message
Bruno Santos (bsantos) wrote :

Sorry, I meant /etc/ld.so.conf.d/democracy.conf since ldconfig just reads files ended in .conf. It can be whatever you want to name it, or just link the firefox libs to /usr/lib.

Revision history for this message
Daan Odijk (dodijk) wrote :

I can confirm this patch to work on Feisty Beta. But I had to install the firefox-dev package.

Thanks Bruno!

Revision history for this message
Bruno Santos (bsantos) wrote : Re: [Bug 81798] Re: [apport] democracyplayer crashed with TypeError in __new__()

;-D

Yup, I probably already had firefox-dev from trying to compile dtv from
scratch and I forgot about it. :-P

Can you confirm that it is a bit unstable though? I get crashes that
seem related to gstreamer. Try to play and stop a video a couple of
times or change to a channel/feed while playing a video and see if it
crashes.

How is this close to 1.0? Am I missing something?

Cheers! ;-)

On Thu, 2007-03-29 at 14:37 +0000, Daan Odijk wrote:
> I can confirm this patch to work on Feisty Beta. But I had to install
> the firefox-dev package.
>
> Thanks Bruno!
>

Revision history for this message
Daan Odijk (dodijk) wrote :

> Can you confirm that it is a bit unstable though? I get crashes that
> seem related to gstreamer. Try to play and stop a video a couple of
> times or change to a channel/feed while playing a video and see if it
> crashes.

Yes, it is unstable. Only 1 out of 4 video's played correctly and the others started playing (without audio), but crashed when I tried to change anything. This was however an issue for me under Edgy too. Might even be related to running Compiz for me as well...

> How is this close to 1.0? Am I missing something?

The fact that it's unstable seems unrelated to the python2.5 and firefox-dev issue with Feisty. These are the only changes in the patch as far as I can tell. Get some more people to confirm that it works, but i'd say close to 1.0.

Revision history for this message
Bill Hand (fxwgbill-gmail) wrote : Re: [Bug 81798] Re: [apport] democracyplayer crashed with TypeError in __new__()

How would one go about installing this patch? I have tried several
different ways and it keeps saying it can't find the files... I copied
the patch to: /usr/share/python-support/democracyplayer/democracy

and issued the command: sudo patch -b
</usr/share/python-support/democracyplayer/democracy/democracy.patch

and I keep getting:

> patching file coverage.py
> can't find file to patch at input line 31
> Perhaps you should have used the -p or --strip option?
> The text leading up to this was:
> --------------------------
> |diff -Naur democracy_old/frontend_implementation/Application.py
> democracy/frontend_implementation/Application.py
> |--- democracy_old/frontend_implementation/Application.py
> 2007-03-29 04:07:42.000000000 +0100
> |+++ democracy/frontend_implementation/Application.py 2007-03-29
> 04:10:30.000000000 +0100
> --------------------------
> File to patch:
> Skip this patch? [y]
> Skipping patch.
> 1 out of 1 hunk ignored
> can't find file to patch at input line 43
> Perhaps you should have used the -p or --strip option?
> The text leading up to this was:
> --------------------------
> |diff -Naur democracy_old/frontend_implementation/gtk_queue.py
> democracy/frontend_implementation/gtk_queue.py
> |--- democracy_old/frontend_implementation/gtk_queue.py 2007-03-29
> 04:07:42.000000000 +0100
> |+++ democracy/frontend_implementation/gtk_queue.py 2007-03-29
> 04:10:00.000000000 +0100
> --------------------------
> File to patch:
> Skip this patch? [y]

Bruno Santos wrote:
> I got it to work by doing the following:
>
> Create /etc/ld.so.conf.d/democracy:
>
> /usr/lib/firefox
>
> And doing some changes to the code as in the patch attached.
>
> It works, please guide me if I did something wrong on the patch.
>
> ** Attachment added: "Fixes to get democracy player to run on Feisty"
> http://librarian.launchpad.net/7039205/democracy.patch
>
>

Revision history for this message
Bruno Santos (bsantos) wrote : Re: [Bug 81798] Re: [apport] democracyplayer crashed with TypeError in __new__()

cd /usr/share/python-support/democracyplayer
sudo patch -p0
< /usr/share/python-support/democracyplayer/democracy/democracy.patch

:)

On Fri, 2007-03-30 at 21:24 +0000, Bill Hand wrote:
> How would one go about installing this patch? I have tried several
> different ways and it keeps saying it can't find the files... I copied
> the patch to: /usr/share/python-support/democracyplayer/democracy
>
> and issued the command: sudo patch -b
> </usr/share/python-support/democracyplayer/democracy/democracy.patch
>
> and I keep getting:
>
> > patching file coverage.py
> > can't find file to patch at input line 31
> > Perhaps you should have used the -p or --strip option?
> > The text leading up to this was:
> > --------------------------
> > |diff -Naur democracy_old/frontend_implementation/Application.py
> > democracy/frontend_implementation/Application.py
> > |--- democracy_old/frontend_implementation/Application.py
> > 2007-03-29 04:07:42.000000000 +0100
> > |+++ democracy/frontend_implementation/Application.py 2007-03-29
> > 04:10:30.000000000 +0100
> > --------------------------
> > File to patch:
> > Skip this patch? [y]
> > Skipping patch.
> > 1 out of 1 hunk ignored
> > can't find file to patch at input line 43
> > Perhaps you should have used the -p or --strip option?
> > The text leading up to this was:
> > --------------------------
> > |diff -Naur democracy_old/frontend_implementation/gtk_queue.py
> > democracy/frontend_implementation/gtk_queue.py
> > |--- democracy_old/frontend_implementation/gtk_queue.py 2007-03-29
> > 04:07:42.000000000 +0100
> > |+++ democracy/frontend_implementation/gtk_queue.py 2007-03-29
> > 04:10:00.000000000 +0100
> > --------------------------
> > File to patch:
> > Skip this patch? [y]
>
>
> Bruno Santos wrote:
> > I got it to work by doing the following:
> >
> > Create /etc/ld.so.conf.d/democracy:
> >
> > /usr/lib/firefox
> >
> > And doing some changes to the code as in the patch attached.
> >
> > It works, please guide me if I did something wrong on the patch.
> >
> > ** Attachment added: "Fixes to get democracy player to run on Feisty"
> > http://librarian.launchpad.net/7039205/democracy.patch
> >
> >
>

Revision history for this message
tomislavmedak (tomislavmedak) wrote :

after applying the patch, creating /etc/ld.so.conf.d/democracy.conf, and installing firefox-dev package, democracyplayer would start only to crash due to a segfault. here's the relevant code:

WARNING: feed update for: http://del.icio.us/rss/representordie/system:media:video too slow (0.115 secs)
WARNING: feed update for: http://some-pig.net/videos/rss.php?i=2 too slow (0.162 secs)
http://www.youtube.com/watch?v=kyUBShYcLyEÂ is non-ascii, trying anyway: (baseURL: http://rocketboom.com/vlog/prodigem.xml)
WARNING: feed update for: http://www.videobomb.com/rss/posts/front too slow (0.227 secs)
WARNING: feed update for: http://www.channelfrederator.com/rss too slow (0.253 secs)
gtkAsyncMethod: <function initRenderers at 0x893cd14> took too long: 4.299
downloader: connection closed -- quitting
Shutting down downloaders...
Segmentation fault

any ideas how to work my way around this?

Revision history for this message
Bruno Santos (bsantos) wrote : Re: [Bug 81798] Re: [apport] democracyplayer crashed with TypeError in __new__()

Did you run ldconfig?

On Sat, 2007-03-31 at 11:48 +0000, tomislavmedak wrote:
> after applying the patch, creating /etc/ld.so.conf.d/democracy.conf, and
> installing firefox-dev package, democracyplayer would start only to
> crash due to a segfault. here's the relevant code:
>
> WARNING: feed update for: http://del.icio.us/rss/representordie/system:media:video too slow (0.115 secs)
> WARNING: feed update for: http://some-pig.net/videos/rss.php?i=2 too slow (0.162 secs)
> http://www.youtube.com/watch?v=kyUBShYcLyEÂ is non-ascii, trying anyway: (baseURL: http://rocketboom.com/vlog/prodigem.xml)
> WARNING: feed update for: http://www.videobomb.com/rss/posts/front too slow (0.227 secs)
> WARNING: feed update for: http://www.channelfrederator.com/rss too slow (0.253 secs)
> gtkAsyncMethod: <function initRenderers at 0x893cd14> took too long: 4.299
> downloader: connection closed -- quitting
> Shutting down downloaders...
> Segmentation fault
>
> any ideas how to work my way around this?
>

Revision history for this message
Bill Hand (fxwgbill-gmail) wrote : Re: [Bug 81798] Re: [apport] democracyplayer crashed with TypeError in __new__()

Mine crashes pretty regular and no audio in any format. I liked that
one that said 'almost 1.0' . Mine has been broken for almost two months
and 9.5 never has worked.... they ain't ready for 9.6 if ya ask me; need
to get what they have, going before moving on, and I don't think they
are.... starting to think the Linux versions are gonna get left behind.

Bill

Bruno Santos wrote:
> cd /usr/share/python-support/democracyplayer
> sudo patch -p0
> < /usr/share/python-support/democracyplayer/democracy/democracy.patch
>
> :)
>
> On Fri, 2007-03-30 at 21:24 +0000, Bill Hand wrote:
>
>> How would one go about installing this patch? I have tried several
>> different ways and it keeps saying it can't find the files... I copied
>> the patch to: /usr/share/python-support/democracyplayer/democracy
>>
>> and issued the command: sudo patch -b
>> </usr/share/python-support/democracyplayer/democracy/democracy.patch
>>
>> and I keep getting:
>>
>>
>>> patching file coverage.py
>>> can't find file to patch at input line 31
>>> Perhaps you should have used the -p or --strip option?
>>> The text leading up to this was:
>>> --------------------------
>>> |diff -Naur democracy_old/frontend_implementation/Application.py
>>> democracy/frontend_implementation/Application.py
>>> |--- democracy_old/frontend_implementation/Application.py
>>> 2007-03-29 04:07:42.000000000 +0100
>>> |+++ democracy/frontend_implementation/Application.py 2007-03-29
>>> 04:10:30.000000000 +0100
>>> --------------------------
>>> File to patch:
>>> Skip this patch? [y]
>>> Skipping patch.
>>> 1 out of 1 hunk ignored
>>> can't find file to patch at input line 43
>>> Perhaps you should have used the -p or --strip option?
>>> The text leading up to this was:
>>> --------------------------
>>> |diff -Naur democracy_old/frontend_implementation/gtk_queue.py
>>> democracy/frontend_implementation/gtk_queue.py
>>> |--- democracy_old/frontend_implementation/gtk_queue.py 2007-03-29
>>> 04:07:42.000000000 +0100
>>> |+++ democracy/frontend_implementation/gtk_queue.py 2007-03-29
>>> 04:10:00.000000000 +0100
>>> --------------------------
>>> File to patch:
>>> Skip this patch? [y]
>>>
>> Bruno Santos wrote:
>>
>>> I got it to work by doing the following:
>>>
>>> Create /etc/ld.so.conf.d/democracy:
>>>
>>> /usr/lib/firefox
>>>
>>> And doing some changes to the code as in the patch attached.
>>>
>>> It works, please guide me if I did something wrong on the patch.
>>>
>>> ** Attachment added: "Fixes to get democracy player to run on Feisty"
>>> http://librarian.launchpad.net/7039205/democracy.patch
>>>
>>>
>>>
>
>

Revision history for this message
Daan Odijk (dodijk) wrote :

> Mine crashes pretty regular and no audio in any format. I liked that
> one that said 'almost 1.0' . Mine has been broken for almost two months
> and 9.5 never has worked.... they ain't ready for 9.6 if ya ask me; need
> to get what they have, going before moving on, and I don't think they
> are.... starting to think the Linux versions are gonna get left behind.
>
> Bill

I was referring to patch being close to 1.0, not the program. The patch gets Democracy working again. The other issues are in my view unrelated to this specific bug. I agree that a player that crashes and has no audio is not very close to 1.0...

Revision history for this message
Bruno Santos (bsantos) wrote : Re: [Bug 81798] Re: [apport] democracyplayer crashed with TypeError in __new__()

When I asked if it was close to 1.0 I was referring to DTV also, how can
it be close to 1.0?

I can watch videos, but sometimes they won't load, or load on their own
window, and I get crashes all the time... :-(

On Sat, 2007-03-31 at 16:40 +0000, Daan Odijk wrote:
> > Mine crashes pretty regular and no audio in any format. I liked that
> > one that said 'almost 1.0' . Mine has been broken for almost two months
> > and 9.5 never has worked.... they ain't ready for 9.6 if ya ask me; need
> > to get what they have, going before moving on, and I don't think they
> > are.... starting to think the Linux versions are gonna get left behind.
> >
> > Bill
>
> I was referring to patch being close to 1.0, not the program. The patch
> gets Democracy working again. The other issues are in my view unrelated
> to this specific bug. I agree that a player that crashes and has no
> audio is not very close to 1.0...
>

Revision history for this message
Bill Hand (fxwgbill-gmail) wrote :

Have yall seen the five patches over on the 'Trac' bug tracker for
Democracy? Wondering if there is a way to back this patch out and try
each of theirs... I saw there was a command to back the patches out.
Also wonder if maybe leave the one here in and apply their's... any
suggestions?? link to their patches:
https://develop.participatoryculture.org/trac/democracy/ticket/5645

Bill

Bruno Santos wrote:
> When I asked if it was close to 1.0 I was referring to DTV also, how can
> it be close to 1.0?
>
> I can watch videos, but sometimes they won't load, or load on their own
> window, and I get crashes all the time... :-(
>
> On Sat, 2007-03-31 at 16:40 +0000, Daan Odijk wrote:
>
>>> Mine crashes pretty regular and no audio in any format. I liked that
>>> one that said 'almost 1.0' . Mine has been broken for almost two months
>>> and 9.5 never has worked.... they ain't ready for 9.6 if ya ask me; need
>>> to get what they have, going before moving on, and I don't think they
>>> are.... starting to think the Linux versions are gonna get left behind.
>>>
>>> Bill
>>>
>> I was referring to patch being close to 1.0, not the program. The patch
>> gets Democracy working again. The other issues are in my view unrelated
>> to this specific bug. I agree that a player that crashes and has no
>> audio is not very close to 1.0...
>>
>>
>
>

Revision history for this message
Bruno Santos (bsantos) wrote : Re: [Bug 81798] Re: [apport] democracyplayer crashed with TypeError in __new__()

This patch has the patches from trac that I considered would apply to
this problem plus a couple of changed deprecated gtk calls.

If you find out I did something wrong, please tell me. :-)

On Sun, 2007-04-01 at 02:23 +0000, Bill Hand wrote:
> Have yall seen the five patches over on the 'Trac' bug tracker for
> Democracy? Wondering if there is a way to back this patch out and try
> each of theirs... I saw there was a command to back the patches out.
> Also wonder if maybe leave the one here in and apply their's... any
> suggestions?? link to their patches:
> https://develop.participatoryculture.org/trac/democracy/ticket/5645
>
> Bill
>
>
> Bruno Santos wrote:
> > When I asked if it was close to 1.0 I was referring to DTV also, how can
> > it be close to 1.0?
> >
> > I can watch videos, but sometimes they won't load, or load on their own
> > window, and I get crashes all the time... :-(
> >
> > On Sat, 2007-03-31 at 16:40 +0000, Daan Odijk wrote:
> >
> >>> Mine crashes pretty regular and no audio in any format. I liked that
> >>> one that said 'almost 1.0' . Mine has been broken for almost two months
> >>> and 9.5 never has worked.... they ain't ready for 9.6 if ya ask me; need
> >>> to get what they have, going before moving on, and I don't think they
> >>> are.... starting to think the Linux versions are gonna get left behind.
> >>>
> >>> Bill
> >>>
> >> I was referring to patch being close to 1.0, not the program. The patch
> >> gets Democracy working again. The other issues are in my view unrelated
> >> to this specific bug. I agree that a player that crashes and has no
> >> audio is not very close to 1.0...
> >>
> >>
> >
> >
>

Revision history for this message
Bruno Santos (bsantos) wrote :

I forgot to mention that the (duplicate) comments on that bug report
pointing here are mine. ;-)

On Sun, 2007-04-01 at 02:23 +0000, Bill Hand wrote:
> Have yall seen the five patches over on the 'Trac' bug tracker for
> Democracy? Wondering if there is a way to back this patch out and try
> each of theirs... I saw there was a command to back the patches out.
> Also wonder if maybe leave the one here in and apply their's... any
> suggestions?? link to their patches:
> https://develop.participatoryculture.org/trac/democracy/ticket/5645
>
> Bill
>
>
> Bruno Santos wrote:
> > When I asked if it was close to 1.0 I was referring to DTV also, how can
> > it be close to 1.0?
> >
> > I can watch videos, but sometimes they won't load, or load on their own
> > window, and I get crashes all the time... :-(
> >
> > On Sat, 2007-03-31 at 16:40 +0000, Daan Odijk wrote:
> >
> >>> Mine crashes pretty regular and no audio in any format. I liked that
> >>> one that said 'almost 1.0' . Mine has been broken for almost two months
> >>> and 9.5 never has worked.... they ain't ready for 9.6 if ya ask me; need
> >>> to get what they have, going before moving on, and I don't think they
> >>> are.... starting to think the Linux versions are gonna get left behind.
> >>>
> >>> Bill
> >>>
> >> I was referring to patch being close to 1.0, not the program. The patch
> >> gets Democracy working again. The other issues are in my view unrelated
> >> to this specific bug. I agree that a player that crashes and has no
> >> audio is not very close to 1.0...
> >>
> >>
> >
> >
>

Revision history for this message
Bruno Santos (bsantos) wrote : Re: [Bug 81798] Re: [apport] democracyplayer crashed with TypeError in __new__()

Can someone add /usr/lib/firefox/components/ to democracy.conf
in /etc/ld.so.conf.d, run sudo ldconfig and check if DTV becomes less
prone to crashing?

On Sun, 2007-04-01 at 02:38 +0000, Bruno Santos wrote:
> I forgot to mention that the (duplicate) comments on that bug report
> pointing here are mine. ;-)
>
> On Sun, 2007-04-01 at 02:23 +0000, Bill Hand wrote:
> > Have yall seen the five patches over on the 'Trac' bug tracker for
> > Democracy? Wondering if there is a way to back this patch out and try
> > each of theirs... I saw there was a command to back the patches out.
> > Also wonder if maybe leave the one here in and apply their's... any
> > suggestions?? link to their patches:
> > https://develop.participatoryculture.org/trac/democracy/ticket/5645
> >
> > Bill
> >
> >
> > Bruno Santos wrote:
> > > When I asked if it was close to 1.0 I was referring to DTV also, how can
> > > it be close to 1.0?
> > >
> > > I can watch videos, but sometimes they won't load, or load on their own
> > > window, and I get crashes all the time... :-(
> > >
> > > On Sat, 2007-03-31 at 16:40 +0000, Daan Odijk wrote:
> > >
> > >>> Mine crashes pretty regular and no audio in any format. I liked that
> > >>> one that said 'almost 1.0' . Mine has been broken for almost two months
> > >>> and 9.5 never has worked.... they ain't ready for 9.6 if ya ask me; need
> > >>> to get what they have, going before moving on, and I don't think they
> > >>> are.... starting to think the Linux versions are gonna get left behind.
> > >>>
> > >>> Bill
> > >>>
> > >> I was referring to patch being close to 1.0, not the program. The patch
> > >> gets Democracy working again. The other issues are in my view unrelated
> > >> to this specific bug. I agree that a player that crashes and has no
> > >> audio is not very close to 1.0...
> > >>
> > >>
> > >
> > >
> >
>

Revision history for this message
Bill Hand (fxwgbill-gmail) wrote :

I'll try it in jistttttttt a few mins and see. What I finally came up
with, was after a reboot, again... some of the modes now work, but still
no audio on MOV's.... I'll let ya know in a while about 'this'

Bill

Bruno Santos wrote:
> Can someone add /usr/lib/firefox/components/ to democracy.conf
> in /etc/ld.so.conf.d, run sudo ldconfig and check if DTV becomes less
> prone to crashing?
>
> On Sun, 2007-04-01 at 02:38 +0000, Bruno Santos wrote:
>
>> I forgot to mention that the (duplicate) comments on that bug report
>> pointing here are mine. ;-)
>>
>> On Sun, 2007-04-01 at 02:23 +0000, Bill Hand wrote:
>>
>>> Have yall seen the five patches over on the 'Trac' bug tracker for
>>> Democracy? Wondering if there is a way to back this patch out and try
>>> each of theirs... I saw there was a command to back the patches out.
>>> Also wonder if maybe leave the one here in and apply their's... any
>>> suggestions?? link to their patches:
>>> https://develop.participatoryculture.org/trac/democracy/ticket/5645
>>>
>>> Bill
>>>
>>>
>>> Bruno Santos wrote:
>>>
>>>> When I asked if it was close to 1.0 I was referring to DTV also, how can
>>>> it be close to 1.0?
>>>>
>>>> I can watch videos, but sometimes they won't load, or load on their own
>>>> window, and I get crashes all the time... :-(
>>>>
>>>> On Sat, 2007-03-31 at 16:40 +0000, Daan Odijk wrote:
>>>>
>>>>
>>>>>> Mine crashes pretty regular and no audio in any format. I liked that
>>>>>> one that said 'almost 1.0' . Mine has been broken for almost two months
>>>>>> and 9.5 never has worked.... they ain't ready for 9.6 if ya ask me; need
>>>>>> to get what they have, going before moving on, and I don't think they
>>>>>> are.... starting to think the Linux versions are gonna get left behind.
>>>>>>
>>>>>> Bill
>>>>>>
>>>>>>
>>>>> I was referring to patch being close to 1.0, not the program. The patch
>>>>> gets Democracy working again. The other issues are in my view unrelated
>>>>> to this specific bug. I agree that a player that crashes and has no
>>>>> audio is not very close to 1.0...
>>>>>
>>>>>
>>>>>
>>>>
>
>

Revision history for this message
Bill Hand (fxwgbill-gmail) wrote :

Just as bad on mine; If I try to play, say an MPEG after and MOV or MP4,
which I have no audio on, (forgot about the MP4 in the earlier post), it
crashes. Actually, mine was working a bit better BEFORE the change.
always seems to crash on the second video now, and somewhere along the
way, I lost all my audio again. I'll reboot again here in a while and
let you know of any change.

Bill

Bruno Santos wrote:
> Can someone add /usr/lib/firefox/components/ to democracy.conf
> in /etc/ld.so.conf.d, run sudo ldconfig and check if DTV becomes less
> prone to crashing?
>
> On Sun, 2007-04-01 at 02:38 +0000, Bruno Santos wrote:
>
>> I forgot to mention that the (duplicate) comments on that bug report
>> pointing here are mine. ;-)
>>
>> On Sun, 2007-04-01 at 02:23 +0000, Bill Hand wrote:
>>
>>> Have yall seen the five patches over on the 'Trac' bug tracker for
>>> Democracy? Wondering if there is a way to back this patch out and try
>>> each of theirs... I saw there was a command to back the patches out.
>>> Also wonder if maybe leave the one here in and apply their's... any
>>> suggestions?? link to their patches:
>>> https://develop.participatoryculture.org/trac/democracy/ticket/5645
>>>
>>> Bill
>>>
>>>
>>> Bruno Santos wrote:
>>>
>>>> When I asked if it was close to 1.0 I was referring to DTV also, how can
>>>> it be close to 1.0?
>>>>
>>>> I can watch videos, but sometimes they won't load, or load on their own
>>>> window, and I get crashes all the time... :-(
>>>>
>>>> On Sat, 2007-03-31 at 16:40 +0000, Daan Odijk wrote:
>>>>
>>>>
>>>>>> Mine crashes pretty regular and no audio in any format. I liked that
>>>>>> one that said 'almost 1.0' . Mine has been broken for almost two months
>>>>>> and 9.5 never has worked.... they ain't ready for 9.6 if ya ask me; need
>>>>>> to get what they have, going before moving on, and I don't think they
>>>>>> are.... starting to think the Linux versions are gonna get left behind.
>>>>>>
>>>>>> Bill
>>>>>>
>>>>>>
>>>>> I was referring to patch being close to 1.0, not the program. The patch
>>>>> gets Democracy working again. The other issues are in my view unrelated
>>>>> to this specific bug. I agree that a player that crashes and has no
>>>>> audio is not very close to 1.0...
>>>>>
>>>>>
>>>>>
>>>>
>
>

Revision history for this message
Daan Odijk (dodijk) wrote :

Bruno Santos wrote:
> Can someone add /usr/lib/firefox/components/ to democracy.conf
> in /etc/ld.so.conf.d, run sudo ldconfig and check if DTV becomes less
> prone to crashing?

No improvement for me, too!

Revision history for this message
Mathieu Marquer (slasher-fun) wrote :

Same for me...

Revision history for this message
Sarah Kowalik (hobbsee-deactivatedaccount) wrote :

right. so we have a patch, and more crashes. No one seems to have found the optimum solution yet.

How much point is there in putting this patch into the archive?

Revision history for this message
Bruno Santos (bsantos) wrote :

I believe none, since no one seems to want to have DTV working in Feisty.

It's better to ignore ~64 duplicate bugs and ~80 subscribers.

I tried to merge the available fixes to make DTV work in Feisty, it crashes on something else (I believe it's in the video playback code).

You told us to apply our efforts on something else on the forum (http://ubuntuforums.org/showpost.php?p=2370917&postcount=23), but failed to guide us (even answer) to what else you think would be better to divert our efforts to, now this comment, do you have something against DTV or getting it fixed? :-(

Revision history for this message
xizdaqrian (xizdaqrian) wrote :

Yes, yet another confirmation.

Here's ye olde output...

/usr/bin/democracyplayer:81: DeprecationWarning: The dbus_bindings module is deprecated and will go away soon.

dbus-python 0.80 provides only a partial emulation of the old
dbus_bindings, which was never meant to be public API.

Most uses of dbus_bindings are applications catching the exception
dbus.dbus_bindings.DBusException. You should use dbus.DBusException
instead (this is compatible with all dbus-python versions since 0.40.2).

If you need additional public API, please contact the maintainers via
<email address hidden>.

  import dbus_bindings
/var/lib/python-support/python2.5/dbus_bindings.py:5: DeprecationWarning: The dbus_bindings module is deprecated and will go away soon.

dbus-python 0.80 provides only a partial emulation of the old
dbus_bindings, which was never meant to be public API.

Most uses of dbus_bindings are applications catching the exception
dbus.dbus_bindings.DBusException. You should use dbus.DBusException
instead (this is compatible with all dbus-python versions since 0.40.2).

If you need additional public API, please contact the maintainers via
<email address hidden>.

  from dbus.dbus_bindings import *
Traceback (most recent call last):
  File "/usr/bin/democracyplayer", line 89, in <module>
    onetime.OneTime()
  File "/var/lib/python-support/python2.5/democracy/onetime.py", line 105, in __init__
    bus_name = BusNameFlags('org.participatoryculture.dtv.onetime', bus=bus, flags=dbus.dbus_bindings.NAME_FLAG_DO_NOT_QUEUE)
  File "/var/lib/python-support/python2.5/democracy/onetime.py", line 53, in __new__
    retval = dbus.dbus_bindings.bus_request_name(bus.get_connection(), name, flags=flags)
TypeError: request_name() takes no keyword arguments

Linux Acid-Reflux 2.6.20-14-generic #2 SMP Mon Apr 2 20:37:49 UTC 2007 i686 GNU/Linux

Revision history for this message
Sluggysan (deadslug) wrote :

actually - with the patches, it did start working for me -- it comes up ok, loads up the channel guide fine, downloads material without any hitch, and plays alright, too. so i think it's a good patch. it'd be nice if we were closer to the current upstream version, but this one works ok for me now. :)

Revision history for this message
Ralf Nieuwenhuijsen (ralf-nieuwenhuijsen) wrote :

We shouldn't assume all the issues are related. If there is patch that makes it launch release a new package.
Even if just to stop all the duplicates.

GStreamer not supporting certain movies correctly is not related to democracy player.
If that really is the issue, this package should be considered fixed, and bug reports should be placed against gstreamer.

In other words: APPLY THE PATCH ALREADY!
We're almost at the release candidate.

What is the package maintainer waiting for?

Revision history for this message
Andrew Conkling (andrewski) wrote :

Well, the package maintainer is subscribed to emails on this bug, and there have been plenty of confirmations, so it's hard to say what's going on, but let's all remember what the Ubuntu Code of Conduct says about being respectful. Yes, we are close to release candidate, so it's very possible that larger issues are occupying the maintainer's time and energy.

In the meantime, it would definitely help the maintainer and everyone if a debdiff could be created.

Revision history for this message
Chris Halse Rogers (raof) wrote :

Ok, here's a debdiff with a slightly awkward work-around for the loading-of-firefox-libraries issue - I've created a wrapper which loads democracy with LD_LIBRARY_PATH set.

This seems to fix it for me, downloading, subscribing and playing

Revision history for this message
KenSentMe (jeroen-vandenieuwenhof) wrote :

I tested the debdiff and Democracy seems to run fine now. I haven't tested it with playing video, because of a slow connection, but searching and downloading works. Nice work!

Revision history for this message
Michael Bienia (geser) wrote :

Thanks for your patch. Please set to "Fix released" once it's on the archive.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Format: 1.7
Date: Wed, 11 Apr 2007 15:12:33 +1000
Source: democracyplayer
Binary: democracyplayer-data democracyplayer
Architecture: source
Version: 0.9.2.1-2.1ubuntu2
Distribution: feisty
Urgency: low
Maintainer: Ubuntu MOTU Developers <email address hidden>
Changed-By: Christopher James Halse Rogers (RAOF) <email address hidden>
Description:
 democracyplayer - GTK+ based RSS video aggregator
 democracyplayer-data - GTK+ based RSS video aggregator data files
Launchpad-Bugs-Fixed: 81798
Changes:
 democracyplayer (0.9.2.1-2.1ubuntu2) feisty; urgency=low
 .
   * debian/patches/70_update_dbus_usage
     + Patch from upstream Trac, to remove usage of old, non-public DBUS API
   * debian/control: python-all-dev -> python2.5-dev
   * debian/pyversions: change to only 2.5
     + depends on libboost-python, which is only available for python2.5
   * debian/patches/80_use_python2.5
     + spawn subprocesses with python2.5 rather than python2.4, since
       libboost-python will segfault with anything else
   * debian/democracyplayer.wrapper: Add a wrapper to set LD_LIBRARY_PATH,
     fixes segfault on startup.
   * By the combined power of above, close LP: #81798
Files:
 42d78824d9d209585eadde976bc6291c 1026 net optional democracyplayer_0.9.2.1-2.1ubuntu2.dsc
 d7a8a3552ce4e0c7d25a3cfdad01a092 18681 net optional democracyplayer_0.9.2.1-2.1ubuntu2.diff.gz
Original-Maintainer: Uwe Hermann <email address hidden>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.3 (GNU/Linux)

iQCVAwUBRhzBb6PP1313boLqAQOPZQP+JCg3Qf8bZFcVGBtpLFQTElLpYUJ9avHA
zabtHaTHRDJkAn+45wPcae4rHqZqtR5Ce/hWDZb+Uno6oU3ytxHEjkd+m3Xtc8eC
Pds15YCVCMh6qvPHo9T8Cf+vl0eVxmHMiGiYpZqEPYh808/e2w3K0AGZkzpDSq6l
PA3ddN0I4KQ=
=e7gX
-----END PGP SIGNATURE-----

Changed in democracyplayer:
assignee: motu → geser
status: Confirmed → Fix Committed
Revision history for this message
dorphichinfa (dorphichinfa-deactivatedaccount) wrote :

I think I missed something. I have applied this patch from http://ubuntuforums.org/showthread.php?p=2435068#post2435068 however it now segfaults during startup (see my post in that thread for details). Which of the patches must I now apply to fix this?

Revision history for this message
Jerônimo (jeronimo-jeronimohome) wrote :

Well, a newbie question, but I need to do it:
How proceed to apply the debdiff patch? :-P

Revision history for this message
KenSentMe (jeroen-vandenieuwenhof) wrote :

I asked the same newbie question on irc today, so you're not the only one :)

https://wiki.ubuntu.com/UbuntuPackagingGuide/BuildFromDebdiff

Revision history for this message
dorphichinfa (dorphichinfa-deactivatedaccount) wrote : Re: [Bug 81798] Re: [apport] democracyplayer crashed with TypeError in __new__()

Well I'm afraid I get errors saying that a reverse or previously applied
patch was there already, and after assuming -R there is still one 'hunk'
that failed. Maybe I should just wait for it to be fixed in the repos?

It seemed to half-work before applying the patch anyway, for some reason
(perhaps it was updated without me knowing) but it crashes when trying to
play a second video. I'm not sure whether the maintainer is aware of this
new crash if they tried to fix it already or if there are still patches to
be applied?

On 12/04/07, KenSentMe <email address hidden> wrote:
>
> I asked the same newbie question on irc today, so you're not the only
> one :)
>
> https://wiki.ubuntu.com/UbuntuPackagingGuide/BuildFromDebdiff
>
> --
> [apport] democracyplayer crashed with TypeError in __new__()
> https://bugs.launchpad.net/bugs/81798
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Chris Halse Rogers (raof) wrote :

The fixed package has hit the archives (and it works for me, just fine). If you have any different problems, please file a new bug.

Changed in democracyplayer:
status: Fix Committed → Fix Released
Revision history for this message
Bill Hand (fxwgbill-gmail) wrote : Re: [Bug 81798] Re: [apport] democracyplayer crashed with TypeError in __new__()

the patch ISN'T working in all cases, and in my case it's with any
format; no audio and still crashes...

Ralf Nieuwenhuijsen wrote:
> We shouldn't assume all the issues are related. If there is patch that makes it launch release a new package.
> Even if just to stop all the duplicates.
>
> GStreamer not supporting certain movies correctly is not related to democracy player.
> If that really is the issue, this package should be considered fixed, and bug reports should be placed against gstreamer.
>
> In other words: APPLY THE PATCH ALREADY!
> We're almost at the release candidate.
>
> What is the package maintainer waiting for?
>
>

Revision history for this message
Bill Hand (fxwgbill-gmail) wrote :

Well it STILL doesn't work on mine any better then it did, and possibly
worse, since the update that synaptic installed yesterday; still no
audio with ANY format and crashes when you try to play a 2nd download.
For some reason, though NOW.... when it crashes, it doesn't bring up
Launchpad anymore... hmmmmmm

Chris Halse Rogers wrote:
> The fixed package has hit the archives (and it works for me, just fine).
> If you have any different problems, please file a new bug.
>
> ** Changed in: democracyplayer (Ubuntu)
> Status: Fix Committed => Fix Released
>
>

Revision history for this message
penguianandub (jmgarrard) wrote : a little moderation, please

Hey Guys,

I just joined launchpad, and I am new to the whole bug thread thing,
but I just wondered if people always get pissy about bug fixes. My
suggestion, as a non-developer to my peers on the "consumer" side is to
snuff the attitude before you really do start a fire. Remember, the
software is FREE, you have no right to persecute the developers, and
the world doesn't revolve around one distribution. All this calls for
is a little patience, and perhaps a little gratitude to our
developers! Whether or not you can see it, they are doing an awesome
job!

Your feedback is appreciated, but should comments like these that I
have recently seen continue, I would not blame the team for eliminating
the comment field altogether. But, really, who would this hurt? So,
please, my fellow linux-gnu'ers, let us vow to bring it down a notch.

Best regards,

Joshua Garrard

Revision history for this message
Ralf Nieuwenhuijsen (ralf-nieuwenhuijsen) wrote :

Joshua you are right.

But please keep in mind, that tone is something very difficult to communicate using text.
So, those who file lots and lots of bugs tend to become a little bit more to-the-point, without the intention to 'get pissy'.

The developers and package maintainers know we LOVE THEM. (at least I hope they do)

Revision history for this message
Ralf Nieuwenhuijsen (ralf-nieuwenhuijsen) wrote :

Bill said:
"Well it STILL doesn't work on mine any better then it did"

Bill, will you please post a new bug report about that? Including the steps to reproduce?

This is not a general all-problems-related to democracyTV mailing list. This was about democracyTV not launching. It launches now. That bug is fixed.

Some bugs might not even be caused by democracyTV, but perhaps by one of its dependencies. It really helps if you file each bug independently.

Revision history for this message
Bill Hand (fxwgbill-gmail) wrote :

I understand... Will do. I thought this bug had to do with the whole senerio, wasn't looking at the big, (small) picture... My mistake.

thanx

Revision history for this message
Sarah Kowalik (hobbsee-deactivatedaccount) wrote :

Also, the fact that absolutely no one in ubuntu, from the devs who have been looking at it, to any forums users, to anyone posting solutions on mailing lists, etc, have actually been able to make this work, under ubuntu, suggests that it might be a difficult bug to fix.

Hence, it's not perfect - but until someone who's interested actually finds the perfect solution, it will sit as is. All this lot of patches was supposed to do was to fix the first lot of bugs, so someone who was interested could look through and make patches for the rest.

The other options were to leave it alone, or pull it from the archive.

Take your pick.

(also, the bitching just gets ignored - it's set to confirmed, we see the number of dupes - so complaining that it doesn't work is pointless - we know)

Revision history for this message
Markus Golser (golserma) wrote :

ATM I use 0.9.5.3 + the patches from this page.

It is not perfect, I can download new Videos.
If I watch videos the application sometimes crashes!

Revision history for this message
houstonbofh (leesharp) wrote :

Sarah has the right idea. Do this a while, and you get a thick skin. :) That said, I do not feel it should be in a release repo. Unless a breakthrough comes in the next few days, it should be pulled on the 19th. I want it to work, and I want it in the repositories, but as it stands, this is not release quality software at this time.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.