Skip to content

scribe-data convert -l fails with multiple datatypes passes #632

@DeleMike

Description

@DeleMike

Terms

Behavior

Behavior

First of all, I tried the below:

(venv) mac@MACs-MacBook-Pro Scribe-Data % scribe-data get -l "english french german italian spanish portuguese russian swedish" -wdp             
Languages to process: English french german italian spanish portuguese russian swedish
Data types to process: None

Then I tried:

(venv) mac@MACs-MacBook-Pro Scribe-Data % scribe-data get -l "english french german italian spanish portuguese russian swedish" -dt "adjectives adverbs nouns" -wdp
Input validation failed with error: Invalid data-type 'adjectives adverbs nouns'.

I think this is similar to #630 because it could not accept convert method could not accept the multiple languages. Now, I just discovered that it cannot accept multiple datatypes.

I am also concerned about why scribe-data is reporting Data types to process: None. The resulting effect of this is shown below:

Downloading dump to scribe_data_wikidata_dumps_export/latest-lexemes.json.bz2...
scribe_data_wikidata_dumps_export/latest-lexemes.json.bz2: 100%|██████████████████████████████████████████████| 386M/386M [01:45<00:00, 3.66MiB/s]
Wikidata lexeme dump download completed successfully!
We'll use the following lexeme dump scribe_data_wikidata_dumps_export/latest-lexemes.json.bz2
No data types or languages provided. Nothing to process.

The above shows that the cli still works as expected but then it reports that No data types or languages provided. Hence, causing the scribe-data convert -l english french german italian spanish portuguese russian swedish -ot sqlite to fail.

Metadata

Metadata

Assignees

Labels

help wantedExtra attention is needed

Type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions