I just downloaded the latest AppImage (Subsurface-efabf0a55-x86_64.AppImage).
Now, my Perdix shows up in the Bluetooth device selection dialog and lets me
pick it. When I try to download, it connects (I can see the Perdix change from
waiting for a cmd to receiving a cmd). Then gives an error, “Dive data import
error”.
The log file is attached. The output from running with the –v switch is below.
stuartv@Force2Mint ~/Downloads $ ./Subsurface-efabf0a55-x86_64.AppImage -v
QApplication: invalid style override passed, ignoring it.
Subsurface v4.7.2-80-gefabf0a55cfe,
built with libdivecomputer v0.6.0-devel-Subsurface-branch
(7de3a549ee588fef4702ee9d894e390aca43950d)
built with Qt Version 5.9.3, runtime from Qt Version 5.9.3
built with libgit2 0.26.0
validateGL(): created OpenGLContext.
validateGL(): obtained QOpenGLFunctions.
validateGL(): detected OpenGL version 3.3.
Plugins Directory: QDir( "/tmp/.mount_SubsurrzJh9P/usr/bin" , nameFilters = {
"*" }, QDir::SortFlags( Name | IgnoreCase ) , QDir::Filters(
Dirs|Files|Drives|AllEntries ) )
cloud URL set as
"https://cloud.subsurface-divelog.org//git/[email protected][[email protected]]"
loading dive data from
("https://cloud.subsurface-divelog.org//git/[email protected][[email protected]]")
git storage: Synchronising data file
git storage: update local repo
sync with remote
https://cloud.subsurface-divelog.org//git/[email protected][[email protected]]
git storage: Sync with cloud storage
delete proxy setting
Cloud storage: checking connection to cloud server
Checking cloud connection...
git storage: fetch remote
git storage: Successful cloud connection, fetch remote
git storage: check remote status
git storage: try to update
git storage: Done syncing with cloud storage
git storage: Load dives from local cache
git storage: Successfully opened dive data
Set the current dive site: 2075573128
File locations:
cloud URL set as
"https://cloud.subsurface-divelog.org//git/[email protected][[email protected]]"
Local git storage: /home/stuartv/.subsurface/cloudstorage/4fea5517542d037c
Cloud URL:
https://cloud.subsurface-divelog.org//git/[email protected][[email protected]]
Image hashes: /home/stuartv/.subsurface/hashes
Local picture directory: /home/stuartv/.subsurface/picturedata/
Starting download from BT
Starting the thread 0
INFO: FTDI disabled
qt.bluetooth.bluez: Bluez 5 detected.
qt.bluetooth.bluez: Enabling GATT request timeout behavior 20000
qt_ble_open( C2:02:D6:CD:61:A8 )
qt.bluetooth.bluez: Creating default GAP/GATT services
qt.bluetooth.bluez: Missing CAP_NET_ADMIN permission. Cannot determine whether
a found address is of random or public type.
qt.bluetooth.bluez: addresstypeToUse: "Random"
qt.bluetooth.bluez: No settings found for peer device.
qt.bluetooth.bluez: HCI event triggered, type: e
qt.bluetooth.bluez: HCI event triggered, type: e
qt.bluetooth.bluez: HCI event triggered, type: e
qt.bluetooth.bluez: HCI event triggered, type: f
qt.bluetooth.bluez: HCI event triggered, type: f
qt.bluetooth.bluez: Current l2cp sec level: 1
qt.bluetooth.bluez: Exchanging MTU
connected to the controller for device C2:02:D6:CD:61:A8
.. discovering services
qt.bluetooth.bluez: Sending read_by_group_type request, startHandle: 1
endHandle: ffff 2800
qt.bluetooth.bluez: Received size: 3 data: "035000"
qt.bluetooth.bluez: Server MTU: 80 resulting mtu: 80
qt.bluetooth.bluez: Received size: 14 data: "11060100090000180a000a000118"
qt.bluetooth.bluez: Found uuid: "{00001800-0000-1000-8000-00805f9b34fb}" start
handle: 1 end handle: 9
Found service "{00001800-0000-1000-8000-00805f9b34fb}"
.. ignoring standard service
qt.bluetooth.bluez: Found uuid: "{00001801-0000-1000-8000-00805f9b34fb}" start
handle: a end handle: a
Found service "{00001801-0000-1000-8000-00805f9b34fb}"
.. ignoring standard service
qt.bluetooth.bluez: Sending read_by_group_type request, startHandle: b
endHandle: ffff 2800
qt.bluetooth.bluez: Received size: 22 data:
"11140b00ffff9d02e73320e0aab03c44ce0e37c225fe"
qt.bluetooth.bluez: Found uuid: "{fe25c237-0ece-443c-b0aa-e02033e7029d}" start
handle: b end handle: ffff
Found service "{fe25c237-0ece-443c-b0aa-e02033e7029d}"
.. created service object QLowEnergyService(0x7fce0400be40)
qt.bluetooth.bluez: Sending read_by_type request, startHandle: b endHandle:
ffff type: 2802 packet: "080b00ffff0228"
qt.bluetooth.bluez: Sending read_by_group_type request, startHandle: 1
endHandle: ffff 2801
qt.bluetooth.bluez: Received size: 5 data: "01080b000a"
qt.bluetooth.bluez: Error1: "no attribute in given range found" last command: 8
handle: b
qt.bluetooth.bluez: Sending read_by_type request, startHandle: b endHandle:
ffff type: 2803 packet: "080b00ffff0328"
qt.bluetooth.bluez: Received size: 5 data: "011001000a"
qt.bluetooth.bluez: Error1: "no attribute in given range found" last command:
10 handle: 1
.. done discovering services
.. discovering details
qt.bluetooth.bluez: Received size: 23 data:
"09150c00160d00d29b04707ecfbb91a3459e350b57b727"
qt.bluetooth.bluez: Found handle: c properties: QFlags(0x2|0x4|0x10) value
handle: d uuid: "{27b7570b-359e-45a3-91bb-cf7e70049bd2}"
qt.bluetooth.bluez: Sending read_by_type request, startHandle: d endHandle:
ffff type: 2803 packet: "080d00ffff0328"
qt.bluetooth.bluez: Received size: 5 data: "01080d000a"
qt.bluetooth.bluez: Error1: "no attribute in given range found" last command: 8
handle: d
qt.bluetooth.bluez: Reading all characteristic values for
"{fe25c237-0ece-443c-b0aa-e02033e7029d}"
qt.bluetooth.bluez: Received size: 5 data: "010a0d0002"
qt.bluetooth.bluez: Error1: "not readable attribute - permissions" last
command: a handle: d
qt.bluetooth.bluez: Discovering descriptor values for
"{fe25c237-0ece-443c-b0aa-e02033e7029d}"
qt.bluetooth.bluez: Sending find_info request (c) c
qt.bluetooth.bluez: Received size: 6 data: "05010c000328"
qt.bluetooth.bluez: Suppressing primary/characteristic 2803
qt.bluetooth.bluez: Sending find_info request (c) d
qt.bluetooth.bluez: Received size: 20 data:
"05020d00d29b04707ecfbb91a3459e350b57b727"
qt.bluetooth.bluez: Suppressing char handle d
qt.bluetooth.bluez: Sending find_info request (c) e
qt.bluetooth.bluez: Received size: 10 data: "05010e0002290f000129"
qt.bluetooth.bluez: Descriptor found, uuid:
"{00002902-0000-1000-8000-00805f9b34fb}" descriptor handle: e
qt.bluetooth.bluez: Descriptor found, uuid:
"{00002901-0000-1000-8000-00805f9b34fb}" descriptor handle: f
qt.bluetooth.bluez: Sending find_info request (c) 10
qt.bluetooth.bluez: Received size: 5 data: "010410000a"
qt.bluetooth.bluez: Error1: "no attribute in given range found" last command: 4
handle: 10
qt.bluetooth.bluez: Reading all descriptor values for
"{fe25c237-0ece-443c-b0aa-e02033e7029d}"
qt.bluetooth.bluez: Received size: 3 data: "0b0000"
qt.bluetooth.bluez: Received size: 4 data: "0b535050"
"{27b7570b-359e-45a3-91bb-cf7e70049bd2}"
.. enabling notifications
Descriptor list with 2 elements
Descriptor: "Client Characteristic Configuration" uuid:
"{00002902-0000-1000-8000-00805f9b34fb}"
Descriptor: "Characteristic User Description" uuid:
"{00002901-0000-1000-8000-00805f9b34fb}"
now writing "0x0100" to the descriptor "{00002902-0000-1000-8000-00805f9b34fb}"
qt.bluetooth.bluez: Writing descriptor e (size: 5 )
INFO: dc_deveice_open error value of 0
qt.bluetooth.bluez: Writing characteristic c (size: e with response: false
signed: false )
Finishing the thread Dive data import error dives downloaded 0
Set the current dive site: 2075573128
From: Dirk Hohndel [mailto:[email protected]]
Sent: Saturday, November 11, 2017 2:12 AM
To: Subsurface Mailing List; Stuart Vernon
Subject: latest AppImage - getting closer
I just pushed a few more changes to GitHub, after redoing the Qt installation
that I built
on a Trusty machine to match the Travis environment.
With this I get
- correct version number (again): turns out the problem is that Travis by
default does a
shallow clone of only 50 commits which broke our "git describe"
- working BT (somewhat limited testing, but it did connect to a Shearwater
Perdix AI for me)
- working cloud storage
What I haven't tested:
- printing directly to printer (printing to PDF works)
What still doesn't work:
- logging in to Facebook - based on the symptoms we are not getting a working
redirect
Given the size of the intersection of the venn diagram of "Linux user on
non-mainstream
distro" and "avid Facebook user" (which I would guess to be in the low single
digits), I
think this might be good enough for a release.
With that in mind... PLEASE TEST. Please find what else is broken in this
AppImage...
As was mentioned before, the latest AppImage should always be available here:
https://github.com/Subsurface-divelog/subsurface/releases/tag/continuous
(as I am writing this email, the build is still running, but it should be ready
within the
next five minutes or so)
Thanks
/D
subsurface.log
Description: subsurface.log
_______________________________________________ subsurface mailing list [email protected] http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
