I'm not a python hacker but could it be that 
------------- hgweb.py line 1045
        m = os.path.join(templater.templatepath(), "map")
--------------------
that
templater.templatepath() == "NULL" ?
This don't give me any big clues but could it be that it don't find the 
template dir?

---------------templater.py line 294

def templatepath(name=None):
    '''return location of template file or directory (if no name).
    returns None if not found.'''

    # executable version (py2exe) doesn't support __file__
    if hasattr(sys, 'frozen'):
        module = sys.executable
    else:
        module = __file__
    for f in 'templates', '../templates':
        fl = f.split('/')
        if name: fl.append(name)
        p = os.path.join(os.path.dirname(module), *fl)
        if (name and os.path.exists(p)) or os.path.isdir(p):
            return os.path.normpath(p)

-- 
edgy: hgwebdir.cgi crashes in posixpath.py line 62 with AttributeError: 
'NoneType' object has no attribute 'endswith'
https://launchpad.net/bugs/56949

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to