Reader - Reader crashes after reading some special characters #55
Labels
No Label
aimedb
bug
chuni
chusan
cxb
database
diva
doc
duplicate
enhancement
frontend
help wanted
idac
idz
invalid
maidx
ongeki
pokken
question
seen
system
testing
wacca
waiting
wip
wontfix
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Hay1tsme/artemis#55
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently, the reader in artemis is using the default parser provided by ElementTree.
This will cause the reader to crash after reading some special characters like &.
e.g. 曲:矢鴇つかさ & 脇眞富(Arte Refact)/歌:星咲 あかり(CV:赤尾 ひかる)、高瀬 梨緒(CV:久保 ユリカ)
If we use reader on this line, then it will raise an error.
The solution is to init a parser for each tree_root first.
I've tested on "Victor Kong & Yukino"、"Jehezukiel (feat.Sagi & KURORAK)"、"矢鴇つかさ & 脇眞富"、"Katzeohr & Spiegel" and other strings and it works fine.
I do remember seeing this issue indeed, it happened with Chunithm and Ongeki only i think
Feel free to push a PR and ill give it a test
I might be seeing the same issue, importing Chunithm SUN SDHD_2.10.01_20220913130916_0. With clean DB: