Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#973 closed Defect (fixed)

build_po_boinc.php not working, conflicting directories

Reported by: Nicolas Owned by: davea
Priority: Minor Milestone: Undetermined
Component: Server - Other Version:
Keywords: Cc:

Description

The instructions for build_po_boinc.php say I should run it from boinc/html. However, it has require_once("../inc/util_ops.inc");, which implies it has to be run from boinc/html/ops.

  • If I run it from boinc/html, I get an error because ../inc/util_ops.inc doesn't exist.
  • If I run it from boinc/html/ops, I get an error because util.inc tries to include ../project/project.inc (which only exists on an installed project, not on a BOINC SVN working copy).
  • If I run it from html/ops on an installed project, I get an error from xgettext saying inc/*.inc doesn't exist.

I worked around this by just removing the require_once line, since it seems to be there just to prevent running the script via the web.

Change History (2)

comment:1 Changed 14 years ago by davea

Resolution: fixed
Status: newclosed

This script only needs to be run by me. But it was indeed broken, and hadn't been run for a long time (generic project translation template was out of date).

comment:2 Changed 14 years ago by Nicolas

I'm making more strings translatable. I need to run the script to test my changes :)

At one point I had done something inside the tra() arguments that didn't get parsed by xgettext!

Note: See TracTickets for help on using tickets.