Closed
Bug 58667
Opened 24 years ago
Closed 19 years ago
Mozilla is silent if a helper app doesn't start
Categories
(Core Graveyard :: File Handling, defect)
Core Graveyard
File Handling
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 162249
People
(Reporter: cks+mozilla, Unassigned)
References
Details
Build ID: current CVS trunk pull
If you have configured a helper application for something but have
gotten the path, the program name, or whatever wrong such that it won't
run, Mozilla will be completely silent about this failure. This is
especially easy to do these days, seeing as Mozilla doesn't support command
line switches for helper apps at the moment.
Reproduction:
1. configure a helper app for application/pdf. Get it wrong: supply a
wrong absolute path, give a switch (ideally a bogus one), etc.
2. visit a PDF file. Look, no error message. Look, no PDF file being shown.
Suggested fix: if the attempt to start the application fails, or if the
application exits with a status besides 0, Mozilla should pop up a dialog
saying 'the attempt to start the helper application failed' and then offer
you a chance to save the just-downloaded file to somewhere.
Updated•24 years ago
|
QA Contact: sairuh → shrir
Comment 1•24 years ago
|
||
confirmed on build 2000110706, linux/Mandrake 7.2.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 2•24 years ago
|
||
Added self to CC. I'm seeing this on RedHat 6.2, CVS build from 11/6/2000.
I've seen this since at least M17.
Comment 3•24 years ago
|
||
I see a smiliar problem on mac... but it's not particular to having a bad path or
such. What I see happen is that the PDF file is downloaded to my local machine
and then nothing else happens (helper app not launched nor switched to (if
already running) and no attempt to load document). Mozilla doesn't give any
feedback for why it isn't loading.
Is this bug only for a bad path/app? Does it work if you specify a valid path
(and have enough memory, etc.)?
Comment 4•24 years ago
|
||
I've only seen this bug if I specify a nonexistent application, or don't specify
a full path to the application (Bug #56662).
But the behavior you're describing is identical to what I saw.
Maybe you need to specify the full, Mac-style, colon-seperated path to the app
for it to work?...
Comment 5•24 years ago
|
||
Since Don has left, Vishy is taking his bugs in bulk, pending reassignment.
thanks,
Vishy
Assignee: don → vishy
nav triage team:
Should fix this for beta1, marking nsbeta1, mozilla0.9, reassigning to pchen
Updated•24 years ago
|
Target Milestone: mozilla0.9 → mozilla0.8
Comment 7•24 years ago
|
||
We're past time to cut these low priority bugs from mozilla0.8. Please update
these bugs today.
The best place for the fix that I can find is in
http://lxr.mozilla.org/seamonkey/source/uriloader/exthandler/nsExternalHelperApp
Service.cpp#847. The call to OpenWithApplication() is where we fail. The fix
would be to put up an alert here and ask for the new save location.
Kathy's problem is completely different, there the (tm) character in
"Acrobat(tm) Reader 4.0" is causing problems because it's not encoded correctly
(or I guess more carefully worded, not properly unencoded back to mac charset).
Thus it "fails" to find the app. Sigh.
Changing target milestone to mozilla0.9, marking 58228 nsbeta1-
Comment 10•24 years ago
|
||
Suggested UI (tweaked from 4.x):
+--------------------------------------------------------------+
|::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::|
+--------------------------------------------------------------+
| . The document "HIGuidelines.pdf" was downloaded, but |
| /!\ could not be opened with the application "Acrobat™ |
| """ Reader 4.0" because the application could not be found. |
| If you save the document, you may be able to open it |
| manually. |
| |
| What do you want to do with "HIGuidelines.pdf"? |
| |
| ( Choose Application ... ) ( Delete ) (( Save ... )) |
+--------------------------------------------------------------+
Insert explanation as appropriate:
* the application could not be found
* the application quit with an error
* an unknown error of type {errorNum} occurred
Luckily, the suggested solution applies to any of those explanations.
Comment 11•24 years ago
|
||
Wow, that is absolutely the coolest ASCII rendering of an alert dialog box I
have ever seen! :)
Comment 12•24 years ago
|
||
Since this is already minused, resetting target milestone to get off 0.9 radar
Target Milestone: mozilla0.9 → ---
Comment 13•24 years ago
|
||
Marking nsbeat1+, mozilla0.9.1
Comment 14•23 years ago
|
||
as discussed in team meeting, moving all Nav+ team members nsbeta1+ P3 bugs from
mozilla0.9.1 to mozilla0.9.2.
Target Milestone: mozilla0.9.1 → mozilla0.9.2
Comment 15•23 years ago
|
||
nav triage team:
Pushing out to mozilla0.9.3
Target Milestone: mozilla0.9.2 → mozilla0.9.3
Comment 16•23 years ago
|
||
*** Bug 84270 has been marked as a duplicate of this bug. ***
Comment 17•23 years ago
|
||
nav triage team:
Pushing out to mozilla1.0. It wouldn't be very hard to put up a dialog saying we
couldn't find the associated helper app, but it would take quite a bit of work to
choose a new helper app or allow the user to select where to save the file.
Target Milestone: mozilla0.9.3 → mozilla1.0
Comment 18•23 years ago
|
||
> It wouldn't be very hard to put up a dialog saying we couldn't find
> the associated helper app, but it would take quite a bit of work to
> choose a new helper app or allow the user to select where to save the > file.
Can I suggest actually implementing this simple dialog for now anyway? It will
help people by letting them know what happened and it will provide a starting
point for future more advanced implementation.
Comment 19•23 years ago
|
||
Having similar problem with 0.9.3 (also 0.9.1) on linux. However paths are
correct to application(s). Could not get pdf or ps files to display with
acroread or ghostscript respectively. Files would download to /tmp but app never
ran. Stumbled across this old posting, which required playing games with the
"Ask me before downloading" checkbox, which seemed to fix my problem:
http://csf.colorado.edu/archive/2000/mozilla-unix/msg01930.html
Now I can see pdf and ps files, but still have two other problems:
1. When viewing ps files, it *always* asks before downloading the file, even
when I tell it not to (this is mentioned in another bug report). However, for
pdf files, it does not ask after I told it not to ask. Perhaps this is just random.
2. The pdf and/or ps files are not deleted from the /tmp directory after the
acroread or ghostscript applications exit. (Maybe they are deleted after mozilla
exits -- I have not tried that -- I will when I shut down mozilla.)
Comment 20•23 years ago
|
||
Updated•23 years ago
|
Component: XP Apps → File Handling
QA Contact: shrir → sairuh
Comment 23•23 years ago
|
||
I put in code in nsExternalHelperAppService.cpp to check for error on
the ::Launch call (part of bug 27609) but it seems that the code that actually
issues the request doesn't detect the error (or doesn't pass back an error
code).
This will require more work.
Target Milestone: mozilla0.9.9 → mozilla1.0
Comment 24•23 years ago
|
||
nsbeta1- per ADT triage team
Updated•22 years ago
|
QA Contact: sairuh → petersen
Updated•19 years ago
|
Assignee: law → file-handling
QA Contact: chrispetersen → ian
Updated•19 years ago
|
OS: Linux → All
Priority: P3 → --
Hardware: PC → All
Target Milestone: mozilla1.2alpha → ---
Comment 25•19 years ago
|
||
I believe this was fixed in bug 162249.
Comment 26•19 years ago
|
||
Actually, fixed in bug 27609 and perfected in bug 162249.
Comment 27•19 years ago
|
||
*** This bug has been marked as a duplicate of 162249 ***
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Updated•8 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•