Skip to content

Emoji keyword data conversion from JSON to sqlite fails #683

@LJSigersmith

Description

@LJSigersmith

Terms

Behavior

Hi!
I've been working on an issue in Scribe-Android related to emojis and noticed a bug here in emoji_keyword table generation.

To produce:

scribe-data get -lang English -dt emoji_keywords
scribe-data convert -dt emoji_keywords -if scribe_data_json_export/ -ot sqlite -lang English

This throws

File "Scribe-Data/src/scribe_data/load/data_to_sqlite.py", line 324, in data_to_sqlite
    json_data[k].keys() for k in list(json_data.keys())
    ^^^^^^^^^^^^^^^^^
AttributeError: 'list' object has no attribute 'keys'

Metadata

Metadata

Assignees

Labels

help wantedExtra attention is needed

Type

No fields configured for Bug.

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions