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

Crash on Mac M1 #2862

Closed
pulberg opened this issue Jul 3, 2024 · 1 comment
Closed

Crash on Mac M1 #2862

pulberg opened this issue Jul 3, 2024 · 1 comment

Comments

@pulberg
Copy link

pulberg commented Jul 3, 2024

Describe the bug
Glances crashes on start

To Reproduce
Steps to reproduce the behavior:

  1. Start Glances
  2. See error

Environement (please complete the following information)

  • Operating System: mac os Ventura v13.6.7 M1 Max
  • Glances & psutil versions: Glances version:4.1.1, Glances API version:4, PsUtil version:6.0.0
  • How do you install Glances: homebrew
  • Glances test:
Error while initializing the quicklook plugin ('CpuPercent' object has no attribute 'percpu_percent')
Error while initializing the cpu plugin ('CpuPercent' object has no attribute 'cpu_percent')
Error while initializing the percpu plugin ('CpuPercent' object has no attribute 'percpu_percent')
===============================================================================
Glances 4.1.1 (/opt/homebrew/Cellar/glances/4.1.1/libexec/lib/python3.12/site-packages/glances/__init__.py)
Python 3.12.4 (/opt/homebrew/Cellar/glances/4.1.1/libexec/bin/python)
PsUtil 6.0.0 (/opt/homebrew/Cellar/glances/4.1.1/libexec/lib/python3.12/site-packages/psutil/__init__.py)
===============================================================================
alert         [OK]    0.00005s
[]
amps          [OK]    0.00015s
[]
cloud         [OK]    0.00004s
{}
connections   [OK]    0.00245s
{'net_connections_enabled': False, 'nf_conntrack_enabled': True}
containers    [OK]    0.00006s
{}
core          [OK]    0.00007s
{'log': 10, 'phys': 10}
diskio        [OK]    0.00270s key=disk_name
[{'disk_name': 'disk0',
 'key': 'disk_name',
 'read_bytes': 0,
 'read_bytes_gauge': 517014528000,
 'read_count': 0,
 'read_count_gauge': 35917786,
 'time_since_update': 2.074620246887207,
 'write_bytes': 0,
 'write_bytes_gauge': 1130294411264,
 'write_count': 0,
 'write_count_gauge': 38015038}, ...]
folders       [OK]    0.00004s
[]
fs            [OK]    0.00184s key=mnt_point
[{'device_name': '/dev/disk3s1s1',
 'free': 230105264128,
 'fs_type': 'apfs',
 'key': 'mnt_point',
 'mnt_point': '/',
 'percent': 3.9,
 'size': 494384795648,
 'used': 9350397952}, ...]
gpu           [OK]    0.00006s
[]
help          [OK]    0.00001s
None
ip            [OK]    0.00005s
{}
irq           [OK]    0.00003s
[]
load          [OK]    0.00007s
{'cpucore': 10, 'min1': 1.5869140625, 'min15': 1.4150390625, 'min5': 1.7119140625}
mem           [OK]    0.00015s
{'active': 29792534528,
'available': 35658891264,
'free': 35658891264,
'inactive': 29439229952,
'percent': 48.1,
'total': 68719476736,
'used': 33060585472,
'wired': 2678685696}
memswap       [OK]    0.00011s
{'free': 0,
'percent': 0.0,
'sin': 357675204608,
'sout': 38076416,
'time_since_update': 2.080275058746338,
'total': 0,
'used': 0}
network       [OK]    0.00734s key=interface_name
[{'alias': None,
 'bytes_all': 0,
 'bytes_all_gauge': 529901568,
 'bytes_all_rate_per_sec': 0.0,
 'bytes_recv': 0,
 'bytes_recv_gauge': 264950784,
 'bytes_recv_rate_per_sec': 0.0,
 'bytes_sent': 0,
 'bytes_sent_gauge': 264950784,
 'bytes_sent_rate_per_sec': 0.0,
 'interface_name': 'lo0',
 'key': 'interface_name',
 'speed': 0,
 'time_since_update': 2.0215210914611816}, ...]
now           [OK]    0.00007s
{'custom': '2024-07-03 11:01:43 CDT', 'iso': '2024-07-03T11:01:43-05:00'}
ports         [OK]    0.00042s
[]
processcount  [OK]    0.06114s
{'pid_max': 0, 'running': 722, 'sleeping': 0, 'thread': 2545, 'total': 755}
processlist   [OK]    0.00023s
[]
psutilversion [OK]    0.00002s
'6.0.0'
raid          [OK]    0.00001s
{}
sensors       [OK]    0.00000s key=label
[{'key': 'label',
 'label': 'Battery',
 'status': 'Charging',
 'type': <SensorType.BATTERY: 'battery'>,
 'unit': '%',
 'value': 100}, ...]
smart         [NA]
system        [OK]    0.00000s
{'hostname': 'Phillips-Mac-Studio.local',
'hr_name': 'Darwin 13.6.7 64bit',
'os_name': 'Darwin',
'os_version': '13.6.7',
'platform': '64bit'}
uptime        [OK]    0.00002s
{'seconds': 1078887}
version       [OK]    0.00001s
'4.1.1'
wifi          [OK]    0.00001s
[]
===============================================================================
Total time to update all stats: 0.08056s
===============================================================================
@nicolargo
Copy link
Owner

Hi @pulberg

the issue is duplicated: #2859

the next 4.1.2 release will solve this issue.

Thanks for the issue report !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants