Giter Club home page Giter Club logo

backup_hosted_source_projects's People

Watchers

 avatar

backup_hosted_source_projects's Issues

gitlab.exceptions.GitlabGetError: 404: 404 Group Not Found

When gitlab.com cannot see a group (group does not exist; user is not a member of group) then python_gitlab raises:

gitlab.exceptions.GitlabGetError: 404: 404 Group Not Found

Full traceback:

Traceback (most recent call last):
 File ".bootstrap/_pex/pex.py", line 328, in execute
 File ".bootstrap/_pex/pex.py", line 260, in _wrap_coverage
 File ".bootstrap/_pex/pex.py", line 292, in _wrap_profiling
 File ".bootstrap/_pex/pex.py", line 371, in _execute
 File ".bootstrap/_pex/pex.py", line 429, in execute_entry
 File ".bootstrap/_pex/pex.py", line 447, in execute_pkg_resources
 File "/home/backup/.pex/install/backup_hosted_source_projects-0.0.1-py2-none-any.whl.6256578f7ef6dee769e7c87d89964c10c6e847df/backup_hosted_source_projects-0.0.1-py2-none-any.whl/backup_hosted_source_projects.py", line 47, in main
   backup_gitlab.backup(owner_name, project_name)
 File "/home/backup/.pex/install/backup_hosted_source_projects-0.0.1-py2-none-any.whl.6256578f7ef6dee769e7c87d89964c10c6e847df/backup_hosted_source_projects-0.0.1-py2-none-any.whl/backup_hosted_source_projects.py", line 112, in backup
   group = self.gitlab.groups.get(owner_name)
 File "/home/backup/.pex/install/python_gitlab-0.13-py2-none-any.whl.81ea1f6548985d7dcc243b2baeff76d751931245/python_gitlab-0.13-py2-none-any.whl/gitlab/objects.py", line 101, in get
   return self.obj_cls.get(self.gitlab, id, **args)
 File "/home/backup/.pex/install/python_gitlab-0.13-py2-none-any.whl.81ea1f6548985d7dcc243b2baeff76d751931245/python_gitlab-0.13-py2-none-any.whl/gitlab/objects.py", line 274, in get
   return cls(gl, id, **kwargs)
 File "/home/backup/.pex/install/python_gitlab-0.13-py2-none-any.whl.81ea1f6548985d7dcc243b2baeff76d751931245/python_gitlab-0.13-py2-none-any.whl/gitlab/objects.py", line 381, in __init__
   data = self.gitlab.get(self.__class__, data, **kwargs)
 File "/home/backup/.pex/install/python_gitlab-0.13-py2-none-any.whl.81ea1f6548985d7dcc243b2baeff76d751931245/python_gitlab-0.13-py2-none-any.whl/gitlab/__init__.py", line 453, in get
   raise_error_from_response(r, GitlabGetError)
 File "/home/backup/.pex/install/python_gitlab-0.13-py2-none-any.whl.81ea1f6548985d7dcc243b2baeff76d751931245/python_gitlab-0.13-py2-none-any.whl/gitlab/exceptions.py", line 140, in raise_error_from_response
   response_body=response.content)
gitlab.exceptions.GitlabGetError: 404: 404 Group Not Found

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.