Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

TypeError: %d format: a number is required, not str #716

Closed
Labels
@xarx00

Description

@xarx00

Description of the problem, including code/CLI snippet

For instance,gitlab group search --id=31 --scope projects --search XYZ ends with the errorTypeError: %d format: a number is required, not str. Several other commands end up the same way.

Expected Behavior

The command succeeds.

Actual Behavior

The code fails in objects.py at linepath = '/groups/%d/search' % self.get_id()

Specifications

  • python-gitlab version: 1.8.0
  • API version you are using (v3/v4): na
  • Gitlab server version (or gitlab.com): na

Fix:

Replace%d everywhere in objects.py with%s. Diff file attached:
fix.diff.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp