Active Topics

 



Notices


Reply
Thread Tools
Posts: 23 | Thanked: 49 times | Joined on May 2011
#901
Hi.I'm trying really hard to run Saera version fom GitHub on my N900 but i run into this problem:
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
-module: line 1:/home/user/saera/julius/julius.arm: not found
 

The Following 2 Users Say Thank You to DNA_Splice For This Useful Post:
Posts: 959 | Thanked: 3,427 times | Joined on Apr 2012
#902
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.
 

The Following 4 Users Say Thank You to taixzo For This Useful Post:
Posts: 23 | Thanked: 49 times | Joined on May 2011
#903
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.
 

The Following 2 Users Say Thank You to DNA_Splice For This Useful Post:
Posts: 959 | Thanked: 3,427 times | Joined on Apr 2012
#904
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.
 

The Following 3 Users Say Thank You to taixzo For This Useful Post:
carlosgonz's Avatar
Posts: 175 | Thanked: 515 times | Joined on Jul 2018 @ Guatemala
#905
any plans, or news of saera?
t h a n k s
__________________
Nokia N95 / Nokia N900 / Nokia N9 / Nokia N8 / Jolla 1 / Jolla C / Xperia X / Xperia 10 II / PinePhone / Librem 5 / Xperia 10 III / Xperia IV
 

The Following 4 Users Say Thank You to carlosgonz For This Useful Post:
Reply

Tags
saera, speech-to-text


 
Forum Jump


All times are GMT. The time now is 16:02.