[09:08] <JamesTait> Good morning all; happy Friday, and happy Wave All Your Fingers At Your Neighbours Day! :-D
[11:26] <aquarius> does Nautilus in 13.10 deliberately not execute Python scripts by clicking any more? I've marked a script as executable, but I can't find a way of making a Python file such that Nautilus will run it when clicked, rather than opening in my editor. This used to work (you got the annoying 'do you want to run this or edit it?' dialog) but now it doesn't and you can only edit... unless I'm doing something weird?
[13:11] <WebbyIT> aquarius, File -> Preference -> Behavior "Executable text files" choose Ask each time
[14:23] <dpm> mzanetti, o/
[14:24] <mzanetti> hi
[14:24] <dpm> hey
[14:24] <dpm> mzanetti, I'm testing Reminders trunk, and I'm having some trouble getting the notes content, have you seen something like that as well?
[14:25] <mzanetti> no
[14:25] <dpm> mzanetti, it loads the list of my notes, but when I click on a note it won't download the content. Here's what I see on the terminal http://pastebin.ubuntu.com/6891520/
[14:25] <dpm> on a N4
[14:26] <dpm> the automatic login if there is a single account works great, though!
[14:26] <mzanetti> huh... interesting
[14:27] <dpm> that's using this click package: http://people.canonical.com/~dpm/click/com.ubuntu.reminders_0.1.latest_armhf.click
[14:27] <mzanetti> hmm
[14:27] <mzanetti> I wonder how that broke
[14:27] <dpm> and the accounts plugin package from https://launchpad.net/~dpm/+archive/ppa?field.series_filter=trusty
[14:29] <mzanetti> uh... found the issue
[14:29] <mzanetti> dafuq
[14:33] <mzanetti> dpm: https://code.launchpad.net/~mzanetti/reminders-app/fix-fetching-notes/+merge/205372
[14:33] <mzanetti> meh... I know what happened :D
[14:34] <mzanetti> I just removed the ! before pushing to do the negative test... apparently I committed that
[14:34]  * dpm hugs mzanetti :)
[14:35] <dpm> mzanetti, ok, I'll test that one straight away
[14:35] <mzanetti> kk
[14:53] <mzanetti> dpm: so are we ok with the reminders state for mwc? or something that needs to happen before that?
[14:57] <dpm> mzanetti, I wanted to talk a bit about it during the meeting the other day, but I was away for a bit and I didn't manage. So I was thinking:
[15:00] <dpm> 1) Getting the app to be rock solid. It works very well for me so far, but it'd be good to do some more testing and polish it if there are any bugs that needs fixing
[15:02] <dpm> 2) Getting the accounts login changes done with the trusted helper (it seems mardy is working on this) and the initial screen prompting to create an account and using the trusted helper if there isn't any
[15:03] <dpm> 3) We're talking to Dani to give us some tablet designs. We probably won't manage to do a full tablet design, but it'd be good to have a couple of views that expand to tablet mode if possible. But let's talk about it next week, or as soon as we get the designs
[15:05] <dpm> mzanetti, that's what I was thinking, does it make sense to you. I also talked to Lucas Romero, who's interested in doing visual designs, but I don't think visuals are that important as long as the app works and the wireframes are implemented
[15:07] <mzanetti> dpm: 1) can you do a call for people to test it? I'm not using evernote so it won't get much real life testing from me
[15:07] <dpm> ack
[15:07] <mzanetti> dpm: 2) yeah, mardy has started on that. shouldn't be much to finish it off
[15:07] <dpm> rather than ack, yes
[15:07] <dpm> ok
[15:08] <mzanetti> dpm: 3) ok. let me know when you have some designs... should be fairly easy to implement as there isn't any logic in our qml files
[15:08] <dpm> awesome
[15:09] <dpm> hm, I wonder why Jenkins is not running on https://code.launchpad.net/~mzanetti/reminders-app/fix-fetching-notes/+merge/205372
[15:10] <mzanetti> dpm: seems it is, no?
[15:13] <dpm> I don't see it
[15:14] <dpm> asking on -ci-eng
[15:29] <dpm> mzanetti, it seems adding images via the content hub is not working right now. It definitely was last week (I don't know the revision, though), and I think the app has had no changes in that area lately, so perhaps it's something that's changed in the platform? bug 1277557
[15:29] <ubot2`> Launchpad bug 1277557 in Ubuntu Reminders app "Adding images with the content hub does not work" [High,Triaged] https://launchpad.net/bugs/1277557
[15:44] <kazak1377> Hello everybody. I need help to integrate my player into volume menu. (player wrote in qt5)
[15:45] <kazak1377> Or just create an tray icon.
[15:46] <kazak1377> Cause QTrayIcon broke in unity(((
[17:03] <nik90> gatox: hey, I was told by elopio that you are the developer of Ninja IDE. I just started using Ninja IDE since yesterday after being recommended by him and it made my python life so much easier. Thanks a lot!
[17:04] <gatox> nik90, awesome!!! thanks :D
[17:05]  * elopio collects comission.
[17:05] <elopio> gatox: I want a shirt :)
[17:05] <nik90> lol
[17:05] <gatox> elopio, jeje next sprint you are going to get one! :P
[17:06] <elopio> \o/
[17:08] <nik90> elopio: In for index, day_element in enumerate(daylist):
[17:08] <nik90>     if(day_element.text == day):
[17:08] <nik90>         day_index = index
[17:08] <nik90>         break
[17:09] <nik90> does index and day_element both get incremented at every loop?
[17:09] <gatox> yes
[17:09] <nik90> also shouldn't the if loop be daylist[0].text == day
[17:09] <nik90> gatox: thnx
[17:10] <gatox> nik90, and no to the second question
[17:11] <nik90> gatox: hmm..daylist is an array and I am trying to compare if the daylist[index] is equal to the day. Or does day_element get assigned to daylist[index]?
[17:12] <gatox> nik90, day_element gets assigned with daylist[index] in each iteration
[17:12] <nik90> gatox: ah okay. now I understand
[17:12] <dpm> balloons, for the reminders app: https://code.launchpad.net/~mzanetti/reminders-app/fix-fetching-notes/+merge/205372
[17:13] <gatox> nik90, also, you can do:  day_index = daylist.index(day) (and avoid the for and the if)
[17:15] <nik90> gatox: ooh that's a one liner..awesome!
[17:17] <elopio> oh, that's cool.
[17:18] <nik90> elopio, gatox: hmm I get an error that ValueError: 'Saturday' is not in list
[17:18] <nik90> despite it working before with the for loop
[17:18] <elopio> gatox: but how do you tell the index to use the text property for the check?
[17:18] <gatox> ah sorry.... i thought it was a list of strings
[17:19] <gatox> elopio, well if the comparison is always by text..... you could implement the __eq__ method in that object... i don't know what that object is
[17:19] <elopio> gatox: it's an autopilot introspection element.
[17:20] <nik90> no no let's not go too deep into python with __eq__ .. I have no idea how that works nor am I comfortable :P
[17:21] <elopio> yeah, I wouldn't recommend it in this case :)
[17:21] <balloons> dpm: the quick fix regardless is to push the version to be higher than your manual upload, make sense?
[17:22] <nik90> elopio: one more question
[17:22] <nik90> In day_element = self.wait_select_single(
[17:22] <nik90>         toolkit_emulators.CheckBox, objectName='repeatDaysSwitch{}'.format(index))
[17:22] <nik90> is there a difference between toolkit_emulators.CheckBox and just CheckBox?
[17:22] <elopio> nik90: next(day_element for day_element in daylist if day_element.text == day)
[17:22] <elopio> there's your one liner :)
[17:22] <balloons> dpm: do note though, that you will replace what's in the ppa with the merge
[17:22] <elopio> but I prefer the for.
[17:23] <dpm> balloons, it shouldn't be difficult, would you recommend us to do that rather than waiting for a proper fix? I don't mind replacing what's in the PPA, that's fine
[17:23] <nik90> elopio: I will stick with the for now
[17:23] <elopio> nik90: no, autopilot has emulators.CheckBox in a cache so it will return the same object.
[17:23] <elopio> but it's clearer with emulators.CheckBox
[17:23] <elopio> then you know where the new methods come from.
[17:23] <nik90> ok
[17:26] <elopio> nik90: I forgot to mention that you should raise an exception if you don't find the day on the list.
[17:28] <nik90> elopio: hmm how do I do that?
[17:29] <nik90> elopio: also will the toolkit_emulators thing work for other stuff like Button, MultiValue, Label etc etc?
[17:29] <elopio> elopio:
[17:29] <elopio> for index, day_element in enumerate(daylist):
[17:29] <elopio>     if(day_element.text == day):
[17:29] <elopio>         day_index = index
[17:29] <elopio>         break
[17:29] <elopio> else:
[17:29] <elopio>      raise ClockEmulatorException('Unknown day: {}'.format(day))
[17:30] <elopio> nik90: it will execute the else statement if the for ends normally, without finding a break.
[17:31] <elopio> nik90: we don't have emulators for Button, MultiValue or Label, so calling toolkit_emulators.Button will fail.
[17:31] <elopio> when there's no emulator, you need to pass 'Button'
[17:31] <nik90> elopio: ah okay makes sense.
[17:31] <nik90> elopio: I need to first import the ClockEmulatorException class from your branch
[17:31] <nik90> for the exception
[17:33] <elopio> nik90: you could raise any exception, like ValueError. But I prefer when we throw our own exceptions. It could make easier an hypothetical handling of that exception
[17:34] <nik90> elopio: yeah yeah I agree. I will just copy paste that code from your MP
[17:47] <nik90> elopio: addressed all your comments in the MP :-)
[19:08] <dpm> balloons, https://code.launchpad.net/~dpm/reminders-app/content-exchange-permission/+merge/205420
[19:09] <mzanetti> dpm: hey, could we have your opinion on the very last point here? https://code.launchpad.net/~rpadovani/reminders-app/multiple-accounts/+merge/205066/comments/479604
[19:10] <dpm> mzanetti, on it
[19:10] <mzanetti> dpm: thanks for this: https://code.launchpad.net/~dpm/reminders-app/content-exchange-permission/+merge/205420
[19:11] <mzanetti> totally missed that
[19:11] <dpm> np :)
[19:48] <dpm> balloons, can you retrigger Jenkins for https://code.launchpad.net/~dpm/reminders-app/content-exchange-permission/+merge/205420 ? The prerequisite branch has been now merged
[19:49] <dpm> balloons, and approve the branch along the way?
[19:52] <balloons> dpm, I already sent it along again