xml_file_path is intended to be relative of the directory of the Python package (ie /home/.../openfisca-france/openfisca_france).
Its value should be:
{"xml_file_path": "parameters/__root__.xml"}
This is the fix: getting the absolute path of the country package directory helps finding the relative path of the XML file (which is an absolute path).
Bugfix: in development mode (with
paster serve
), fix the path of the country package.This impacts the
parameters
endpoint.Before:
xml_file_path
is intended to be relative of the directory of the Python package (ie/home/.../openfisca-france/openfisca_france
).Its value should be:
This is the fix: getting the absolute path of the country package directory helps finding the relative path of the XML file (which is an absolute path).