|
2019-05-20
, 13:32
|
Posts: 1,414 |
Thanked: 7,547 times |
Joined on Aug 2016
@ Estonia
|
#692
|
The Following 4 Users Say Thank You to rinigus For This Useful Post: | ||
|
2019-06-22
, 20:40
|
|
Posts: 304 |
Thanked: 1,246 times |
Joined on Aug 2015
|
#693
|
[...] So, its not really clear what's wrong with TTS. Would you mind to start Pure Maps from the terminal (harbour-pure-maps) and check out for anything suspicious.
[D] unknown:0 - Using Wayland-EGL [D] unknown:0 - Got library name: "/usr/lib/qt5/qml/io/thp/pyotherside/libpyothersideplugin.so" [D] onCompleted:334 - Warning: specifying an object instance for initialPage is sub-optimal - prefer to use a Component [D] unknown:0 - Geoclue client path: "/org/freedesktop/Geoclue/Master/client2" [W] unknown:0 - QMetaMethod::invoke: Unable to handle unregistered datatype 'QGeoPositionInfo' [W] unknown:0 - [ INFO ] "{QSGRenderThread}[General]: GPU Identifier: Adreno (TM) 305" [W] unknown:0 - [ WARNING ] "{QSGRenderThread}[OpenGL]: Not using Vertex Array Objects" [D] unknown:0 - Cannot convert: QVariant(void*, 0x0)
Also, try to run mimic and picotts from terminal. Maybe one of them doesn't start.
|
2019-06-23
, 09:58
|
Posts: 1,414 |
Thanked: 7,547 times |
Joined on Aug 2016
@ Estonia
|
#694
|
Any other suggestions for testing or newer versions to test on SFOS 2.2.1, before I revert to the latest versions of Pure Maps and PicoTTS, which Storeman offers me from OpenRepos?
function initVoiceNavigation() { // Initialize a TTS engine for the current routing instructions. if (app.conf.voiceNavigation) { var args = [map.route.language, app.conf.voiceGender]; console.log('Engine opts ' + map.route.language + ' ' + app.conf.voiceGender) py.call_sync("poor.app.narrative.set_voice", args); var engine = py.evaluate("poor.app.narrative.voice_engine"); console.log('Engine ' + engine) if (engine) { notification.flash(app.tr("Voice navigation on"), "mapVoice"); app.playMaybe("std:starting navigation"); } else notification.flash(app.tr("Voice navigation unavailable: missing Text-to-Speech (TTS) engine for selected language"), "mapVoice"); } else { py.call_sync("poor.app.narrative.set_voice", [null, null]); } }
|
2019-06-23
, 13:13
|
|
Posts: 304 |
Thanked: 1,246 times |
Joined on Aug 2015
|
#695
|
[...] The only reason I can come up with is that the voice instructions language (as set as an option in routing page) doesn't match the voices on your device (and the ones you tested in preferences).
Or its a bug.
Try to insert console.log messages to debug the situation in qml/Map.qml, function initVoiceNavigation.
|
2019-06-23
, 14:43
|
|
Posts: 304 |
Thanked: 1,246 times |
Joined on Aug 2015
|
#696
|
diff Map.qml.orig Map.qml 468a469 > console.log('Engine opts ' + map.route.language + ' ' + app.conf.voiceGender) 470a472 > console.log('Engine ' + engine)
[D] initVoiceNavigation:469 - Engine opts en-US female [D] initVoiceNavigation:472 - Engine
diff Map.qml.orig Map.qml.patched 474c474 < } else --- > } else { 475a476 > }
|
2019-06-23
, 19:16
|
Posts: 1,414 |
Thanked: 7,547 times |
Joined on Aug 2016
@ Estonia
|
#697
|
So instrumented with
Pure Maps' output at the command line confirmsCode:diff Map.qml.orig Map.qml 468a469 > console.log('Engine opts ' + map.route.language + ' ' + app.conf.voiceGender) 470a472 > console.log('Engine ' + engine)
But apparentlyCode:[D] initVoiceNavigation:469 - Engine opts en-US female [D] initVoiceNavigation:472 - Engine
var engine = py.evaluate("poor.app.narrative.voice_engine");
(in line 470) does not set the engine.
P.S.: While I do not speak QML, this minor code beautification looks correct to me (but unfortunately and logically makes no difference):
Code:diff Map.qml.orig Map.qml.patched 474c474 < } else --- > } else { 475a476 > }
The Following 4 Users Say Thank You to rinigus For This Useful Post: | ||
|
2019-06-23
, 23:24
|
|
Posts: 304 |
Thanked: 1,246 times |
Joined on Aug 2015
|
#698
|
grep -r en-US /usr/share/harbour-pure-maps/ /usr/share/harbour-pure-maps/poor/voice.py: "en": {"female": "en-US"}, /usr/share/harbour-pure-maps/poor/voice.py: "en_US": {"female": "en-US"}, /usr/share/harbour-pure-maps/poor/voice.py: "en-US-x-pirate": {"male": "awb", "female": "slt"}, /usr/share/harbour-pure-maps/routers/ValhallaSettings.qml: property var keys: ["ca", "cs", "en", "en-US-x-pirate", "fr", "de", "hi", "it", "pt", "ru", "sl", "es", "sv"] /usr/share/harbour-pure-maps/routers/gpx_osmscout_settings.qml: property var keys: ["ca", "cs", "en", "en-US-x-pirate", "fr", "de", "hi", "it", "pt", "ru", "sl", "es", "sv"]
As for fixing, try to uninstall Pure Maps, remove all files and the folder /usr/share/harbour-pure-maps if its still there, and install the latest version. Let me know if it helped.
PS: poor.app.narrative.voice_engine is not supposed to set the engine, its reporting the current one.
|
2019-06-24
, 08:34
|
Posts: 1,414 |
Thanked: 7,547 times |
Joined on Aug 2016
@ Estonia
|
#699
|
|
2019-07-02
, 04:57
|
Posts: 198 |
Thanked: 271 times |
Joined on Mar 2015
@ Germany
|
#700
|
Tags |
geocoder, linux, offline maps, router, sailfish os, tiles |
|
While updated maps on weekend with lower (-1) version of OSM scout.
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!
Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257
editsignature, http://talk.maemo.org/profile.php?do=editsignature