Banshee hanging system

Forum rules
Before you post please read this

Banshee hanging system

Postby anupamk on Fri Jan 20, 2012 2:22 am

Hi All,

Banshee player hanging system after playing contineously for an hour.
anupamk
Level 1
Level 1
 
Posts: 5
Joined: Fri Jan 20, 2012 1:45 am

Linux Mint is funded by ads and donations.
 

Re: Banshee hanging system

Postby msx_ on Fri Jan 20, 2012 3:07 pm

Can't reproduce here with Banshee 2.2.0, please be more descriptive and also an attach of latest dmesg/X logs would be useful.
User avatar
msx_
Level 1
Level 1
 
Posts: 29
Joined: Fri Dec 23, 2011 4:57 pm

Re: Banshee hanging system

Postby karashata on Fri Jan 20, 2012 4:50 pm

If you're running GNOME 3 Shell with the MGSE extensions enabled, you probably have the faulty MGSE media player control/indicator extension enabled as well, and it's been found to cause GNOME Shell to stop responding properly after an indeterminable/somewhat random amount of time. If you look at this bug report I filed some time ago, you can find a couple of patches that, when applied to the extension using the instructions provided in the comments along with the patches, should fix the extension and prevent it from causing the Shell to stop responding.

If applying patches isn't really your thing, you could always launch Advanced Settings, navigate to the Shell Extensions section, and turn off the Media Player extension, then force the Shell to restart using the 'r' command from the run dialog (Alt+F2) to ensure the extension is completely unloaded.
Linux Mint user since 2010, fluffy dragon forever!
Registered Linux User #473695
Image
User avatar
karashata
Level 4
Level 4
 
Posts: 441
Joined: Tue May 10, 2011 2:53 pm
Location: Stratford, Ontario, Canada

Re: Banshee hanging system

Postby SallyK on Sat Jan 21, 2012 5:12 pm

Karashata, thank you very much for the link to that, it's a problem that's been bugging me for a while.

Would you be able to clarify the instructions for applying the patch - the bug report thread says:

sudo patch /<email address hidden>/extension.js mgse-mediaplayer.diff

Is it actually an email address you are supposed to put in the command, or something else?

Thank you again.
User avatar
SallyK
Level 3
Level 3
 
Posts: 177
Joined: Fri Oct 02, 2009 5:22 pm

Re: Banshee hanging system

Postby karashata on Sat Jan 21, 2012 5:28 pm

The "email address" you're referring to is actually the UUID (universally unique identifier) of the extension, and yes, you have to enter it as part of the command, since the extension's UUID is also the folder name in /usr/share/gnome-shell/extensions/ where the extension resides.

Personally, I would recommend you execute the command using absolute paths to ensure there are no problems, ie.

Code: Select all
sudo patch /usr/share/gnome-shell/extensions/mediaplayer@linuxmint.com/extension.js /<path to patch file>/mgse-mediaplayer.diff


Also note that there are two patches on that bug report page you need to apply, in order, so make sure you download and apply the first patch in the comments first, then the second one after that.
Linux Mint user since 2010, fluffy dragon forever!
Registered Linux User #473695
Image
User avatar
karashata
Level 4
Level 4
 
Posts: 441
Joined: Tue May 10, 2011 2:53 pm
Location: Stratford, Ontario, Canada

Re: Banshee hanging system

Postby SallyK on Sat Jan 21, 2012 5:41 pm

Thank you very much, that's exactly what I needed to know. I suppose because the extension name has an @ in it, the website assumed it was an email address.

I think I've applied the patches okay, now to leave Banshee running for long enough to be sure. :-)

Thank you again for your help.
User avatar
SallyK
Level 3
Level 3
 
Posts: 177
Joined: Fri Oct 02, 2009 5:22 pm

Re: Banshee hanging system

Postby karashata on Sat Jan 21, 2012 5:48 pm

