Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Cherokee: commits

Small patch to work with MacOSX 10.5.10 on PowerPC Mac Pro G5

 

 

Cherokee commits RSS feed   Index | Next | Previous | View Threaded


fill at njoyx

Jun 29, 2011, 8:13 AM

Post #1 of 2 (240 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
Attachments: mac.patch (0.99 KB)


alvaro at octality

Jun 30, 2011, 12:38 AM

Post #2 of 2 (218 views)
Permalink
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 [at] njoyx> 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/

Cherokee commits RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.