Skip to content
This repository has been archived by the owner on May 28, 2019. It is now read-only.

Python package 4.1.0 broken #260

Closed
koterpillar opened this issue Mar 16, 2017 · 1 comment
Closed

Python package 4.1.0 broken #260

koterpillar opened this issue Mar 16, 2017 · 1 comment

Comments

@koterpillar
Copy link
Contributor

gherkin-official==4.1.0 package was released to PyPI but is missing gherkin-languages.json. The example from README crashes immediately:

In [1]: from gherkin.parser import Parser
---------------------------------------------------------------------------
FileNotFoundError                         Traceback (most recent call last)
<ipython-input-1-f036580b63e7> in <module>()
----> 1 from gherkin.parser import Parser

.../lib/python3.5/site-packages/gherkin/parser.py in <module>()
      2 from collections import deque
      3 from .ast_builder import AstBuilder
----> 4 from .token_matcher import TokenMatcher
      5 from .token_scanner import TokenScanner
      6 from .errors import UnexpectedEOFException, UnexpectedTokenException, ParserException, CompositeParserException

.../lib/python3.5/site-packages/gherkin/token_matcher.py in <module>()
      1 import re
----> 2 from .dialect import Dialect
      3 from .errors import NoSuchLanguageException
      4
      5

.../lib/python3.5/site-packages/gherkin/dialect.py in <module>()
      8     'gherkin-languages.json')
      9
---> 10 with io.open(DIALECT_FILE_PATH, 'r', encoding='utf-8') as file:
     11     DIALECTS = json.load(file)
     12

FileNotFoundError: [Errno 2] No such file or directory: '.../lib/python3.5/site-packages/gherkin/gherkin-languages.json'
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants