[Bug 1668872] Re: provider::Item should have its own header file

2017-03-16 Thread James Henstridge
** Changed in: storage-framework (Ubuntu) Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1668872 Title: provider::Item should have its own header file To

[Bug 1672657] [NEW] unity::util::unique_gobject() and friends have ambiguous ownership semantics

2017-03-14 Thread James Henstridge
Public bug reported: The unique_gobject() helper has ownership semantics that are likely to introduce bugs in code using it. It's current logic is essentially: 1. if the object passed as an argument has a floating reference, increment its ref count. 2. if not, steal the caller's reference. S

[Bug 1616757] Re: Provider library needs to dynamically expose and hide instances of the provider as accounts are registered/unregistered

2017-03-13 Thread James Henstridge
Merged to devel at r107 ** Changed in: storage-framework (Ubuntu) Status: In Progress => Fix Committed ** Changed in: storage-framework (Ubuntu) Assignee: (unassigned) => James Henstridge (jamesh) -- You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 1616756] Re: Handle expired OAuth tokens

2017-03-08 Thread James Henstridge
** Changed in: storage-framework (Ubuntu) Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1616756 Title: Handle expired OAuth tokens To manage notification

[Bug 1616757] Re: Provider library needs to dynamically expose and hide instances of the provider as accounts are registered/unregistered

2017-03-08 Thread James Henstridge
** Changed in: storage-framework (Ubuntu) Status: New => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1616757 Title: Provider library needs to dynamically expose and hide instanc

[Bug 1616758] Re: Providers should exit automatically after a period of inactivity

2017-03-08 Thread James Henstridge
** Changed in: storage-framework (Ubuntu) Status: Fix Released => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1616758 Title: Providers should exit automatically after a period

[Bug 1669810] [NEW] Drag operations can get stuck with two mouse devices

2017-03-03 Thread James Henstridge
Public bug reported: I was occasionally noticing stuck drag operations (e.g. window resizing, or scrolling the settings app) on my ThinkPad laptop using Unity 8, and finally managed to work out how to reliably reproduce it. 1. Ensure you've got two mouse-like devices attached to the system. On

[Bug 1620635] Re: libapparmor's aa_query_label() always returns allowed = 0 for file rules containing the "owner" conditional

2017-02-05 Thread James Henstridge
John: that would be useful. Our code already tracks the peer's UID, so it will hopefully be quite easy to hook up what ever you've come up with. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1620635

[Bug 1660242] Re: Thumbnailer should be packaged as a snap

2017-02-03 Thread James Henstridge
A pull request for a "thumbnailer" snappy interface: https://github.com/snapcore/snapd/pull/2783 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1660242 Title: Thumbnailer should be packaged as a sna

[Bug 1620635] Re: libapparmor's aa_query_label() always returns allowed = 0 for file rules containing the "owner" conditional

2017-02-03 Thread James Henstridge
I had a go writing a custom interface to allow thumbnailer to access the private files of another snap here: https://github.com/snapcore/snapd/pull/2783 Unfortunately access to ~/snap/$name is also guarded by the "owner" modifier, so it suffers from the same problems as checking for access grante

[Bug 1660242] Re: Thumbnailer should be packaged as a snap

2017-01-30 Thread James Henstridge
Looks like snapcraft-desktop-helpers has been updated to mostly fix these problems. Still some rough edges, but the above script should become unnecessary soon. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.ne

[Bug 1660242] Re: Thumbnailer should be packaged as a snap

2017-01-30 Thread James Henstridge
And yet another version that updates xdg-mime too: http://paste.ubuntu.com/23892565/ After generating the mime data and pixbuf loaders for both snaps, I was able to successfully perform an album art request from one snap to the other. So that's the minimum functionality working. ** Description c

[Bug 1660242] Re: Thumbnailer should be packaged as a snap

2017-01-29 Thread James Henstridge
Fixed version of script: http://paste.ubuntu.com/23892004/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1660242 Title: Thumbnailer should be packaged as a snap To manage notifications about this b

[Bug 1660242] Re: Thumbnailer should be packaged as a snap

2017-01-29 Thread James Henstridge
Script to temporarily work around the gdk-pixbuf bug: http://paste.ubuntu.com/23891990/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1660242 Title: Thumbnailer should be packaged as a snap To mana

[Bug 1660242] [NEW] Thumbnailer should be packaged as a snap

