8000 Search exception for Spanish with "tranquilo" · Issue #315 · zdict/zdict · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Jul 10, 2023. It is now read-only.

Search exception for Spanish with "tranquilo" #315

Closed
wdv4758h opened this issue Feb 17, 2019 · 0 comments
Closed

Search exception for Spanish with "tranquilo" #315

wdv4758h opened this issue Feb 17, 2019 · 0 comments
Assignees

Comments

@wdv4758h
Copy link
Member
$ zdict -dt spanish tranquilo
Traceback (most recent call last):
  File "/home/user/venv/bin/zdict", line 6, in <module>
    exec(compile(open(__file__).read(), __file__, 'exec'))
  File "/home/user/zdict/scripts/zdict", line 4, in <module>
    zdict.main()
  File "/home/user/zdict/zdict/zdict.py", line 310, in main
    execute_zdict(args)
  File "/home/user/zdict/zdict/zdict.py", line 292, in execute_zdict
    normal_mode(args)
  File "/home/user/zdict/zdict/zdict.py", line 202, in normal_mode
    zdict.lookup(word)
  File "/home/user/zdict/zdict/dictionary.py", line 127, in lookup
    self.show(record)
  File "/home/user/zdict/zdict/dictionaries/spanish.py", line 38, in show
    self.color.print(content['word'], 'yellow')
KeyError: 'word'
@fkztw fkztw self-assigned this Feb 25, 2019
fkztw pushed a commit that referenced this issue Feb 25, 2019
Also use real cls.not_found_word, not using Mock anymore.
fkztw pushed a commit that referenced this issue Feb 25, 2019
[#315] Fix bug of Spanish Dict
@fkztw fkztw closed this as completed Feb 25, 2019
fkztw pushed a commit that referenced this issue Feb 25, 2019
+ Feature
    + Fix bug of spanish dict (#315)
+ Dependency
    + Update pytest to 4.2.0 (#308)
    + Update pytest-flake8 to 1.0.4 (#309)
    + Update flake8 to 3.7.5 (#311)
    + Update more-itertools to 6.0.0 (#312)
    + Update pytest to 4.2.1 (#313)
    + Update flake8 to 3.7.6 (#316)
    + Update pytest to 4.3.0 (#317)
    + Update py from 1.7.0 to 1.8.0 (#318)
    + Update pluggy from 0.8.1 to 0.9.0 (#319)
    + Update flake8 to 3.7.7 (#320)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants
0