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

CLI cannot handle server response #2618

Closed as not planned
Closed as not planned
Assignees
nejch
@twil69

Description

@twil69

Description of the problem, including code/CLI snippet

gitlab -c ./gitlab-cli.cfg project-merge-request get --iid 98765 --project-id 12345

with config file content being

[global]default = foossl_verify = Falsetimeout = 5api_version = 4[foo]url=https://some-project.urlprivate_token=some-token-here

results in

Attempted to initialize RESTObject with a non-dictionary value: <Response [200]>This likely indicates an incorrect or malformed server response.

Expected Behavior

Since I can successfully interact with the same server programmatically from Python (i.e. I am getting a valid server JSON response) I suspect this is a problem of the CLI.
The server response is 200 this typically indicates OK. So it will have sent some payload back.
I expect identical behaviour of package and CLI.

Actual Behavior

Specifications

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

Metadata

Metadata

Assignees

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