We have moved to a new Sailfish OS Forum. Please start new discussions there.
5

sailfish-maps no longer works in 3.0.2 [answered]

asked 2019-03-27 12:18:58 +0300

chris_bavaria gravatar image

updated 2019-04-01 01:13:51 +0300

Bevore updating to 3.0.2.8, I used sailfish-maps from my J1. I liked the option to show the adress on the map in the native contact app. This option can not used with here-maps! During installing sailfish-maps shows now a missing package:

# pkcon install-local sailfish-maps-1.1.26-10.40.1.jolla.armv7hl.rpm
Installing files                                                                                                                                                 
Testing changes                                                                                                                                                  
Finished                                                                                                                                                        
Fatal error: sailfish-maps-1.1.26-10.40.1.jolla.armv7hl requires jolla-ambient >= 0.4.14, but this requirement cannot be provided

Is there a repository to get this package?

Edit: heading modified Edit2: heading modified

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by chris_bavaria
close date 2019-04-02 00:09:53.111475

Comments

#pkcon install sailfish-content-graphics-default-base

Now sailfish-maps is able to install and the option "show on map" in contacts is aviable. But the sailfish-maps app has no connection to data. Only the blank standard cover is shown.

chris_bavaria ( 2019-03-27 12:47:08 +0300 )edit

Log of starting in terminal:

[nemo@Sailfish ~]$ sailfish-maps
[D] unknown:0 - Using Wayland-EGL
[W] unknown:0 - Could not create DB dir.
[W] unknown:0 - Deprecated import of org.nemomobile.keepalive upgrade code to Nemo.KeepAlive 1.1
[W] unknown:105 - file:///usr/share/sailfish-maps/main.qml:105: ReferenceError: persistentData is not defined
[D] unknown:0 - No proxy parameter specified.
[D] unknown:0 - No proxy parameter specified.
[W] unknown:0 - libpng warning: iCCP: known incorrect sRGB profile
[W] unknown:315 - file:///usr/share/sailfish-maps/pages/MainPage.qml:315: ReferenceError: persistentData is not defined
[D] unknown:0 - Geoclue client path: "/org/freedesktop/Geoclue/Master/client12"
[W] unknown:0 - QMetaMethod::invoke: Unable to handle unregistered datatype 'QGeoPositionInfo'
[W] unknown:184 - file:///usr/share/sailfish-maps/pages/MainPage.qml:184: ReferenceError: persistentData is not defined
[W] unknown:14 - file:///usr/share/sailfish-maps/components/MapThumbnail.qml:14: ReferenceError: persistentData is not defined
[W] unknown:169 - file:///usr/share/sailfish-maps/pages/MainPage.qml:169: ReferenceError: favoritesModel is not defined
[W] unknown:129 - file:///usr/share/sailfish-maps/pages/MainPage.qml:129: ReferenceError: favoritesModel is not defined
[W] unknown:203 - file:///usr/share/sailfish-maps/pages/MainPage.qml:203: ReferenceError: recentPlacesModel is not defined
[W] unknown:270 - file:///usr/share/sailfish-maps/pages/MainPage.qml:270: ReferenceError: myPlacesModel is not defined
[W] unknown:100 - file:///usr/share/sailfish-maps/main.qml:100: ReferenceError: persistentData is not defined
chris_bavaria ( 2019-03-27 13:15:49 +0300 )edit

After starting with root rights, I found out a Qt problem:

[nemo@Sailfish ~]$ sudo sailfish-maps
This application failed to start because it could not find or load the Qt platform plugin "xcb"
    in "".

Available platform plugins are: hwcomposer, minimal, wayland-egl, wayland.

Reinstalling the application may fix this problem.
Aborted
chris_bavaria ( 2019-03-27 13:38:16 +0300 )edit

Just curious - why are you choosing "pkcon install-local" - can we assume you have already downloaded the package?, also, including the build numbers and .rpm file extension is not needed, i.e;

devel-su pkcon install sailfish-maps

Initially, maps wasn't available, but after refreshing the repo, I was able to install sailfish-maps without problem, I also get the same list of "unknown" errors as you but the application starts okay and minimises to a cover showing "default cover", that was until I added my home position, now the cover shows the map.

There are a number of 'sailfish' apps that show plenty of errors upon start up, but the apps appear to run okay, seems to be normal.

Spam Hunter ( 2019-04-01 02:23:24 +0300 )edit
1

maybe yo have problems with maps because the newest version of sailfish maps is 1.2.5-1.9.2. So it looks like you have old version.

atlochowski ( 2019-04-01 09:43:59 +0300 )edit

1 Answer

Sort by » oldest newest most voted
4

answered 2019-04-01 23:59:38 +0300

chris_bavaria gravatar image

updated 2019-04-02 00:01:51 +0300

For downloading neccesary files you need a Jolla device.

I upgradet my Jolla J1 to the latest Sailfish OS.

In the terminal run this commands:

,---
| Sailfish OS 3.0.2.8 (Oulanka)
'---
$ devel-su
# pkcon download /home/nemo/Downloads/ sailfish-maps-all-translations-pack
# pkcon download /home/nemo/Downloads/ sailfish-maps

Copy both files to the target device and install them with FileCase:

  1. sailfish-maps-all-translations-pack-0.6.1-1.6.3.jolla.noarch.rpm
  2. sailfish-maps-1.2.5-1.9.2.jolla.armv7hl.rpm

sailfish-maps works perfectly :))

edit flag offensive delete publish link more

Comments

Hi, I've learned that sailfish-maps is not avaliable for Jolla C (pkcon states 'not found' for sailfish-maps but downloaded sailfish-maps-all-translation-pack). Is sailfish-maps device specific or ist it usable on Jolla C also?

Regards

fortify ( 2020-05-14 18:17:17 +0300 )edit

Question tools

Follow
8 followers

Stats

Asked: 2019-03-27 12:18:58 +0300

Seen: 1,106 times

Last updated: Apr 02 '19