Closed Bug 354154 Opened 19 years ago Closed 19 years ago

Remote opening of local file no longer works.

Categories

(SeaMonkey :: General, defect)

x86
Linux
defect
Not set
major

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 301923

People

(Reporter: craigm, Unassigned)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.8.0.7) Gecko/20060910 SeaMonkey/1.0.5 Build Identifier: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.8.0.7) Gecko/20060910 SeaMonkey/1.0.5 In mozilla 1.7.12, the command mozilla -remote 'openURL(~cwmccluskey/zz.html, new-tab)' opens the local file zz.html in a new browser tab. One would expect that with SeaMonkey, the command seamonkey -remote 'openURL(~cwmccluskey/zz.html, new-tab)' would do the same thing. One would be wrong. What actually happens is: seamonkey -remote 'openURL(<path-to-file>/zz.html, new-tab)' Error: Failed to send command: 509 internal error Even following the different syntax on http://kb.mozillazine.org/Make_external_programs_in_Linux_use_the_right_browser has the same result of a 509 internal error. Reproducible: Always Steps to Reproduce: 1. Open SeaMonkey 2. From a command line, execute the command seamonkey -remote 'openURL(<path-to-file>/zz.html, new-tab)' Actual Results: Get error message, "Error: Failed to send command: 509 internal error" Expected Results: Opened the local file as Mozilla 1.7.12 does.
I have to guess that you're actually talking about full pathnames and not ~user (which has never worked). You're hitting bug 301923. You need to use a file URL to make xremote happy, file:///home/cmccluskey/zz.html). With 1.1 or trunk, you can use the included startup script and it will turn the file path to a file URL for you. *** This bug has been marked as a duplicate of 301923 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Yes, you are correct in assuming I was talking about full pathnames. What has appeared on the bug was not what I typed (or at least, intended to type), since /home/cmccluskey is not the path to my home directory. What I thought I had typed was: seamonkey -remote 'openURL(<path-to-file>/zz.html, new-tab)' Anyway, using: seamonkey -remote 'openURL(file://<path-to-file>/zz.html, new-tab)' does work. Thanks, Craig
You need to log in before you can comment on or make changes to this bug.