Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

{"error":"not_found","reason":"Document is missing attachment"} #41

Open
aljosa opened this issue Dec 4, 2012 · 6 comments
Open

{"error":"not_found","reason":"Document is missing attachment"} #41

aljosa opened this issue Dec 4, 2012 · 6 comments

Comments

@aljosa
Copy link

aljosa commented Dec 4, 2012

while trying to compile numpy (for python) i've run into a few issues which i thought were related to numpy compilation.
i eventually went back to original example from devcenter article and something is wrong and i can't build memcached example.

any help/instructions appreciated.

i've followed instructions on devcenter article: https://devcenter.heroku.com/articles/buildpack-binaries#compiling-binaries

$ cat /tmp/memcached-1.4.tgz
{"error":"not_found","reason":"Document is missing attachment"}

actual output:

$ curl -O http://memcached.googlecode.com/files/memcached-1.4.13.tar.gz
[...]

$ ll
total 2864
drwxrwxr-x 3 aljosa aljosa 4096 Dec 4 04:54 ./
drwxrwxr-x 57 aljosa aljosa 4096 Dec 3 16:57 ../
-rw-rw-r-- 1 aljosa aljosa 38 Dec 3 17:21 .env
drwxr-xr-x 6 aljosa aljosa 4096 Dec 3 17:01 heroku-buildpack-python/
-rw-rw-r-- 1 aljosa aljosa 320751 Dec 4 04:54 memcached-1.4.13.tar.gz
-rw-rw-r-- 1 aljosa aljosa 2585329 Dec 3 17:16 numpy-1.6.2.tar.gz

[...] # unpack memcahed && cd memcached folder

$ vulcan build
Packaging local directory... done
Uploading source package... >> Downloading build artifacts to: /tmp/memcached-1.4.tgz
(available at http://vulcan-lsn.herokuapp.com/output/6abaf93a-4748-4e18-886f-30629fae436d)

@wuputah
Copy link
Contributor

wuputah commented Dec 12, 2012

This error is being returned from CouchDB; it seems to indicate that the build did not finish and upload to Cloudant. Can you try again with 0.8.1?

@aljosa
Copy link
Author

aljosa commented Dec 12, 2012

@wuputah i'll try this weekend and report results w/ v0.8.1

@benevolentmadman
Copy link

@wuputah I'm also getting the same error trying to compile GSL with version 0.8.1. When I use -v the compile seems to proceed normally, but the download URL and the downloaded .tgz file both contain same error message:
{"error":"not_found","reason":"Document is missing attachment"}

@xaviershay
Copy link

I've just seen this error in the build output using the following:

vulcan build -s http://download.linuxaudio.org/lilypond/sources/v2.16/lilypond-2.16.2.tar.gz -n lilypond -c "./autogen.sh --noconfigure && mkdir build && cd build && ../configure && make"

(FWIW I haven't done any of this before.)

@jasoncox
Copy link

@xaviershay try downloading and expanding the source before sending it off to vulcan.

Here is a good tutorial: http://www.higherorderheroku.com/articles/using-vulcan-to-build-binary-dependencies-on-heroku/

@xaviershay
Copy link

That worked, though I would have expected a useful error from the above if it is invalid.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants