vocalab/vsq — Issue #4: 特定のVSQファイルで解析エラーが出る
Author: lpm11
Created: 2012-02-22 05:43:47+00:00
State: open

実験前期に自身が作成したvsqファイルを投げてみたときのTraceback 必要があればvsqも上げます。(till-when345)

```
Traceback (most recent call last):
File "C:\Program Files (x86)\Google\google_appengine\google\appengine\ext\webapp_webapp25.py", line 703, in call
handler.post(*groups)
File "C:\Users\user_name\vsq\main.py", line 26, in post
editor = VSQEditor(binary = data)
File "C:\Users\user_name\vsq\vsq.py", line 27, in init
self.parse(binary=binary)
File "C:\Users\user_name\vsq\vsq.py", line 42, in parse
self.normal_tracks = [NormalTrack(self._fp) for i in range(track_num)]
File "C:\Users\user_name\vsq\normaltrack.py", line 172, in init
self.parse(fp)
File "C:\Users\user_name\vsq\normaltrack.py", line 207, in parse
anotes, singers = self.pack_events(data['Events'], data['Details'])
File "C:\Users\user_name\vsq\normaltrack.py", line 377, in __pack_events
anotes.append(Anote(**params))
File "C:\Users\user_name\vsq\normaltrack.py", line 76, in __init
self.lyric = lyric
File "C:\Users\user_name\vsq\normaltrack.py", line 83, in set_lyric
self._phonetic = tools.lyric2phonetic(lyric)
File "C:\Users\user_name\vsq\tools.py", line 151, in lyric2phonetic
return phonetic_table[lyric]
KeyError: u'\u30fc'
```