Error downloading GPS Xtra data: [...] Timeout was reached: No space left on device

Bug #1367835 reported by Loïc Minier
26
This bug affects 6 people
Affects Status Importance Assigned to Milestone
location-service (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Hi,

To test location-service with latest utopic-proposed image on mako, I had to make some adjustments:
1) change:
    export HERE_IMEI_FRAGMENT=$Serial
to:
    export HERE_IMEI_FRAGMENT=35513605
in /etc/init/ubuntu-location-provider-here-posclientd.conf to help the service come up on boot (see bug #1367244), not sure it helps though.

2) change
    exec /usr/bin/ubuntu-location-serviced --bus system --provider $provider $poptions
to:
    exec /usr/bin/ubuntu-location-serviced --bus system --provider $provider $poptions --provider remote::Provider --remote::Provider::name="com.ubuntu.espoo.Service.Provider" --remote::Provider::path="/com/ubuntu/espoo/Service/Provider"
in /etc/init/ubuntu-location-service.override.

I saw this in location-service log:
E0910 16:42:09.632657 4078 android_hardware_abstraction_layer.cpp:157] Error downloading GPS Xtra data: /build/buildd/net-cpp-1.1.0+14.10.20140804/src/core/net/http/impl/curl/request.h@157 - execute: Timeout was reached: No space left on device

$ system-image-cli -i
current build number: 235
device name: mako
channel: ubuntu-touch/utopic-proposed
last update: 2014-09-10 15:19:31
version version: 235
version ubuntu: 20140910
version device: 20140903.1
version custom: mako-0.3a

Seems this is due to GPS data file being saved to the wrong place:
$ df -hl
Filesystem Size Used Avail Use% Mounted on
/dev/loop0 2,0G 1,5G 423M 78% /
udev 916M 4,0K 916M 1% /dev
tmpfs 184M 728K 183M 1% /run
/dev/mmcblk0p23 13G 1,7G 11G 14% /home
/dev/loop1 107M 105M 1,5M 99% /lib/modules
none 4,0K 0 4,0K 0% /android
tmpfs 918M 4,0K 918M 1% /etc/fstab
/dev/disk/by-partlabel/cache 552M 55M 498M 10% /android/cache
/dev/disk/by-partlabel/persist 16M 4,2M 12M 27% /android/persist
/dev/disk/by-partlabel/modem 64M 54M 11M 83% /android/firmware
none 4,0K 0 4,0K 0% /sys/fs/cgroup
tmpfs 918M 32K 918M 1% /tmp
none 5,0M 0 5,0M 0% /run/lock
none 918M 96K 918M 1% /run/shm
none 100M 24K 100M 1% /run/user
tmpfs 918M 0 918M 0% /media
tmpfs 918M 8,0K 918M 1% /var/lib/sudo

Cheers,

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in location-service (Ubuntu):
status: New → Confirmed
Revision history for this message
jeffcooper (jeff-cooper) wrote :

I am also getting the "No space left on device" warning:-

phablet@ubuntu-phablet:~$ cat /var/log/ubuntu-location-service/com.ubuntu.location.WARNING
Log file created at: 2014/09/13 10:29:17
Running on machine: ubuntu-phablet
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
E0913 10:29:17.485262 5865 android_hardware_abstraction_layer.cpp:157] Error downloading GPS Xtra data: /build/buildd/net-cpp-1.1.0+14.10.20140804/src/core/net/http/impl/curl/request.h@157 - execute: Timeout was reached: No space left on device

Revision history for this message
jeffcooper (jeff-cooper) wrote :

I am now getting different errors in the logs after upgradin on the development channel now on utopic r243.

phablet@ubuntu-phablet:~$ cat /var/log/ubuntu-location-service/com.ubuntu.location.WARNING
Log file created at: 2014/09/21 08:54:13
Running on machine: ubuntu-phablet
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
E0921 08:54:13.130431 966 ofono_nm_connectivity_manager.cpp:141] Error while setting up access to radio and network stack: org.freedesktop.DBus.Error.Spawn.ChildExited: Launch helper exited with unknown return code 1
E0921 08:55:32.130309 1193 skeleton.cpp:126] org.freedesktop.DBus.Error.ServiceUnknown: The name com.ubuntu.espoo.Service.Provider was not provided by any .service files
E0921 08:55:32.137905 1193 skeleton.cpp:240] org.freedesktop.DBus.Error.ServiceUnknown: The name com.ubuntu.espoo.Service.Provider was not provided by any .service files

Revision history for this message
Loïc Minier (lool) wrote :

so first, the GPS download warning is indeed just a warning; the GPS provider currently only works standalone, there's a bug preventing it to work with the HERE location provider ("Espoo").

The issue you now have is that the default location service config points to the HERE location provider which you seem not to have. It's in the custom tarballs for krillin and mako on utopic and rtm and the wrappers are in the ubuntu-location-provider-here package.

Cheers,

Revision history for this message
Marcel Hörz (marzel) wrote :

Same on 15.04 r101 on mako

Revision history for this message
Gorsh (copateymandameunmail) wrote :

I get the same exact timeout error; mako with 15.04 (r1).

Is there a way we can hack it to work in the meantime?

Revision history for this message
Thomas Voß (thomas-voss) wrote :

We increased the timeout in https://code.launchpad.net/~thomas-voss/location-service/fix-1447161/+merge/257097. Marking as "Fix Released".

Changed in location-service (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Dirk Duschinger (dirk-duschinger) wrote :

I see that the fix is still in pending state since month. Is there any chance that this will enter any release soon?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.