2017-01-29 Thread James Henstridge
Public bug reported: We need to package Thumbnailer as a snap. Some requirements are: 1. package should use strict confinement 2. service should be usable from other strictly confined snaps 3. ??? ** Affects: thumbnailer (Ubuntu) Importance: High Status: Triaged ** Bug watc

[Bug 1660242] Re: Thumbnailer should be packaged as a snap

2017-01-29 Thread James Henstridge
thumbnailer-admin can't talk to thumbnailer-service. Ideally communication like this between apps from a single snap should be unrestricted: https://bugs.launchpad.net/snappy/+bug/1659724 thumbnailer-service hits problems due to missing gdk-pixbuf loader cache. Seems to be an issue with desktop

[Bug 1616756] Re: Handle expired OAuth tokens

2017-01-23 Thread James Henstridge
** Branch linked: lp:~jamesh/storage-framework/provider-auth-error -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1616756 Title: Handle expired OAuth tokens To manage notifications about this bug go

[Bug 1656042] Re: unity-scopes-api FTBFS with Qt 5.7.1

2017-01-13 Thread James Henstridge
We have changes in lp:unity-scopes-api/devel to work with the new version of googletest/googlemock that haven't been landed on trunk yet. So fixing this is probably going to be as simple as building a new release. -- You received this bug notification because you are a member of Ubuntu Bugs, whic

[Bug 1616758] Re: Providers should exit automatically after a period of inactivity

2016-12-19 Thread James Henstridge
** Branch linked: lp:~jamesh/storage-framework/provider-exit-on-idle ** Changed in: storage-framework (Ubuntu) Status: New => In Progress ** Changed in: storage-framework (Ubuntu) Assignee: (unassigned) => James Henstridge (jamesh) -- You received this bug notification becau

[Bug 1649313] Re: frieza_arm64, staging #99: SD card not mounted

2016-12-19 Thread James Henstridge
** Summary changed: - Mediascanner is not working + frieza_arm64, staging #99: SD card not mounted -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1649313 Title: frieza_arm64, staging #99: SD card no

[Bug 1649313] Re: Mediascanner is not working

2016-12-15 Thread James Henstridge
** Also affects: udisks2 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1649313 Title: Mediascanner is not working To manage notifications about

[Bug 1649313] Re: Mediascanner is not working

2016-12-15 Thread James Henstridge
Victor: Looking over the output, I can't see any entry that would correspond to the SD card (all the mmcblk0p* entries are the internal flash. Is the SD card actually mounted and visible under /media/phablet? -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 1649313] Re: Mediascanner is not working

2016-12-14 Thread James Henstridge
Okay, so according to the log the only mounted volumes are "/", "/android/protect_f", "/android/data" and "/android/cache". It hasn't detected any mounts like "/media/phablet/something", which is where the SD card should be mounted. The fact that it listed some volumes indicates that it is succes

[Bug 1649313] Re: Mediascanner is not working

2016-12-12 Thread James Henstridge
I don't have access to this device, so it is a bit difficult to tell what is going on. The following would be helpful in debugging the problem: 1. could you attach the log file (~/.cache/upstart/mediascanner-2.0.log). 2. If you run "restart mediascanner-2.0" from the terminal or an "adb shell" s

[Bug 1646695] Re: MediaFile::hasThumbnail() reports true for music files with art that is not cover art

