[Bug 1657845] Re: Unity8 snap can't load the testability libraries

2017-02-16 Thread Michael Zanetti
ok. fixes for unity8 and unity8-session-snap are relased (the LD_LIBRARY_PATH and testability interface stuff). What's missing is releasing the linked branch for autopilot-qt. Marking as fixed for unity8, added autopilot-qt as INPROGRESS ** Changed in: unity8 (Ubuntu) Status: Incomplete =

[Bug 1657845] Re: Unity8 snap can't load the testability libraries

2017-02-16 Thread Michael Zanetti
using the autopilot-qt snap from the store, it doesn't work for me, because that snap is missing libqttestability.so. Building an autopilot-qt snap from this branch [1] makes it work for me. Running it with that, it works fine, I can call the autopilot interface on D-Bus: $ qdbus com.canonical.

[Bug 1657845] Re: Unity8 snap can't load the testability libraries

2017-02-14 Thread Michael Terry
Agreed. I see similar (using desktop u8 snap). Looking into it... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1657845 Title: Unity8 snap can't load the testability libraries To manage notificat

[Bug 1657845] Re: Unity8 snap can't load the testability libraries

2017-02-14 Thread Santiago Baldassin
It seems that unity8 is not registered to dbus in the snap version. While loged in the deb version I got this gdbus introspect --session --dest=com.canonical.Unity8 --object-path /com/canonical/Autopilot/Introspectionnode /com/canonical/Autopilot/Introspection { interface com.canonical.Autopi

[Bug 1657845] Re: Unity8 snap can't load the testability libraries

2017-02-08 Thread Santiago Baldassin
I've just tested the autopilot-qt snap with the deb version of unity8 and I was able to introspect it. I think that rules autopilot-qt out of the equation. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs

[Bug 1657845] Re: Unity8 snap can't load the testability libraries

2017-02-08 Thread Santiago Baldassin
And it get's even more confusing. Switching to the deb version of unity8 in Zesty also work and the log output is exactly the same as the snap version https://pastebin.ubuntu.com/23954748/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubunt

[Bug 1657845] Re: Unity8 snap can't load the testability libraries

2017-02-08 Thread Michael Terry
So in both the phone and the snap, the libraries get loaded twice. The first registration succeeds and the second fails. But on the phone introspection works and with the snap, it doesn't. But we don't have clues as to why yet... :( -- You received this bug notification because you are a memb

[Bug 1657845] Re: Unity8 snap can't load the testability libraries

2017-02-08 Thread Santiago Baldassin
Taking a look at unity8 in the phone, where the introspection is actually working, u8 tries to load the library twice and the second attempt gets the registration error. I assumed that the object could not be registered because it was already registered. https://pastebin.ubuntu.com/23954187/ In th

[Bug 1657845] Re: Unity8 snap can't load the testability libraries

2017-02-08 Thread Santiago Baldassin
Added more logs to autopilot-qt and there's something weird. The dbus registration is successfully completed but right after that a second attempt to load the library takes place and the registration to dbus can't be completed https://pastebin.ubuntu.com/23953406/ -- You received this bug notif

[Bug 1657845] Re: Unity8 snap can't load the testability libraries

2017-02-07 Thread Santiago Baldassin
The testability libraries seemed to be loaded now and yet the introspection is not working. See the script attached ** Attachment added: "introspection_bug.py" https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1657845/+attachment/4814902/+files/introspection_bug.py -- You received this b

[Bug 1657845] Re: Unity8 snap can't load the testability libraries

2017-02-03 Thread Santiago Baldassin
much better, now the libraries are present in the testability folder but I can't still introspect unity8. phablet@ubuntu:~$ snap run --shell unity8-session To run a command as administrator (user "root"), use "sudo ". See "man sudo_root" for details. phablet@ubuntu:/home/phablet$ ls $SNAP/testabi

[Bug 1657845] Re: Unity8 snap can't load the testability libraries

2017-02-02 Thread Michael Terry
Should be better now. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1657845 Title: Unity8 snap can't load the testability libraries To manage notifications about this bug go to: https://bugs.launch

[Bug 1657845] Re: Unity8 snap can't load the testability libraries

2017-02-02 Thread Santiago Baldassin
it does look better but I'm not able to start a unity8 session. it seems that it's broken: https://launchpad.net/bugs/1661216 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1657845 Title: Unity8 snap

[Bug 1657845] Re: Unity8 snap can't load the testability libraries

2017-02-01 Thread Michael Terry
OK, good call. Try current edge store. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1657845 Title: Unity8 snap can't load the testability libraries To manage notifications about this bug go to: h

[Bug 1657845] Re: Unity8 snap can't load the testability libraries

2017-01-31 Thread Santiago Baldassin
fyi, here's a great explanation about how this is supposed to work: http://askubuntu.com/questions/841004/cannot-get-basic-content- interface-example-working-with-snapcraft -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.l

[Bug 1657845] Re: Unity8 snap can't load the testability libraries

2017-01-31 Thread Santiago Baldassin
Hi Michael, I gave it a try and it is not working. The problem is that the path added to LD_LIBRARY_PATH does not seem to be ok. ./snappyenv:export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$SNAP/testability/usr/lib:$SNAP/testability/usr/lib/$ARCH:$SNAP/testability/usr/lib/$ARCH/mesa In the snap that I in

[Bug 1657845] Re: Unity8 snap can't load the testability libraries

2017-01-31 Thread Michael Terry
The current edge store snap should be setting LD_LIBRARY_PATH (correctly, I hope). I had a hard time telling if the content interface mount was working as expected, so please let me know if it works as expected. -- You received this bug notification because you are a member of Ubuntu Bugs, which

[Bug 1657845] Re: Unity8 snap can't load the testability libraries

2017-01-31 Thread Santiago Baldassin
Hi Michael, $SNAP/testability/ should be added to LD_LIBRARY_PATH. QT loads the testability libraries if either the -testability command line argument is passed to QCoreApplication, or if the QT_LOAD_TESTABILITY environment variable is set -- You received this bug notification because you are a

[Bug 1657845] Re: Unity8 snap can't load the testability libraries

2017-01-31 Thread Michael Terry
OK, I've kicked off a snap build/upload for unity8 that adds a plug for this. But I'm not sure what the expectation is for actually using the content interface. So I plug into the testability slot provided by autopilot-qt. Which gets mounted into $SNAP/testability/ -- so far so good. But what's

[Bug 1657845] Re: Unity8 snap can't load the testability libraries

2017-01-25 Thread Michał Sawicz
** Changed in: unity8-session-snap Status: New => Triaged ** Changed in: unity8-session-snap Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1657845 Title: Uni

[Bug 1657845] Re: Unity8 snap can't load the testability libraries

2017-01-20 Thread Michał Sawicz
** Also affects: unity8-session-snap Importance: Undecided Status: New ** Changed in: unity8 (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/1657845