Code: Select all
Usage: /usr/local/Acrobat5/bin/acroread [options] [list of files]Mozilla version: mozilla-1.7.13
Acrobat version: acroread-7.0.8
Acrobat was installed via portage with the nsplugin use flag.
Code: Select all
Usage: /usr/local/Acrobat5/bin/acroread [options] [list of files]
Moved [topic=534117]it[/topic] to Duplicate Threads.gian wrote:I just posted a similar problem (before finding this thread... yes... I'm blaming the "search forum" box...)
I confirm the same issue. Acrobat no longer opens files from command line with this upgrade. I do not know what happened. In Firefox it actually starts up, but it is no longer swallowed inside browsers window, and has no file opened (probably due to the problem with command lines). Firefox complains that acrobat cannot be opened (while it actually does open, so probably the return value, or something like that is incorrect, too). This is on stable x86. Might be that we see the same problem as unstable users several months ago.wainer wrote:For me, the problem is not only that the acroread plugin is not working.
acroread file.pdf
from the shell also starts acroread but does not open the file. The problem starts with the
upgrade to 7.0.9[/i]
Maybe the same solution works, too? Do you have an idea what that was?wazow wrote:I confirm the same issue. Acrobat no longer opens files from command line with this upgrade. I do not know what happened. In Firefox it actually starts up, but it is no longer swallowed inside browsers window, and has no file opened (probably due to the problem with command lines). Firefox complains that acrobat cannot be opened (while it actually does open, so probably the return value, or something like that is incorrect, too). This is on stable x86. Might be that we see the same problem as unstable users several months ago.wainer wrote:For me, the problem is not only that the acroread plugin is not working.
acroread file.pdf
from the shell also starts acroread but does not open the file. The problem starts with the
upgrade to 7.0.9[/i]
It might be easier just to change the script yourself. The necessary change is described in the bug report I linked to earlier, if you're not familiar with shell scripts.zAfi wrote:well, I hope this gets solved soon....in the meantime...kpdf or xpdf...
btw, is there a firefox plugin for kpdf?

In this way you could have problem if you invoke acroread with something like "acroread /path\ to\ my\ dir/file.pdf", since the script will invoke "/opt/Acroread/acroread path to my dir/file" causing an error because of the white spaces.. change it in this way:mhodak wrote:Fortunately, this can be fixed rather easily. Open acrobat script (/opt/bin/acroread) and add to each line that contain
"exec /opt/Acrobat7/acroread.lang" (* stands for all of the languages listed en,de,fr,ja,ko,zh_CN,zh_TW) "$*" (omit apostrophes).
$* should go just before ";;".
I still hope that they fix it properly in partage.
Code: Select all
#!/bin/bash
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
#
# Automatically generated by app-text/acroread-7.0.9
# Exec the acroread script for the language chosen in
# LC_ALL/LC_MESSAGES/LANG (first found takes precedence, as in glibc)
L=${LC_ALL}
L=${L:-${LC_MESSAGES}}
L=${L:-${LANG}}
first_param=$1
shift
case ${L} in
en*) exec /opt/Acrobat7/acroread.en "${first_param}" $*;;
it*) exec /opt/Acrobat7/acroread.it "${first_param}" $*;;
*) exec /opt/Acrobat7/acroread.en "${first_param}" $*;;
esac

Code: Select all
#!/bin/bash
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
#
# Automatically generated by app-text/acroread-7.0.9
# Exec the acroread script for the language chosen in
# LC_ALL/LC_MESSAGES/LANG (first found takes precedence, as in glibc)
L=${LC_ALL}
L=${L:-${LC_MESSAGES}}
L=${L:-${LANG}}
case ${L} in
en*) exec /opt/Acrobat7/acroread.en "${first_param}" "$@";;
it*) exec /opt/Acrobat7/acroread.it "${first_param}" "$@";;
*) exec /opt/Acrobat7/acroread.en "${first_param}" "$@";;
esac