On Fri, Sep 22, 2017 at 4:43 PM, Dirk Hohndel <[email protected]> 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 <[email protected]> 
> 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 <[email protected]> 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 <[email protected]>
>>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 <[email protected]>
>>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
>>> [email protected]
>>>
>>http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
>>>
>
> --
> from my phone.
From c30d05098d8e7f9714628540bc74c7661554acfe Mon Sep 17 00:00:00 2001
From: Miika Turkia <[email protected]>
Date: Fri, 22 Sep 2017 17:24:48 +0300
Subject: [PATCH] Add required qml modules to Ubuntu packaging

Signed-off-by: Miika Turkia <[email protected]>
---
 packaging/ubuntu/debian/control | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/packaging/ubuntu/debian/control b/packaging/ubuntu/debian/control
index 27f28b3..62d16c2 100644
--- a/packaging/ubuntu/debian/control
+++ b/packaging/ubuntu/debian/control
@@ -35,7 +35,7 @@ Homepage: http://subsurface-divelog.org
 
 Package: subsurface
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}, qml-module-qtlocation, qml-module-qtpositioning
 Description: Dive log program
  Subsurface is an open source divelog program that runs on Windows, Mac and Linux.
  Subsurface is able to track single- and multi-tank dives using air, Nitrox or
-- 
2.7.4

_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to