Notices


Reply
Thread Tools
Posts: 958 | Thanked: 3,426 times | Joined on Apr 2012
#181
Originally Posted by safoo View Post
whats wrong i am doing?
Two things: You're using the i386 archive I posted, and you're not in the right directory. Download the .deb from first post (it should be called saera_0.1-0_all.deb). Save this to "Nokia N900". Then, in xterm:

Code:
root
cd /home/user/MyDocs
dpkg -i saera_0.1-0_all.deb

Last edited by taixzo; 2012-06-15 at 22:27.
 

The Following User Says Thank You to taixzo For This Useful Post:
Posts: 56 | Thanked: 19 times | Joined on Jan 2012
#182
Originally Posted by taixzo View Post
Two things: You're using the i386 archive I posted, and you're not in the right directory. Download the .deb from first post (it should be called saera_0.1-0_all.deb). Save this to "Nokia N900". Then, in xterm:

Code:
root
cd /home/user/MyDocs
dpkg -i saera_0.1-0_all.deb
i got this



BusyBox v1.20.1 (Debian 1.20.1power1) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ root


BusyBox v1.20.1 (Debian 1.20.1power1) built-in shell (ash)
Enter 'help' for a list of built-in commands.

Nokia-N900:~# root
root is not in the sudoers file. This incident will be reported.
Nokia-N900:~# cd /home/user/MyDocs
Nokia-N900:/home/user/MyDocs# dpkg -i saera_0.1-0_all.debBusyBox v1.20.1 (Debian 1.20.1power1) multi-call binary.

Usage: sendmail [OPTIONS] [RECIPIENT_EMAIL]...

Read email from stdin and send it

Standard options:
-t Read additional recipients from message body
-f SENDER Sender (required)
-o OPTIONS Various options. -oi implied, others are ignored
-i -oi synonym. implied and ignored

Busybox specific options:
-v Verbose
-w SECS Network timeout
-H 'PROG ARGS' Run connection helper
Examples:
-H 'exec openssl s_client -quiet -tls1 -starttls smtp
-connect smtp.gmail.com:25' <email.txt
[4<username_and_passwd.txt | -auUSER -apPASS]
-H 'exec openssl s_client -quiet -tls1
-connect smtp.gmail.com:465' <email.txt
[4<username_and_passwd.txt | -auUSER -apPASS]
-S HOST[:PORT] Server
-auUSER Username for AUTH LOGIN
-apPASS Password for AUTH LOGIN

Other options are silently ignored; -oi -t is implied
Use makemime to create emails with attachments
 
Posts: 1,320 | Thanked: 915 times | Joined on Feb 2010
#183
Originally Posted by taixzo View Post
If someone would help with Spanish there would be a Spanish translation. I don't know Spanish myself; I only know English and German, and SolarisSixth is translating it into Portuguese.
I think you forgot that Alephito already translated it into Spanish

http://talk.maemo.org/showpost.php?p...&postcount=120

Originally Posted by alephito View Post
Here you are, Taixzo. The Spanish translation.

Now, where is my N9 version of Saera?



If you need a revision or something, just let me know.
__________________
Well Nokia do at least know how to build a decent phone, just apparently don't know how to support it..

N900 Died Replaced with N8, Requested E7, "Accidentally Broke E7", Now rolling with an N9 and im loving it!


My Contributions

N900 Conversations Wiki Page
 

The Following User Says Thank You to godofwar424 For This Useful Post:
Posts: 56 | Thanked: 19 times | Joined on Jan 2012
#184
Originally Posted by taixzo View Post
Two things: You're using the i386 archive I posted, and you're not in the right directory. Download the .deb from first post (it should be called saera_0.1-0_all.deb). Save this to "Nokia N900". Then, in xterm:

Code:
root
cd /home/user/MyDocs
dpkg -i saera_0.1-0_all.deb
finally i got it.. many thanks to u..



BusyBox v1.20.1 (Debian 1.20.1power1) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ root


BusyBox v1.20.1 (Debian 1.20.1power1) built-in shell (ash)
Enter 'help' for a list of built-in commands.

Nokia-N900:~# cd /home/user/MyDocs
Nokia-N900:/home/user/MyDocs# dpkg -i saera_0.1-0_all.deb
Selecting previously deselected package saera.
(Reading database ... 28326 files and directories currently installed.)
Unpacking saera (from saera_0.1-0_all.deb) ...
Setting up saera (0.1-0) ...
generating *.pyc files
Listing /opt/saera ...
Listing /opt/saera/model ...
Compiling /opt/saera/portrait.py ...
Compiling /opt/saera/saera.py ...
/opt/saera/saera.py:189: SyntaxWarning: name 'able_to_listen' is used prior to global declaration
global able_to_listen
Compiling /opt/saera/saera_processing.py ...
Listing /opt/saera/sentences ...
Compiling /opt/saera/sentences/sentences_portuguese.py ...
Nokia-N900:/home/user/MyDocs#
 

The Following User Says Thank You to safoo For This Useful Post:
Posts: 12 | Thanked: 3 times | Joined on Jun 2012 @ sydney
#185
Hi. I just tried installing and got this error. Please can someone point me in the right direction?

file /var/lib/dpkg/tmp.c1/digsigsums cannot be opened
No digsigsums file..
....
then lots of

not in digsigsums -- warning

dpkg: dependency problems prevent configuration of saera..

Package pocketsphinx-utils is not installed
and such like.

I copied the file from the first post and placed in N9
 
Posts: 395 | Thanked: 255 times | Joined on Nov 2010
#186
Originally Posted by bignutbrown View Post
I copied the file from the first post and placed in N9
This is for N900.

Greetings
 

The Following 5 Users Say Thank You to s4br0s0 For This Useful Post:
Posts: 958 | Thanked: 3,426 times | Joined on Apr 2012
#187
Originally Posted by godofwar424 View Post
I think you forgot that Alephito already translated it into Spanish

http://talk.maemo.org/showpost.php?p...&postcount=120
Oops, I missed that. I'll add that in.

Video of Saera running:

http://www.youtube.com/watch?v=ghVOH-6X1yg

I copied the file from the first post and placed in N9
Please, at least read the title of the post. The "Maemo 5" bit should let you know this is for the N900, not the N9. At least not yet.
 

The Following 5 Users Say Thank You to taixzo For This Useful Post:
Posts: 12 | Thanked: 3 times | Joined on Jun 2012 @ sydney
#188
Sorry, blonde moments here! *down, Boy, down !*
 
Posts: 432 | Thanked: 917 times | Joined on Jun 2011
#189
Ok... Automagically Saera waits for the complete number again but i think it has a problem: althought it tells that "phone numbers have 10 or 11 caracters", it dials only 7 characters numbers... And, no ofense here (i dont know what is the first language of who makes that), but the portuguese translation of the sentences_portuguese.py isn't very good.
Still testing
 

The Following 2 Users Say Thank You to saponga For This Useful Post:
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#190
So ModRana now has quite a few new CLI options for use by Saeri (and any other program or script):
Code:
usage: modrana.py [-h] [-d device ID] [-u GUI ID]
                  [--local-search search query]
                  [--local-search-location an address or geographic coordinates]
                  [--address-search an address]
                  [--wikipedia-search search query] [--return-static-map-url]
                  [--center-on-position] [--set-zl zoom level number]
                  [--center-on-position-on-zl zoom level number]
                  [--focus-on-coordinates geographic coordinates with the geo: prefix]

A flexible GPS navigation system.

optional arguments:
  -h, --help            show this help message and exit
  -d device ID          specify device type
  -u GUI ID             specify user interface type (GTK or QML)
  --local-search search query
                        specify a local search query EXAMPLE: "pizza"
  --local-search-location an address or geographic coordinates
                        specify a geographic location for a local search query
                        (current location is used by default), both addresses
                        and geographic coordinates with the geo: prefix are
                        supported EXAMPLE: "London" or
                        "geo:50.083333,14.416667"
  --address-search an address
                        specify an address search query EXAMPLE: "Baker Street
                        221b, London"
  --wikipedia-search search query
                        specify a local search query EXAMPLE: "Prague castle"
  --return-static-map-url
                        return static map URL for a CLI query (works for local
                        search, address and Wikipedia search)
  --center-on-position  focus on the current position & enable centering
  --set-zl zoom level number
                        set a zoom level EXAMPLE: 15
  --center-on-position-on-zl zoom level number
                        focus on current position on a given zoom level
                        EXAMPLE: 15
  --focus-on-coordinates geographic coordinates with the geo: prefix
                        focus on given coordinates, NOTE you can use --set-zl
                        to set zoom level, EXAMPLE: "geo:50.083333,14.416667"
Search
The search options work in two modes:

If --return-static-map-url is used, modRana loads only the most essential modules, handles the query and exits after printing the Url pointing to a static-map with the result to stdout.

If --return-static-map-url is not used, modRana starts normally and shows the search results.

Exit codes
If everything went fine, modRana returns 0, as expected.

If something went wrong, modRana exits with one of the codes below:
Code:
SYNTAX_ERROR = 2
SEARCH_NO_RESULTS_FOUND = 3
SEARCH_PROVIDER_TIMEOUT_ERROR = 4
SEARCH_PROVIDER_ERROR = 5
LOCAL_SEARCH_CURRENT_POSITION_UNKNOWN_ERROR = 6
Local search takes some time
When modRana does local search and no --local-search-location is specified, it starts the GPS and waits for up to 30 seconds for it to supply valid location coordinates.

If the current location is not determined within the 30 second time limit, modRana uses the last known position (if available).

Results
If more results are returned for --return-static-map-url, modRana just returns Url for the first one (this is also usually the result with the best accuracy).

It also shouldn't be difficult to add support for returning multiple results or to return coordinates or other information to stdout (maybe URL + result title ?).

Other supported options
It is also possible to set the zoom level, make modRana focus on a set of coordinates or center on current position.

Routing
There are not yet CLI options for routing, but will be added in near future.

How to use
Example - show address search result in GTK UI on zoom level 10:
Code:
python /opt/modrana/modrana.py -d n900 -u GTK --address-search "Prague" --set-zl 10
Example - return local search result at static map URL on default zoom level (15):
Code:
python /opt/modrana/modrana.py --local-search "pizza" --return-static-map-url
Availability
You need the latest modRana version (V0.32) from Extras-Devel to use the new CLI options.

Feedback
Don't hesitate to let me know if you hit any issues or if you have any ideas for improvements.

EDIT:
added usage examples
__________________
modRana: a flexible GPS navigation system
Mieru: a flexible manga and comic book reader
Universal Components - a solution for native looking yet component set independent QML appliactions (QtQuick Controls 2 & Silica supported as backends)

Last edited by MartinK; 2012-06-15 at 23:26.
 

The Following 10 Users Say Thank You to MartinK For This Useful Post:
Reply

Tags
saera, speech-to-text


 
Forum Jump


All times are GMT. The time now is 21:17.