Description of problem: the shutter does not work on mageia 7 (it was working on mageia 6) Version-Release number of selected component (if applicable): shutter-0.94-2.mga7 How reproducible: Steps to Reproduce: 1. sudo urpmi shutter 2. shutter no gui and output is GdkPixbuf-LOG **: gdk_pixbuf_from_pixdata() called on: at /usr/bin/shutter line 527, <DATA> line 19. GdkPixbuf-LOG **: Encoding raw at /usr/bin/shutter line 527, <DATA> line 19. GdkPixbuf-LOG **: Dimensions: 16 x 16 at /usr/bin/shutter line 527, <DATA> line 19. GdkPixbuf-LOG **: Rowstride: 64, Length: 1048 at /usr/bin/shutter line 527, <DATA> line 19. GdkPixbuf-LOG **: Copy pixels == false at /usr/bin/shutter line 527, <DATA> line 19. GdkPixbuf-LOG **: gdk_pixbuf_from_pixdata() called on: at /usr/bin/shutter line 527, <DATA> line 19. GdkPixbuf-LOG **: Encoding raw at /usr/bin/shutter line 527, <DATA> line 19. GdkPixbuf-LOG **: Dimensions: 16 x 16 at /usr/bin/shutter line 527, <DATA> line 19. GdkPixbuf-LOG **: Rowstride: 64, Length: 1048 at /usr/bin/shutter line 527, <DATA> line 19. GdkPixbuf-LOG **: Copy pixels == false at /usr/bin/shutter line 527, <DATA> line 19. Wide character at /usr/lib64/perl5/Encode.pm line 296, <DATA> line 19. If I use the example from man page , for a batch use (no gui) : shutter -f -e -o './%y-%m-%d_$w_$h.png' no image is created
Assigning to the registered maintainer!
Assignee: bugsquad => shlomifCC: (none) => geiger.david68210
shutter starts fine in the 7.1 xfce x64 live dvd in a vbox vm from the command line. I need more details on your host system, and whether it works fine in a new linux user.
it seems to be translation problem : I'm french, so my locale is fr_FR.UTF-8 if I use "export LANG=fr_FR.UTF-8" shutter does not start if I use "export LANG=POSIX" shutter works as expected
some more tests wuth differents LANG : LANG=fr : works (with warnings) LANG=fr_FR : does not work LANG=fr_FR.UTF-8 : does not work same for english LANG=en : works (with warnings) LANG=en_GB : does not work LANG=en_GB.UTF-8 : does not work
Confirmed here on my mga7 (French user) shutter doesn't work at all.
Re-assigning globally due to change to no specific maintainer.
Assignee: shlomif => pkg-bugs
it still does not start: $ shutter WARNING: gnome-web-photo is missing --> screenshots of websites will be disabled! WARNING: Gtk2::AppIndicator is missing --> there will be no icon showing up in the status bar when running Unity! INFO: gathering system information... Linux localhost.aldente 5.7.19-desktop-3.mga7 #1 SMP Sun Oct 18 15:46:00 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux Mageia release 7 (Official) for x86_64 Kernel 5.7.19-desktop-3.mga7 on a 4-processor x86_64 / \l Glib 1.329 Gtk2 1.24992 Glib built for 2.58.3, running with 2.60.2 Gtk2 built for 2.24.32, running with 2.24.32 Wide character at /usr/lib64/perl5/Encode.pm line 296, <DATA> line 19.
CC: (none) => mageia
Whiteboard: (none) => CAULDRON_TOO
Depends on: (none) => 27944
It would be really good to get this tool working, as it helps taking screenshots.
Depends on: 27944 => (none)
Well, I have just installed (~30 pkgs) & tried it. After much messing about with plugins, it started OK from the menu; from terminal: $ shutter WARNING: gnome-web-photo is missing --> screenshots of websites will be disabled! WARNING: Gtk2::AppIndicator is missing --> there will be no icon showing up in the status bar when running Unity! INFO: gathering system information... then lots of O/P, then the GUI, closed, to quit was emitted by widget Gtk2::ImageMenuItem=HASH(0x4973fd8) GLib-CRITICAL **: Source ID 32 was not found when attempting to remove it at /usr/bin/shutter line 7265. shutter-0.94-2.mga7 $ echo $LANG cy_GB.UTF-8 Desktop: LXDE 0.10.0 wm: Openbox For me, it worked similarly for Cauldron/Mageia 8. Marc indicated CAULDRON_TOO (which I removed); can anyone else for whom it does not work for M7 confirm the problem for M8 also? If you find it does *not* work for that, please: * Edit the title to show both M7 & M8 * Change the heading Version 7 -> Cauldron * Put MGA7TOO in the Whiteboard field. (or we will).
Whiteboard: CAULDRON_TOO => (none)Summary: shutter does not work on mageia 7 => shutter does not work on mageia 7 on some systemsCC: (none) => lewyssmith
I can confirm, that the behaviour is the same with a just updated Cauldron right now. Crash with echo $LANG de_DE.UTF-8 works with: echo $LANG POSIX
CC: (none) => man-draker
Thank you contributors for the LANG tests, which certainly pin this down; bug adjusted accordingly. Re-assigning to Shlomi whose comment 2 was encouraging. (In reply to Marc Krämer from comment #8) > It would be really good to get this tool working, as it helps taking > screenshots. Try flameshot, it is remarkable, with a host of instantly accessible features. Configure it to sit in Systray. You have to explore it: read its intro (& note that the mousewheel changes font size as well as line thickness), and explore all the border icons. It offers one-click saving, and powerful screenshot annotations avoiding subsequent image editing. Who needs shutter?
Version: 7 => CauldronAssignee: pkg-bugs => shlomifSource RPM: shutter-0.94-2.mga7.src.rpm => shutter-0.94-2.mga7.src.rpm, shutter-0.94.3-2.mga8.src.rpmSummary: shutter does not work on mageia 7 on some systems => shutter does not work with some LANG variants, M7 & M8Whiteboard: (none) => MGA7TOO
@Lewis: shlomi has quit as maintainer, so I don't expect him to check this. I've tried changing LANG and starting shutter, but this fails. I've tried flameshot, looks nice. I'll try this for now.
should we just drop shutter? If this one is not working at all, and is propably unmaintained(?), it is better to drop it, than to get the impression this is working as expected.
It does not happen much upstream. Last bugfix release one and a half year ago, and from what it fix since the version we have i dont spot a fix for the problem we see. https://launchpad.net/shutter New bugs keep being registered https://bugs.launchpad.net/shutter Flameshot is in cauldron but not mga7 I think we should drop Shutter in mga8. While doing that ensure there is a (working) screenshot app installed with any single desktop we fully support.
CC: (none) => fri
Thanks Morgan for the research. I remember QA testing flameshot once, so perhaps it is in M7 Backports. CC'ing ISO team, as this may effect ISO contents.
CC: (none) => isobuildAssignee: shlomif => pkg-bugsSummary: shutter does not work with some LANG variants, M7 & M8 => shutter does not work with some LANG variants, M7 & M8, and is scarcely active upstream. CAN WE DROP IT?
___Shutter: Coincidence? 1 hr ago: version 0.95 https://launchpad.net/shutter/+announcement/28417 So i suggest to try packaging this at least for mga7. https://github.com/shutter-project https://shutter-project.org/ ___Flameshot: I dont find it in mag7 backports either. But i find their Appimage works on 64 bit mga7 plasma. chmod +x, and launch it, and there the icon is in systray :) Appimage: https://github.com/flameshot-org/flameshot/releases Really nice :) i.e see video at https://flameshot.org/ I also see they have it as Flatpak: https://flathub.org/apps/details/org.flameshot.Flameshot
(In reply to Morgan Leijström from comment #16) > ___Flameshot: > > I dont find it in mag7 backports either. https://mirror.math.princeton.edu/pub/mageia/distrib/7/SRPMS/core/backports/flameshot-0.6.0-1.mga7.src.rpm
CC: (none) => davidwhodgins
You are correct, dont know why i missed it... the rpm is at i.e http://ftp.acc.umu.se/mirror/mageia/distrib/7.1/x86_64/media/core/backports/ Anyhow, it is old - that Appimage have much more functions, and translations :)
A new release has been published. https://github.com/shutter-project/shutter/tree/v0.99.2
CC: (none) => yves.brungard_mageia
In mga8 we have 0.94.3-2 Works for me in Swedish locale, minus some bad characters in the localised menu.
Summary: shutter does not work with some LANG variants, M7 & M8, and is scarcely active upstream. CAN WE DROP IT? => Shutter does not work with some LANG variants (still?), new release upstream.Status comment: (none) => Seldom updated. Drop in mga9? Or update, also in mga8 - now!Whiteboard: MGA7TOO => MGA8TOOSource RPM: shutter-0.94-2.mga7.src.rpm, shutter-0.94.3-2.mga8.src.rpm => shutter-0.94.3-2.mga8.src.rpm
nope: [marc@lap01 ~]$ shutter WARNING: gnome-web-photo is missing --> screenshots of websites will be disabled! WARNING: Gtk2::AppIndicator is missing --> there will be no icon showing up in the status bar when running Unity! INFO: gathering system information... Linux lap01.aldente 5.10.75-desktop-1.mga8 #1 SMP Wed Oct 20 10:23:35 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux Mageia release 8 (Official) for x86_64 Kernel 5.10.75-desktop-1.mga8 on a 4-processor x86_64 / \l Glib 1.3293 Gtk2 1.24993 Glib built for 2.64.3, running with 2.66.8 Gtk2 built for 2.24.32, running with 2.24.33 Wide character at /usr/lib64/perl5/vendor_perl/Locale/gettext.pm line 226, <DATA> line 19. [marc@lap01 ~]$ ps aux|grep -i shutt marc 26130 0.0 0.0 35508 712 pts/2 S+ 12:51 0:00 grep --color -i shutt
Created attachment 12980 [details] spec file for 0.99.2 I tried to build this release with this spec file. It needs also to add a new package Goocanvas-CairoFiles. However, the program still crashes in French, but not with LC_ALL.
Created attachment 12981 [details] spec file for perl goocanvas
I didn't find any bug report in shutter about translations. Running the 0.99.2, I get this trace: Wide character at /usr/lib64/perl5/vendor_perl/Locale/gettext.pm line 226, <DATA> line 19. Locale::gettext::_convert(Locale::gettext=HASH(0x5701ea8), "_Renommer\x{2026}") called at /usr/lib64/perl5/vendor_perl/Locale/gettext.pm line 126 Locale::gettext::get(Locale::gettext=HASH(0x5701ea8), "_Rename...") called at /usr/share/shutter/resources/modules/Shutter/App/Menu.pm line 543 Shutter::App::Menu::fct_ret_actions_menu(Shutter::App::Menu=HASH(0x1bd2080), Gtk3::AccelGroup=HASH(0x57bc798), Locale::gettext=HASH(0x5701ea8), "/usr") called at /usr/share/shutter/resources/modules/Shutter/App/Menu.pm line 79 Shutter::App::Menu::create_menu(Shutter::App::Menu=HASH(0x1bd2080)) called at /usr/bin/shutter line 490 Shutter::App::STARTUP(Shutter::App=HASH(0x501a0e0)) called at /usr/lib64/perl5/vendor_perl/Glib/Object/Introspection.pm line 67 Glib::Object::Introspection::__ANON__(Shutter::App=HASH(0x501a0e0)) called at /usr/bin/shutter line 10943 Erreur de segmentation (core dumped) The problem seems to be in (our) gettext function, when the … alias \x{2026} character is returned in a translated string. Or shouldn't the character have been encoded in such a way when building .mo files?
Depends on: (none) => 29640
This is a duplicate of bug 14541. The original bug was fixed but reintroduced again in 0.94-1.mga7 with incorrectly removed shutter-0.93.1-mga-fix-utf8-locale.patch. https://svnweb.mageia.org/packages?view=revision&revision=1204866 The patch is now restored and rediffed in cauldron's shutter-0.99.2-1.mga9.
CC: (none) => jani.valimaa
Thanks Wally, I can now launch it in cauldron. What is surprising is that our perl-gettext doesn't seem to have the same behaviour as in Debian.
Summary: Shutter does not work with some LANG variants (still?), new release upstream. => Shutter does not work with some LANG variantsStatus comment: Seldom updated. Drop in mga9? Or update, also in mga8 - now! => (none)Version: Cauldron => 8Depends on: 29640 => (none)Whiteboard: MGA8TOO => (none)
Should be fixed also in mga8 with shutter-0.94.3-2.1.mga8 in core/updates_testing. Please test.
Assignee: pkg-bugs => qa-bugs
Hello, I have just test shutter-0.94.3-2.1.mga8 in mga8 plasma. It's seem to work perfectly. I've done several screenshots and edit them in the editor without problem.
CC: (none) => olivier.placais
MGA8-64 Plasma on Lenovo B50 Dutch installation. No installation issues. I have LANGUAGE=nl_BE.UTF-8:nl LANG=nl_BE.UTF-8 At CLI: $ shutter WARNING: gnome-web-photo is missing --> screenshots of websites will be disabled! WARNING: Gtk2::AppIndicator is missing --> there will be no icon showing up in the status bar when running Unity! INFO: gathering system information... Linux mach5.hviaene.thuis 5.10.78-server-1.mga8 #1 SMP Sat Nov 6 14:59:49 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux Mageia release 8 (Official) for x86_64 Kernel 5.10.78-server-1.mga8 on a 4-processor x86_64 / \l Glib 1.3293 Gtk2 1.24993 Glib built for 2.64.3, running with 2.66.8 Gtk2 built for 2.24.32, running with 2.24.33 ERROR: settingsfile /home/tester8/.shutter/settings.xml does not exist INFO: new plugin information detected - /usr/share/shutter/resources/system/plugins/perl/spbardistortion/spbardistortion Tunnelvervorming - /usr/share/shutter/resources/system/plugins/perl/spbardistortion/spbardistortion and more of plugins.... but in th end the tool opens and I have been able to take a region-screenshot and save it on the laptop. OK for me.
Whiteboard: (none) => MGA8-64-OKCC: (none) => herman.viaene
Since the original bug was about it crashing on launch, and we have two successful launches, that should be enough. Validating. I don't see anything here resembling an advisory.
CC: (none) => andrewsfarm, sysadmin-bugsKeywords: (none) => validated_update
Advisory ============================= The program shutter was crashing when some translated strings had extra character in UTF8. The fix restores a patch which was already applied previously, but no more applied in the current release. ============================
Keywords: (none) => advisory
An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGAA-2021-0211.html
Status: NEW => RESOLVEDResolution: (none) => FIXED