Shutter won’t launch anymore overnight

You have a problem with Salix? Post here and we'll do what we can to help.
User avatar
Themis
Posts: 72
Joined: 27. Feb 2016, 22:17
Location: France

Shutter won’t launch anymore overnight

Post by Themis »

Hello,

I had installed Shutter (via sudo spi -i shutter) and it worked perfectly. Today I tried to use it, and it just wouldn’t launch. Removed it and reinstalled it: still doesn’t launch. This is pretty weird, because the only thing I did recently was to accept the updates from the Update manager… Does anyone has an idea about what’s possibly going on?

Thanks!
User avatar
gapan
Salix Wizard
Posts: 6238
Joined: 6. Jun 2009, 17:40

Re: Shutter won’t launch anymore overnight

Post by gapan »

Are there any error messages if you start it from a terminal?
Image
Image
User avatar
Themis
Posts: 72
Joined: 27. Feb 2016, 22:17
Location: France

Re: Shutter won’t launch anymore overnight

Post by Themis »

Should have thought about that…

Code: Select all

$ shutter
Can't locate Gnome2/Canvas.pm in @INC (you may need to install the Gnome2::Canvas module) (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/lib64/perl5/vendor_perl/Gnome2.pm line 10.
BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/Gnome2.pm line 10.
Compilation failed in require at /usr/bin/shutter line 34.
BEGIN failed--compilation aborted at /usr/bin/shutter line 34.
Don’t remember having done any tweak. Something with MATE, maybe? Maybe I shouldn’t have removed XFCE (should I reinstall it, just in case?).
User avatar
gapan
Salix Wizard
Posts: 6238
Joined: 6. Jun 2009, 17:40

Re: Shutter won’t launch anymore overnight

Post by gapan »

Make sure you have perl-gnome2-canvas installed.
Image
Image
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: Shutter won’t launch anymore overnight

Post by mimosa »

Maybe I shouldn’t have removed XFCE (should I reinstall it, just in case?).
Indeed, that is probably the cause. The only conceivable reason to have done so would be extreme lack of space, which is unlikely to be a problem these days. To reinstall it and all its dependencies:

Code: Select all

sudo slapt-get --install-set xfce
User avatar
gapan
Salix Wizard
Posts: 6238
Joined: 6. Jun 2009, 17:40

Re: Shutter won’t launch anymore overnight

Post by gapan »

mimosa wrote:
Maybe I shouldn’t have removed XFCE (should I reinstall it, just in case?).
Indeed, that is probably the cause. The only conceivable reason to have done so would be extreme lack of space, which is unlikely to be a problem these days. To reinstall it and all its dependencies:

Code: Select all

sudo slapt-get --install-set xfce
Well, there is a single problem with having xfce and mate installed at the same time. The default file manager is either thunar or caja, for both of them. So you might be using thunar in mate or caja in xfce, which is not ideal.
Image
Image
User avatar
Themis
Posts: 72
Joined: 27. Feb 2016, 22:17
Location: France

Re: Shutter won’t launch anymore overnight

Post by Themis »

Thanks!

Indeed, perl-gnome2-canvas was not installed. It is now, but the problem remains.

Code: Select all

Can't locate Gnome2/VFS.pm in @INC (you may need to install the Gnome2::VFS module) (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/lib64/perl5/vendor_perl/Gnome2.pm line 11.
BEGIN failed--compilation aborted at /usr/lib64/perl5/vendor_perl/Gnome2.pm line 11.
Compilation failed in require at /usr/bin/shutter line 34.
BEGIN failed--compilation aborted at /usr/bin/shutter line 34.
Should I look for other perl-gnome2-* packages?
Also, if I got it right, having removed XFCE should not be a problem, gapan?
User avatar
gapan
Salix Wizard
Posts: 6238
Joined: 6. Jun 2009, 17:40

Re: Shutter won’t launch anymore overnight

Post by gapan »

Yes. This time it needs perl-gnome2-vfs, as you can see in the error message. There might be more. Pay attention to the error messages and you'll get it working again. You probably unknowingly removed all those when you removed xfce.
Image
Image
User avatar
Themis
Posts: 72
Joined: 27. Feb 2016, 22:17
Location: France

Re: Shutter won’t launch anymore overnight

Post by Themis »

Thank you very much.
I begin to understand, but there’s one package I’m not sure about.

Code: Select all

shutter
Can't locate HTTP/Status.pm in @INC (you may need to install the HTTP::Status module) (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/bin/shutter line 75.
BEGIN failed--compilation aborted at /usr/bin/shutter line 75.
If i understand how perl packages are named, here is what I find.

Code: Select all

$ spi perl-http*
Available packages:
perl-http-cookies [Not installed]: perl-http-cookies (HTTP cookie jars)
perl-http-daemon [Not installed]: perl-http-daemon (a simple http server class)
perl-http-date [Not installed]: perl-http-date (date conversion routines)
perl-http-message [Not installed]: perl-http-message (HTTP style message base class)
perl-http-negotiate [Not installed]: perl-http-negotiate (choose a variant to serve)
perl-http-response-encoding [Not installed]: HTTP::Response::Encoding (perl module)
perl-http-server-simple [Not installed]: HTTP::Server::Simple (perl module)

Available SlackBuilds:
perl-HTTP-Cache-Transparent [Not installed]: perl-HTTP-Cache-Transparent (Cache the result of http get-requests)
perl-HTTP-Proxy [Not installed]: perl-HTTP-Proxy (a pure Perl HTTP proxy)
I can’t figure out which package would be appropriate. Or should I install them all?
User avatar
gapan
Salix Wizard
Posts: 6238
Joined: 6. Jun 2009, 17:40

Re: Shutter won’t launch anymore overnight

Post by gapan »

It should be in perl-http-message.
Image
Image
Post Reply