-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error creating a python project #8
Comments
I wouldn't be surprised if this turns out to be a problem in Codonhooks or Dynohost. |
Gitmouth should probably have a well defined interface and set of [1] https://github.com/progrium/gitreceive On Tue, Apr 2, 2013 at 1:55 PM, Thomas Buckley-Houston <
Jeff Lindsay |
I'm also interested in trying out OpenRoku for deploying Python/Django apps. Any luck resolving this issue? |
Once I have some free time, I will take a look at it. |
Hacking around, I was actually able to get the python build pack to First off this issue probably needs to be moved to apiserver/codon hooks as The problem is because the heroku python buildpack actually moves all the Codonhooks treats /app as the root of the git repository when it's fatal: protocol error: bad line length character: erro As an experiment I modified Making those changes, fixed slug compilation. However actually dyno startup That's as far as I got before I ran out of time. Hopefully this helps On Thu, Apr 11, 2013 at 9:00 AM, Nate Aune notifications@github.com wrote:
-- Scott "There was a time when the internet answered all my questions. Now it just |
Thanks for sharing. It will helps |
@srobertson did you submit that patch as a pull request? |
@natea I hadn't until now. Here are the changes I made openruko/apiserver#28 Keep in mind, I was only trying to debug the problem, I wouldn't accept those patches "as is" |
Ok so it seems that /tmp/repo is needed for slug compilation but /app is needed for running the dyno. Thanks for the pull requests. It´s quite easy now to fix it |
Slug compilation fails when creating a python project.
How to reproduce:
$ mkdir myproject
$ cd myproject
$ git init
$ ~/openruko/client/openruko create
$ echo boto > requirements.txt
$ git add -A
$ git commit -m "initial commit"
$ git push heroku master
Counting objects: 7, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (7/7), 525 bytes, done.
Total 7 (delta 1), reused 0 (delta 0)
-----> Openruko receiving git push
-----> Python app detected
remote: rm: cannot remove
/app/hooks/.git/branches': Permission denied remote: rm: cannot remove
/app/hooks/.git/config': Permission deniedremote: rm: cannot remove `/app/hooks/.git/description': Permission denied
...
-----> Discovering process types
Default process types for Python ->
-----> Compiled slug size is 4.0K /tmp/slug.tgz
Using slug_id: 1364824011.45576
Uploading: http://openruko.mymachine.me:4567//slugs/21_1364824011.45576.tgz?Expires=1364860011&AWSAccessKeyId=123&Signature=vB%2BhCYMelAhLYC6hbsH9f678cak%3D
Uploaded: http://openruko.mymachine.me:4567//slugs/21_1364824011.45576.tgz?Expires=1364860011&AWSAccessKeyId=123&Signature=vB%2BhCYMelAhLYC6hbsH9f678cak%3D
-----> Launching... done v 3
http://7d45550ba17723745860986e5eff4e65.mymachine.me/ deployed to Openruko
fatal: protocol error: bad line length character: erro
error: error in sideband demultiplexer
To git@mymachine.me:7d45550ba17723745860986e5eff4e65.git
! [remote rejected] master -> master (bad pack)
error: failed to push some refs to 'git@mymachine.me:7d45550ba17723745860986e5eff4e65.git'
The text was updated successfully, but these errors were encountered: