Skip Menu |

This queue is for tickets about the WWW-Mechanize-Shell CPAN distribution.

Report information
The Basics
Id: 2765
Status: resolved
Priority: 0/
Queue: WWW-Mechanize-Shell

People
Owner: corion [...] cpan.org
Requestors: mark [...] summersault.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.23
Fixed in: 0.26



Subject: file path is duplicated in call to open
autosync is broken for me in .24. It appears the file path is being passed twice to "open": ### Show quoted text
shell> set autosync 1 shell> get http://mark.stosberg.com/
Retrieving http://mark.stosberg.com/(200) 2003-06-09 16:31:21.819 open[9581] No such file: /tmp/tJ9GHdgbKo/tmp/tJ9GHdgbKo Couldn't launch 'open /tmp/tJ9GHdgbKo/tmp/tJ9GHdgbKo' : 256 at /sw/lib/perl5/site_perl/5.8.0/HTML/Display/TempFile.pm line 34, <FIN> line 3. ##### I imagine it would have detected "Safari" as my browser, if it makes a difference. Mark
From: "Max Maischein" <corion [...] corion.net>
To: <bug-WWW-Mechanize-Shell [...] rt.cpan.org>
Subject: Re: [cpan #2765] file path is duplicated in call to open
Date: Tue, 10 Jun 2003 00:02:19 +0200
RT-Send-Cc:
Show quoted text
> autosync is broken for me in .24. It appears the file path is being passed
twice to "open": Show quoted text
> ### >
> shell> set autosync 1 > shell> get http://mark.stosberg.com/
> Retrieving http://mark.stosberg.com/(200) > 2003-06-09 16:31:21.819 open[9581] No such file:
/tmp/tJ9GHdgbKo/tmp/tJ9GHdgbKo Show quoted text
> Couldn't launch 'open /tmp/tJ9GHdgbKo/tmp/tJ9GHdgbKo' : 256 at
/sw/lib/perl5/site_perl/5.8.0/HTML/Display/TempFile.pm line 34, <FIN> line 3. Show quoted text
> ##### > > I imagine it would have detected "Safari" as my browser, if it makes a
difference. This sounds weird, as I don't know how OSX would know the file type - OSX autodetection takes the default browser as started by "open %s" - but now I realize that this dosen't know which program to open the file with. Overriding the autodetection should work (by specifying HTML::Display::OSX::Safari) or specifying the commandline should work (open -a Safari.app %s). OSX autosync needs more work it seems :-( -max