
fill at njoyx
Jun 29, 2011, 8:13 AM
Post #1 of 2
(194 views)
Permalink
|
|
Small patch to work with MacOSX 10.5.10 on PowerPC Mac Pro G5
|
|
Hello, all. When I run cherokee-admin-launcher on my PowerMAC G5 (1.1) i've get an error: Traceback (most recent call last): File "/usr/local/share/cherokee/admin/server.py", line 245, in <module> SystemStats.get_system_stats() File "/usr/local/share/cherokee/admin/SystemStats.py", line 45, in > get_system_stats _stats = System_stats__Darwin() File "/usr/local/share/cherokee/admin/SystemStats.py", line 115, in > __init__ self._read_profiler() File "/usr/local/share/cherokee/admin/SystemStats.py", line 128, in > _read_profiler self.cpu.cores = re.findall (r'Total Number of Cores: (\d+)', > ret['stdout'], re.I)[0] IndexError: list index out of range to prevent this I wrote this patch, and after that my cherokee install works fine ;) BR, Fill Q
|