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 > > > > > -- [apport] democracyplayer crashed with TypeError in __new__() https://launchpad.net/bugs/81798 -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
