Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

27.0.2 ne package pas la situation example #1174

Closed
bonjourmauko opened this issue Oct 17, 2018 · 0 comments
Closed

27.0.2 ne package pas la situation example #1174

bonjourmauko opened this issue Oct 17, 2018 · 0 comments
Assignees
Labels

Comments

@bonjourmauko
Copy link
Member

bonjourmauko commented Oct 17, 2018

Le path situation examples n'est pas inclus sur le manifest

Voir : openfisca/openfisca-core#744 (comment)

Voir : https://circleci.com/gh/betagouv/openfisca-paris/23

#!/bin/bash -eo pipefail
openfisca-run-test tests/unittests/*.yaml --extensions openfisca_paris
Traceback (most recent call last):
  File "/usr/local/bin/openfisca-run-test", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python2.7/site-packages/openfisca_core/scripts/run_test.py", line 30, in main
    tax_benefit_system = build_tax_benefit_system(args.country_package, args.extensions, args.reforms)
  File "/usr/local/lib/python2.7/site-packages/openfisca_core/scripts/__init__.py", line 24, in build_tax_benefit_system
    country_package_name = detect_country_package()
  File "/usr/local/lib/python2.7/site-packages/openfisca_core/scripts/__init__.py", line 61, in detect_country_package
    module = importlib.import_module(module_name)
  File "/usr/local/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/usr/local/lib/python2.7/site-packages/openfisca_france/__init__.py", line 3, in <module>
    from openfisca_france.france_taxbenefitsystem import FranceTaxBenefitSystem
  File "/usr/local/lib/python2.7/site-packages/openfisca_france/france_taxbenefitsystem.py", line 11, in <module>
    from openfisca_france.situation_examples import couple
  File "/usr/local/lib/python2.7/site-packages/openfisca_france/situation_examples/__init__.py", line 16, in <module>
    couple = parse('couple.json')
  File "/usr/local/lib/python2.7/site-packages/openfisca_france/situation_examples/__init__.py", line 12, in parse
    with open(file_path, 'r') as file:
IOError: [Errno 2] No such file or directory: '/usr/local/lib/python2.7/site-packages/openfisca_france/situation_examples/couple.json'
Exited with code 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants