[open-science-dev] Pushing Pybossa to Heroku

Daniel Lombraña González teleyinex at gmail.com
Thu Sep 26 16:08:13 UTC 2013


Hi,

Thanks a lot!! First for finding and reporting a bug, and secondly for
finding a fix. Would you mind to open an issue in Github about it? It will
be very helpful!

Cheers,

Daniel


On Thu, Sep 26, 2013 at 2:51 PM, Traian Fratean <traian.fratean at gmail.com>wrote:

> Actually solved the issue. It looks like it was a wrong path and it can be
> fixed by using a custom buildpack as detailed here:
> http://stackoverflow.com/questions/10334920/heroku-buildpacks-installing-executables-that-are-used-by-python-packages
>
> In this case the heroku setup guide needs to be amended with instructions
> to use the new buildpack.
>
>
>
> Traian.
>
>
> 2013/9/26 Traian Fratean <traian.fratean at gmail.com>
>
>> Hello,
>>
>>
>> I tried to push Pybossa to heroku as described here:
>> http://docs.pybossa.com/en/latest/heroku_deploy.html?highlight=heroku
>>
>> First it was not working as there is no version 0.22.dev for M2Crypto in
>> PyPI https://pypi.python.org/simple/M2Crypto/. So I changed in
>> requirements.txt to:
>>
>> -e git+https://github.com/Hypernode/M2Crypto#egg=M2Crypto-0.22.dev
>>
>> When pushing to Heroku it fails while running setup.py with this error:
>>
>>
>>
>>         Running setup.py develop for M2Crypto
>>
>>            building 'M2Crypto.__m2crypto' extension
>>            swigging SWIG/_m2crypto.i to SWIG/_m2crypto_wrap.c
>>            swig -python -I/app/.heroku/python/include/python2.7
>> -I/usr/include -includeall -o SWIG/_m2crypto_wrap.c SWIG/_m2crypto.i
>>            unable to execute swig: No such file or directory
>>            error: command 'swig' failed with exit status 1
>>            Complete output from command /app/.heroku/python/bin/python -c
>> "import setuptools; __file__='/app/.heroku/src/m2crypto/setup.py';
>> exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__,
>> 'exec'))" develop --no-deps:
>>            running develop
>>
>>        running egg_info
>>
>>        writing M2Crypto.egg-info/PKG-INFO
>>
>>        writing top-level names to M2Crypto.egg-info/top_level.txt
>>
>>        writing dependency_links to M2Crypto.egg-info/dependency_links.txt
>>
>>        warning: manifest_maker: standard file '-c' not found
>>
>>
>>
>>        reading manifest file 'M2Crypto.egg-info/SOURCES.txt'
>>
>>        writing manifest file 'M2Crypto.egg-info/SOURCES.txt'
>>
>>        running build_ext
>>
>>        building 'M2Crypto.__m2crypto' extension
>>
>>        swigging SWIG/_m2crypto.i to SWIG/_m2crypto_wrap.c
>>
>>        swig -python -I/app/.heroku/python/include/python2.7
>> -I/usr/include -includeall -o SWIG/_m2crypto_wrap.c SWIG/_m2crypto.i
>>
>>        unable to execute swig: No such file or directory
>>
>>        error: command 'swig' failed with exit status 1
>>
>>        ----------------------------------------
>>        Command /app/.heroku/python/bin/python -c "import setuptools;
>> __file__='/app/.heroku/src/m2crypto/setup.py';
>> exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__,
>> 'exec'))" develop --no-deps failed with error code 1 in
>> /app/.heroku/src/m2crypto
>>        Storing complete log in /app/.pip/pip.log
>>
>>  !     Push rejected, failed to compile Python app
>>
>>
>>
>
> _______________________________________________
> open-science-dev mailing list
> open-science-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/open-science-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/open-science-dev
>
>


-- 
http://daniellombrana.es
http://citizencyberscience.net
http://www.shuttleworthfoundation.org/fellows/daniel-lombrana/
··························································································································································
Please do NOT use proprietary file formats to share files
like DOC or XLS, instead use PDF, HTML, RTF, TXT, CSV or
any other format that does not impose on the user the employment
of any specific software to work with the information inside the files.
··························································································································································
Por favor, NO utilice formatos de archivo propietarios para el
intercambio de documentos, como DOC y XLS, sino PDF, HTML, RTF, TXT, CSV
o cualquier otro que no obligue a utilizar un programa de un
fabricante concreto para tratar la información contenida en él.
··························································································································································
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/open-science-dev/attachments/20130926/533443cd/attachment.html>


More information about the open-science-dev mailing list