I expect you could leave Banshee running all day without problems now, though even just a couple hours should be long enough to determine if everything's okay, the issue usually manifested itself within about half an hour without the patches applied (at least for me).

Anyway, glad to help!
Linux Mint user since 2010, fluffy dragon forever!
Registered Linux User #473695
Image
User avatar
karashata
Level 4
Level 4
 
Posts: 441
Joined: Tue May 10, 2011 2:53 pm
Location: Stratford, Ontario, Canada

Re: Banshee hanging system

Postby crosstie69 on Tue Jan 24, 2012 6:57 pm

I have been having the same problem with banshee. I tried rhythmbox and same problem. I stumbled across the patches while searching for solutions. When I run the first patch as instructed on the bug sight I get this error.

~/Downloads $ sudo patch /mediaplayer@lunuxmint.com/extension.js mgse-mediaplayer.diff
patching file /mediaplayer@lunuxmint.com/extension.js
Hunk #1 FAILED at 639.
Hunk #2 FAILED at 655.
2 out of 2 hunks FAILED -- saving rejects to file /mediaplayer@lunuxmint.com/extension.js.rej

When I run the second patch as instructed on the bug sight I get this error.

~/Downloads $ sudo patch /mediaplayer@linuxmint.com/extension.js mgse-mediaplayer2.diff
patching file /mediaplayer@linuxmint.com/extension.js
Hunk #1 FAILED at 430.
Hunk #2 FAILED at 452.
Hunk #3 FAILED at 460.
Hunk #4 FAILED at 580.
4 out of 4 hunks FAILED -- saving rejects to file /mediaplayer@linuxmint.com/extension.js.rej

If I try and run them as instructed here, using absolute paths, I get this.

sudo patch /usr/share/gnome-shell/extensions/mediaplayer@linuxmint.com/extenion.js /Downloads/mgse-mediaplayer.diff
patch: **** Can't open patch file /Downloads/mgse-mediaplayer.diff : No such file or directory

and...

sudo patch /usr/share/gnome-shell/extensions/mediaplayer@linuxmint.com/extenion.js /Downloads/mgse-mediaplayer2.diff
patch: **** Can't open patch file /Downloads/mgse-mediaplayer2.diff : No such file or directory

Not sure what I am doing wrong but if anyone could help I would greatly appreciate it.
I am new to linux, just swtiched over from windoze this past weekend.

Thanks you,

Tyler
User avatar
crosstie69
Level 1
Level 1
 
Posts: 20
Joined: Sun Jan 22, 2012 12:17 pm

Re: Banshee hanging system

Postby karashata on Tue Jan 24, 2012 7:02 pm

You forgot to add the /home/<your user name> (or a . if you're in your home folder) before Downloads, resulting in the command looking for a Downloads folder in / (the filesystem root). Fix the command and try it again.
Linux Mint user since 2010, fluffy dragon forever!
Registered Linux User #473695
Image
User avatar
karashata
Level 4
Level 4
 
Posts: 441
Joined: Tue May 10, 2011 2:53 pm
Location: Stratford, Ontario, Canada

Re: Banshee hanging system

Postby crosstie69 on Tue Jan 24, 2012 7:08 pm

Hmm, that worked but I am still getting the hunk errors, like I was if I run it as instructed on the bug sight.

sudo patch /usr/share/gnome-shell/extensions/mediaplayer@linuxmint.com/extenion.js /home/tyler/Downloads/mgse-mediaplayer.diff
[sudo] password for tyler:
patching file /usr/share/gnome-shell/extensions/mediaplayer@linuxmint.com/extenion.js
Hunk #1 FAILED at 639.
Hunk #2 FAILED at 655.
2 out of 2 hunks FAILED -- saving rejects to file /usr/share/gnome-shell/extensions/mediaplayer@linuxmint.com/extenion.js.rej

Thanks,

Tyler
User avatar
crosstie69
Level 1
Level 1
 
Posts: 20
Joined: Sun Jan 22, 2012 12:17 pm

Re: Banshee hanging system

Postby karashata on Tue Jan 24, 2012 7:14 pm

Unfortunately, I don't really know how to work around patching failures, I'd probably end up attempting to patch the file manually by opening the file to be patched and the patch(es) in a text editor and searching for the appropriate sections to patch. There has to be an easier way though... Perhaps someone with better experience with patching might be better able to help at this point...
Linux Mint user since 2010, fluffy dragon forever!
Registered Linux User #473695
Image
User avatar
karashata
Level 4
Level 4
 
Posts: 441
Joined: Tue May 10, 2011 2:53 pm
Location: Stratford, Ontario, Canada

Re: Banshee hanging system

Postby crosstie69 on Sat Jan 28, 2012 10:15 am

I think I may have figured the patching problem out. I had to type in the full patch to the extension.js file from the Downloads folder where the patch was and this is what I got on the first patch:

tyler@Tyler ~/Downloads $ sudo patch /usr/share/gnome-shell/extensions/mediaplayer@linuxmint.com/extension.js mgse-mediaplayer.diff
patching file /usr/share/gnome-shell/extensions/mediaplayer@linuxmint.com/extension.js

...and this is what I got on the second patch:
tyler@Tyler ~/Downloads $ sudo patch /usr/share/gnome-shell/extensions/mediaplayer@linuxmint.com/extension.js mgse-mediaplayer.diff
patching file /usr/share/gnome-shell/extensions/mediaplayer@linuxmint.com/extension.js

Sure looks a lot better than the hunk failed I was getting. Does this look right? Like it patched it finally?

Thanks,

Tyler
User avatar
crosstie69
Level 1
Level 1
 
Posts: 20
Joined: Sun Jan 22, 2012 12:17 pm

Re: Banshee hanging system

Postby crosstie69 on Sat Jan 28, 2012 10:19 am

The only other thing that might have made the difference, is that before when I was getting the failed to patch errors, I had all ready updated everything the updater asked me to. I had read somewhere that that may/may not be the best thing. I reinstalled mint 12 and did not update anything. I was still having the problem with banshee/rhythmbox freezing the system after about 20 min of using it. I tried installing the patches and this time they went. Have not used them yet to see if it fixed the problem but right now I'm just excited I may have finally got the patches to work.

Tyler
User avatar
crosstie69
Level 1
Level 1
 
Posts: 20
Joined: Sun Jan 22, 2012 12:17 pm

Re: Banshee hanging system-Solved

Postby crosstie69 on Sat Jan 28, 2012 1:09 pm

I have been using rhythmbox now for over an hour while going about my business and no freeze.
The patches seem to have fixed the problem.

Thanks
User avatar
crosstie69
Level 1
Level 1
 
Posts: 20
Joined: Sun Jan 22, 2012 12:17 pm

Re: Banshee hanging system

Postby dotdot on Fri May 11, 2012 12:54 pm

works for me as well...

+1
dotdot
Level 1
Level 1
 
Posts: 11
Joined: Tue Mar 27, 2012 3:23 pm

Re: Banshee hanging system

Postby uuoo on Mon May 21, 2012 2:02 am

Hello!
I'm relatively new in the Linux system. And this is the first time I try to apply a patch. And I don't understand exactly how to do it.

I went to the Terminal and wrote
sudo patch /<email address hidden>/extension.js mgse-mediaplayer.diff

Then, before I write the patch that is in the other forum ( https://bugs.launchpad.net/linuxmint/+bug/892316 ) should I press Enter, put a . in the between? How should I do it?

Thanks a lot!
uuoo
Level 1
Level 1
 
Posts: 1
Joined: Mon May 21, 2012 1:54 am

Linux Mint is funded by ads and donations.
 

Return to Others

Who is online

Users browsing this forum: No registered users and 0 guests