thinking about 4.7

Miika Turkia miika.turkia at gmail.com
Fri Sep 22 07:29:07 PDT 2017


On Fri, Sep 22, 2017 at 4:43 PM, Dirk Hohndel <dirk at hohndel.org> wrote:
> So this is missing the QML modules for location and positioning. Obviously this shouldn't crash. Equally obviously, I'd prefer if we figured out how to install those automatically as dependencies.
>
> Any idea how to do the latter?

Attached patch should do it, but I haven't tested it. It should be
easiest to test by building a new package and trying with that.

Anyway, after I installed the two qml packages, the map is still not
working (plugin not found), but at least no crash:
---8<---
qml: MapWidget.qml: cannot find a plugin named: googlemaps
qrc:/MapWidget.qml:25:2: QML Map: Error: Plugin does not support mapping.
Error message:The geoservices provider is not supported.
qrc:/MapWidget.qml:21: Error: Cannot assign [undefined] to
QDeclarativeGeoMapType*
MapWidget ready
---8<---

miika

> On September 22, 2017 9:30:33 AM EDT, Miika Turkia <miika.turkia at gmail.com> wrote:
>>I get a crash from subsurface installed from the PPA
>>
>>miika
>>
>>Ubuntu 16.04.3 LTS (xenial)
>>
>>Subsurface v4.6.4-839, built with libdivecomputer
>>v0.6.0-devel-Subsurface-branch
>>(aa0b522ab86f06ef72dca30d1f9dc86c93f0b15c)
>>
>>
>>Starting program: /usr/bin/subsurface
>>[Thread debugging using libthread_db enabled]
>>Using host libthread_db library
>>"/lib/x86_64-linux-gnu/libthread_db.so.1".
>>[New Thread 0x7fffe1571700 (LWP 14613)]
>>[New Thread 0x7fffd56ec700 (LWP 14614)]
>>[New Thread 0x7fffd4eeb700 (LWP 14615)]
>>[New Thread 0x7fffcffff700 (LWP 14616)]
>>[New Thread 0x7fffce288700 (LWP 14622)]
>>qrc:/MapWidget.qml:3:1: module "QtLocation" is not installed
>>qrc:/MapWidget.qml:4:1: module "QtPositioning" is not installed
>>qrc:/MapWidget.qml:3:1: module "QtLocation" is not installed
>>qrc:/MapWidget.qml:4:1: module "QtPositioning" is not installed
>>MapWidget status 3
>>[New Thread 0x7fffcd1c7700 (LWP 14623)]
>>
>>Thread 1 "subsurface" received signal SIGSEGV, Segmentation fault.
>>0x000000000052cfce in MapWidgetHelper::setEditMode(bool) ()
>>(gdb) bt
>>#0  0x000000000052cfce in MapWidgetHelper::setEditMode(bool) ()
>>#1  0x000000000052b0bb in MapWidget::reload() ()
>>#2  0x000000000051a521 in MainWindow::MainWindow() ()
>>#3  0x00000000005120dd in init_ui() ()
>>#4  0x0000000000510a21 in main ()
>>
>>
>>
>>
>>On Fri, Sep 22, 2017 at 3:20 PM, Dirk Hohndel <dirk at hohndel.org> wrote:
>>> So for Ubuntu, the way to test "my" binaries is to follow the
>>instructions
>>> at https://subsurface-divelog.org/download/ but to use the
>>> ppa:subsurface/subsurface-daily PPA:
>>>
>>> sudo add-apt-repository ppa:subsurface/subsurface-daily
>>> sudo apt-get update
>>>
>>> With this you should be able to run
>>>
>>> sudo apt-get install subsurface
>>>
>>>  to install the latest Subsurface test binary (4.6.4.839-1 as I write
>>this).
>>>
>>> I'd really appreciate if you could test that and report any issues.
>>> Especially with the maps plugin, BT, BLE, and any of the other fun
>>new
>>> features :-)
>>>
>>> Much appreciated.
>>>
>>> /D
>>>
>>> On Sep 22, 2017, at 5:03 AM, Aaron Scheiner <blue at aquarat.za.net>
>>wrote:
>>>
>>> Great :)
>>>
>>> I use Ubuntu 17.04 x64 as my primary OS, but I also have Windows 10
>>on a few
>>> machines and I run Subsurface mobile on Android 7 (Samsung Galaxy
>>Note 7).
>>>
>>> Aaron
>>>
>>> On Fri, Sep 22, 2017 at 1:45 PM, Dirk Hohndel <dirk at hohndel.org>
>>wrote:
>>>>
>>>> On Fri, Sep 22, 2017 at 01:29:20PM +0200, Aaron Scheiner wrote:
>>>> > I apologise in advance for this question: where are your builds
>>located
>>>> > ?
>>>>
>>>> Don't apologize - this is one of those things you have to "just
>>know", I
>>>> guess...
>>>>
>>>> http://subsurface-divelog.org/downloads/test/
>>>>
>>>> > I'll happily test them. I've been using my own so far.
>>>>
>>>> That would be great. Which OSs can you test?
>>>>
>>>> Thanks
>>>>
>>>> /D
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> subsurface mailing list
>>> subsurface at subsurface-divelog.org
>>>
>>http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
>>>
>
> --
> from my phone.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-required-qml-modules-to-Ubuntu-packaging.patch
Type: text/x-patch
Size: 991 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20170922/8357d7fd/attachment.bin>


More information about the subsurface mailing list