bringing up a 12.1 (kde) machine and have run into a couple of issues with my old scan scripts. these scripts have been used back to 11.1
without issue. they are not failing now, just throwing errors.
scan the image:system(“scanimage @opts -d @scanr > $fnamepg”);
convert the image:system(“convert -density 300 $fnamepg $fnametps”);
convert to pdf:system(“ps2pdf $fnameps”);
view result with acroread:system(“acroread $fnamepdf”);
the convert and ps2pdf steps are both returning this error:GPL Ghostscript 9.00: Error: Font Renderer Plugin (Freetype) return code = -1
a little research points to the libfree6 library. i have installed the latest version from the repo.libfreebl3-3.13.5-9.16.1.x86_64
libfreetype6-2.4.7-6.1.x86_64
libfreetype6-32bit-2.4.7-6.1.x86_64
still errors. any suggestions?
acroread-9.5.1-3.10.1.i586 returns:(acroread:5514): Gtk-WARNING ** Unable to locate theme engine in module_path: “oxygen-gtk”.
I have not been using the system command, but it claims to be equal to a /bin/sh -c command but I had problems with the -c option in your examples. So I might just use /bin/sh instead of system().
it was late last night when i was testing this, so i failed to test outside of the perl script. the convert command is not generating any errors. but, the ps2pdf is generating the “GPL Ghostscript…” error twice. acroread generates its error with any pdf when run.
(acroread:9093): Gtk-WARNING **: Unable to locate theme engine in module_path: “oxygen-gtk”,
(acroread:9093): Gtk-WARNING **: Unable to locate theme engine in module_path: “oxygen-gtk”,
test@acan:~/work> okular a.pdf
okular(9154)/kdeui (kdelibs) KXMLGUIClient::~KXMLGUIClient: 0x787e58 deleted without having been removed from the factory first. This will leak standalone popupmenus and could lead to crashes.
test@acan:~/work>
So, my thoughts is that your installation of openSUSE has a problem. May I ask if this was a clean installation, a new install but with an existing /home or a straight openSUSE upgrade and if upgrade, from what version and how was the upgrade performed? A look at your repositories might be in order:
This terminal command would help show us what you got:
zypper repos
I don’t know what is wrong, but openSUSE upgrades and strangely mixed repositories often can produce such oddities, which results in mixed packages, not compiled or meant to work together. I have a bash script, intended to check your multimedia setup, but it might also be helpful in this case:
new install with new machine. actually, if it was not for a drive beginning to fail in my 11.3 box i would wait for 12.2.
yast was updated first, then all updates as listed as available. only non-suse update was nvidia G02 for fx1800.
the ghostscript error is not unique to opensuse. redhat and arch both had issues with libfree6, but they are using a different version.
i found one hit on the acroread error, but it was that gtk2-engines was not installed.
was there a particular output from your mmcheck that you wanted to see?
i usually add packman towards the end of my install, which can take me a week to complete. been using suse since 9.3 and i’ve found it best to get the system stable with distribution packages before adding others. video being an exception.
this being a long week-end, i may start over and see if any of this was caused by the initial updates. i’m also tempted to wait on 12.2.
We will be getting openSUSE 12.2 on September the 5th as I recall, so it will not be long to wait. The big change with openSUSE 12.2 is the switch to Grub 2 for which I have not entirely got into how it works. But, I have put together a bash script intended to help with Grub 2 you can find here: