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)

taixzo 2012-09-09 17:30

Re: [DEVEL] Saera: Siri clone for Maemo 5
 
Added version 0.1-7, which depends on BeautifulSoup, and adds an experimental weather function (currently only accessible by typing rather than speaking, and fixed to New York City).

sixwheeledbeast 2012-09-09 17:38

Re: [DEVEL] Saera: Siri clone for Maemo 5
 
When un-installing saera via apt there are warnings that

Code:

/usr/local/lib
/opt/saera/sentences
opt/saera

are not empty.

This leaves some .pyc files on the device.

Will update to 0.1-7 now thanks.

sixwheeledbeast 2012-09-09 18:12

Re: [DEVEL] Saera: Siri clone for Maemo 5
 
0.1-7
Code:

/opt/saera/saera.py: Permission denied
sudo chmod +x /opt/saera/saera.py

/opt/saera/saera.py
ImportError: No module named json

sudo apt-get install python-simplejson
ImportError: No module named json

sudo apt-get install json
ImportError: No module named json

Any ideas?

taixzo 2012-09-09 18:20

Re: [DEVEL] Saera: Siri clone for Maemo 5
 
Quote:

Originally Posted by sixwheeledbeast (Post 1263788)
0.1-7
Code:

/opt/saera/saera.py: Permission denied
sudo chmod +x /opt/saera/saera.py

/opt/saera/saera.py
ImportError: No module named json

sudo apt-get install python-simplejson
ImportError: No module named json

sudo apt-get install json
ImportError: No module named json

Any ideas?

Err, oops. I forgot to make it import simplejson instead if it couldn't find stdlib json. Should be fixed in next release.

taixzo 2012-09-09 18:34

Re: [DEVEL] Saera: Siri clone for Maemo 5
 
I uploaded build 0.1-8, which should use json correctly, and which you can now query about the weather, but at the moment you will still need to edit the source code if you don't live in NYC. :)

sixwheeledbeast 2012-09-09 19:11

Re: [DEVEL] Saera: Siri clone for Maemo 5
 
Thanks it works! :)

Seems to be suck in portrait tho.
Not recognizing voice only text commands

Was fairly easy to change the weather to my local area.

Dave999 2012-09-09 19:16

Re: [DEVEL] Saera: Siri clone for Maemo 5
 
I'm ahead of you. Looking at 0.1-9 atm :D

EDIT: Chuck Norris working great. Thx Lol, Saera telling me Chuck Norris facts.. Sweet! LOL THIS MADE MY DAY!

But as u said don't move to portrait. You have to restart the application.

sixwheeledbeast 2012-09-09 19:37

Re: [DEVEL] Saera: Siri clone for Maemo 5
 
Quote:

Originally Posted by Dave999 (Post 1263831)
I'm ahead of you. Looking at 0.1-9 atm :D

EDIT: Chuck Norris working great. Thx Lol, Saera telling me Chuck Norris facts.. Sweet! LOL THIS MADE MY DAY!

But as u said don't move to portrait. You have to restart the application.

Cool updating now.

The best 7 chuck norris quotes are in ther :)

I fixed the portrait:-
Go to seara.py edit line 28 to

Code:

initial_mode = FremantleRotation.AUTOMATIC

taixzo 2012-09-09 19:41

Re: [DEVEL] Saera: Siri clone for Maemo 5
 
Quote:

Originally Posted by sixwheeledbeast (Post 1263845)
Cool updating now.

The best 7 chuck norris quotes are in ther :)

I fixed the portrait:-
Go to seara.py edit line 28 to

Code:

initial_mode = FremantleRotation.AUTOMATIC

I had actually made it fixed to portrait intentionally - the fact that it starts up in landscape with the keyboard open is a bug. My thinking was that this makes it easier to operate with one hand, and hence without looking. Should I make this optional?

Dhicky 2012-09-09 19:46

Re: [DEVEL] Saera: Siri clone for Maemo 5
 
Thanks everything is done well


All times are GMT. The time now is 05:57.

vBulletin® Version 3.8.8