Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'/api/3/processlist/pid/3936'use this api can't get right info,all messy code #1828

Closed
zbyzfw opened this issue Mar 27, 2021 · 3 comments
Closed
Assignees
Labels
Milestone

Comments

@zbyzfw
Copy link

zbyzfw commented Mar 27, 2021

Describe the bug
/api/3/processlist/pid/3936
/api/3/processlist/pid
api/3/processlist/name
have this error
this request /api/3/processlist all going well

To Reproduce
Steps to reproduce the behavior:

  1. Start Glances with the followings options '...'
  2. Press the key '....'
  3. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots

image

Desktop (please complete the following information):

  • OS: win10
  • Glances Version 3.16
  • Glances logs file all going well

Additional context
Add any other context about the problem here.

@nicolargo nicolargo self-assigned this Apr 1, 2021
@nicolargo nicolargo added the bug label Apr 1, 2021
@nicolargo nicolargo added this to the Glances 3.1.7 milestone Apr 1, 2021
@nicolargo
Copy link
Owner

Confirmed.

Have a look as soon as possible.

Thanks for the issue report @zbyzfw

@nicolargo
Copy link
Owner

Ok find the issue, the internal function _api_itemvalue should not be called with the process.

Corrected in the develop branch, it will be release in the next version (aka Glances 3.1.7).

Thanks for the issue report @zbyzfw

@zbyzfw
Copy link
Author

zbyzfw commented Apr 3, 2021

thank you for your attention☺️

@zbyzfw zbyzfw closed this as completed Apr 6, 2021
@zbyzfw zbyzfw reopened this Apr 6, 2021
@zbyzfw zbyzfw closed this as completed Apr 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants