maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [DEVEL] Saera: Siri clone for Maemo5, Harmattan and Sailfish OS (https://talk.maemo.org/showthread.php?t=84753)

nthn 2017-01-31 16:23

Re: [DEVEL] Saera: Siri clone for Maemo5, Harmattan and Sailfish OS
 
I installed flite-minimal and the latest version of Saera from your repository on OpenRepos, but for some reason Saera is completely silent.

taixzo 2017-01-31 16:54

Re: [DEVEL] Saera: Siri clone for Maemo5, Harmattan and Sailfish OS
 
Quote:

Originally Posted by robthebold (Post 1522661)
I'm running into a dependency problem: espeak isn't found.

SFOS 2.0.5.6 Onyx (oneplus x) port. I've pkcon refresh(ed). I seem to recsll espeak was broken before in the 'crashes you device' sense--has it bren pulled from the repos? Is it too early in the morning for me and I'm forgetting something stupid?

Thanks

Espeak is available at https://openrepos.net/content/birdzhang/espeak-sailfish. I haven't way to make a dependency on that repo from mine - maybe I should just re-upload the package to my repo? I have a OnePlus X as well and have not run into any issues with espeak as used by saera (outputting wav instead of talking to sound drivers directly).

Quote:

Originally Posted by nthn (Post 1522662)
I installed flite-minimal and the latest version of Saera from your repository on OpenRepos, but for some reason Saera is completely silent.

If you unintstall flite (so Saera uses espeak instead), does sound output work?

Fellfrosch 2017-01-31 17:21

Re: [DEVEL] Saera: Siri clone for Maemo5, Harmattan and Sailfish OS
 
#
Quote:

Originally Posted by taixzo (Post 1522659)
Could you start saera from a terminal (run harbour-saera) and let me know what error you are getting?

Code:

| SailfishOS 2.0.5.6 (Haapajoki) (armv7hl)
'---
[nemo@Sailfish ~]$ harbour-saera
[D] QQmlDebuggingEnabler::QQmlDebuggingEnabler:1455 - QML debugging is enabled. Only use this in a safe environment.
[D] QWaylandEglClientBufferIntegration::QWaylandEglClientBufferIntegration:62 - Using Wayland-EGL
[D] onCompleted:48 - testing
WARNING: The 'tracker-sparql' command is no longer available.
WARNING: Use 'tracker <command> [<args>]' instead...\n

(tracker sparql:18200): 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
Try `-help' for more information.

if I interrupt with control c Saera starts, haven't tested yet, if it works.
Edit: No, Saera doesn't react. I can go to settings. But can't save them.

taixzo 2017-01-31 17:39

Re: [DEVEL] Saera: Siri clone for Maemo5, Harmattan and Sailfish OS
 
Thanks, I will release a patch this evening.

nthn 2017-01-31 17:45

Re: [DEVEL] Saera: Siri clone for Maemo5, Harmattan and Sailfish OS
 
Quote:

Originally Posted by taixzo (Post 1522663)
If you unintstall flite (so Saera uses espeak instead), does sound output work?

Nope! I'm pretty sure it used to work before this last release. I haven't tried rebooting, though, if that would change anything.

taixzo 2017-01-31 18:02

Re: [DEVEL] Saera: Siri clone for Maemo5, Harmattan and Sailfish OS
 
Is there sound output from other applications? Does Saera show any errors if you run
Code:

harbour-saera
in a terminal?

taixzo 2017-02-01 04:51

Re: [DEVEL] Saera: Siri clone for Maemo5, Harmattan and Sailfish OS
 
I have released version 2.3.1 which contains a patch to ignore .dfa files if they are not built successfully. This should prevent the errors people are seeing at startup, but may prevent you from being able to say "Play <song title>" on SFOS 2.0 (or greater). I do not have anything running 2.0 yet, so I cannot test that at the moment.

Fellfrosch 2017-02-01 10:05

Re: [DEVEL] Saera: Siri clone for Maemo5, Harmattan and Sailfish OS
 
Thanks for that fast fix. Saera works now!

nthn 2017-02-01 11:07

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
"


taixzo 2017-02-01 13:37

Re: [DEVEL] Saera: Siri clone for Maemo5, Harmattan and Sailfish OS
 
Quote:

Originally Posted by nthn (Post 1522702)
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.

It looks like settings are not actually being lost until going back to the Settings page (i.e. the Settings page isn't loading the settings correctly), but same effect.

Quote:

Originally Posted by nthn (Post 1522702)
Here's some terminal output with a lot of errors, the first part is probably just caused by the unofficial language pack.

Looks like I made some poor assumptions as an American whose contact names don't contain any Unicode characters. I'll see what I can do to fix that; in the meantime, I have uploaded a patch which will simply disable contact loading if it encounters Unicode errors.

nthn 2017-02-01 14:00

Re: [DEVEL] Saera: Siri clone for Maemo5, Harmattan and Sailfish OS
 
I don't know, I set it to use the 24 hour clock, went back to the main view and without going back to the settings, I asked what time it was and it said it's 2:50, although it should have said 14:50.

I installed the patch and it's replying again (without sound however).

This is the output I get now. I don't have CuteSpot or LLs vplayer installed anymore, so it seems there's something wrong in my system, too.

Code:

WARNING: Use 'tracker <command> [<args>]' instead...\n
�����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Uitvoeren zoekopdracht is mislukt, 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
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
dbus-monitor: unable to enable new-style monitoring: org.freedesktop.DBus.Error.AccessDenied: "Rejected send message, 1 matched rules; type="method_call", sender=":1.191" (uid=100000 pid=9877 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.
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
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
[D] onCheckedChanged:110 - Checked
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
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
[D] onCurrentIndexChanged:134 - Always
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.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.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
Error: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.mpris.MediaPlayer2.llsVplayer was not provided by any .service files
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
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
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
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


taixzo 2017-02-01 14:16

Re: [DEVEL] Saera: Siri clone for Maemo5, Harmattan and Sailfish OS
 
Thanks, it seems something works differently in DBus on Sailfish 2.0+. I will try and fix this as soon as I can get one of my devices running SFOS 2.0.

pirateman 2017-02-01 16:52

Re: [DEVEL] Saera: Siri clone for Maemo5, Harmattan and Sailfish OS
 
Hello,
Why use espeak?

I compiled for n900 the packet SVOX (picotowave) a project used by google.

The voice is more natural, and totally offline for its use and multiang.

Https://talk.maemo.org/showthread.ph...highlight=svox

taixzo 2017-02-01 17:08

Re: [DEVEL] Saera: Siri clone for Maemo5, Harmattan and Sailfish OS
 
Quote:

Originally Posted by pirateman (Post 1522717)
Hello,
Why use espeak?

I compiled for n900 the packet SVOX (picotowave) a project used by google.

The voice is more natural, and totally offline for its use and multiang.

Https://talk.maemo.org/showthread.ph...highlight=svox

Espeak is used for the main engine; it is required because I also use it for generating phonemes for voice recognition of non-dictionary words (such as contact or song names). There is an option on Sailfish to use Flite instead, for some of the reasons you have listed; I hope to port this to the N900 as well. I will also look into adding SVOX as an option for speech synthesis too.

abyzthomas 2017-02-02 15:46

Re: [DEVEL] Saera: Siri clone for Maemo5, Harmattan and Sailfish OS
 
First of all, thank you for developing this App. Very promising.

Installed Saera on my Jolla 1

SailfishOS v2.0.5.6
Python 2.7.9

Worked for a minute and it stopped saying Bye.
I see following in the journalctl

Code:

Feb 02 09:34:39 Sailfish [3979]: [D] onError:256 - Python error: Return value of PyObject call is NULL: Traceback (most recent call last):

                                  File "/usr/share/harbour-saera/qml/pages/saera2.py", line 1374, in cancel_listening
                                    return platform.cancel_listening()

                                  File "/usr/share/harbour-saera/qml/pages/sailfish_hw.py", line 694, in cancel_listening
                                    client.send("TERMINATE\n")

                                  File "/usr/share/harbour-saera/qml/pages/pyjulius/core.py", line 158, in send
                                    _, writable, __ = select.select([], [self.sock], [], timeout)

                                ValueError: file descriptor cannot be a negative integer (-1)


taixzo 2017-02-05 00:03

Re: [DEVEL] Saera: Siri clone for Maemo5, Harmattan and Sailfish OS
 
Thank you, I will look into it. It could be the OOM killer stopping the Julius process; I'm not sure pyjulius knows how to handle that gracefully.

Everybody: It appears that I made a mistake in Git when I merged this commit - I overwrote my changes to the navigation code. As this only affected the upstream files, I did not discover the issue on my testing devices (which still had the correct code); however, my build server pulls changes from Github, and built the package with the wrong data. As such, turn-by-turn navigation is completely broken in the package in the repos (it will just say "<destination> is <distance> away" and then hang forever). I will upload a patch this evening, once I can verify that that commit did not break anything else.

taixzo 2017-02-07 14:12

Re: [DEVEL] Saera: Siri clone for Maemo5, Harmattan and Sailfish OS
 
I have uploaded 2.3.3 to OpenRepos, which has a patch for the navigation issue.

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.

MikeHG 2017-11-30 16:06

Re: [DEVEL] Saera: Siri clone for Maemo5, Harmattan and Sailfish OS
 
Hi,

Not sure how useful this is (or whether you know about it already), but figured I'd point it out just in case.

https://blog.mozilla.org/blog/2017/1...voice-dataset/

Cheers.

taixzo 2017-11-30 16:45

Re: [DEVEL] Saera: Siri clone for Maemo5, Harmattan and Sailfish OS
 
Thanks MikeHG, I've been watching this and am hoping to be able to integrate it (as the VoxForge model I'm currently using is not that great). Currently their DeepSpeech model is not suitable for running on a phone (it requires TensorFlow, and to do realtime requires a fairly high-end desktop GPU), but hopefully this will improve in the near future.

DNA_Splice 2018-03-13 00:12

Re: [DEVEL] Saera: Siri clone for Maemo5, Harmattan and Sailfish OS
 
Hi.I'm trying really hard to run Saera version fom GitHub on my N900 but i run into this problem:
Quote:

python saera2.py
Traceback (most recent call last):
File "saera2.py", line 35, in <module>
import fremantle_hw as platform
File "/home/user/saera/fremantle_hw.py", line 62, in <module>
jproc = subprocess.Popen([f+'julius/julius.arm','-module','-gram',f+'julius/saera','-h',f+'julius/hmmdefs','-hlist',f+'julius/tiedlist','-input','mic','-tailmargin','800','-rejectshort','600'],stdout=subprocess.PIPE)
File "/usr/lib/python2.5/subprocess.py", line 594, in __init__
errread, errwrite)
File "/usr/lib/python2.5/subprocess.py", line 1153, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
Strange as it all look correct to me regarding parse of subprocess.Popen. I've tried to add shell=True after stdout=subprocess.PIPE but it just hang with
Quote:

-module: line 1:/home/user/saera/julius/julius.arm: not found

taixzo 2018-03-13 02:34

Re: [DEVEL] Saera: Siri clone for Maemo5, Harmattan and Sailfish OS
 
I think the issue is that I most recently compiled the Julius binary on a Jolla, which might have binary incompatibilities with the N900's CPU or OS (armhf? I remember that being an issue) I'll try and upload a fixed version soon; in the meantime, you should be able to compile Julius yourself (if you have gcc on your N900) from the upstream source.

DNA_Splice 2018-09-05 12:09

Re: [DEVEL] Saera: Siri clone for Maemo5, Harmattan and Sailfish OS
 
Hello taixzo.
I have successfully compiled Julius and I'm able to connect to pyjulius server however it seems that my OS isn't detected correctly.
I'm ending up with
Code:

File "saera2.py", line 65, in <module>
config = platform.config
AttributeError: 'module' object has no attribute 'config'

My sys.version info is
(2, 5, 4, 'final', 0)
Thx a lot.

taixzo 2018-09-05 12:37

Re: [DEVEL] Saera: Siri clone for Maemo5, Harmattan and Sailfish OS
 
Looks like I made a few changes which haven't been backported to Maemo yet, which are causing your startup error. I'll take a look.

carlosgonz 2018-11-06 19:47

Re: [DEVEL] Saera: Siri clone for Maemo5, Harmattan and Sailfish OS
 
any plans, or news of saera?
t h a n k s


All times are GMT. The time now is 04:53.

vBulletin® Version 3.8.8