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

Missing error message for command line get with only --language #572

Open
2 tasks done
fnielsen opened this issue Feb 26, 2025 · 1 comment
Open
2 tasks done

Missing error message for command line get with only --language #572

fnielsen opened this issue Feb 26, 2025 · 1 comment
Assignees
Labels
help wanted Extra attention is needed

Comments

@fnielsen
Copy link

Terms

Behavior

With scribe-data get --language=danish I get an error:

Traceback (most recent call last):
  File ".../scribe-data", line 8, in <module>
    sys.exit(main())
  File "...Scribe-Data/src/scribe_data/scribe_data/cli/main.py", line 363, in main
    get_data(
  File "...Scribe-Data/src/scribe_data/cli/get.py", line 210, in get_data
    f"Updating data for language(s): {language.title()}; data type(s): {data_type.capitalize()}"
AttributeError: 'NoneType' object has no attribute 'capitalize'

If I do scribe-data get --language=danish --data-type verbs -od ./scribe-data it works ok, so I guess it is missing command line objects that are an issue?

@andrewtavis
Copy link
Member

Thanks for the issue and testing it out, @fnielsen! Really appreciate it :)

CC @axif0: Let's try to get to this one soon 😊

@andrewtavis andrewtavis added the help wanted Extra attention is needed label Feb 26, 2025
@axif0 axif0 self-assigned this Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
Status: Todo
Development

No branches or pull requests

3 participants