Mailing List Archive

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
Re: Small patch to work with MacOSX 10.5.10 on PowerPC Mac Pro G5 [ In reply to ]
Hello Fill,

On Wed, Jun 29, 2011 at 5:13 PM, Fill Q <fill@njoyx.net> wrote:

> to prevent this I wrote this patch, and after that my cherokee install
> works fine ;)
>

The patch is applied
<http://svn.cherokee-project.com/changeset/6766>upstream now.

Good work. Thank you!!

--
Greetings, alo
http://www.octality.com/