[sldev] Mac build, python error

Argent Stonecutter secret.argent at gmail.com
Tue Jan 22 07:11:58 PST 2008


>>   File "../lib/python/indra/util/llmanifest.py", line 95, in  
>> get_channel
>>     channel = re.search("LL_CHANNEL\s=\s\"([\w\s]+)\"",  
>> contents).group(1)

Gah, using regexps to parse out what looks like a name-value list.

At the very least I'd make that "\s=\s" into "\s*=\s*" and then check  
for it with and without quotes. Might need to be two regexps  
depending on the capability

>> AttributeError: 'NoneType' object has no attribute 'group'
>> Build failed (1 error)
>>
>> Any clue what this is trying to tell me? The only thing I can  
>> think of is that I created a new directory under indra with one  
>> header and one cpp file and added it to the project. Is there  
>> something else I need to do? FWIW, the python error happens before  
>> it tries to compile the new files.
>>
>> Thanks.
>>
>> --------------------------------------------------------------------- 
>> ---
>>
>> _______________________________________________
>> Click here to unsubscribe or manage your list subscription:
>> /index.html
>>
>
> _______________________________________________
> Click here to unsubscribe or manage your list subscription:
> /index.html

Peter da Silva
peter at taronga.com





More information about the SLDev mailing list