FTP push failure...
John A Meinel
john at arbash-meinel.com
Sat Dec 3 17:51:42 GMT 2005
Magnus Therning wrote:
> On Fri, Dec 02, 2005 at 08:30:22AM -0600, John A Meinel wrote:
>
> The error I get is:
>
> % bzr branch http://therning.org/magnus_bzr/epilicious
> bzr: ERROR: HTTP Error 406: Not Acceptable
> command: '/home/magnus/bin/bzr' 'branch' 'http://therning.org/magnus_bzr/epilicious'
> pwd: u'/home/magnus/prog/tmp'
> error: urllib2.HTTPError
> at /usr/lib/python2.4/urllib2.py line 480, in http_error_default()
> see ~/.bzr.log for debug information
>
> Any pointers on how to resolve it?
This is the file it is requesting:
http://www.therning.org/magnus_bzr/epilicious/.bzr/revision-store/c4/Arch-x%3Amagnus%40therning.org--epilicious%25epilicious--main--0--base-0
If I go to that URL with Firefox, I get the same 406 error from the web
server.
Obviously this is a branch which has been converted from an Arch
archive. But I don't know why the webserver can't just try and export it
as an octet stream, or as a text file.
Perhaps you need to look at your mime_magic settings.
This is how mine is set up (these are spread out throughout the file,
but I put them together for helpfulness)
LoadModule mime_magic_module modules/mod_mime_magic.so
TypesConfig /etc/mime.types
DefaultType text/plain
<IfModule mod_mime_magic.c>
MIMEMagicFile conf/magic
</IfModule>
John
=:->
>
> /M
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20051203/04c1d165/attachment.pgp
More information about the bazaar
mailing list