You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 24, 2022. It is now read-only.
No matter how I configure the forks calls, I am getting a 404 error in response to both list and create calls.
g is my authenticated user object
>>> g.repos.forks.list(user='octocat', repo='oct_repo', sort='oldest').all()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.7/dist-packages/pygithub3/core/result/base.py", line 109, in all
return list(self.iterator())
File "/usr/local/lib/python2.7/dist-packages/pygithub3/core/result/base.py", line 104, in iterator
for page in self:
File "/usr/local/lib/python2.7/dist-packages/pygithub3/core/result/base.py", line 100, in next
return self.__next__()
File "/usr/local/lib/python2.7/dist-packages/pygithub3/core/result/smart.py", line 91, in __next__
if self.page <= self.pages:
File "/usr/local/lib/python2.7/dist-packages/pygithub3/core/result/smart.py", line 101, in pages
return self.getter.last
File "/usr/local/lib/python2.7/dist-packages/pygithub3/core/result/smart.py", line 47, in last
self()
File "/usr/local/lib/python2.7/dist-packages/pygithub3/core/result/smart.py", line 16, in wrapper
return func(self, page)
File "/usr/local/lib/python2.7/dist-packages/pygithub3/core/result/smart.py", line 39, in __call__
response = self.method(page=page)
File "/usr/local/lib/python2.7/dist-packages/pygithub3/core/client.py", line 84, in get
response = self.request('get', request, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/pygithub3/core/client.py", line 71, in wrapper
return func(self, verb, request, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/pygithub3/core/client.py", line 80, in request
GithubError(response).process()
File "/usr/local/lib/python2.7/dist-packages/pygithub3/core/errors.py", line 35, in process
raise raise_error()
File "/usr/local/lib/python2.7/dist-packages/pygithub3/core/errors.py", line 20, in error_404
raise NotFound("404 - %s" % self.debug.get('message'))
pygithub3.exceptions.NotFound: 404 - Not Found
The text was updated successfully, but these errors were encountered:
I also have this problem, the weird thing is it works if I run it on a local script (listing the recent events) but it fails when I run the exact same code on the google app engine.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
No matter how I configure the forks calls, I am getting a 404 error in response to both
list
andcreate
calls.g is my authenticated user object
The text was updated successfully, but these errors were encountered: