/srv/irclogs.ubuntu.com/2014/02/07/#ubuntu-app-devel.txt

=== chriadam|away is now known as chriadam
=== chriadam is now known as chriadam|away
JamesTaitGood morning all; happy Friday, and happy Wave All Your Fingers At Your Neighbours Day! :-D09:08
aquariusdoes 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?11:26
=== MacSlow is now known as MacSlow|lunch
=== MacSlow|lunch is now known as MacSlow
WebbyITaquarius, File -> Preference -> Behavior "Executable text files" choose Ask each time13:11
=== kalikiana_ is now known as kalikiana
dpmmzanetti, o/14:23
mzanettihi14:24
dpmhey14:24
dpmmzanetti, I'm testing Reminders trunk, and I'm having some trouble getting the notes content, have you seen something like that as well?14:24
mzanettino14:25
dpmmzanetti, 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
dpmon a N414:25
dpmthe automatic login if there is a single account works great, though!14:26
mzanettihuh... interesting14:26
dpmthat's using this click package: http://people.canonical.com/~dpm/click/com.ubuntu.reminders_0.1.latest_armhf.click14:27
mzanettihmm14:27
mzanettiI wonder how that broke14:27
dpmand the accounts plugin package from https://launchpad.net/~dpm/+archive/ppa?field.series_filter=trusty14:27
mzanettiuh... found the issue14:29
mzanettidafuq14:29
mzanettidpm: https://code.launchpad.net/~mzanetti/reminders-app/fix-fetching-notes/+merge/20537214:33
mzanettimeh... I know what happened :D14:33
mzanettiI just removed the ! before pushing to do the negative test... apparently I committed that14:34
* dpm hugs mzanetti :)14:34
dpmmzanetti, ok, I'll test that one straight away14:35
mzanettikk14:35
mzanettidpm: so are we ok with the reminders state for mwc? or something that needs to happen before that?14:53
dpmmzanetti, 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:14:57
dpm1) 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 fixing15:00
dpm2) 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 any15:02
dpm3) 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 designs15:03
dpmmzanetti, 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 implemented15:05
mzanettidpm: 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 me15:07
dpmack15:07
mzanettidpm: 2) yeah, mardy has started on that. shouldn't be much to finish it off15:07
dpmrather than ack, yes15:07
dpmok15:07
mzanettidpm: 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 files15:08
dpmawesome15:08
dpmhm, I wonder why Jenkins is not running on https://code.launchpad.net/~mzanetti/reminders-app/fix-fetching-notes/+merge/20537215:09
mzanettidpm: seems it is, no?15:10
dpmI don't see it15:13
dpmasking on -ci-eng15:14
dpmmzanetti, 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 127755715:29
ubot2`Launchpad bug 1277557 in Ubuntu Reminders app "Adding images with the content hub does not work" [High,Triaged] https://launchpad.net/bugs/127755715:29
kazak1377Hello everybody. I need help to integrate my player into volume menu. (player wrote in qt5)15:44
kazak1377Or just create an tray icon.15:45
kazak1377Cause QTrayIcon broke in unity(((15:46
=== gatox is now known as gatox_lunch
=== gatox_lunch is now known as gatox
=== jedidiah_ is now known as jedidiah
nik90gatox: 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:03
gatoxnik90, awesome!!! thanks :D17:04
* elopio collects comission.17:05
elopiogatox: I want a shirt :)17:05
nik90lol17:05
gatoxelopio, jeje next sprint you are going to get one! :P17:05
elopio\o/17:06
nik90elopio: In for index, day_element in enumerate(daylist):17:08
nik90    if(day_element.text == day):17:08
nik90        day_index = index17:08
nik90        break17:08
nik90does index and day_element both get incremented at every loop?17:09
gatoxyes17:09
nik90also shouldn't the if loop be daylist[0].text == day17:09
nik90gatox: thnx17:09
gatoxnik90, and no to the second question17:10
nik90gatox: 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:11
gatoxnik90, day_element gets assigned with daylist[index] in each iteration17:12
nik90gatox: ah okay. now I understand17:12
dpmballoons, for the reminders app: https://code.launchpad.net/~mzanetti/reminders-app/fix-fetching-notes/+merge/20537217:12
gatoxnik90, also, you can do:  day_index = daylist.index(day) (and avoid the for and the if)17:13
nik90gatox: ooh that's a one liner..awesome!17:15
elopiooh, that's cool.17:17
nik90elopio, gatox: hmm I get an error that ValueError: 'Saturday' is not in list17:18
nik90despite it working before with the for loop17:18
elopiogatox: but how do you tell the index to use the text property for the check?17:18
gatoxah sorry.... i thought it was a list of strings17:18
gatoxelopio, well if the comparison is always by text..... you could implement the __eq__ method in that object... i don't know what that object is17:19
elopiogatox: it's an autopilot introspection element.17:19
nik90no no let's not go too deep into python with __eq__ .. I have no idea how that works nor am I comfortable :P17:20
elopioyeah, I wouldn't recommend it in this case :)17:21
balloonsdpm: the quick fix regardless is to push the version to be higher than your manual upload, make sense?17:21
nik90elopio: one more question17:22
nik90In day_element = self.wait_select_single(17:22
nik90        toolkit_emulators.CheckBox, objectName='repeatDaysSwitch{}'.format(index))17:22
nik90is there a difference between toolkit_emulators.CheckBox and just CheckBox?17:22
elopionik90: next(day_element for day_element in daylist if day_element.text == day)17:22
elopiothere's your one liner :)17:22
balloonsdpm: do note though, that you will replace what's in the ppa with the merge17:22
elopiobut I prefer the for.17:22
dpmballoons, 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 fine17:23
nik90elopio: I will stick with the for now17:23
elopionik90: no, autopilot has emulators.CheckBox in a cache so it will return the same object.17:23
elopiobut it's clearer with emulators.CheckBox17:23
elopiothen you know where the new methods come from.17:23
nik90ok17:23
elopionik90: I forgot to mention that you should raise an exception if you don't find the day on the list.17:26
nik90elopio: hmm how do I do that?17:28
nik90elopio: also will the toolkit_emulators thing work for other stuff like Button, MultiValue, Label etc etc?17:29
elopioelopio:17:29
elopiofor index, day_element in enumerate(daylist):17:29
elopio    if(day_element.text == day):17:29
elopio        day_index = index17:29
elopio        break17:29
elopioelse:17:29
elopio     raise ClockEmulatorException('Unknown day: {}'.format(day))17:29
elopionik90: it will execute the else statement if the for ends normally, without finding a break.17:30
elopionik90: we don't have emulators for Button, MultiValue or Label, so calling toolkit_emulators.Button will fail.17:31
elopiowhen there's no emulator, you need to pass 'Button'17:31
nik90elopio: ah okay makes sense.17:31
nik90elopio: I need to first import the ClockEmulatorException class from your branch17:31
nik90for the exception17:31
elopionik90: 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 exception17:33
nik90elopio: yeah yeah I agree. I will just copy paste that code from your MP17:34
nik90elopio: addressed all your comments in the MP :-)17:47
dpmballoons, https://code.launchpad.net/~dpm/reminders-app/content-exchange-permission/+merge/20542019:08
mzanettidpm: hey, could we have your opinion on the very last point here? https://code.launchpad.net/~rpadovani/reminders-app/multiple-accounts/+merge/205066/comments/47960419:09
dpmmzanetti, on it19:10
mzanettidpm: thanks for this: https://code.launchpad.net/~dpm/reminders-app/content-exchange-permission/+merge/20542019:10
mzanettitotally missed that19:11
dpmnp :)19:11
dpmballoons, can you retrigger Jenkins for https://code.launchpad.net/~dpm/reminders-app/content-exchange-permission/+merge/205420 ? The prerequisite branch has been now merged19:48
dpmballoons, and approve the branch along the way?19:49
balloonsdpm, I already sent it along again19:52
=== jackson is now known as Guest89321
=== Guest89321 is now known as Noskcaj

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!