/srv/irclogs.ubuntu.com/2011/04/04/#ubuntuone.txt

=== lifeless_ is now known as lifeless
=== spm` is now known as spm
=== SpamapS_ is now known as SpamapS
=== nhaines__ is now known as nhaines
=== wgrant_ is now known as wgrant
=== AlanChicken is now known as AlanBell
=== ferai is now known as jefferai
faganmandel: hey, im going to start working at 9, 8 is just too early08:00
mandelfagan: sure, you really dont have to start when I do, follow the normal office hours08:01
mandelfagan: one quick question, did you finish the last exercise?08:01
mandelis to plan the next one or not08:02
faganmandel: well it needs about 20 more lines of code for the window title stuff08:05
faganmandel: so you can get another one ready and ill get to it when I finish the othuer08:05
fagan*other08:05
mandelfagan: I'll get the next one ready, but we wont move to it until you get a pass for the last one either from ralsina or from me08:06
faganmandel: yeah sure08:07
* mandel grabs coffee08:11
* fagan working09:03
faganmandel: im confused im trying to set the window title and im getting AttributeError: 'Ui_Dialog' object has no attribute 'setWindowTitle'09:34
mandelfagan: what class does Ui_Dialog inherit from?09:34
faganthe window class?09:35
mandelfagan: have you looked at the generated code?09:35
faganah I fixed it09:36
mandelfagan: what was wrong?09:36
faganmandel: I had it addressing the dialog and I should have been addressing the object09:37
mandelfagan: can you pastebin the code you have so far, I dont think I understand you09:38
faganmandel: I did self.ui.setWindowTitle when it should have been self.setWindowTitle09:39
mandelyes, exactly, but what I dont understand is you sentence, 'I had it addressing the dialog and I should have been addressing the object'09:40
mandelthat sentece does not make sense09:40
faganmandel: self is the QDialog object and the ui bit is the py where most of the object is defined so when I did self.ui I was addressing the .py class that doesnt extend QDialog so it doesnt have setWindowTitle defined but the QDialog does so self works but self.ui doesnt since its not defined there and doesnt extend the class09:43
* fagan cant really expalin things too well at times 09:43
faganIt works thats the main thing09:44
faganAnd I understand what was wrong09:44
mandelfagan: so what is wrong wit the initial sentence09:44
faganmandel: I was trying to shorten what I was saying in the hope that it was understandable09:45
mandelfagan: just working when you are learning is not enough, you have to understand what you are doing, trial an error when programming is not a good technique, specially with a lang that is not compiled09:45
mandelfagan: I know what you were trying  to say, I knew the issue, that is why I asked you too look at the parent class of the generated code, now again, wit ht einitial setence, why is it wrong09:46
mandelread carefully, and understand what you were saying and what you wanted to say09:46
mandelfagan: ^?09:53
faganmandel: Yeah I said it in the wrong way09:56
mandelfagan: ok :)09:57
faganmandel: lp:~shanepatrickfagan/+junk/string_list10:03
faganactually hold on forgot to check pep8 and pylint10:03
* mandel looks10:03
mandelfagan: why dont you write a script that runs them before you can do the push, that way you will always do them without having to do it by hand10:04
faganmandel: or just write a note that says "DONT FORGET TO CHECK PEP8 AND PYLINT"10:05
czajkowskifagan: I think mandel suggestion is a lot more professional10:09
mandelfagan: ping me whenever you are ready for the review10:15
faganmandel: pylint fails but not on anything big so ill just disable them if thats ok10:15
mandelfagan: sure, I'll take a look at the disable warnings10:17
faganmandel: well 2 are about var names, 1 is about modifying a var that has outer scope internall10:19
fagan*internally10:19
faganthat kind of thing10:19
mandelfagan: the var names is not a bg deal, but scopes should be taken care of10:20
faganmandel: well its at class level but its still internal10:20
mandelfagan: push the code and I'll take a look10:21
fagankk10:21
mandelis the easiest :)10:21
faganmandel: oh I should make my quit button work10:22
faganso 1 sec10:22
faganmandel: ok good except pylint10:30
faganso pushed10:30
* mandel looks10:32
faganlts of bugs but it works10:34
mandelfagan: I get the following when I try to add a string:10:38
mandelTraceback (most recent call last):10:38
mandel  File "main.py", line 36, in add_dialog_show10:38
mandel    self.ui_.list_widget.emit(SIGNAL("accept(self)"), self)10:38
mandelNameError: global name 'SIGNAL' is not defined10:38
faganmandel: oh I removed QtCore from the import list10:38
mandelfagan: also, I done thing the emit is correct, 'self' is not something that Qt understands10:39
mandelfagan: also, you could have used the new PyQt syntax to emit the signal, which would have avoided the import error10:39
faganmandel: ah im doing it the old way again10:39
mandelfagan: also, when I'm editing an item I get the following: Traceback (most recent call last):10:40
mandel  File "main.py", line 49, in edit_current_item10:40
mandel    self, 'Edit' + list_type, "Enter" + self.list_type + ':')10:40
mandelNameError: global name 'list_type' is not defined10:40
mandelfagan: up and down are meant to move the items, right?10:41
faganmandel: I thought it was to move the selected item up and down10:42
faganI can change it though10:42
mandelfagan: ok, not a huge deal, but sort does not work10:42
faganmandel: that turns on auto sorting10:42
faganits a toggle10:42
mandelfagan: I see banna infront of apple all the time10:43
faganmandel: then there must be something wrong with how im checking if the toggle is checked or not10:44
ralsina_mandel ping10:44
mandelralsina_: pong10:44
ralsina_hi everyone, just popping in 15 minutes before leaving for sprint.10:44
ralsina_mandel: what version mismatch?10:45
faganralsina_: oh is that the ar sprint10:45
mandelralsina_: it seems that I have installed a higher version of Qt than the one used by pyqt and py2exe does some funny bundling together10:46
ralsina_fagan: yes10:46
ralsina_mandel: ugh10:46
mandelralsina_: it adds the systems Qt dlls, and pyQt does not like that10:46
ralsina_ok, I was curious, because buildint PyQt from source on windows is a beast10:46
mandelralsina_: yes, I've noticed… I'm going to try and downgrade the Qt version in my system10:47
mandelif I find the download...10:47
ralsina_what version do you need?10:47
mandelralsina_: let me take a look10:49
* fagan needs milk for tea brb10:50
mandelralsina_: do you remember the function used to get the qt version out of qt10:52
mandelit was something like get_qt_version...10:52
mandelralsina_: got it, is qVersion...10:53
mandelone sec10:53
mandelralsina_: I need 4.7.1 while the current Qt version I have in the system is 4.7.010:55
mandelso I need the extra .1 Although I'm not sure that wil solve the issue10:55
ralsina_hmmm... so what you really need is upgrading Qt? that's easier!10:56
mandelralsina_: yes, sorry, I'm confused because the SDK offers 4.7.0 and the libs only offers 4.7.210:56
mandelfuck… I hate windows10:56
ralsina_mandel: get Qt 4.7.2 and PyQt 4.8.3 (I think that one is 4.7.2 based)10:57
mandelralsina_: I'm downloding it atm10:57
ralsina_mandel: ok10:57
ralsina_gotta run to the sprint now10:58
ralsina_if one has two weks of sprints, is that still a sprint, or is it some sort of medium distance event, like the 800 meters dash?10:58
czajkowskimandel: you on sprint also ?10:59
mandelczajkowski: nah, the bastards left me behind.. windows guy… mine is next week10:59
mandelI blame ralsina_ for making me work on windows!!!11:00
ralsina_mandel: right because coming to a sprint in BA and leaving for London would have been so much fun ;-)11:00
ralsina_Anyway, good luck with that!11:01
czajkowskimandel: lanauge, still an Ubuntu channel :)11:02
mandelralsina_: hehe, have fun in the sprint11:09
mandelczajkowski: bastards is not that bad… Is widely used in Manchester to refer to friends :P11:10
* fagan back 11:19
fagansorry bout that needed milk11:19
faganoh and mandel the language in manchester is like a subset of english11:22
faganits not exactly the one to follow :)11:23
mandelfagan: hehe, I know, is an interesting one :)11:23
mandelfagan: can you take a look at the errors I mentioned and ping me when done?11:23
faganmandel: yep looking into them now11:25
fagantrying to translate the old style singal emiting to the new style11:25
duanedesign'lo #ubuntuone11:28
faganhellow duanedesign11:29
duanedesignmandel: lol, "bastards is not that bad… Is widely used in Manchester to refer to friends"11:29
faganhehe spelling ftw11:29
duanedesignfagan: oh i am the worst11:29
faganduanedesign: have you read my blog :P11:30
* duanedesign thinks it is in his RSS Reader.11:33
faganthere are some nice spelling mistakes if I dont actually look over the posts there11:33
* fagan loves that he spell checks his code otherwise it would be a big problem :)11:34
czajkowskifagan: shame you dont do that to your blog posts11:34
mandelfagan: where is my spelling error?11:35
duanedesignfagan: I think i added your blog awhile back to follow your zeitgeist posts11:35
* mandel curious ....11:35
faganmandel: what spelling mistake?11:35
mandelyou said: 'hehe spelling ftw'11:37
faganmandel: I said hellow11:37
fagan:)11:37
mandelah, ok :P11:37
mandelI though it was me and I was very puzzled :)11:37
faganmandel: Im having a little problem with the new signals thingy11:47
mandelwhat is the issue?11:48
faganmandel: http://paste.ubuntu.com/589208/ this should work shouldnt it?11:48
faganits giving me an error saying that accept doesnt have any attribute emit11:49
faganmandel: did you get that?11:54
mandelfagan: sorry, the irc client went nuts, can you repeat it?11:55
faganmandel: http://paste.ubuntu.com/589208/ this should work shouldnt it?11:55
faganits giving me an error saying that accept doesnt have any attribute emit11:56
mandelfagan: can you paste the full code please11:56
faganok11:56
mandelfagan: in theory, it should work, maybe there is something else going on11:57
faganhttp://paste.ubuntu.com/589211/11:57
* mandel looks11:59
faganmandel: its in the add bit11:59
mandelfagan: signals have to be added as a class instance, not a local var, there is some magic done by pyqt at the metaclass level12:01
mandelfagan: move the definition to accept to be a class instance and that will work12:01
faganmandel: cool12:02
mandelfagan: it does make sense that a sugnal has to be owned by the class and not by an instance of the class, right?12:03
faganmandel: well it makes a lot of sense since it has functions attached12:04
faganand you could probably overload stuff too12:05
mandelfagan: well, I'm more thinking of the fact that the signals have to be own by all the instances, otherwise, you could find an instance of a class that has a diff contract that the others, right?12:06
faganmandel: yeah12:07
faganmandel: well it makes a lot of sense since it has functions attached12:07
fagandamn keyboard12:08
faganso shared custom signals around the program12:08
* fagan didnt mean to repeat that but still getting used to the smaller keyboard12:08
faganworks now12:11
fagangood12:11
=== beuno is now known as beuno-lunch
faganim going to take a quick lunch and finish off that last little bit when I get back12:15
faganthe signal is working now though so its almost done now12:16
mandelralsina_: ping12:44
* fagan back 12:45
faganmandel: I think the only thing im missing now is the sort not turning on12:46
faganso ill go at that12:46
mandelok, I need to go and walk the dog, I'll be back later12:46
fagancool should be done by then12:46
mandelfagan: perfect then12:48
mandelralsina_: FYI: I'm stupid, check my twitter :P12:48
=== beuno-lunch is now known as beuno
CardinalFangkarni, hi.  Of my review of GreenDroid branch.  Fix it in the one GreenDroid branch, and "bzr merge" that to the other branch that is based on GreenDroid branch.13:00
karniCardinalFang: ACK will do that13:00
CardinalFangkarni, there is a bzr plugin to support this work scheme.   http://wiki.bazaar.canonical.com/BzrPipeline13:01
CardinalFangkarni, but, if you're careful, you need that only rarely.13:01
karniCardinalFang: Thanks!!13:02
karniCardinalFang: Reassure me where we're at. u1f-greendroid has "pending" review, u1f-extract-login (fork of u1f-greendroid) has been reviewed by you. Maybe I could get away with it this once and only merge the u1f-extract-login branch to the trunk?13:21
karniCardinalFang: unless I didn't get the " Of my review of GreenDroid branch" right and you were going back to review u1f-greendroid13:22
=== bac` is now known as bac
=== ehw_ is now known as ehw
fagandone and tested \0/13:30
* fagan has a victory cookie 13:31
faganmandel: when you get back give it a try13:40
nessitaalecu: would you please do a trivial review for https://code.launchpad.net/~nataliabidart/ubuntuone-control-panel/translate-volumes/+merge/55989 ? I already alerted dpm about the new translatable string13:44
alecunessita, sure13:44
nessitathanks!13:45
alecunessita, here, have some more pañuelos13:45
alecunessita, approved.13:47
nessitaalecu: thanks!13:47
karniCardinalFang: ignore my last question, I'll handle it.13:50
faganmorning Chipaca13:53
Chipacamo'in'13:54
fagan(or afternoon)13:54
* mandel back14:02
mandelnessita: we dont have a stand up, or do we?14:02
mandelI mean, you are all over there...14:02
mandelfagan: ok, I'm looking14:02
faganmandel: I changed the code for sorting around to just do a static sort rather than the toggle what I had14:03
faganbut at least I know how to use toggle now so it wasnt a bad thing to learn then14:03
mandelfagan: well, it is a learning experience, which is good :)14:04
faganmandel: yeah14:04
mandelfagan: can you remind me the branch?14:04
faganlp:~shanepatrickfagan/+junk/string_list14:05
mandelsuperb, thx14:05
mandelfagan: why do you need the accept signal? who is listening for it?14:08
faganmandel: it was in the task14:08
* fagan doesnt have the link today but it was in there14:09
mandelok, let me find it14:09
mandelone sec14:09
nessitamandel: I don't think so14:13
mandelnessita: ok :)14:13
mandelfagan: the exercise was the following: http://paste.ubuntu.com/589260/14:13
mandelright?14:13
faganmandel: yep14:13
mandelfagan: I think that when the signal has to be raised is not clear, so I wont complain at all about that14:14
faganmandel: cool14:15
mandelfagan: but your signals is missing a  parameter, right?14:15
=== kenvandine_ is now known as kenvandine
faganyeah I can add it now though14:15
mandelfagan: also, just for compliteness, take a loog at http://doc.qt.nokia.com/4.7/qdialog.html#accept14:16
mandelwhich is what I was looking for regarding the reject and the accept methods14:16
faganmandel: so do that rather than than listening for the signal and writing my own methods14:17
faganlots of netsplits today14:18
mandelfagan: yes, I think it is nicer to use the actual api from Qt in this case14:18
faganmandel: want me to change it?14:18
mandelfagan: also on last thing, the dialog to edit the fruit are missing a space and the adding and the editing dialgos have the same title, can you fix that?14:19
fagansure14:19
mandelfagan: yes, use the accept from QDialog, it makes more sense, right?14:19
faganyeah14:19
* fagan makes tea first :)14:19
mandelfagan: cool, let me know when you are ready for the next one then :)14:19
mandelralsina_: ping14:26
ralsina_mandel: pong14:26
mandelralsina_: what do we do with https://code.launchpad.net/~mandel/ubuntu-sso-client/windows_ui_3/+merge/55561?14:27
mandelralsina_: also, did you understand what was my issue with PyQt and PySide?14:27
faganmandel: could you explain the done() thingy for me14:36
faganI cant seem to figure it out by messing with the code14:37
mandelfagan: can you please show me the code you are using?14:38
ralsina_mandel: if it fixed itself by removing pyside, I don't need to understand it ;-)14:38
=== txwikinger2 is now known as txwikinger
ralsina_mandel: that branch you need another review? I can ask someone, I have 5 u1 people within striking distance ;_014:39
faganmandel: I dont really think that would be helpful since its so wrong14:39
mandelfagan: i would be, It be nice to see what you are thinking14:39
mandelralsina_: if you do get an extra +1 it would be great14:39
ralsina_mandel: sure, I'll just steal chad's notebook when he's not looking14:40
mandelralsina_: superb :)14:41
mandelCardinalFang: are you in BA?14:41
faganhttp://paste.ubuntu.com/589267/14:42
faganmandel: ^14:42
CardinalFangmandel, yes.  ralsina_ is <- .  thisfred is ->.14:43
faganBA?14:43
CardinalFangBuenos Aires .ar14:44
faganah14:44
faganAR would have made more sense to me :)14:44
* fagan thought it was the airline BA14:44
mandelCardinalFang: ah, lucky you, I though you were in a loan to mobile...14:44
CardinalFangmandel, I was until Friday.14:45
fagan(any excuse to go on a free trip to AR)14:45
faganmandel: so did you look at it ^14:49
mandelfagan: the done action is not for you to be use with the InputDialogs, but for you to execute when you wanna close your dialog, look at what the docs say14:49
mandelCloses the dialog and sets its result code to r. If this dialog is shown with http://doc.qt.nokia.com/4.7/qdialog.html#exec(), done() causes the local event loop to finish, and http://doc.qt.nokia.com/4.7/qdialog.html#exec() to return r.14:49
faganmandel: ah ok14:49
mandelfagan: you have to be more careful when you read the docs14:50
* fagan miss understood what you wanted with the done bit 14:50
faganI really love bzr at times :)14:52
=== rodrigo__ is now known as rodrigo_
CardinalFangfagan, well, on some of these airplanes, one has to help pedal.14:54
=== wgrant_ is now known as wgrant
CardinalFangreboot.  brb.14:55
faganmandel: done14:57
faganwith both things14:58
mandelok, smae branch, right?14:58
faganyep14:58
faganI made the dialog text better and did the quitting with self.done14:58
faganand I tested it14:58
mandelfagan: I get the following:14:59
mandelTraceback (most recent call last):14:59
mandel  File "main.py", line 50, in edit_current_item14:59
mandel    current.setText(text)14:59
mandelAttributeError: 'NoneType' object has no attribute 'setText'14:59
mandelfagan: to reproduce do the following15:00
mandelopen the app, click directly on edit without clicking in an item15:00
faganmandel: ah ok I can fix it15:00
faganI missed that error when I tested it15:01
CardinalFangedit_button.enabled = (current != None)15:02
karniJesus fsck, I overdid it.. I had unmerged improvements to the database, and now I'm all spaghetti with the branches.15:03
mandelfagan: also, while you are at it, you have missing all the keyboard accelerators15:03
* karni recovers15:03
CardinalFangkarni, :)  :(15:03
karniCardinalFang: I'll learn it the hard way!15:04
mandelkarni: bolognese?15:04
karnimandel: yeah15:04
mandelouch15:04
faganmandel: the keyboard is working for me are you sure?15:04
CardinalFangkarni, everyone does this at least once.  Now, you'll be scared to branch for a while.  :)15:04
karniCardinalFang: yeah, I am already!15:04
* karni is scared of unmerged branches now15:05
karniI somehow knew I would end up like this ehh. Will be more careful next time.15:05
CardinalFangkarni, I'm going to make a tool that lets me separate a single tree's multiple changes into several discrete commits.15:06
mandelfagan: according to the example ui, if I press ctrl+e a should be able to edit, right?15:07
karniCardinalFang: neat15:07
faganmandel: it should be alt+e15:07
mandelCardinalFang: I'd love that!15:07
mandelfagan: oh, let me try, mea culpa15:07
CardinalFangkarni, mandel, maybe on a Crazy Friday.15:07
mandelfagan: you are right, they are there15:08
faganmandel: and the student becomes the master :P15:09
mandelCardinalFang: yeah, that friday idea is great… I've got more ideas than fridays :(15:09
faganmandel: and != None doesnt work on the currentItem for some reason15:10
faganmandel: and != None doesnt work on the currentItem for some reason15:10
faganI tried switching to currentRow either but that is returning 0 when 0 means nothing and the first row15:10
faganso I dont know how to fix it other than editing the 0 row by default15:11
dobeynessita: bug #75030915:12
ubot4Launchpad bug 750309 in ubuntuone-control-panel "Services tab layout doesn't work right (affects: 1) (heat: 6)" [Undecided,New] https://launchpad.net/bugs/75030915:12
mandelfagan: may I see the codE?15:13
faganmandel: sure15:13
faganmandel: http://paste.ubuntu.com/589281/15:15
karniCardinalFang: haha, our setup script is vertero'k-prone: wget: unable to resolve host address `verterok.com.ar'15:17
CardinalFangkarni, ^ a reason I wanted releases on launchpad.  :(15:18
CardinalFangThe southern hemisphere is a single point of failure.15:19
nessitaverterok`: is there any chane you make a review for me? https://code.launchpad.net/~nataliabidart/ubuntuone-client/disable-properly/+merge/5599415:19
mandelfagan: why do you say is not work, what is the exact issue you have?15:19
karniheheh15:19
faganmandel: its still opening the window15:19
mandelfagan: try with if blah is not None:15:21
fagank15:21
mandelfagan: also, it would be a better things to do to disable the button when nothing is selected, and re-enable it when there is something, right?15:21
faganmandel: that didnt work15:22
mandelein?15:22
faganid say it would be easier to do the button select thing15:22
faganmandel: the window still opened15:22
mandelfagan: can you push the code,, because in my case, it work15:22
mandels15:22
faganweird15:22
mandelwell, at least the version I wrote15:22
faganmandel: windows or ubuntu?15:22
mandelwindows, but I can try in any other os15:23
mandelshould not matter15:23
faganpushed15:23
faganmandel: well the versions of Qt may be different15:24
karniCardinalFang: So, although I merged greendroid to extract-login, and then extract-login to trunk -- launchpad won't include the "Merged branch" notice for the former? (I have foreseen this and made a commit msg like this: "Merge (+greendroid) extract-login to trunk.")15:25
karniCardinalFang: I managed to untwist my stuff and hopefully correctly merged to trunk greendroid and extract-login.15:26
mandelfagan: yes, but that was worked at least since Qt3, I'm sure is something in the code, not in Qt15:26
mandelI'd say I'm 200% sure15:26
faganmandel: well give my one a try and if it doesnt show im right :)15:27
CardinalFangkarni, I don't know what launchpad will do.  I suspect it marked as merged every proposal that are subsets of whatever is landing in the branch.15:27
karniCardinalFang: wow wait.. it says it merged greendroid branch o_O15:27
karniCardinalFang: Okey, I need few more minutes on this heh ;)15:27
mandelralsina_: ping15:32
ralsina_mandel: pon15:33
=== ralsina_ is now known as ralsina
mandelralsina: do you have a windows vm I can borrow some time from?15:33
mandelralsina: I''m got a small issue with the ubuntu-sso-client.exe and would like to test it in a diff system15:34
ralsinamandel: no, but I have a real windows machine :-)15:34
mandelralsina: real is also good :)15:34
mandelralsina: I'll send you the mail15:34
karniwtf I've merged extract-login (forked from greendroid) and it says it merged greendroid, although it has changes from extract-login as well >_<15:34
karnibzr is becoming like a woman to me, will I be able to understand it? /me traces back his steps15:34
faganmandel: done15:35
faganI did the diable bit15:35
faganand enable when they click15:35
mandelfagan: but what was the issue with the other code?15:36
mandelI'd like to know why it was not working15:36
CardinalFangkarni, so, extract-login is a superset of greendroid.  You can't land or merge extract-login without also getting greendroid.15:36
karniCardinalFang: hah.. I went to extract-login directory, and merged the greendroid branch there. Then, I went to trunk and merged extract-login. Thus, it says I have merged greendroid (which now contained changes from extract-login)15:36
faganmandel: dont have a clue15:36
karniCardinalFang: ↑ does it make sense what I wrote?15:36
CardinalFangkarni, ^15:36
faganmandel: its not something id dwell on though15:37
faganthe other way was a better way of doing it15:37
karniCardinalFang: right, but I thought it'd display 'merged extract-login', *but* since I merged in the greendroid just before I merged extract-login to trunk15:37
mandelfagan: I'm kinda interested… 'cause I suspect that you are disabling the  button in a similar fashion, and it works, right?15:37
karniCardinalFang: extract-login now became greendroid, and that's why lp says greendroid has been merged.15:37
CardinalFangkarni, it should say both are merged.15:37
* karni shits his pants15:38
karniI'm scared ;d15:38
faganmandel: I disabled it in qt designer and listened for the selection changed signal and enabled it then15:38
CardinalFangkarni, I think it should.15:38
faganso they have to click15:38
karniCardinalFang: I think it should, indeed..15:38
mandelfagan: well, if you dont have the code, I'll guess thare was something wrong around it15:39
faganmandel: so its not the same way of doing it15:39
CardinalFangkarni, if merge-login is greendroid + something, then merging merge-login will also bring greendroid.15:39
faganmandel: well I gave you the entire bit of code15:39
faganthat was the pasted bit15:39
karniCardinalFang: that makes perfect sense. but where's the "something" has been merged as well notice :<15:39
faganand then I tried it with is not and it still didnt work15:39
faganit was very interesting15:39
karniCardinalFang: I'll poke around for a little longer..15:40
mandelfagan: ok then, push it and I'll take a look15:40
faganmandel: already done15:40
mandelok, give me some mins, I have to restart the windows vm15:41
* fagan makes tea15:41
karniCardinalFang: bzr info in my u1f-extract-login branch says at the bottom: submit branch: /home/mike/src/android/ubuntuone/u1f-gd -- what does it mean?15:41
karniCardinalFang: man I'm bothering you.. you're on the sprint, aren't you15:42
CardinalFangkarni, if you push to the destination, then every proposal that is a strict subset of all the changes that are landing will be marked as Merged.15:43
karnigreendroid has, but the 'top lever' extract-login hasn't15:43
karniand that's what makes me wonder15:44
CardinalFangkarni,  "cd local/extract-login; bzr missing lp:~karni/desktopcouch/extract-login; bzr missing lp:desktopcouch"15:45
* fagan back15:45
thisfrednessita:  bug #70217615:45
ubot4Launchpad bug 702176 in ubuntuone-client (Ubuntu Natty) (and 3 other projects) "Syncdaemon needs to open the control-panel to volumes when a folder shared to the user exceeds the owning user's quota (affects: 1) (heat: 6)" [Medium,Invalid] https://launchpad.net/bugs/70217615:45
faganOoooh I got a nice error on the cp on sat when I setup u1 on my new machine15:46
karniCardinalFang: thanks!15:46
ralsinamandel: got the email, will gert back to you in 1'15:47
mandelralsina: superb, I dont know what the hell is py2exe doing and I keep getting a runtime error :(15:47
CardinalFangkarni, Don't mind asking me.  It's important to get you mostly self-sufficient.15:47
karniCardinalFang: Uhm.15:48
faganBug #74827615:48
ubot4Launchpad bug 748276 in desktopcouch (Ubuntu) "desktopcouch-service crashed with PreconditionFailed in request(): ('file_exists', 'The database could not be created, the file already exists.') (affects: 1) (heat: 8)" [Undecided,New] https://launchpad.net/bugs/74827615:48
CardinalFangfagan, I'm on that right now.15:48
thisfredfagan: chad just fixed that15:48
fagannice15:48
* fagan loves that term "PreconditionFailed" sounds so dirty15:49
thisfredfagan: so you got that bug?15:50
faganthisfred: yep15:50
thisfredfagan: ok, then we could really use your help testing the fix :)15:51
ralsinamandel: is the sso.exe in the mail? Because it's taking forever to download from canonical's IMAP15:51
fagansure15:51
thisfredwe've not been able to reproduce it here15:51
CardinalFangfagan, ...assuming it happens somewhat often or reliably.15:51
thisfredfagan: we'll ask you when there's something ready15:51
faganCardinalFang: well I got it the first time around using u1 on my netbook15:52
mandelralsina: yes, is quite big, 16,3 MB15:52
faganso I dont know if it happens relibably15:52
fagan16,3 MB isnt that big15:52
mandelfagan: I'd like it to be a lot smaller15:52
faganmandel: well its smaller than firefox and chrome on windows15:53
faganso its small enough15:53
faganbut we can compress stuff so it can go smaller15:53
karniCardinalFang: I have overwritten the trunk back to revision 52 (I know, I won't do that again). Now merged greendroid branch, doing it safely one by one this time.15:55
ralsinamandel: can you put it somewhere I can get it via HTTP? Something weird happens with that file over IMAP15:58
* mandel wonders what is going on with his machine....15:58
ralsinafagan: the good side is that adding the rest of u1 there will MAYBE add .5MB extra15:58
mandelralsina: sure, on it15:58
mandelralsina: u1 should be the right place, right?15:58
faganralsina: well the installer wouldnt be too big anyway15:59
ralsinamandel: +1 for marketing purposes ;-)15:59
* fagan checks whats taking up all of his ram15:59
fagan(compiz is taking up 833 MB /me thinks memory leak)16:00
faganIm going to restart brb16:01
faganthat was a lot of memory compiz was taking up16:04
faganso now im at 22% instead of 60% thats not bad :)16:05
karniCardinalFang: phew` \o/, merging branches to trunk one by one is a simple and good approach. merged greendroid, merged extract-login.16:06
CardinalFang:)16:07
faganhehe im breaking everything today16:09
fagansso just broke on the u1 website for me16:09
ralsinafagan: sorry I have not been helping out with the training today, but it has been a busy morning16:11
ralsinafagan: I will be more available tomorrow16:11
* karni reviews photo-upload-current16:11
faganralsina: its cool im still fiddling with the thingy from friday16:11
faganand im having fun breaking stuff :D16:12
ralsinafagan: ok, I guess ;)16:12
mandel fagan: I'll review yur code in a second, the machine has decided to go nuts...16:12
* fagan just realised he shouldnt say he is having fun at work since fun kinda means slacking off 16:13
=== alecu__ is now known as alecu
faganim on till 5:30 mandel so take your time16:14
mandelralsina:  I'm going to reboot the bloody thing to see if it become usable, will be back asap16:14
ralsinamandel: cool16:14
faganralsina: if you have time you can review it for mandel16:15
ralsinafagan: show it to me16:15
ralsinafagan: fun is good, no problem there16:15
faganralsina: lp:~shanepatrickfagan/+junk/string_list16:16
ralsinafagan: ok, I'll take a quick look16:16
faganit should be fine except a load of pylint warnings about features and and names of some vars16:16
* fagan needed to break 1 or 2 rules to get it working right 16:16
ralsinafagan: ok, I'll check that16:17
ralsinafagan: I am pretty sure "up" and "down" should move the current item around, but wait for mandel to confirm it ;-)16:23
faganralsina: yeah mandel and I talked about that earlier16:23
faganits not biggy16:23
fagan*no :)16:24
faganthat was one of those interperatation things16:25
ralsinaok16:26
ralsinacool, so let's look at the code16:26
* fagan should comment more 16:26
ralsinafagan: suppose I told you I would prefer the buttons to group at the top of the column instead of being evenly spaced. What would you do?16:30
faganralsina: well I could stick in a vert spacer that expands16:31
ralsinaok, right answer ;)16:31
faganyay16:31
dobeytally me banana16:35
fagandobey: what does that mean :)16:35
faganralsina: so is the code up to scratch?16:42
faganother than the up down thing16:42
* fagan is still programming like a C developer at times :)16:43
joshuahooverralsina, thisfred, alecu: were any of you aware of the removal of the emblem api in unity?16:44
thisfredjoshuahoover: yeah, we all were16:44
joshuahooverthisfred: ok, cool...just wanted to make sure since it's kind of late in the release :)16:44
thisfredit's unfortunate, but we didn't use it for anything that is critical to communicate to the user\16:44
nessitadobey: can you please share with me the verify_command line for u1client for tarmac?16:46
dobeymaybe16:47
karniCardinalFang: "We might try to upload this. This makes Chad cry. XXX" hahahha16:53
CardinalFangkarni, ah, for zero modtime.  Yes.16:57
mandelralsina, fagan: I'm back, my machine was going nuts, had to get the backup hd out...17:04
Phxdrought /join #apple17:05
faganmandel: its good now though17:06
fagan?17:06
mandelfagan: yes, I take hourly backups, so not big deal, I just lost some time17:08
faganhourly backups thats interesting17:08
* fagan just puts stuff on u1 17:08
mandelralsina: here is the file: http://ubuntuone.com/p/ksa/17:09
faganmandel: its good now though lp)17:09
fagandamn it17:09
mandelfagan: well, I dont have enough space to back up the 3 windows vms I have, so the backup approach scales better :)17:09
faganmandel: oh so you test vista, 7 and xp?17:09
mandelyes17:10
faganShame you dont do windows ME17:10
faganso many people use it still and we could corner the market on all 5 of them17:10
mandelI think we are dong enough with vista already, that guy is a pain ;)17:11
faganmandel: so you have 15 minutes to check out my branch17:11
fagan15~17:12
mandelfagan: on it, did ralsina take a look?17:12
faganmandel: yeah he did17:13
faganhe asked me a question too which I got right :)17:13
faganHe just commented on the up down thingy17:13
faganthat was it17:13
mandelfagan: the up and down is about why it does not move items up and down, right?17:16
faganmandel: well that was me thinking it was for nav rather than organisation17:17
faganbut yeah that17:17
mandelfagan: fancy trying to implement that?I mean, organizing the items17:20
mandelshould be a few lines more than you have17:20
faganmandel: sure17:20
mandelok, go for it then :)17:20
faganmandel: is that the only thing im missing?17:21
karniCardinalFang: huh, I left you quite a comment lol ;D reviewed!17:21
nhainesDo we know why the emblem API was removed?17:22
mandelfagan: From the requirements, I think it is, Ill take a look and review the code as soon as you have that last thing done17:23
faganmandel: oki doke almost done17:24
faganmandel: pushed17:27
faganand teste17:27
faganand tested17:27
mandelok, on it17:29
faganI should do some error handling for if they have no rows selected or no rows17:31
* fagan does that17:31
mandelfagan: since you are touching the code, also it would be nice if you have selected and item and moved it up or down, that the current item is the one you moved17:32
* mandel hopes he makes sense17:32
mandelfagan: mainly so that if you do to ups, you move the item twice up, rather than move, clicked moved item, move17:33
faganok thats not hard17:33
* mandel hates py2exe...17:42
faganmandel: fixed and pushed17:43
faganand tested17:43
faganand im done for the day17:43
faganbut ill hang around to see the review17:43
* mandel looks17:44
mandelfagan: I think that you should have added to the buttons to be disabled the remove one, right? I mean all the others are and removing does follow the same logic the only thing is that ti does not crash17:48
mandelmainly because remove can remove something that is not there...17:48
faganmandel: oh forgot about that one17:48
* fagan adds17:49
fagananything else17:49
mandelfagan: in the title of the QInutDialogs: is better to do 'Add %s' % self.list_type17:51
mandelright?17:51
faganyeah17:51
faganI did it with + though17:51
faganbut its the same really17:51
mandelfagan: there is also no need to use \ to brake a statement when that statement is within brakets17:51
faganmandel: I did that because the lines were too long17:52
faganI could have shortened them by putting them into vars though so i could have fixed it pretty easy17:52
mandelfagan: yes, but is nicer for translations to have the full string17:53
mandelasking thranslators to work around broken sentences does not lead to good places :)17:53
faganyeah point taken ill do that from now on17:53
faganso is that it?17:54
mandelfagan: you can still use the + right: ('blah blah blha' + 'blah %s') % thing17:54
mandelfagan: I'm still looking17:55
faganI dont mind using the %s17:55
mandelfagan: since you are not passing anything apart from the default parameter to sortItems, you could have connected the sortItems slot with the clicked signal17:57
mandelthat way you would not need the extra method17:57
faganmandel: well I could but I like to make the code a little bit easier to read so you can see oh its doing something here rathar than I dont have a clue whats happening here17:59
faganit just seems easier to read17:59
faganfor me anyway17:59
mandelfagan: there is no need to loop around the list of strings, there is an addItems method18:00
faganmandel: oh didnt see that there18:00
faganthats easily fixed18:00
mandelfagan: well, yes but you have to get used to the way and advance developer would do it, and hew would probably would not add an extra method18:00
mandelfagan: I once had a friend at uni that did not like arrays and she preferred to declare all vars, it was easier for her, but we both can agree that does not scale very well :)18:01
mandelso, lets try to make the best code possible18:01
faganmandel: hah im not that bad :)18:02
* fagan prefers pointers to arrays anyway 18:02
faganok im off anyway I pushed that last change into the branch18:04
faganother than the method thing which I just prefer myself but I can fix it pretty easily18:04
mandelfagan: one last one, can you pass the list_type to be an instance variable that is set through the constructor?18:05
mandelfagan: I would not be surprise if in a normal review they will ask you to connect the things directly, the less code one writes, the less number of bugs :)18:06
mandelfagan: I'm off too, I need to walk the dog, catch you tom18:06
fagankk18:06
faganlater mandel18:07
=== zyga is now known as zyga-dinner
dobeyCardinalFang: did you ever land https://code.launchpad.net/~cmiller/ubuntuone-android-music/play-from-file-descriptor-not-path/+merge/43839 ?18:30
CardinalFangdobey, it's in the current release candidate that we're trying.  It appears to fail for MP4 files, so I poked a hole for that condition.18:32
alecucan I have some reviews on this? https://code.launchpad.net/~alecu/ubuntuone-client/fix-nautilus-symlinks-udfs/+merge/5622518:32
dobeyCardinalFang: ah, it is "Approved" so i was wondering. should it probably be changed to merged?18:34
=== zyga-dinner is now known as zyga
=== tubadaz___ is now known as tubadaz
alecuone more review, please? https://code.launchpad.net/~alecu/ubuntuone-client/fix-nautilus-symlinks-udfs/+merge/5622519:28
nessitacan I have a couple of reviews for:19:30
nessitahttps://code.launchpad.net/~nataliabidart/ubuntuone-control-panel/disable-files/+merge/56217 and19:30
nessitahttps://code.launchpad.net/~nataliabidart/ubuntuone-control-panel/better-to-translate/+merge/56242 ?19:30
nessitaalecu: I'll review yours19:30
* nessita brbs19:31
joshuahooverdobey: i forgot to mention that bug #733327 is now approved19:53
ubot4Launchpad bug 733327 in libubuntuone (Ubuntu) (and 1 other project) "[UI FFE] Notify user of missing MP3 support (affects: 1) (heat: 151)" [High,New] https://launchpad.net/bugs/73332719:53
dobeyjoshuahoover: i saw. thanks!19:54
alecunessita, comments on how to test added to the nautilus branch19:56
nessitaalecu: thanks19:56
CardinalFangthisfred, https://code.edge.launchpad.net/~cmiller/desktopcouch/preconditionfailed-lp70732119:58
fishsceneGreetings. I showed up here a few days ago because ubuntu one had replaced all of my contacts on my phone with blank contact information. Upon checking the status, there were some problems, but the reported problems do not match my issue. I'm unable to view my contacts on one.ubuntu.com and I am concerned I have just lost 241 contacts. Where should I go from here?19:59
karnifishscene: You should stick around, this is the place where you should get some answers (not directly from me, though).20:01
mandelfishscene: hmm, if this is related wth the mobile plan I thin beuno is the right person to talk to20:01
nessitaralsina: https://code.launchpad.net/~nataliabidart/ubuntuone-control-panel/disable-files/+merge/56217 and https://code.launchpad.net/~nataliabidart/ubuntuone-control-panel/better-to-translate/+merge/5624220:02
mandelfishscene: actually I think joshuahoover is the right person to start talking to, I'm sure he can help you or know who can help you20:03
mandeljoshuahoover: ping20:03
fishsceneYes, I'm using the ubuntu one mobile client on my Nexus S. I'll stick around for as long as I can, but I'm at work and might be called away suddenly. I really would appreciate any assistance. :)20:03
joshuahoovermandel: pong20:03
fishsceneShould I PM joshuahoover?20:03
fishscene^ and there he be20:03
mandelfishscene: have you reported a bug about it?20:04
mandelfishscene: with a bug number we can start doing some work even if you are not around, you can even add private data and set the bug to be private so that only the u1 developers can see the info20:05
* mandel is done for the day...20:05
fishscenemandel: Nope. I have been unable to find the bug reporting area. Truth be told, I haven't scoured the entire ubuntu one website either.20:05
mandeljoshuahoover: can you give a hand to fishscene he seems to have a fairly big issue with his contacts on his phone20:06
mandelI have no clue who should be handling his problem20:06
fishsceneI'm PM'ng him :)20:06
mandelfishscene: unless there is private info, around here is ok20:06
fishsceneok20:06
karnimandel: now I recall, beuno has mentioned fishscene (or similar person) with gone 200+ contacts. too bad he isn't around ATM..20:11
fishsceneah. yea. After I posted in here on Friday(?), I was called away and was unable to pursue any support. :(20:13
fishsceneoh, just out of curiosity, is there an estimated time when contacts will be viewable on one.ubuntu.com?20:19
=== ivanka is now known as ivanka-train
ryefishscene, hi20:33
* rye is reading the backlog20:33
CardinalFangralsina, por favor.  https://code.edge.launchpad.net/~cmiller/desktopcouch/preconditionfailed-lp707321/+merge/5624620:33
ryefishscene, do you have the access to an ubuntu-based machine?20:34
fishsceneHi rye20:34
fishscenerye, possibly20:34
fishsceneDepends on what needs to be done on the ubuntu machine20:34
ryefishscene, when you go to https://one.ubuntu.com/contacts/ do you have the records that "Contact Name was removed" ?20:35
fishsceneI get a webpage: Something has gone wrong             Sorry about that. This problem has been reported to Ubuntu One engineers and we'll fix it as quickly as possible.20:36
ralsinaCardinalFang: por supuesto!20:39
fishsceneSome contacts may have been deleted, but that was *right* before I realized what had happened.20:39
fishsceneMaybe about.. 5 contacts or so20:39
thisfredralsina, alecu_: https://bugs.edge.launchpad.net/ubuntuone-control-panel/+bug/74767720:40
ubot4Launchpad bug 747677 in unity (Ubuntu) (and 9 other projects) "[FFE] Need API to set urgency from background process (affects: 1) (heat: 12)" [High,Confirmed]20:40
ryefishscene, ok. First of all you should be able to get the contacts as a big file using http://people.canonical.com/~roman.yepishev/us/ubuntuone-couchdb-query from the Ubuntu machine and account which has Ubuntu One pairing20:40
thisfredhttps://code.edge.launchpad.net/~thisfred/ubuntuone-control-panel/remove-urgency-on-focus/+merge/5625020:40
fishscenejust a moment..20:42
ryefishscene, to get the file you need to run the script I gave the link to as python ubuntuone-couchdb-query contacts/_all_docs?include_docs=true > contacts.json20:43
fishsceneok just a sec.20:43
ryefishscene, another question - If you open a source view of the web page with "Something has gone wrong" you should be able to locate OOPS word and an identifier of one, It may be helpful to diagnose what has happened.20:44
ryefishscene, additionally I have a script to recover all the deleted documents from ubuntuone couchdb which you might want to use, but I'd like to get the backup first20:44
fishsceneOOPS-ID-1920appserverZHGIdBdEfJDAAEDDabDCAffIHFdCIaBAb14621720:45
ubot4https://lp-oops.canonical.com/oops.py/?oopsid=ID20:45
ryebeuno, sso-test-8@rtg.in.ua on a second couchdb shard seem to be having problems20:46
ryefishscene, do you have "SOmething has gone wrong" on https://one.ubuntu.com/auth/login/ ?20:46
fishscenenope. Everything works 100% fine unless I click on the contacts link20:47
ryebeuno, nm, i had no subscription, but it looks we are not handling that well20:47
fishscenewhoa20:50
fishsceneok. What do I do with this contacts.json file?20:50
=== 15SAAFJHR is now known as tubadaz
ryefishscene, what size is it ?20:52
fishsceneon Windows, 325KB, on Linux, 325.7KB20:53
fishsceneLinux exact: 33351420:53
fishscenebytes20:53
ryefishscene, in case everything else fails I'll write a converter from the json format from couchdb to something parseable20:53
ryefishscene, ok, now let me test the script I have...20:53
ryefishscene, ok, now please download the script from http://people.canonical.com/~roman.yepishev/us/ubuntuone-couchdb-undelete.py and run it as python ubuntuone-couchdb-undelete.py --dry-run contacts20:55
fishsceneok done20:56
fishsceneI saw a bunch of contacts fly by... at the end, the output was: "Adding the document to undelete queue" "Found 62 deleted documents" "Not doing anything since --dry-run is specified.20:57
alecumandel, ping21:01
ryefishscene, 62 deleted documents... not the number you are expecting to be21:01
fishsceneTrue. one.ubuntu.com says I have 231 contacts21:02
fishsceneSo that's the number I've been using. I have been unable to verify if I actually have 231 contacts :P (This number was 241 a few days ago?)21:03
fishsceneI have to run to a meeting. Sorry. I shall return as soon as possible.21:07
ryefishscene, wait, i think i misunderstood the request, you _have_ 231 contacts listed, but you cannot access them due to /contacts/ failure, right?21:08
ryefishscene, ok, i think I'll be here21:08
nessitathisfred: can I have one more review for https://code.launchpad.net/~nataliabidart/ubuntuone-control-panel/better-to-translate/+merge/56242 and for https://code.launchpad.net/~nataliabidart/ubuntuone-control-panel/disable-files/+merge/56217 ?21:09
karniCardinalFang: I hope my review will prove useful. I didn't mean to be picky, you know that. More curious :)21:33
=== fishscene is now known as fishscene_afk
nessitacan I have a couple of reviews for https://code.launchpad.net/~nataliabidart/ubuntuone-client/better-path-handling/+merge/56262 ?22:45
nessitaralsina: https://code.launchpad.net/~nataliabidart/ubuntuone-control-panel/better-path-handling/+merge/5626422:58
nessitaralsina: bug #74858523:07
ubot4Launchpad bug 748585 in ubuntuone-client (Ubuntu) (and 1 other project) "ubuntu one control panel don't find the informations (affects: 1) (heat: 6)" [Undecided,Invalid] https://launchpad.net/bugs/74858523:07
JamesTaitHappy birthday popey, if you happen to still be arounf.23:43
fishsceneok! I'm back23:56

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