berimbau |
2017-03-01 15:48 |
Re: [DEVEL] Saera: Siri clone for Maemo5, Harmattan and Sailfish OS
Hi Taixzo,
Great work so far.
But to get it working I've noticed that when there is some special characters on my meetings Saera doesn't work, for exemple ' character commonly used in french language.
Here is the output :
Code:
harbour-saera
[D] QQmlDebuggingEnabler::QQmlDebuggingEnabler:1455 - QML debugging is enabled. Only use this in a safe environment.
[D] QWaylandEglClientBufferIntegration::QWaylandEglClientBufferIntegration:62 - Using Wayland-EGL
[W] MLocalThemeDaemonClient::MLocalThemeDaemonClient:103 - Could not find any z N.M subdirs!
[W] MLocalThemeDaemonClient::MLocalThemeDaemonClient:129 - Theme dir "/usr/shar e/themes/jolla-ambient/meegotouch/z1.0/" does not exist
[D] onCompleted:48 - testing
WARNING: The 'tracker-sparql' command is no longer available.
WARNING: Use 'tracker <command> [<args>]' instead...\n
(tracker sparql:7818): Tracker-WARNING **: Locale '0' is not set, defaulting to C locale
Could not run query, GDBus.Error:org.freedesktop.Tracker1.SparqlError.Parse: 1. 7: syntax error, expected `{'
/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[1/1]
Error: undefined class "TITLE"
Error: cannot open "/home/nemo/.cache/saera/musictitles.dfa.tmp"
---
no .dfa or .dict file generated
/usr/share/harbour-saera/qml/pages/julius/ARM/mkdfa.pl /home/nemo/.cache/saera/ musictitles
Connecting to pyjulius server
....Connected
dbus-monitor: unable to enable new-style monitoring: org.freedesktop.DBus.Error .AccessDenied: "Rejected send message, 1 matched rules; type="method_call", sen der=":1.3172" (uid=100000 pid=7838 comm="dbus-monitor --system type='signal',se nder='org.bl") interface="org.freedesktop.DBus.Monitoring" member="BecomeMonito r" error name="(unset)" requested_reply="0" destination="org.freedesktop.DBus" (bus)". Falling back to eavesdropping.
[D] QPythonPriv::formatExc:612 - "PyOtherSide error: Traceback (most recent cal l 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 764, in <modul e>
timed.check()
File "/usr/share/harbour-saera/qml/pages/sailfish_hw.py", line 721, in check
alm[sections[0]] = ast.literal_eval(sections[-1])
File "/usr/lib/python3.4/ast.py", line 46, in literal_eval
node_or_string = parse(node_or_string, mode='eval')
File "/usr/lib/python3.4/ast.py", line 35, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 1
'Net'IN : 1ère édition !'
^
SyntaxError: invalid syntax
"
[D] QPythonPriv::formatExc:612 - "PyOtherSide error: Traceback (most recent cal l last):
File "<string>", line 1, in <module>
NameError: name 'saera2' is not defined
"
[D] QPythonPriv::formatExc:612 - "PyOtherSide error: Traceback (most recent cal l last):
File "<string>", line 1, in <module>
NameError: name 'saera2' is not defined
"
[D] onError:256 - Python error: Cannot import module: saera2 (Traceback (most r ecent 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 764, in <modul e>
timed.check()
File "/usr/share/harbour-saera/qml/pages/sailfish_hw.py", line 721, in check
alm[sections[0]] = ast.literal_eval(sections[-1])
File "/usr/lib/python3.4/ast.py", line 46, in literal_eval
node_or_string = parse(node_or_string, mode='eval')
File "/usr/lib/python3.4/ast.py", line 35, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 1
'Net'IN : 1ère édition !'
^
SyntaxError: invalid syntax
)
[D] onError:256 - Python error: Function not found: 'saera2.resume_daemons' (Tr aceback (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' (Tracebac k (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 cal l last):
File "<string>", line 1, in <module>
NameError: name 'saera2' is not defined
"
[D] onError:256 - Python error: Function not found: 'saera2.initialize' (Traceb ack (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 cal l last):
File "<string>", line 1, in <module>
NameError: name 'saera2' is not defined
"
[D] QPythonPriv::formatExc:612 - "PyOtherSide error: Traceback (most recent cal l last):
File "<string>", line 1, in <module>
NameError: name 'saera2' is not defined
"
[D] QPythonPriv::formatExc:612 - "PyOtherSide error: Traceback (most recent cal l last):
File "<string>", line 1, in <module>
NameError: name 'saera2' is not defined
"
[D] onError:256 - Python error: Function not found: 'saera2.set_position' (Trac eback (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' (Tr aceback (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' (Tracebac k (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'saera2' is not defined
)
Warning: record_sample_close; file not opened yet!?
Warning: record_sample_close; file not opened yet!?
Warning: record_sample_close; file not opened yet!?
Warning: record_sample_close; file not opened yet!?
Warning: record_sample_close; file not opened yet!?
Warning: record_sample_close; file not opened yet!?
Warning: record_sample_close; file not opened yet!?
Warning: record_sample_close; file not opened yet!?
Warning: record_sample_close; file not opened yet!?
[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
"
[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.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.pause_daemons' (Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'saera2' is not defined
)
Detected proximity input
[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
)
Warning: record_sample_close; file not opened yet!?
[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.resume_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
"
[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
)
When I modify this meeting I got saera working, but without sound :
Code:
harbour-saera
[D] QQmlDebuggingEnabler::QQmlDebuggingEnabler:1455 - QML debugging is enabled. Only use this in a safe environment.
[D] QWaylandEglClientBufferIntegration::QWaylandEglClientBufferIntegration:62 - Using Wayland-EGL
[W] MLocalThemeDaemonClient::MLocalThemeDaemonClient:103 - Could not find any zN.M subdirs!
[W] MLocalThemeDaemonClient::MLocalThemeDaemonClient:129 - Theme dir "/usr/share/themes/jolla-ambient/meegotouch/z1.0/" does not exist
[D] onCompleted:48 - testing
WARNING: The 'tracker-sparql' command is no longer available.
WARNING: Use 'tracker <command> [<args>]' instead...\n
(tracker sparql:8459): Tracker-WARNING **: Locale '0' is not set, defaulting to C locale
Could not run query, GDBus.Error:org.freedesktop.Tracker1.SparqlError.Parse: 1.7: syntax error, expected `{'
/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[1/1]
Error: undefined class "TITLE"
Error: cannot open "/home/nemo/.cache/saera/musictitles.dfa.tmp"
---
no .dfa or .dict file generated
/usr/share/harbour-saera/qml/pages/julius/ARM/mkdfa.pl /home/nemo/.cache/saera/musictitles
Connecting to pyjulius server
....Connected
dbus-monitor: unable to enable new-style monitoring: org.freedesktop.DBus.Error.AccessDenied: "Rejected send message, 1 matched rules; type="method_call", sender=":1.3249" (uid=100000 pid=8481 comm="dbus-monitor --system type='signal',sender='org.bl") interface="org.freedesktop.DBus.Monitoring" member="BecomeMonitor" error name="(unset)" requested_reply="0" destination="org.freedesktop.DBus" (bus)". Falling back to eavesdropping.
time
Error: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.mpris.MediaPlayer2.jolla-mediaplayer was not provided by any .service files
Error: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.mpris.MediaPlayer2.CuteSpot was not provided by any .service files
Error: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.mpris.MediaPlayer2.llsVplayer was not provided by any .service files
touch /tmp/espeak_lock && espeak --stdout -v +f2 "It is 2 40." | gst-launch-0.10 -q fdsrc ! wavparse ! audioconvert ! volume volume=4.0 ! alsasink && rm /tmp/espeak_lock && pactl set-sink-volume 1 65536 &
(gst-plugin-scanner:8524): GLib-GObject-CRITICAL **: Object class GstDroidCamSrc doesn't implement property 'scene-mode' from interface 'GstPhotography'
(gst-plugin-scanner:8524): GLib-GObject-CRITICAL **: Object class GstDroidCamSrc doesn't implement property 'noise-reduction' from interface 'GstPhotography'
(gst-plugin-scanner:8524): GLib-GObject-CRITICAL **: Object class GstDroidCamSrc doesn't implement property 'image-preview-supported-caps' from interface 'GstPhotography'
(gst-plugin-scanner:8524): GLib-GObject-CRITICAL **: Object class GstDroidCamSrc doesn't implement property 'image-capture-supported-caps' from interface 'GstPhotography'
(gst-plugin-scanner:8524): GLib-GObject-CRITICAL **: Object class GstDroidCamSrc doesn't implement property 'flicker-mode' from interface 'GstPhotography'
(gst-plugin-scanner:8524): GLib-GObject-CRITICAL **: Object class GstDroidCamSrc doesn't implement property 'exposure' from interface 'GstPhotography'
(gst-plugin-scanner:8524): GLib-GObject-CRITICAL **: Object class GstDroidCamSrc doesn't implement property 'colour-tone-mode' from interface 'GstPhotography'
(gst-plugin-scanner:8524): GLib-GObject-CRITICAL **: Object class GstDroidCamSrc doesn't implement property 'capabilities' from interface 'GstPhotography'
(gst-plugin-scanner:8524): GLib-GObject-CRITICAL **: Object class GstDroidCamSrc doesn't implement property 'aperture' from interface 'GstPhotography'
Warning: record_sample_close; file not opened yet!?
Warning: record_sample_close; file not opened yet!?
time
Error: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.mpris.MediaPlayer2.jolla-mediaplayer was not provided by any .service files
Error: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.mpris.MediaPlayer2.CuteSpot was not provided by any .service files
Hope this will help.
|