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)

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 14:31.

vBulletin® Version 3.8.8