2016-12-01 Thread James Henstridge
** Changed in: mediascanner2 (Ubuntu) Importance: Undecided => Low ** Changed in: mediascanner2 (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1646695 Title

[Bug 1646695] [NEW] MediaFile::hasThumbnail() reports true for music files with art that is not cover art

2016-12-01 Thread James Henstridge
Public bug reported: Some media formats allow for the storage of multiple pieces of artwork tagged with an image type. This includes: 1. ID3v2's APIC artwork 2. FLAC pictures 3. vorbiscomment's METADATA_BLOCK_PICTURE (which is just a base64 encoded FLAC picture). Thumbnailer will only produ

[Bug 1643732] Re: service() method returns invalid service instance

2016-11-30 Thread James Henstridge
For what it is worth, I think there is value in keeping the blank/no app ID mode working for the benefit of trusted helpers that need to work on behalf of a number of confined processes using different AppArmor labels. You could special case storage-framework, but I doubt we'll be the last to want

[Bug 1645982] [NEW] Lintian complains about package-contains-cmake-private-file a lot

2016-11-29 Thread James Henstridge
Public bug reported: Lintian complains about where cmake-extras installs its modules, as described here: https://lintian.debian.org/tags/package-contains-cmake-private-file.html https://wiki.debian.org/CMake For our Find*.cmake modules, it sounds like we could instead install them to the fol

[Bug 1644669] [NEW] Uploader.close() fails if in Loading state

2016-11-24 Thread James Henstridge
Public bug reported: When writing a test using Uploader, I thought I'd make use of the ability to send data straight away, and then just wait for the state change. Something like: uploader = folder.createFile(...); uploader->write(...); uploader->close(); // wait for statusChange

[Bug 1640323] Re: FTBFS in zesty

2016-11-24 Thread James Henstridge
This was fixed with the 0.2+17.04.20161104-0ubuntu1 release that is now in the archive. ** Changed in: storage-framework (Ubuntu) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpa

[Bug 1644577] [NEW] ItemListJobImpl silently throws away items that fail client side validation

2016-11-24 Thread James Henstridge
Public bug reported: I spent ages trying to work out why my roots() method was appearing to succeed but never emitting the itemsReceived() signal on the ItemJob. Inside the class, you have: try { validate_(md); auto item = ItemImpl::make_it

[Bug 1644127] [NEW] libubuntu-app-launchN binary package should depend on or recommend ubuntu-app-launch

2016-11-23 Thread James Henstridge
Public bug reported: The libubuntu-app-launch package can be installed without also installing the ubuntu-app-launch package. However, to operate correctly it requires the support files from the latter. Therefore, it should probably include it as a dependency, or at least a recommendation. ** A

[Bug 1644062] Re: googletest 1.8.0-2 (on zesty) breaks existing builds [add_library cannot create target "gmock" ...]

2016-11-22 Thread James Henstridge
** Branch unlinked: lp:cmake-extras -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1644062 Title: googletest 1.8.0-2 (on zesty) breaks existing builds [add_library cannot create target "gmock" ...]

[Bug 1643464] [NEW] qml-keeper binary package does not follow naming convention

2016-11-21 Thread James Henstridge
Public bug reported: Keeper doesn't follow the normal convention for naming packages containing QML modules. The usual form would be "qml-module-$normalised_name", so in this case qml-module-ubuntu-keeper. ** Affects: keeper (Ubuntu) Importance: Undecided Status: New -- You recei

[Bug 1638769] Re: Need more information from account manager

2016-11-16 Thread James Henstridge
I tried downloading your accounts-tester repo, and ran "qmlscene provider-tester/app.qml". It shows an empty window with a "create a new account" button at the bottom. When I click that, it shows an empty "Choose provider" page. On the console, it printed the following: virtual void OnlineA

[Bug 1638769] Re: Need more information from account manager

2016-11-15 Thread James Henstridge
Is this actually working as intended? Looking at the changes in the latest package it only affects the GetAccounts() call, so we don't get back the additional account metadata from the RequestAccess() method, or the AccountChanged signal. Further more, the extra "services" return value from GetAc

[Bug 1640326] Re: FTBFS on zesty

2016-11-09 Thread James Henstridge
** Branch linked: lp:~michihenning/thumbnailer/zesty-test-suppression -- You received this bug notification because you are a member of Kubuntu Bugs, which is subscribed to taglib in Ubuntu. https://bugs.launchpad.net/bugs/1640326 Title: FTBFS on zesty To manage notifications about this bug g

[Bug 1639224] Re: Cannot release because of missing zesty s390x build

2016-11-06 Thread James Henstridge
Interestingly, ubuntu-system-settings-online-accounts is still building on xenial/s390x, where upstart is still available. So the bogus dependency isn't even having the intended effect. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1639175] [NEW] Please add an "account-plugin-nextcloud" package

2016-11-04 Thread James Henstridge
Public bug reported: Please add an account-plugin-nextcloud package. For now, this could essentially be a copy of the ownCloud provider code with different branding. Having both providers side-by-side has a few benefits: 1. we can pick which one to install to get desired branding 2. if the two

[Bug 1634867] Re: Memory leak in DownloadJobImpl

2016-10-21 Thread James Henstridge
Before classifying this as a definite leak, it'd be good to work out some way to return control to the event loop for some period after this clean-up. Cancelling a job is potentially an asynchronous operation, so the future returned by cancel() needs to be kept alive until the future is ready. We

[Bug 1628473] [NEW] Unable to retrieve username/password for owncloud provider

2016-09-28 Thread James Henstridge
Public bug reported: I am trying to use online-accounts-api to access the credentials for a service attached to an OwnCloud account (using the provider from account-plugin-owncloud). However, when I successfully authenticate, the username and password returned by the PasswordReply object are both

[Bug 1619281] Re: Text.color can't be compared reliably

2016-09-16 Thread James Henstridge
QColor stores RGB colour with 16 bits per channel, so "0.5" would convert to 32768 (i.e. round(0.5 * 65535)), or 0x8000. If you convert down to 8 bits per channel, you'll have 0x80. If you convert that value back up to 16 bits per channel, you'll have 0x8080. And finally, converting that to float

[Bug 1617180] Re: memory leaks from OnlineAccounts::Manager

2016-09-15 Thread James Henstridge
Here's a log captured on vivid/amd64 (Qt 5.6.1). I can see the same QDBusPendingCallPrivate leaks. ** Attachment added: "valgrind.log" https://bugs.launchpad.net/online-accounts-api/+bug/1617180/+attachment/4741345/+files/valgrind.log -- You received this bug notification because you are a

[Bug 1617180] Re: memory leaks from OnlineAccounts::Manager

2016-09-15 Thread James Henstridge
Oops. That should read yakkety/amd64. I'll add a vivid trace shortly. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1617180 Title: memory leaks from OnlineAccounts::Manager To manage notification

[Bug 1489489] Re: The org.freedesktop.DBus.GetConnectionAppArmorSecurityContext() method is deprecated

2016-09-14 Thread James Henstridge
Tyler: thanks for the package debdiff. It has now been landed in stable-phone-overlay together with the updated mediascanner2 packages. The attached branch may be of help in fixing other dbus-cpp use cases (media-hub and content-hub?) -- You received this bug notification because you are a memb

[Bug 1489489] Re: The org.freedesktop.DBus.GetConnectionAppArmorSecurityContext() method is deprecated

2016-09-09 Thread James Henstridge
** Branch linked: lp:~jamesh/mediascanner2/bug-1489489 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1489489 Title: The org.freedesktop.DBus.GetConnectionAppArmorSecurityContext() method is deprec

[Bug 1621386] [NEW] [MIR] libsodium

2016-09-08 Thread James Henstridge
Public bug reported: [Availability] The package is currently available in universe, currently imported directly from Debian with no Ubuntu specific patches. [Rationale] libsodium is a dependency of ZeroMQ, which in turn is a dependency of unity-scopes-api. Therefore, we will need to include it

[Bug 1586860] Re: cannot find libsodium >=0.7.0

2016-09-08 Thread James Henstridge
Could I ask what packges you have installed? Libsodium is split into a number of binary packages. There is the "libsodium18" package containing everything needed to run applications compiled against the library, and "libsodium-dev", containing the extra files needed to compile applications that u

[Bug 1621002] Re: Mediascanner2 test failure on yakkety/{armhf, arm64, ppc64el} with latest dbus-cpp

2016-09-07 Thread James Henstridge
This is looking like a case of the code being miscompiled under optimisation. To reproduce, build mediascanner2 using the "RelWithDebInfo" build type and then run: ./test/test_dbus --gtest_filter=*filter_codec The test program segfaults when calling Variant::as() on a variant that should hav

[Bug 1621002] [NEW] Mediascanner2 test failure on yakkety/{armhf, arm64, ppc64el} with latest dbus-cpp

2016-09-07 Thread James Henstridge
Public bug reported: When trying to build a new mediascanner2 release, tests failed on a number of architectures when building under Yakkety. Some relevant logs: https://launchpadlibrarian.net/281862518/buildlog_ubuntu-yakkety-armhf.mediascanner2_0.112+16.10.20160831-0ubuntu1_BUILDING.txt.gz htt

[Bug 1618390] Re: dbus-cpp crash on arm64 in core::dbus::Object::get_property

2016-09-01 Thread James Henstridge
I'm not convinced my bug is the same as this one. That said, the changes in the latest dbus-cpp package don't look particularly ABI compatible, which may be the cause of this bug: https://launchpadlibrarian.net/279409841/dbus- cpp_5.0.0+15.10.20151022.1-0ubuntu5_5.0.0+16.10.20160809-0ubuntu1.diff

[Bug 1489489] Re: The org.freedesktop.DBus.GetConnectionAppArmorSecurityContext() method is deprecated

2016-08-31 Thread James Henstridge
So is there any chance of getting a libapparmor backport in the overlay PPA? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1489489 Title: The org.freedesktop.DBus.GetConnectionAppArmorSecurityContex

[Bug 1618390] Re: dbus-cpp crash on arm64 in core::dbus::Object::get_property

2016-08-31 Thread James Henstridge
I'm not sure if it is related, but I've encountered test failures in my mediascanner2 silo for dbus-cpp code that previously ran without issue: https://launchpadlibrarian.net/281863370/buildlog_ubuntu-yakkety- arm64.mediascanner2_0.112+16.10.20160831-0ubuntu1_BUILDING.txt.gz It also failed on arm

[Bug 1617180] Re: memory leaks from OnlineAccounts::Manager

2016-08-26 Thread James Henstridge
So looking at the Qt code, the QDBusPendingCallPrivate class is ref counted, where most references will be owned by a QDBusPendingCall instance (or a subclass). It has one additional reference that is managed manually in the QDBusConnectionPrivate code. I suspect it is this last reference that is

[Bug 1617180] Re: memory leaks from OnlineAccounts::Manager constructor

2016-08-26 Thread James Henstridge
** Also affects: storage-framework (Ubuntu) Importance: Undecided Status: New ** Summary changed: - memory leaks from OnlineAccounts::Manager constructor + memory leaks from OnlineAccounts::Manager -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 1615614] Re: dash is empty, scopes are missing

2016-08-25 Thread James Henstridge
Before anyone suggests it: while we do have a copy of Boost 1.58 in stable-phone-overlay, actually using it for libunity-scopes would be an ABI break if we have any scopes that link directly to boost libraries themselves (you'd get a little 1.55 and a little 1.58 in the same address space using the

[Bug 1616811] [NEW] Add a way for the client to specify what metadata they're interested in

2016-08-25 Thread James Henstridge
Public bug reported: Currently items are represented in the D-Bus API as a struct consisting of: * item_id (string) * parent_ids (array of string) * name (string) * etag (string) * type (enum) * metadata (dict) We don't currently specify what should be in that dict: should it be a small se

[Bug 1616758] [NEW] Providers should exit automatically after a period of inactivity

2016-08-25 Thread James Henstridge
Public bug reported: If a provider service hasn't been used for a certain amount of time, it should exit in an orderly fashion so it doesn't consume system resources unnecessarily. ** Affects: storage-framework (Ubuntu) Importance: Undecided Status: New -- You received this bug no

[Bug 1616756] [NEW] Handle expired OAuth tokens

2016-08-25 Thread James Henstridge
Public bug reported: For most online services, you can only determine that your credentials have expired by attempting to make an API call. So we need some way for the provider specific code to inform us that this has happened and react appropriately. This should look something like: 1. provide

[Bug 1616757] [NEW] Provider library needs to dynamically expose and hide instances of the provider as accounts are registered/unregistered

2016-08-25 Thread James Henstridge
Public bug reported: When a user registers a new account of a type handled by a running provider, that new account should be exposed from the existing service process. When a user unregisters or disables an account, the corresponding provider instance should be unpublished. ** Affects: storage-f

[Bug 1445755] Re: Provide a way to hide images from a particular location

2016-08-22 Thread James Henstridge
Doing a grep over the gallery-app source code, it doesn't look like it is using mediascanner. Note that if you stick .nomedia files in the music folder, mediascanner will respect those and make that music disappear from the music scope and app though. Mediascanner is driving the local photos scop

[Bug 1605446] Re: query specific file type in list method

2016-08-10 Thread James Henstridge
** Project changed: storage-framework => storage-framework (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1605446 Title: query specific file type in list method To manage notifications abou

[Bug 1593649] Re: Add upload with file size

2016-08-10 Thread James Henstridge
** Project changed: storage-framework => storage-framework (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1593649 Title: Add upload with file size To manage notifications about this bug go

[Bug 1604640] Re: provider-test dumps core if second instance is started

2016-08-10 Thread James Henstridge
** Project changed: storage-framework => storage-framework (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1604640 Title: provider-test dumps core if second instance is started To manage not

[Bug 1597155] Re: Account API needs Online Accounts methods

2016-08-10 Thread James Henstridge
** Project changed: storage-framework => storage-framework (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1597155 Title: Account API needs Online Accounts methods To manage notifications ab

[Bug 1600161] Re: use decltype(reply) when declaring the closures passed to remote_client::Handler

2016-08-10 Thread James Henstridge
** Project changed: storage-framework => storage-framework (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1600161 Title: use decltype(reply) when declaring the closures passed to remote_cl

[Bug 1597152] Re: Need to make provider calls exception safe

2016-08-10 Thread James Henstridge
** Project changed: storage-framework => storage-framework (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1597152 Title: Need to make provider calls exception safe To manage notifications a

[Bug 1610080] Re: unity-scope-click tests fail with segmentation fault in yakkety

2016-08-05 Thread James Henstridge
It looks like the body of this autopkgtest was disabled in February as part of the fix for bug 1532358: https://code.launchpad.net/~dobey/unity-scope-click/temp-no-int- tests/+merge/285079 All that remains is a package build triggered by "Restrictions: build- needed" in the debian/tests/control f

[Bug 1606927] Re: Qt 5.6.1 causes some powerpc tests to fail

2016-08-04 Thread James Henstridge
I encountered similar failures on a new unity-api build, with test programs segfaulting on powerpc: https://launchpadlibrarian.net/276663009/buildlog_ubuntu-yakkety-powerpc .unity-api_7.116+16.10.20160804.1-0ubuntu1_BUILDING.txt.gz ** Also affects: unity-api (Ubuntu) Importance: Undecided

[Bug 1603706] Re: Possible races in tst_daemon tests.

2016-07-19 Thread James Henstridge
With the attached branch added to the silo, we got failures for 2 out of the 20 builds. First was the vivid i386 build: https://launchpadlibrarian.net/273878957 /buildlog_ubuntu-vivid-i386.online-accounts- api_0.1+15.04.20160719-0ubuntu1_BUILDING.txt.gz 1468915489.236 GetConnectionAppArmorSec

[Bug 1603706] [NEW] Possible races in tst_daemon tests.

2016-07-16 Thread James Henstridge
Public bug reported: While building online-accounts-api in a silo, I hit test failures on two builds. Here is the yakkety armhf build that failed, and the relevant output: https://launchpadlibrarian.net/273307128/buildlog_ubuntu-yakkety-armhf .online-accounts-api_0.1+16.10.20160716-0ubuntu1_BUIL

[Bug 1602159] Re: Manager class only provides access to one (random?) service ID for an account

2016-07-14 Thread James Henstridge
So if I need to monitor N different services, I'll need to repeat the requests N different times, and set up N different signal connections to watch for changes? That seems a bit overboard when the D-Bus interface was designed so this could be handled in one go. I agree that a change like this ne

[Bug 1602159] Re: Manager class only provides access to one (random?) service ID for an account

2016-07-13 Thread James Henstridge
So for the code I'm working on, some components will be running confined and only have access to their own service IDs, while there will also be an unconfined process acting as a central registry that wants to know about the accounts that have active services for any of the related confined process

[Bug 1602159] [NEW] Manager class only provides access to one (random?) service ID for an account

2016-07-12 Thread James Henstridge
Public bug reported: The Manager class seems to be de-duplicating the list of accounts using accountId as a key. If an account has multiple service IDs, it seems like it is random chance whether I'll see the service ID I'm interested in. As a test, I wrote a little program to list available acco

[Bug 1602153] [NEW] Please add a way to create a Manager instance with a custom QDBusConnection

2016-07-12 Thread James Henstridge
Public bug reported: For my project's test suite, I use libqtdbustest to set up a private session bus in order to isolate them from my user session, and to isolate tests from each other. To work reliably, tests need to use the QDBusConnection provided by libqtdbustest rather than the shared conne

[Bug 1598968] Re: Blurry album art

2016-07-07 Thread James Henstridge
Victor: are you sure this is a thumbnailer problem? When playing around with music-app, the one place where large cover art is displayed is in the "now playing" screen. Looking at the source code, this corresponds to NowPlayingFullView.qml: http://bazaar.launchpad.net/~music-app-dev/music- app/t

[Bug 1598968] Re: Blurry album art

2016-07-07 Thread James Henstridge
** Changed in: music-app Status: Invalid => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1598968 Title: Blurry album art To manage notifications about this bug go to: https://bugs.launc

[Bug 1598933] Re: ShapeImages in scope ini file is ignored

2016-07-06 Thread James Henstridge
The ShapeImages key is exposed by libunity-scopes. It looks like the dash isn't doing anything with it: I don't see any reference to it in ScopeStyle.qml. ** Also affects: unity8 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member

[Bug 1512128] Re: System reboot when granting access to location on arale

2016-06-29 Thread James Henstridge
Could this be a dupe of bug 1551811? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1512128 Title: System reboot when granting access to location on arale To manage notifications about this bug go t

[Bug 1590904] Re: after ota-11, now TER scope and SNCF scope not able to get the GPS position

2016-06-22 Thread James Henstridge
@Foucrier: are these the two apps you're talking about? https://uappexplorer.com/app/com.ubuntu.developer.thiebaud2001.sncf-unofficial https://uappexplorer.com/app/ter.plop3 If so, both of these are web apps rather than scopes, so it isn't a unity-scopes-shell bug. It is more likely to be an int

[Bug 1512128] Re: System reboot when granting access to location on arale

2016-06-13 Thread James Henstridge
This is the last line of the logcat output prior to the reboot: E/libEGL ( 4160): call to OpenGL ES API with no current context (logged once per thread) So presumably something in that process triggering some drawing from the wrong thread? -- You received this bug notification because you

[Bug 1512128] Re: System reboot when granting access to location

2016-06-10 Thread James Henstridge
And here's a logcat taken while triggering the trust prompt reboot ** Attachment added: "logcat.log" https://bugs.launchpad.net/ubuntu/+source/webbrowser-app/+bug/1512128/+attachment/4680926/+files/logcat.log -- You received this bug notification because you are a member of Ubuntu Bugs, whic

[Bug 1512128] Re: System reboot when granting access to location

2016-06-10 Thread James Henstridge
And a tail of /var/log/syslog from another repeat of the reboot. ** Attachment added: "syslog.log" https://bugs.launchpad.net/ubuntu/+source/webbrowser-app/+bug/1512128/+attachment/4680927/+files/syslog.log -- You received this bug notification because you are a member of Ubuntu Bugs, which

[Bug 1512128] Re: System reboot when granting access to location

2016-06-10 Thread James Henstridge
Pawel asked me to attach the logs from my tests of silo 65 on Arale. I brought up the "Near by" scope, which claimed not to have location access. When I tried reloading it, I got the trust store prompt. Clicking allow resulted in the device restarting. ** Attachment added: "silo-65-logs.tar.gz"

[Bug 1570335] Re: MusicBrainz integration

2016-05-22 Thread James Henstridge
I'm not sure how well MusicBrainz would work at taking the existing file's metadata tags and improve them. When I've updated my own music using Picard, to get good results I've had to pass it a collection of music that is part of the same album and occasionally choose something other than its firs

[Bug 1286596] Re: mediascanner-service-2.0 crashed with SIGABRT in __gnu_cxx::__verbose_terminate_handler()

2016-05-10 Thread James Henstridge
If you have discovered a problem with mediascanner2, please file a new bug report rather than adding comments to closed bugs. You are almost certainly seeing a different problem in newer releases. This 2014 bug report was caused by the code throwing an exception when it could no longer create new

[Bug 1575744] Re: Language does not change back to English

2016-04-28 Thread James Henstridge
Looking inside the files under ~/.cache/unity-scope-click/network, the data files seem to contain the URL, HTTP response headers and body. I don't see anything resembling HTTP request headers, so it isn't clear how the Qt code could even implement Vary. And in fact, this seems to be an open unres

[Bug 1565694] Re: Mediascanner ties up SD cards

2016-04-05 Thread James Henstridge
*** This bug is a duplicate of bug 1565633 *** https://bugs.launchpad.net/bugs/1565633 ** This bug has been marked a duplicate of bug 1565633 BQ E4.5 (OTA-9.1): microSD card can't be unmounted/formatted - mediascanner keeps it busy and no feedback to user -- You received this bug notific

[Bug 1565633] Re: BQ E4.5 (OTA-9.1): microSD card can't be unmounted/formatted - mediascanner keeps it busy and no feedback to user

2016-04-05 Thread James Henstridge
** Also affects: mediascanner2 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1565633 Title: BQ E4.5 (OTA-9.1): microSD card can't be unmounted/fo

[Bug 1538471] Re: scope-runner-dbus.py assert failure: *** Error in `/usr/bin/python3': free(): invalid next size (fast): 0x0000000001ca17b0 ***

2016-03-23 Thread James Henstridge
One last comment: I tried downloading upstream pygobject 3.20.0 (which was released two days ago), and the scopes run fine using the Xenial typelib. So I think the underlying problem is that we've got a problem of version skew, with the versions of gobject-introspection and pygobject currently in

[Bug 1538471] Re: scope-runner-dbus.py assert failure: *** Error in `/usr/bin/python3': free(): invalid next size (fast): 0x0000000001ca17b0 ***

2016-03-23 Thread James Henstridge
So, the XML version of the gir information in /usr/share/gir-1.0/Unity-7.0.gir appears to be identical between the Wily and Xenial, so I think Vala is off the hook. Instead, it seems to be g-ir-compiler producing different output from the same XML file between Wily and Xenial. The gobject-introsp

[Bug 1538471] Re: scope-runner-dbus.py assert failure: *** Error in `/usr/bin/python3': free(): invalid next size (fast): 0x0000000001ca17b0 ***

2016-03-23 Thread James Henstridge
And sure enough. If I copy the /usr/lib/girepository-1.0/Unity-7.0.typelib file from the latest Wily package of gir1.2-unity-5.0 onto my Xenial system, the Python scope runs correctly. I haven't investigated what exactly is different in the typelib or why it changed though. -- You received this

[Bug 1538471] Re: scope-runner-dbus.py assert failure: *** Error in `/usr/bin/python3': free(): invalid next size (fast): 0x0000000001ca17b0 ***

2016-03-23 Thread James Henstridge
So, I'm not sure exactly what is causing this. While the crash is occurring in the python3-gi package, I suspect that it is innocent: this particular code path would be hit many times in programs using these bindings. It's behaviour is dependent on the gobject-introspection typelibs though, so I

[Bug 1538471] Re: scope-runner-dbus.py assert failure: *** Error in `/usr/bin/python3': free(): invalid next size (fast): 0x0000000001ca17b0 ***

2016-03-23 Thread James Henstridge
I was able to trigger the segfault just by running the scope from a terminal using the command line found in the dbus service activation file. For example: /usr/bin/python3 /usr/share/unity-scopes/scope-runner-dbus.py -s info/calculator.scope When run, I get the following error message:

[Bug 1554040] Re: Allow hiding authentication data in scope binary

2016-03-14 Thread James Henstridge
If you're patching client IDs into a program from the debian/ directory, surely it would be just as easy to patch them into the service file as into the source code though, right? As for Ubuntu One OAuth code, I agree that it's OAuth code is weirdly non-standard (I filed bug 978719 about it way ba

[Bug 1554964] Re: gunicorn raises exception due to gevent change in 1.1b1

2016-03-14 Thread James Henstridge
This is the minimal required change from the github bug: https://github.com/gevent/gevent/commit/bb785fc18ee2b401ac84a524ea8c561d4e041104.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1554964 T

[Bug 1554040] Re: Allow hiding authentication data in scope binary

2016-03-14 Thread James Henstridge
Mardy: if this doesn't actually improve security, why is this bug marked high importance? Is there any particular user who is calling for this feature? Are there any online services we are talking to that require this kind of obfuscation? -- You received this bug notification because you are a

[Bug 1554964] [NEW] gunicorn raises exception due to gevent change in 1.1b1

2016-03-09 Thread James Henstridge
Public bug reported: I was trying to get a Python project that uses gunicorn running on Xenial, and hit the following error: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/gevent/greenlet.py", line 498, in run result = self._run(*self.args, **self.kwa

[Bug 1552245] Re: Mp4 video not supported

2016-03-08 Thread James Henstridge
> The problem appears to be that the metadata is encoded in the audio > stream of a video. If there is no audio stream, there is no metadata. That doesn't sound correct -- metadata is generally part of the container or a separate stream inside the container, rather than being handled at the codec

[Bug 1550706] Re: Thumbnails not working with qrc

2016-03-04 Thread James Henstridge
** Changed in: thumbnailer (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1550706 Title: Thumbnails not working with qrc To manage notifications about this

<    1   2   3   4   5   6   7   >