#241 Ubuntu: templates not found


Two Ubuntu users (Ubuntu 12.04 LTS, Apache 2.2.22, mod_perl) reported that LXR was unable to load its templates. It looks like the current working directory is not set to LXR root directory when the scripts are launched.

Don't know if that was always the case under Ubuntu or if it results from some recent change. May affect all versions of LXR from

Fix is to change template designation in lxr.conf from OS-relative to OS-absolute format. To handle this with the configurator, add %LXRroot%/ in front of all template locations in the HTML section of global.conf.part.


  • Andre-Littoz

    Andre-Littoz - 2013-08-31

    Fixed in cvs: forcing OS(absolute paths for HTML templates in global.conf.part @ADD'ed from lxr.conf and lxrkernel.conf)

  • Andre-Littoz

    Andre-Littoz - 2013-08-31
    • status: open --> closed-fixed
  • Morgan Chang

    Morgan Chang - 2013-10-23

    It also happened in Debian Wheezy 7.1

    Last edit: Morgan Chang 2013-10-23

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks