Hi Guys,

I found it fails on this line of Makefile. I'll comment it out to get 
buildbot back up. I have no idea how to fix it as I am not a python guy. 
This means we won't have any jallib_onepage.html untill the python is 
fixed. Hopefully buildbot will run now and show us our failing samples.

This is the line in Makefile:
python2.6 jallib.py jalapi -s -l -d distrib/jallib-dev/sample -t 
jalapi_html.tmpl -o distrib/jallib-dev/doc/html/jallib_onepage.html 
distrib/jallib-libnodevice/

If anyone has any python knowledge, please take a look.

DynamicallyCompiledCheetahTemplate.py:26: DeprecationWarning: the md5 
module is deprecated; use hashlib instead
Traceback (most recent call last):
  File "jallib.py", line 1869, in <module>
    callme(action_args)
  File "jallib.py", line 1056, in do_jalapi
    output = jalapi_generate(jalinfos,tmplfile,sampledir,locallinks)
  File "jallib.py", line 1179, in jalapi_generate
    return tmpl.main_singlepage()
  File "DynamicallyCompiledCheetahTemplate.py", line 734, in main_singlepage
  File "DynamicallyCompiledCheetahTemplate.py", line 606, in content
  File "DynamicallyCompiledCheetahTemplate.py", line 120, in header
AttributeError: 'NoneType' object has no attribute 'strip'
make: *** [prepare] Error 1



I think the issue is here in jallib.py, the line callme(action_args) is 
here (near the end of the file).

if __name__ == "__main__":
    try:
        # First extract the action, then parse action's args
        action = sys.argv[1]
        action_args = sys.argv[2:]
        try:
            callme = ACTIONS[action]['callback']
        except KeyError,e:
            if action in ('help','--help','-h'):
                do_help(action_args)
                sys.exit(0)
            else:
                print >> sys.stderr, "Unknown action %s" % e
                sys.exit(255)
        *callme(action_args)*
    except IndexError,e:
        print >> sys.stderr, "Please provide an action: %s" % 
repr(ACTIONS.keys())
        sys.exit(255)

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/jallib.
For more options, visit https://groups.google.com/d/optout.

Reply via email to