WebFaction
Community site: login faq

Hi

I am trying to install and run django-projector on my webfaction hosting. Now, that I have got it running, I am facing another problem with git push to the django-projector "project repo"

The main problem that i am facing is that when i create a project, i can clone the created repo on my localmachine, but when i try to push changes, i get the following errors:

On localmachine:

dushyant@dushyant-laptop:~/Workspace/test-project$ git push origin master

Password:

Password:

error: Cannot access URL http://dushyant@intranet.mantik.in/projector/dushyant/test-project.git/, return code 22

fatal: git-http-push failed

The apache log

From webhost apache log:

[Tue Jan 25 05:24:40 2011] [error] \x1b[1;34m[DEBUG] Catched git request by ProjectGitHandler view\x1b[0m

[Tue Jan 25 05:24:40 2011] [error] \x1b[1;34m[DEBUG] Path is: /projector/dushyant/test-project.git/\x1b[0m

[Tue Jan 25 05:24:40 2011] [error] \x1b[1;34m[DEBUG] Query is: \x1b[0m

[Tue Jan 25 05:24:40 2011] [error] \x1b[1;33m[SQL] Total SQL time for request: 0.003 (in 3 queries)\x1b[0m

[Tue Jan 25 05:24:41 2011] [error] \x1b[1;32m[INFO] Git request

[Tue Jan 25 05:24:41 2011] [error] PROPFIND /projector/aziz/asdf.git/\x1b[0m

[Tue Jan 25 05:24:41 2011] [error] \x1b[1;34m[DEBUG] Catched git request by ProjectGitHandler view\x1b[0m

[Tue Jan 25 05:24:41 2011] [error] \x1b[1;34m[DEBUG] Path is: /projector/dushyant/test-project.git/\x1b[0m

[Tue Jan 25 05:24:41 2011] [error] \x1b[1;34m[DEBUG] Query is: \x1b[0m

[Tue Jan 25 05:24:41 2011] [error] \x1b[1;34m[DEBUG] Sorry, that method is not supported\x1b[0m

[Tue Jan 25 05:24:41 2011] [error] \x1b[1;31m[ERROR] Got exception:

[Tue Jan 25 05:24:41 2011] [error]

[Tue Jan 25 05:24:41 2011] [error] Traceback (most recent call last):

[Tue Jan 25 05:24:41 2011] [error] File "/home/qualitypoly/webapps/projector/src/projector/projector/contrib/git/views.py", line 70, in response

[Tue Jan 25 05:24:41 2011] [error] response = git_server.get_response(request)

[Tue Jan 25 05:24:41 2011] [error] File "/home/qualitypoly/webapps/projector/src/projector/projector/contrib/git/githttp.py", line 34, in get_response

[Tue Jan 25 05:24:41 2011] [error] return get_wsgi_response(app, request)

[Tue Jan 25 05:24:41 2011] [error] File "/home/qualitypoly/webapps/projector/src/projector/projector/contrib/git/utils.py", line 37, in get_wsgi_response

[Tue Jan 25 05:24:41 2011] [error] response.write(app(env, start_response))

[Tue Jan 25 05:24:41 2011] [error] File "/home/qualitypoly/webapps/projector/src/projector/projector/contrib/git/githttp.py", line 62, in __call__

[Tue Jan 25 05:24:41 2011] [error] raise Http404

[Tue Jan 25 05:24:41 2011] [error] Http404

[Tue Jan 25 05:24:41 2011] [error] \x1b[0m

Thanks for the help really appreciate it :D

asked 25 Jan '11, 09:28

dushyant
123
accept rate: 0%

It looks like the error is coming the underlying libraries (Dulwich, it seems).

Are you sure you're pushing to a real directory? Can you see that directory on disk or load it in your browser?

(25 Jan '11, 10:17) David L ♦♦
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×909
×111

question asked: 25 Jan '11, 09:28

question was seen: 2,526 times

last updated: 25 Jan '11, 10:17

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM