Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: 12.1 ghostscript/libfree6 and acroread errors

  1. #1

    Default 12.1 ghostscript/libfree6 and acroread errors

    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".

    installed:
    gtk2-engines-2.20.2-7.1.2.x86_64
    gtk2-engines-32bit-2.20.2-7.1.2.x86_64
    kdebase4-workspace-liboxygenstyle-4.7.2-6.4.1.x86_64
    oxygen-gtk-1.1.4-2.4.1.x86_64

    have not found anything on this one. any suggestions?


    thanks in advance.

  2. #2
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Smile Re: 12.1 ghostscript/libfree6 and acroread errors

    Quote Originally Posted by ewhite20 View Post
    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".

    installed:
    gtk2-engines-2.20.2-7.1.2.x86_64
    gtk2-engines-32bit-2.20.2-7.1.2.x86_64
    kdebase4-workspace-liboxygenstyle-4.7.2-6.4.1.x86_64
    oxygen-gtk-1.1.4-2.4.1.x86_64

    have not found anything on this one. any suggestions?


    thanks in advance.
    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().

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  3. #3

    Default Re: 12.1 ghostscript/libfree6 and acroread errors

    Quote Originally Posted by jdmcdaniel3 View Post
    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().

    Thank You,
    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.

  4. #4
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Question Re: 12.1 ghostscript/libfree6 and acroread errors

    Quote Originally Posted by ewhite20 View Post
    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.
    And if you execute the acroread filename.pdf command at the terminal prompt, does it work properly for you?

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  5. #5

    Default Re: 12.1 ghostscript/libfree6 and acroread errors

    Quote Originally Posted by jdmcdaniel3 View Post
    And if you execute the acroread filename.pdf command at the terminal prompt, does it work properly for you?

    Thank You,
    no. both utilities produce errors when run directly.

  6. #6

    Default Re: 12.1 ghostscript/libfree6 and acroread errors

    Quote Originally Posted by jdmcdaniel3 View Post
    And if you execute the acroread filename.pdf command at the terminal prompt, does it work properly for you?

    Thank You,
    okular gives a new error as well. but it gives the error at exit.

    test@acan:~/work> convert a.pgm a.ps
    test@acan:~/work> ps2pdf a.ps
    GPL Ghostscript 9.00: Error: Font Renderer Plugin ( FreeType ) return code = -1
    GPL Ghostscript 9.00: Error: Font Renderer Plugin ( FreeType ) return code = -1
    test@acan:~/work> acroread a.pdf

    (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>

  7. #7
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Question Re: 12.1 ghostscript/libfree6 and acroread errors

    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:

    Code:
    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:

    MMCHECK - Version 2.45 - Check Your Multimedia in 16 Steps - Bash Script File - Blogs - openSUSE Forums

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  8. #8

    Default Re: 12.1 ghostscript/libfree6 and acroread errors

    Quote Originally Posted by jdmcdaniel3 View Post
    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:

    Code:
    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:

    MMCHECK - Version 2.45 - Check Your Multimedia in 16 Steps - Bash Script File - Blogs - openSUSE Forums

    Thank You,
    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.

    Code:
    # | Alias                              | Name                               | Enabled | Refresh
    --+------------------------------------+------------------------------------+---------+--------
    1 | Updates-for-openSUSE-12.1-12.1-1.4 | Updates for openSUSE 12.1 12.1-1.4 | Yes     | Yes    
    2 | nVidia Graphics Drivers            | nVidia Graphics Drivers            | No      | Yes    
    3 | openSUSE-12.1-12.1-1.4             | openSUSE-12.1-12.1-1.4             | Yes     | No     
    4 | repo-debug                         | openSUSE-12.1-Debug                | No      | Yes    
    5 | repo-debug-update                  | openSUSE-12.1-Update-Debug         | No      | Yes    
    6 | repo-non-oss                       | openSUSE-12.1-Non-Oss              | Yes     | Yes    
    7 | repo-oss                           | openSUSE-12.1-Oss                  | Yes     | Yes    
    8 | repo-source                        | openSUSE-12.1-Source               | No      | Yes
    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?

  9. #9
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,654

    Default Re: 12.1 ghostscript/libfree6 and acroread errors

    Am 30.08.2012 19:56, schrieb ewhite20:
    > Ghostscript 9.00: Error: Font Renderer Plugin (Freetype) return code


    As far as I remember you can get rid of that by updating your
    ghostscript to 9.05
    http://download.opensuse.org/reposit.../openSUSE_12.1

    --
    PC: oS 12.2 x86_64 | i7-2600@3.40GHz | 16GB | KDE 4.8.4 | GeForce GT 420
    ThinkPad E320: oS 12.1 x86_64 | i3@2.30GHz | 8GB | KDE 4.8.5 | HD 3000
    eCAFE 800: oS 12.1 i586 | AMD Geode LX 800@500MHz | 512MB | KDE 3.5.10

  10. #10
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Smile Re: 12.1 ghostscript/libfree6 and acroread errors

    Quote Originally Posted by ewhite20 View Post
    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.

    Code:
    # | Alias                              | Name                               | Enabled | Refresh
    --+------------------------------------+------------------------------------+---------+--------
    1 | Updates-for-openSUSE-12.1-12.1-1.4 | Updates for openSUSE 12.1 12.1-1.4 | Yes     | Yes    
    2 | nVidia Graphics Drivers            | nVidia Graphics Drivers            | No      | Yes    
    3 | openSUSE-12.1-12.1-1.4             | openSUSE-12.1-12.1-1.4             | Yes     | No     
    4 | repo-debug                         | openSUSE-12.1-Debug                | No      | Yes    
    5 | repo-debug-update                  | openSUSE-12.1-Update-Debug         | No      | Yes    
    6 | repo-non-oss                       | openSUSE-12.1-Non-Oss              | Yes     | Yes    
    7 | repo-oss                           | openSUSE-12.1-Oss                  | Yes     | Yes    
    8 | repo-source                        | openSUSE-12.1-Source               | No      | Yes
    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?
    Yes that is good. I highly recommended you add the Packman repository, allow vendor change and update for all new packages:

    Code:
    "http://packman.inode.at/suse/openSUSE_12.1/"
    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •