netscape and helper application problem

netscape and helper application problem

Post by Anand Kolatk » Tue, 08 Dec 1998 04:00:00



        I am hoping someone can help me with this one:

        I am running kernel 2.0.36 and netscape version 4.08 with
        libc5 (Slackware).

        I installed acroread from Acrobat and it works fine on its
        own.  However, when I add acroread to the Netscape helper
        applications list (For dealing with pdf files), I get the file
        downloaded to /tmp, where it should go.  But, when then netscape
        issues the follwing error message:

        sh: -c: line 1: missig closin `(' for arithmetic expression
        sh: -c: line 1: syntax error near unexpected token `;'
        sh: -c: line 1: `((acroread /tmp/blah.pdf); rm /tmp/blah.pdf)&'

        Any ideas as to how to fix this so that acroread can display
        a pdf file from netscape?  

        Thanks.

--
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
        Anand Kolatkar                            Stanford University

Lab Phone: (650) 725-4625 or -7866              Fairchild Building D-143
      FAX: (650) 723-8464                       Stanford, CA. 94305-5126

        Home Page - http://galactose.stanford.edu/~anandk
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>

 
 
 

netscape and helper application problem

Post by Robert Lunda » Sat, 02 Jan 1999 04:00:00


Well, I was going to write saying I had the same problem, but I don't
anymore.

The short answer to your question is upgrade bash.

I had this same problem when netscape tried to launch rvplayer.

It looks like netscape is calling /bin/sh with the -c option.  Try
typing:
/bin/sh -c '((acroread /tmp/blah.pdf); rm /tmp/blah.pdf)&'
And you should get the exact same error you got from Netscape.

On my system /bin/sh is a symbolic link to /bin/bash, and I was running
Bash 2.00.0(1)

I upgraded to bash-2.02.1 ( from ftp.cc.gatech.edu:/pub/gnu )

And the problem was fixed!

Robert


>         I am hoping someone can help me with this one:

>         I am running kernel 2.0.36 and netscape version 4.08 with
>         libc5 (Slackware).

>         I installed acroread from Acrobat and it works fine on its
>         own.  However, when I add acroread to the Netscape helper
>         applications list (For dealing with pdf files), I get the file
>         downloaded to /tmp, where it should go.  But, when then netscape
>         issues the follwing error message:

>         sh: -c: line 1: missig closin `(' for arithmetic expression
>         sh: -c: line 1: syntax error near unexpected token `;'
>         sh: -c: line 1: `((acroread /tmp/blah.pdf); rm /tmp/blah.pdf)&'

>         Any ideas as to how to fix this so that acroread can display
>         a pdf file from netscape?

>         Thanks.

> --
> <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
>         Anand Kolatkar                            Stanford University

> Lab Phone: (650) 725-4625 or -7866              Fairchild Building D-143
>       FAX: (650) 723-8464                       Stanford, CA. 94305-5126

>         Home Page - http://galactose.stanford.edu/~anandk
> <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>


 
 
 

1. Netscape 7.0 helper applications sample configuration?

Does anyone know of a place I can have a look at a sample helper
applications configuration, for example one that shows how to handle
sound files and video, for Netscape 7.0?  It seems the format has
changed somewhat because what worked in older netscape's doesn't work
with 7.0, something like this used to work on some apps:

   MyApplication %s

This would start MyApplication with file %s but now it doesn't, and when
I get something something to work I end up with downloaded files in
/tmp, which Netscape used to delete but now leaves them there for no
better purpose than to take up space.

-Tony

2. Solaris Boot Using NT boot loader?

3. Netscape Helper Applications

4. Dual Boot Scenario

5. Netscape helper applications

6. Question about logging to APACHE

7. Netscape mime types/helper applications

8. I just wanted to say thanks.

9. Netscape 3.04 fails to run helper application

10. Netscape mime types/helper applications

11. netscape and helper applications

12. helper application not work, netscape, linux