Re: [DEVEL] Saera: Siri clone for Maemo5, Harmattan and Sailfish OS
Well, now it doesn't work at all anymore. No sound, no response to my queries, nothing. Settings are lost as soon as I go back to the main view.
I've deleted all files and folders with "saera" in their names, and it didn't change anything.
Here's some terminal output with a lot of errors, the first part is probably just caused by the unofficial language pack.
Code:
WARNING: Use 'tracker <command> [<args>]' instead...\n
�����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Could not run query, 1.7: syntax error, expected `{'
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "nl_NL.utf8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
/home/nemo/.cache/saera/musictitles.grammar has 1 rules
/home/nemo/.cache/saera/musictitles.voca has 3 categories and 3 words
---
Now parsing grammar file
Now modifying grammar to minimize states[-1]
Now parsing vocabulary file
Now making nondeterministic finite automaton
Now making nondeterministic finite automaton[1/1]
Error: undefined class "TITLE"
Error: cannot open "/home/nemo/.cache/saera/musictitles.dfa.tmp"
---
no .dfa or .dict file generated
[D] QPythonPriv::formatExc:612 - "PyOtherSide error: Traceback (most recent call last):
File "/usr/share/harbour-saera/qml/pages/saera2.py", line 58, in <module>
import sailfish_hw as platform
File "/usr/share/harbour-saera/qml/pages/sailfish_hw.py", line 272, in <module>
espeak2julius.create_grammar(list(contacts) if contacts else ['John Smith'], 'contacts', 'contacts')
File "/usr/share/harbour-saera/qml/pages/espeak2julius.py", line 161, in create_grammar
c.append(e2j(word))
File "/usr/share/harbour-saera/qml/pages/espeak2julius.py", line 38, in e2j
original_result, err = subprocess.Popen(['espeak','-x','-q',string],stdout=subprocess.PIPE).communicate()
File "/usr/lib/python3.4/subprocess.py", line 859, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.4/subprocess.py", line 1395, in _execute_child
restore_signals, start_new_session, preexec_fn)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 6-7: ordinal not in range(128)
"
[D] QPythonPriv::formatExc:612 - "PyOtherSide error: Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'saera2' is not defined
"
[D] QPythonPriv::formatExc:612 - "PyOtherSide error: Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'saera2' is not defined
"
[D] onError:256 - Python error: Cannot import module: saera2 (Traceback (most recent call last):
File "/usr/share/harbour-saera/qml/pages/saera2.py", line 58, in <module>
import sailfish_hw as platform
File "/usr/share/harbour-saera/qml/pages/sailfish_hw.py", line 272, in <module>
espeak2julius.create_grammar(list(contacts) if contacts else ['John Smith'], 'contacts', 'contacts')
File "/usr/share/harbour-saera/qml/pages/espeak2julius.py", line 161, in create_grammar
c.append(e2j(word))
File "/usr/share/harbour-saera/qml/pages/espeak2julius.py", line 38, in e2j
original_result, err = subprocess.Popen(['espeak','-x','-q',string],stdout=subprocess.PIPE).communicate()
File "/usr/lib/python3.4/subprocess.py", line 859, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.4/subprocess.py", line 1395, in _execute_child
restore_signals, start_new_session, preexec_fn)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 6-7: ordinal not in range(128)
)
[D] onError:256 - Python error: Function not found: 'saera2.resume_daemons' (Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'saera2' is not defined
)
[D] onError:256 - Python error: Function not found: 'saera2.activate' (Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'saera2' is not defined
)
[D] QPythonPriv::formatExc:612 - "PyOtherSide error: Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'saera2' is not defined
"
[D] onError:256 - Python error: Function not found: 'saera2.initialize' (Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'saera2' is not defined
)
[D] QPythonPriv::formatExc:612 - "PyOtherSide error: Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'saera2' is not defined
"
[D] QPythonPriv::formatExc:612 - "PyOtherSide error: Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'saera2' is not defined
"
[D] QPythonPriv::formatExc:612 - "PyOtherSide error: Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'saera2' is not defined
"
[D] onError:256 - Python error: Function not found: 'saera2.set_position' (Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'saera2' is not defined
)
[D] onError:256 - Python error: Function not found: 'saera2.resume_daemons' (Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'saera2' is not defined
)
[D] onError:256 - Python error: Function not found: 'saera2.activate' (Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'saera2' is not defined
)
[D] QPythonPriv::formatExc:612 - "PyOtherSide error: Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'saera2' is not defined
"
[D] onError:256 - Python error: Function not found: 'saera2.set_position' (Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'saera2' is not defined
)
[D] QPythonPriv::formatExc:612 - "PyOtherSide error: Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'saera2' is not defined
"
[D] onError:256 - Python error: Function not found: 'saera2.set_position' (Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'saera2' is not defined
)
[D] QPythonPriv::formatExc:612 - "PyOtherSide error: Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'saera2' is not defined
"
[D] onError:256 - Python error: Function not found: 'saera2.set_position' (Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'saera2' is not defined
)
[D] QPythonPriv::formatExc:612 - "PyOtherSide error: Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'saera2' is not defined
"
[D] onError:256 - Python error: Function not found: 'saera2.set_position' (Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'saera2' is not defined
)
[D] QPythonPriv::formatExc:612 - "PyOtherSide error: Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'saera2' is not defined
"
[D] onError:256 - Python error: Function not found: 'saera2.set_position' (Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'saera2' is not defined
)
[D] QPythonPriv::formatExc:612 - "PyOtherSide error: Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'saera2' is not defined
"
[D] onError:256 - Python error: Function not found: 'saera2.run_text' (Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'saera2' is not defined
)
[D] QPythonPriv::formatExc:612 - "PyOtherSide error: Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'saera2' is not defined
"
[D] onError:256 - Python error: Function not found: 'saera2.check_can_listen' (Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'saera2' is not defined
)
[D] QPythonPriv::formatExc:612 - "PyOtherSide error: Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'saera2' is not defined
"
[D] onError:256 - Python error: Function not found: 'saera2.check_can_listen' (Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'saera2' is not defined
)
[D] QPythonPriv::formatExc:612 - "PyOtherSide error: Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'saera2' is not defined
"
[D] onError:256 - Python error: Function not found: 'saera2.check_can_listen' (Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'saera2' is not defined
)
[D] QPythonPriv::formatExc:612 - "PyOtherSide error: Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'saera2' is not defined
"
[D] onError:256 - Python error: Function not found: 'saera2.check_can_listen' (Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'saera2' is not defined
)
[D] QPythonPriv::formatExc:612 - "PyOtherSide error: Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'saera2' is not defined
"
[D] onError:256 - Python error: Function not found: 'saera2.check_can_listen' (Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'saera2' is not defined
)
[D] QPythonPriv::formatExc:612 - "PyOtherSide error: Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'saera2' is not defined
"
[D] onError:256 - Python error: Function not found: 'saera2.check_can_listen' (Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'saera2' is not defined
)
[D] onCheckedChanged:110 - Checked
[D] QPythonPriv::formatExc:612 - "PyOtherSide error: Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'saera2' is not defined
"
[D] onError:256 - Python error: Function not found: 'saera2.set_24_hour_mode' (Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'saera2' is not defined
)
[D] onCheckedChanged:110 - Unchecked
[D] QPythonPriv::formatExc:612 - "PyOtherSide error: Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'saera2' is not defined
"
[D] onError:256 - Python error: Function not found: 'saera2.set_24_hour_mode' (Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'saera2' is not defined
)
[D] onCurrentIndexChanged:134 - Always
[D] QPythonPriv::formatExc:612 - "PyOtherSide error: Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'saera2' is not defined
"
[D] onError:256 - Python error: Function not found: 'saera2.set_ovr_mode' (Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'saera2' is not defined
)
[D] QPythonPriv::formatExc:612 - "PyOtherSide error: Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'saera2' is not defined
"
[D] onError:256 - Python error: Function not found: 'saera2.pause_daemons' (Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'saera2' is not defined
)
[D] QPythonPriv::formatExc:612 - "PyOtherSide error: Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'saera2' is not defined
"
|