FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Error during authentication in v4 by using email+password · Issue #311 · python-gitlab/python-gitlab · GitHub

Repository navigation

Error during authentication in v4 by using email+password #311

Description

switching to v4
updated python-gitlab to 1.0.0
pyhon 2.7

import gitlab
gl3 = gitlab.Gitlab('http://servername', email='Jenkins_git', password='PassW0rd', api_version=4)
gl3.auth()
Traceback (most recent call last):
File "", line 1, in
File "/usr/lib/python2.7/site-packages/gitlab/init.py", line 184, in auth
self._credentials_auth()
File "/usr/lib/python2.7/site-packages/gitlab/init.py", line 203, in _credentials_auth
manager = self._objects.CurrentUserManager()
TypeError: init() takes at least 2 arguments (1 given)

Activity

  1. ViachaslauKabak commented on Sep 18, 2017

    Author

    The problem is only for user/password auth
    Works ok if using token (but no need to auth when using token).

  2. locked as resolved and limited conversation to collaborators on Nov 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL