Re: [Inkscape-user] Can't get autpackage of .44

On Mon, May 29, 2006 at 02:44:31PM +0200, Josef Vybiral wrote:
On Mon, 29 May 2006 14:29:18 +0200, Abrolag <abrolag@...58...> wrote:
When I try to download the latest autopackage build, instead of starting up the download manager it tries to load into the browser window. This happens with both FireFox 1.5 and Opera 8.54.
What am I doing wrong?
Hi, try to right click the link to the .package file and use "Save link target as" option in the context menu that appears. The problem is that server returns the file as simple text and browser reads it in this way.
Hmm, thanks for pointing this out, this looks like a problem.
Fortunately, it's easy to solve... we just need to specify a mime-type for the .package files. Could someone with login access to modevia look into this? I think it's simply a matter of adding an .htaccess file with a line like:
AddType application/x-autopackage .package
But that's probably not the right mime-type...
Mike Hearn, is there a registered mime-type for autopackage files? (If not, there should be!) I notice that the packages on the autopackage.org site sometimes downloads as type "BIN", which makes me think there isn't an associated type yet?
Bryce

On Mon, May 29, 2006 at 11:24:27AM -0700, Bryce Harrington wrote:
On Mon, May 29, 2006 at 02:44:31PM +0200, Josef Vybiral wrote:
On Mon, 29 May 2006 14:29:18 +0200, Abrolag <abrolag@...58...> wrote:
When I try to download the latest autopackage build, instead of starting up the download manager it tries to load into the browser window. This happens with both FireFox 1.5 and Opera 8.54.
What am I doing wrong?
Hi, try to right click the link to the .package file and use "Save link target as" option in the context menu that appears. The problem is that server returns the file as simple text and browser reads it in this way.
Hmm, thanks for pointing this out, this looks like a problem.
Fortunately, it's easy to solve... we just need to specify a mime-type for the .package files. Could someone with login access to modevia look into this? I think it's simply a matter of adding an .htaccess file with a line like:
AddType application/x-autopackage .package
This is now fixed (thanks Aaron!)
Bryce

On Mon, 29 May 2006 11:24:27 -0700, Bryce Harrington wrote:
But that's probably not the right mime-type...
I think it is the right mime type :)
Mike Hearn, is there a registered mime-type for autopackage files? (If not, there should be!) I notice that the packages on the autopackage.org site sometimes downloads as type "BIN", which makes me think there isn't an associated type yet?
For future reference my email address is mike@...869... now, can you check your address book to ensure it's up to date? I look at the mailing lists occassionally but can easily miss threads like this one if I'm not CCd.
I did submit an IANA registration for the MIME type application/autopackage a long time ago and it apparently went straight to /dev/null. MIME typing is of dubious value anyway as getting web servers correctly configured to handle new filetypes is nearly impossible. Witness the Redhat Package Manager vs RealPlayer Media fiasco :)
Autopackages should *always* download as binaries in Firefox. I added some embedded non-ASCII bytes to the header to trip the Gecko last-chance detection code before 1.0. I do not know why it's failing for that person.
The reason they download as "bin" files is because Gecko is detecting them as "generic binary sent as text/plain" and doesn't know what type they are until downloaded. If you have the support code installed it will match on the .package file extension and pass them to the right handler.
thanks -mike

On Mon, 29 May 2006 23:52:58 +0100, Mike Hearn wrote:
For future reference my email address is mike@...869... now, can you check your address book to ensure it's up to date? I look at the mailing lists occassionally but can easily miss threads like this one if I'm not CCd.
Whoops, I misread the timestamps on this and thought it came earlier than it did. Actually this thread is in my inbox after all :) My sincerest apologies.
-mike
participants (2)
-
Bryce Harrington
-
Mike Hearn