[MacPorts] #68215: glances does not run on 10.6.8

MacPorts noreply at macports.org
Thu Sep 21 15:48:19 UTC 2023


#68215: glances does not run on 10.6.8
-------------------------------------------+---------------------
 Reporter:  barracuda156                   |      Owner:  (none)
     Type:  defect                         |     Status:  new
 Priority:  Normal                         |  Milestone:
Component:  ports                          |    Version:  2.8.1
 Keywords:  snowleopard, rosetta, powerpc  |       Port:  glances
-------------------------------------------+---------------------
 {{{
 10:~ svacchanda$ glances
 [WEST] bad rt_type found in sysctlROUTETABLE:18
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:18
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:18
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:18
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:18
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:18
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:18
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:18
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:18
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:18
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:18
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:18
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:18
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:18
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:18
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:18
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 [WEST] bad rt_type found in sysctlROUTETABLE:19
 [WEST] copying the data instead:
 Traceback (most recent call last):
   File "/opt/local/bin/glances", line 8, in <module>
     sys.exit(main())
              ^^^^^^
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
 /site-packages/glances/__init__.py", line 185, in main
     start(config=core.get_config(), args=core.get_args())
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
 /site-packages/glances/__init__.py", line 108, in start
     mode = GlancesMode(config=config, args=args)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
 /site-packages/glances/standalone.py", line 74, in __init__
     self.stats.update()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
 /site-packages/glances/stats.py", line 216, in update
     self._plugins[p].update()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
 /site-packages/glances/plugins/glances_plugin.py", line 1114, in wrapper
     ret = fct(self, *args, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
 /site-packages/glances/plugins/glances_plugin.py", line 1131, in wrapper
     ret = fct(*args, **kw)
           ^^^^^^^^^^^^^^^^
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
 /site-packages/glances/plugins/glances_processcount.py", line 57, in
 update
     glances_processes.update()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
 /site-packages/glances/processes.py", line 396, in update
     self.processlist = list(
                        ^^^^^
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
 /site-packages/psutil/__init__.py", line 1445, in process_iter
     yield add(pid)
           ^^^^^^^^
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
 /site-packages/psutil/__init__.py", line 1426, in add
     proc.info = proc.as_dict(attrs=attrs, ad_value=ad_value)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
 /site-packages/psutil/__init__.py", line 528, in as_dict
     ret = meth()
           ^^^^^^
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
 /site-packages/psutil/_common.py", line 487, in wrapper
     raise raise_from(err, None)
           ^^^^^^^^^^^^^^^^^^^^^
   File "<string>", line 3, in raise_from
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
 /site-packages/psutil/_common.py", line 485, in wrapper
     ret = fun(self)
           ^^^^^^^^^
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
 /site-packages/psutil/__init__.py", line 1063, in memory_info
     return self._proc.memory_info()
            ^^^^^^^^^^^^^^^^^^^^^^^^
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
 /site-packages/psutil/_psosx.py", line 346, in wrapper
     return fun(self, *args, **kwargs)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
 /site-packages/psutil/_psosx.py", line 446, in memory_info
     rawtuple = self._get_pidtaskinfo()
                ^^^^^^^^^^^^^^^^^^^^^^^
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
 /site-packages/psutil/_psosx.py", line 346, in wrapper
     return fun(self, *args, **kwargs)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
 /site-packages/psutil/_common.py", line 487, in wrapper
     raise raise_from(err, None)
           ^^^^^^^^^^^^^^^^^^^^^
   File "<string>", line 3, in raise_from
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
 /site-packages/psutil/_common.py", line 485, in wrapper
     ret = fun(self)
           ^^^^^^^^^
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
 /site-packages/psutil/_psosx.py", line 381, in _get_pidtaskinfo
     ret = cext.proc_pidtaskinfo_oneshot(self.pid)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 OSError: [Errno 45] Operation not supported (originated from
 proc_pidinfo())
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/68215>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list