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)

arthurhkt 2015-07-21 05:43

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

Originally Posted by arthurhkt (Post 1477431)
Guys, I am stuck on the Initializing speech recognition... any ideas? :(

Any guys could help me here? :D :(

Greendts 2015-07-21 08:12

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

Originally Posted by arthurhkt (Post 1477435)
Any guys could help me here? :D :(

Me too, best thing is to be patient and wait for dev to speak ;)

arthurhkt 2015-07-24 04:00

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

Originally Posted by Greendts (Post 1477444)
Me too, best thing is to be patient and wait for dev to speak ;)

It been few day and it seem like no answer from anyone :( :confused:

br4ndo 2015-07-24 06:14

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

Originally Posted by arthurhkt (Post 1477765)
It been few day and it seem like no answer from anyone :( :confused:

Hi, I first installed portaudio then espeak and last Saera. All from Warehouse. Works like a charm.

taixzo 2015-07-24 21:18

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

Originally Posted by arthurhkt (Post 1477765)
It been few day and it seem like no answer from anyone :( :confused:

I am out of town until Monday with pretty much no internet connection, which is why I haven't been able to help people.

Quote:

Originally Posted by lfc22 (Post 1477433)
Is the latest build available for N9?

Not yet, the N9 port still needs a bunch of fixes to be properly useable.

Also, I made a video of the release version, since my last video of it on Sailfish was the old version with buggy scrolling.

HtheB 2015-07-24 21:25

Re: [DEVEL] Saera: Siri clone for Maemo5, Harmattan and Sailfish OS
 
taixzo, I haven't also gotten to get it to work.
I've got some weird errors on when pressing the microphone button. Nothing happens.

Here is the log output:
Code:

[nemo@Jolla ~]$ 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

(tracker-sparql:23950): Tracker-WARNING **: Locale '0' is not set, defaulting to                                                                                                                                                              C locale
[D] QPythonPriv::formatExc:612 - "PyOtherSide error: Traceback (most recent call                                                                                                                                                              last):

  File "/usr/share/harbour-saera/qml/pages/saera2.py", line 50, in <module>
    import sailfish_hw as platform

  File "/usr/share/harbour-saera/qml/pages/sailfish_hw.py", line 178, in <module                                                                                                                                                            >
    regen_music()

  File "/usr/share/harbour-saera/qml/pages/sailfish_hw.py", line 99, in regen_mu                                                                                                                                                            sic
    index_of_last_comma = l[0].rindex(',')

ValueError: substring not found
"
[D] onError:210 - Python error: Cannot import module: saera2 (Traceback (most re                                                                                                                                                            cent call last):

  File "/usr/share/harbour-saera/qml/pages/saera2.py", line 50, in <module>
    import sailfish_hw as platform

  File "/usr/share/harbour-saera/qml/pages/sailfish_hw.py", line 178, in <module                                                                                                                                                            >
    regen_music()

  File "/usr/share/harbour-saera/qml/pages/sailfish_hw.py", line 99, in regen_mu                                                                                                                                                            sic
    index_of_last_comma = l[0].rindex(',')

ValueError: substring not found
)
[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:210 - Python error: Function not found: 'saera2.initialize' (Traceba                                                                                                                                                            ck (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:210 - Python error: Function not found: 'saera2.set_position' (Trace                                                                                                                                                            back (most recent call last):

  File "<string>", line 1, in <module>

NameError: name 'saera2' is not defined
)
[D] onError:210 - Python error: Function not found: 'saera2.pause_daemons' (Trac                                                                                                                                                            eback (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:210 - Python error: Function not found: 'saera2.resume_daemons' (Tra                                                                                                                                                            ceback (most recent call last):

  File "<string>", line 1, in <module>

NameError: name 'saera2' is not defined
)
[D] onError:210 - 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:210 - Python error: Function not found: 'saera2.check_can_listen' (T                                                                                                                                                            raceback (most recent call last):

  File "<string>", line 1, in <module>

NameError: name 'saera2' is not defined
)


taixzo 2015-07-24 22:02

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

Originally Posted by HtheB (Post 1477838)
taixzo, I haven't also gotten to get it to work.
I've got some weird errors on when pressing the microphone button. Nothing happens.

Here is the log output:

<snip>

That's odd, either tracker-sparql is returning results in a different format or something else is up. Could you send me the result of executing
Code:

tracker-sparql -q "SELECT ?title ?artist ?url
WHERE { ?song a nmm:MusicPiece . ?song nie:title ?title . ?song nmm:performer ?aName . ?aName nmm:artistName ?artist . ?song nie:url ?url . }"

in a terminal?

HtheB 2015-07-24 23:03

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

Originally Posted by taixzo (Post 1477854)
That's odd, either tracker-sparql is returning results in a different format or something else is up. Could you send me the result of executing
Code:

tracker-sparql -q "SELECT ?title ?artist ?url
WHERE { ?song a nmm:MusicPiece . ?song nie:title ?title . ?song nmm:performer ?aName . ?aName nmm:artistName ?artist . ?song nie:url ?url . }"

in a terminal?

Code:

[nemo@Jolla ~]$ tracker-sparql -q "SELECT ?title ?artist ?url
> WHERE { ?song a nmm:MusicPiece . ?song nie:title ?title . ?song nmm:performer ?aName . ?aName nmm:artistName ?artist . ?song nie:url ?url . }"

(tracker-sparql:26443): Tracker-WARNING **: Locale '0' is not set, defaulting to C locale
Results:
  None


taixzo 2015-07-25 00:01

Re: [DEVEL] Saera: Siri clone for Maemo5, Harmattan and Sailfish OS
 
Thank you, it appears I didn't handle the case where there are no songs in tracker. I will fix that for Monday's update.

carepack 2015-07-25 05:44

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

Originally Posted by taixzo (Post 1477869)
Thank you, it appears I didn't handle the case where there are no songs in tracker. I will fix that for Monday's update.

Hi taixzo,

you haven't said something about my post. Not seen?

Here is the problem and the log:
hi taixzo,

it isn't fixed in my case. unicode problems are present with additional error message:

Name contains Unicode string

Connecting to pyjulius server
ERROR: Error in loading model

And yes, i got names with ü, ä or something else

Thx for further investigation

edit:
with version 2.0-5


edit2:
seara was hanging on the above error message. after pressing strg+c more output was geenrated:

http://pastebin.com/wE82wirb


All times are GMT. The time now is 23:49.

vBulletin® Version 3.8.8