Unable to contribute "git-receive-pack not permitted"


#1

Decided to try and work out why I cannot contribute to Github, have gone through the video several times, have tried both my github ID and email, password is correct etc, but everytime I get the as shown below error when I "Init" the preferences and try to sync libraries, is there something I am missing.. Thanx... :grin:

org.eclipse.jgit.api.errors.TransportException: https://github.com/axoloti/axoloti-contrib.git: git-receive-pack not permitted
org.eclipse.jgit.api.errors.TransportException: https://github.com/axoloti/axoloti-contrib.git: git-receive-pack not permitted
at org.eclipse.jgit.api.PushCommand.call(PushCommand.java:164)
at axoloti.utils.AxoGitLibrary.push(AxoGitLibrary.java:533)
at axoloti.utils.AxoGitLibrary.sync(AxoGitLibrary.java:87)
at axoloti.menus.FileMenu.jMenuSyncActionPerformed(FileMenu.java:264)
at axoloti.menus.FileMenu.access$400(FileMenu.java:51)
at axoloti.menus.FileMenu$5.actionPerformed(FileMenu.java:134)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877)
at java.awt.Component.processMouseEvent(Component.java:6533)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6298)
at java.awt.Container.processEvent(Container.java:2236)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2294)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
at java.awt.Container.dispatchEventImpl(Container.java:2280)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.awt.EventQueue$4.run(EventQueue.java:729)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: org.eclipse.jgit.errors.TransportException: https://github.com/axoloti/axoloti-contrib.git: git-receive-pack not permitted
at org.eclipse.jgit.transport.TransportHttp.connect(TransportHttp.java:505)
at org.eclipse.jgit.transport.TransportHttp.openPush(TransportHttp.java:387)
at org.eclipse.jgit.transport.PushProcess.execute(PushProcess.java:155)
at org.eclipse.jgit.transport.Transport.push(Transport.java:1250)
at org.eclipse.jgit.api.PushCommand.call(PushCommand.java:157)
... 43 more


#2

Check you can log into git with your userid and password , and see if you can upload a file to contrib directory - it may be @johannes has not added you to the list of collaborators

oh and make sure the userid your using is the one you supplied to @johannes


#3

Git sign on and password details work fine. Tested last night..
Yes, the file will upload to my contrib directory on my pc.

My contributor access details are.. nothing has changed..
github: gavaxo
prefix: gav


#4

hmm, you say you are doing an init... I'm a bit confused why its doing a push then.
id have thought, it will only do a push, if the repo is dirty ... i.e. changed files.

ok, i need you to do the following...
start Axoloti
preferences -> reset all
edit contrib, enter your details
do init ( it will say its going to delete dir, say yes)

then after its complete, i need you to copy the entire console log to a file, then upload to dropbox (or similar 'reputable' service) and post a link here to the file.

perhaps something else is going wrong....

it looks like credentials issues to me, which would give you this error, but from what your saying, its not... and we have not had any other reported issues with this, so I'm basically at a bit of a loss.

btw... can you confirm what OS versions your using, and i assume your using 1.0.12 without any other issues?


#5

ive just checked GitHub...
i see no evidence of you uploading a file to it...

i need you to log into GitHub, and then manually to upload a file to the axoloti-contrib repositiory, this is the only way i can see that you actually have access to that repository.
otherwise my assumption is, that you do not have access and that's why its failing!

@Johannes can you confirm @Gavin id (gavaxo) is in the collaborators list for axoloti-contrib


#6

Thanks TB,
I am certainly not on the Github list as shown below should show "gav", but I thought that would not show until I make a contribution.
Or have I misunderstood this bit too.. :confused:


#7

gav is a directory, and won't show up in git if it's empty. You'll see it when it has a file in it and has been pushed to the server.


#8

Just went into Github, signed in, and tried to "create new file" and it said I didn't have access.
:confounded:


#9

so there is your answer :wink: @johannes can you add gavaxo to contributor list.


#10

As far as I can see the invitation is already pending on GitHub


#11

Pending , does this means it's not been accepted?


#12

Thanks Guys, was not aware of this step, it did not show up anywhere for me.
Apologies for the noobness with Github.
:disappointed_relieved:


#13

All now in working order.:grin: