/srv/irclogs.ubuntu.com/2011/05/20/#ubuntuone.txt

duanedesignrye: figued you are not on know buut wanted to leave you this for  in the mtning. Was looking at bugs that OPs have responded to. bug 76917605:08
ubot4Launchpad bug 769176 in ubuntuone-client "Ubuntu One Reporting Incorrect File Storage Statistics (affects: 1) (heat: 31)" [Undecided,Incomplete] https://launchpad.net/bugs/76917605:08
mandelralsina: ping08:35
faganmorning09:03
faganbe back in 2009:26
faganback10:02
JamesTaitHappy Friday, everyone! :D10:02
faganJamesTait: dont make me sing some rebecca black10:03
faganOk I think im after being sent back to the 90s La Noire comes with 3 disks10:04
* fagan is going to distract himself for an hour and then get back to twisted10:06
crodashi guys, got a couple of questions regarding #ubuntuone.10:11
crodasis this the right place to ask?10:11
faganyep10:11
faganask away and someone will answer when they get the chance10:11
crodasgreat, will it work with my old android phone? (2.1)10:14
crodasI want to move all my music to ubuntuone10:14
crodas(about 22gb)10:14
fagancrodas: well I dont know myself but you can check in the marketplace on the phone10:19
faganjust search for ubuntu one and it should give you it10:19
crodasI have it installed10:19
crodasalready10:19
crodasbut just want to be sure before buy the service10:19
crodasalso, does it have any sort of limits?10:19
crodasI want to copy the 22gb of musics10:20
faganthen yep it will work but the 22gb should take a long while to sync10:20
crodasfagan, I know :P10:20
crodasI will use it as a backup, my laptop was stolen last week here in Spain.10:21
crodasand I never backup my mp3 files10:21
fagancrodas: nope doesnt have any limits stream all you want10:22
crodasfagan awesome!10:22
crodaswill try tonight10:22
crodasand I will write here if it works10:23
fagancool10:25
ryecrodas, are you using ubuntu 11.04?10:41
crodasrye, yes, I bought a new laptop and I installed the last one10:46
crodasI believe it's 11.0410:46
ryecrodas, then it will be syncing faster :)10:46
crodasrye, cool!10:47
crodasdoes it provide any sort of api?10:47
ryecrodas, https://one.ubuntu.com/developers/10:47
crodasIt'll be cool to implement another client, only for fun10:47
ryecrodas, sorry, https://one.ubuntu.com/developer/10:47
ryecrodas, file sync api based on rest interface which is FAST!10:47
crodasrye, what is it using? nodejs or python?10:48
crodasI've got a friend in canonical10:48
crodasso I bet python :P10:48
ryecrodas, the server-side is in python10:48
crodasrye, cool10:48
crodas:)10:48
crodas‎is it a new service? I'm new in the ubuntu world10:49
crodasI was using suse in my old-stolen  notebook10:49
crodasit's pretty cool10:49
=== teknico is now known as teknico_away
=== Chipaca` is now known as Chipaca
=== teknico_away is now known as teknico
alecuhello everybody!12:14
alecumandel, ralsina: ping?12:14
=== Chipaca_ is now known as Chipaca
crodasis ralsina here? cool! hi from Spain!12:22
nessitaralsina: ping12:55
alecunessita, there's no ralsina nor mandel around13:03
nessitaalecu: oh13:04
nessitaalecu: hi BTW, how are you?13:05
faganim around if you need any stuff with pyqt or anything alecu13:05
alecunessita, hi hi! and hi fagan!13:06
nessitafagan: thanks! A couple of questions:13:06
fagancool cool13:06
nessitaalecu: can you, by any chance, review the branch I linked yesterday? https://code.launchpad.net/~nataliabidart/ubuntuone-control-panel/move-logic-to-backend/+merge/6164213:07
nessitafagan: questions about designer. In ralsina's pyqt tutorial, he provides a window.ui that I haven't been able to match. How you make the treeview resize with the window that contains it?13:08
fagannessita: you have to set a layout13:09
nessitafagan: how?13:09
fagannessita: scroll to the top of the box of stuff on the left13:10
alecunessita, ok, I'll review it.13:10
fagannessita: then drag it to the window13:10
nessitafagan: right, I tried that, but. BUT: if you see the window.ui that ralsina provides, there is no layout in the window! :-)13:10
nessitaso that confuses me13:10
fagannessita: then you can right click the window and set the layout13:10
fagannessita: yeah thats a weird thing that confused me too13:11
fagannessita: you have to put the layout there before it lets you set the window layout13:11
nessitafagan: me no understand :-)13:12
fagannessita: hah well you can try just right click and there is a layout thing there but its greyed out if you dont have a layout on the window already13:12
nessitafagan: let me try it13:13
fagannessita: if that doesnt work just put the layout on the window and right click and set it there13:14
nessitafagan: ok, next question. After adding a QTreeView, how can I set the columns (name, type, etc)?13:14
fagannessita: give me a sec I forget this one13:15
nessitafagan: sure13:15
fagannessita: well setheader works for a column thats made already13:17
nessitaright, but so far I have no columns :-D13:17
fagannessita: oooh you mean in the designer /me just blanked and went looking for code :D13:19
fagannessita: you should be able to right click for that13:19
faganor maybe double click it13:19
aquariusduanedesign, I like your writeup about the U1 application developer stuff :)13:20
faganduanedesign: I liked it too :)13:20
fagannessita: ok neither of them are right, its in the properties thing13:21
nessitafagan: one second, installing designer in this machine.... (yesterday I worked from another machine)13:22
fagannessita: ok not that either13:22
nessitafagan: stop guessing! :-D13:22
faganyeah im in there now13:23
fagannessita: well ill keep looking but my best guess is you have to do it in code13:24
fagannessita: my guessing was from the way text boxes and all work13:24
nessitafagan: no way, open the window.ui from ralsina, it has the columns in it13:24
nessitawithout need of coding nothing13:24
alecunessita, approved.13:25
fagannessita: ok then im just blind and cant find it13:25
nessitaalecu: thanks!13:26
nessitafagan: you lied to us! you said you knew qt! :-P13:29
fagannessita: hah I dont remember treeviews. Everything else is good13:30
nessitafagan: excuses! :-P13:31
faganI did it for 2 weeks and didnt do 1 more :)13:31
fagannessita: it should be on the properties thing but default size and all that is pixels not rows or anything13:32
fagannessita: do you have any more questions?13:32
thisfredmorning all!13:32
nessitafagan: not at the moment, thanks13:32
nessitafagan: no worries, I'll chase ralsina when he comes back. By the way, have you "seen" him today?13:33
nessitahola thisfred!13:33
thisfredWow. It took a while, but my notmuch mail setup is close to perfect now. Inbox 0 achieved, and I think I can maintain it!13:33
thisfredhola nessita!13:33
nessitathisfred: I'm making some mate, you're just in time!13:33
thisfred:)13:33
fagannessita: I saw mandel looking for him at 8am my time but other than that no13:33
thisfredI'm still on coffee13:33
nessitafagan: ok, thanks13:34
fagannessita: ahh I didnt do treeviews I did a listview13:34
faganthats why I got confused13:34
nessitamore excuses!!!! :-D13:34
fagannessita: can you not do a listview13:34
* fagan rocked that one13:34
nessitafagan: I'm following http://lateral.netmanagers.com.ar/stories/BBS47.html, so I need a treeview13:35
fagannessita: yeah actually thats the first result on google for pyqt treeview example13:36
fagan:D13:36
fagannessita: oh and if you want to know how to do css ping me im awesome at that now13:41
fagan(in pyqt)13:41
nessitafagan: you may do it yourself! :-)13:41
fagannessita: hah actually I got the designers to do it themselves13:44
fagannessita: I made a thing called css magic tester that does that13:44
faganare we going to do a standup or does it matter?13:56
nessitafagan: of course we are13:57
nessitafagan: why wouldn't we?13:57
fagannessita: missing mandel and ralsina13:58
nessitafagan: well, they should appear, right? as far as I know they don't have any license setup for today13:58
fagannessita: maybe couldnt be sure13:59
nessitamandel: ping14:00
nessitame14:00
nessitaalecu, dobey, thisfred, mandel, ralsina, fagan14:01
thisfredme14:01
alecume too14:01
faganme14:01
faganwow my computer is slow at the moment14:02
* fagan is running updates 14:02
nessitaDONE: propsoed and landed branch to move some logic from the GTK layer to the backend, and to move all the "stringfication" logic (needed by DBus) to the dbus layer. Started with the pyqt-by-example tutorial, I've got so many questions... ralsina, help!14:03
nessitaTODO: plan control panel for windows development, learn QT? something else?14:03
nessitaBLOCKED: a little, I need a quick qt4-designer guide14:03
nessitaNEXT: thisfred14:03
thisfredDONE: caught up with email TODO: fix some bugs in ubuntuone-couch reported by Michael Terry | blueprinting BLOCKED: no NEXT: alecu14:03
nessitaalecu: ?14:04
fagannessita: other than the treeview bit I should be able to answer a lot of the questions14:05
nessitaalecu: you here?14:05
faganisnt it thisfred first14:05
alecuDONE: mumbled with mandel, proposed a branch for qt + twisted in u1cp.14:05
alecuTODO: fixes for that branch, work more on qt designer14:05
alecuBLOCKED: no14:05
alecuNEXT: fagan14:05
faganDONE14:05
fagan* Got a good poke at the twisted code in u1 to figure out how all the pieces fit together14:05
faganTODO14:05
fagan* nope14:05
fagan* do some twisted14:05
faganBlocked14:05
faganthisfred: go14:05
nessitafagan: thisfred already gave his14:06
fagan(since we skipped him)14:06
faganohhhh14:06
nessitawe didnot14:06
nessitadobey, mandel, ralsina?14:06
nessitaany closing comments?14:06
fagannope other than if you guys have any twisted words of advice share away14:06
thisfredLIKED: notmuch+emacs+orgmode, but I won't bore you with details unless you want me to. (Also I won't start doing standups in orgmode format again, I promise ;)14:07
faganI havent wrote a line of code yet but I think I understand it now14:07
nessitaok, I think this is eom14:07
faganill be writing some code for the rest of the day14:08
* fagan break 14:10
nessitaok, ralsina is taking the day off14:12
faganahhh ok that explains it14:13
dobeyλ DONE: fixed some 11.10 nightlies, #78532714:32
dobeyλ TODO: more 11.10 nightlies fixes14:32
dobeyλ BLCK: Still recovering from cold.14:32
dobeysorry, i overslept. damn cold14:32
nessitadobey: we forgive you (?)14:33
faganlol14:34
fagannessita: you made me spit out some tea with that (?)14:34
* nessita is like that14:35
nigelbheh14:54
dobeyhmm15:46
nessitaalecu: is your branch moving forwards?15:47
dobeyis mandel not working today?15:48
alecunessita, moving all right.15:48
nessitaalecu: shall I re-review?15:48
alecunessita, not yet.15:48
nessitaack15:49
alecudobey, he was having some personal problems this week, so he's probably out.15:49
nessitaalecu: I'll run a quick errand while you finish15:50
* nessita brbs15:50
alecuack15:50
dobeyalecu: did you get any answers about qtreactor?15:53
alecudobey, no, I've got no response from mandel nor ralsina yet.15:54
fagani would answer but I know nothing about it :)15:54
alecudobey, I'll take it out of my branch, and have devs install it for now.15:54
alecufagan, don't worry, no need.15:54
thisfrednessita: btw: you know about conky? I think that would solve your system monitor issues, so you could run unity.15:55
dobeyconky, gkrellms15:56
dobeyerr15:56
dobeys/s$//15:56
crodasalecu, ralsina is traveling afaik16:00
dobeyno16:00
crodasalecu, last time I talk with him he was on London or Estambul16:01
dobeyor at least he just said "hi" so i doubt it16:01
dobeyhe is on-line though, generally speaking16:01
alecucrodas, he is in Estambul, I know. But I heard he took the day off today.16:03
crodasalecu, nice. we're tweeting yesterday night, so probably he will be back tonight or so.16:04
alecucrodas, or "Istambul" if we want to sound less "spanish-speaking" :-)16:04
crodasalecu, sorry, I'm from South America, but I'm Europe now :P16:05
crodasalecu, paraguay16:05
alecucrodas, de que parte de Paraguay sos? Yo sólo conozco Ciudad del Este :-)16:07
crodasalecu, Asuncion, but I'm in Barcelona now for a couple of meetings :)16:07
crodasalecu, and you? Argentina?16:07
alecucrodas, si, soy de Buenos Aires16:07
crodasnice, I'll be there next month to see Les Luthiers. We should gather if you have time :)16:08
crodasalecu, I'm more PHP/C though, I assume you're a pythonist as ralsina, isn't it?16:08
alecucrodas, right :-)16:09
crodasalecu, that's fine with me though, I'm not a zealot.16:09
dobeyheh, pythonist16:09
alecucrodas, and definitely we should gather when you come.16:09
dobeyit does seem to be a very religious thing, so an apt name for it16:10
crodasalecu, also I'm nosql guy :P16:10
crodasalecu, I'm crodas in freenode, twitter and @php.net16:10
crodasI'll ping to ralsina when I arrive16:10
alecucrodas, cool.16:10
crodasit's nice to meet people from Canonical :)16:11
ralsinahi crodas!16:13
crodasralsina, hi!16:13
crodasthis irc channel looks cool!16:13
crodasthanks for the recommendation16:13
crodasI didn't know you were so popular here :P16:13
dobeywell i am here, so it must be cool.16:14
crodasdobey, :P16:14
nessitaralsina: hi there. Do you know if mandel is working today?16:15
dobeyalright, am off to get some lunch, and errands. bbiab16:16
ralsinano, personal issues16:16
ralsinahe will be back on monday16:17
ralsinacrodas: BTW, mandel is in Barcelona, to16:17
ralsinas/to/too16:18
crodasralsina, really? where?16:18
crodasdo yo have a phone?16:18
ralsinaalecu is a big Les Luthiers fan, BTW. Can quote every act ;-)16:18
crodasI'm in front of the Plaza Universitat16:18
ralsinacrodas: I do, but I have no idea where he is physically16:18
ralsinaand he is probably not at home until monday16:19
alecuralsina, I'm not a "big Luthiers fan" at all! I can hardly remember the lyrics for my favourite LL song. :P16:20
ralsinahahaha16:20
alecu"la mojó en el arrolluelo... y cantando la lavó"16:20
ralsina"la colgó de un abedul!"16:20
crodasstill looking for my phone number16:24
crodas+3464927538716:33
crodasralsina, that was for you16:35
ralsinacrodas: well, I am pretty far away from Barcelona ;-)16:36
crodasralsina, I misread it, you said mandel16:43
crodask16:43
ralsinacrodas: if you want to drop by, it's a 4 hour flight ;-)16:43
crodasralsina, that's not an issue16:44
crodasmoney is an issue16:44
crodasone of my credit card and my laptop has been stolen last weekend16:44
ralsinacrodas: ouch16:44
thisfredI'm starving. bbiab17:05
* nessita too, brb17:18
kamusinhey nessita :)17:21
kamusinI haven't received a response from Matt, have you heard or received any response about that (u1store)?17:23
nessitakamusin: no, let me ping them17:26
kamusinthanks nessita17:27
nessita:-)17:27
dobeyabout what?17:31
nessitadobey: community members need/want a way to test the music purchase17:38
dobeyoh17:38
nessitakamusin: mattgriffin will get back to you soon, he has been travelling17:39
dobeyi think that's really only possible for people in the US, where there are some free songs available (unless they want to make actual purches with credit card/paypal)17:39
nessitaok, lunchtime!17:39
thisfredthis is (udd) documentation gold, I can't believe I hadn't found this before http://people.canonical.com/~dholbach/packaging-guide17:39
dobeythe free songs don't tend to hit all the corner cases where there might be problems (like the one utf-8 bug)17:39
thisfredyou're saying we need more free metal?17:44
dobeyno17:46
dobeyi'm saying testing without spending money is hard, because we have no control over what is actually available in each country17:46
nessitaalecu: can I re-review your branch? if not, can I help somehow with whatever is blocking it?18:06
alecunessita, there were a few tiny things blocking it, most resolved; but I'm currently trying to find out what is the best way to have run-test run twice, once for the standard gtk reactor, and once for the qt reactor that u1trial can install.18:09
nessitaalecu: what about doing that in another branch? so I can use the first branch to start doing some QT testing18:10
alecunessita, currently I'm havint run-tests be run twice; once just run-tests, and then another with "run-tests -qt"18:10
alecubut I don't quite like having them run twice, because pylint and pep8 are run twice too.18:11
alecuanyway, I'll push it as it is.18:11
nessitaalecu: thanks18:12
dobeykenvandine: haha, identi.ca puts your head on the courthouse for the locations map18:14
DanRabbitlisette: ping18:16
alecunessita, dobey: please re-review https://code.launchpad.net/~alecu/ubuntuone-control-panel/tx-qt-mainloop/+merge/6165218:18
nessitaalecu: on it18:18
alecunessita, dobey: I've added detailed instructions on how to test.18:19
nessitaalecu: thanks18:19
dobeyalecu: you got the arguments to u1trial mixed up in run-tests18:22
dobeynessita: btw, what is control panel using twisted for?18:23
nessitadobey: nothing, why?18:23
alecudobey, nessita: it will use it soon.18:23
dobeyalecu: what for?18:24
nessitadobey: we use twisted deferreds, but not the twisted reactor18:24
nessitaalecu: why?18:24
alecudobey, nessita: we'll use twisted to talk to syncdaemon and with the webservices.18:24
dobeywhy?18:24
alecudobey, don't understand why the args are "mixed up"18:24
nessitaalecu: I thought we were using some QT stuff to talk to webservices...18:24
alecunessita, we may, yes.18:25
alecudobey, nessita: but we need twisted to talk to syncdaemon on windows.18:25
dobeyalecu: you're passing the GTK tests when using the qt reactor in trial, and the QT tests when --qt is not passed to run-tests18:25
dobeyalecu: oh, there's no way to do the named pipes in qt main loop?18:25
alecudobey, that is the argument to --ignore-paths18:26
nessitaalecu: and regarding syncdaemon, seems like I got that wrong, since I thought that all the work the contractor was doing was to provide a way to contact syncdaemon18:26
Ignatushi. I have synced around 100gb of photos to my u1 account from my desktop. now i'm setting up my laptop, and i've copied all the images via an usb hdd cause u1 is too slow, thinking i'll save me some time, but now i see on the laoptop it's uploading thousands of files again? does it need to do that? does it overwrite the old ones, or?18:26
alecudobey, so it's ignoring the GTK tests when passed -qt, and viceversa.18:26
dobeyalecu: oh, right18:26
nessitaIgnatus: it shouldn't upload all your files again, unless the hash of the files have changed18:26
Ignatusnessita, hm, so i'll try deleting them all again, and recopying them then, but they are the same files...18:27
dobeythe hash is probably different if copied to usb drive then back to hard disk; they likely all have +x bit on now if usb drive was fat32, and they weren't +x before18:27
Ignatusthing is, i have a ext3 usb disk :)18:28
nessitaIgnatus: do not delete them18:28
Ignatuscan i check the hash somehow?18:28
alecunessita, mattia is working on providing ipc on windows using iocp, as a twisted transport (instead of using tcp on localhost)18:28
nessitaIgnatus: what ubuntu version are you running?18:28
Ignatusnatty on both, fresh installs18:29
alecunessita, that means we will need to use twisted on the control panel to talk to syncdaemon18:29
nessitaIgnatus: please do this: disconnect file sync from the control panel (top right corner)18:29
dobeywhy do people think using twisted for this stuff is a good idea?18:29
nessitaIgnatus: how do you know if files are being downloaded or uploaded?18:30
Ignatusnessita, i've stopped it from magiciada (can't use unity on laptop unfortunately, since beta1)18:30
Ignatusnessita, magiciada18:30
Ignatushm, magicicada even :)18:30
alecudobey, do you have a better idea on how to do ipc between a twisted app (syncdaemon) and a qt app (control panel) on windows?18:31
Ignatusnessita, so, is there a way to check the hash value of the files manually? i can compare them and see it it's changed?18:31
dobeyalecu: well doing it directly in the qt event loop would be much better18:31
nessitaIgnatus: ah. Your pictures, where are they located? inside Ubuntu One or any other custom folder?18:32
Ignatusin the pictures folder18:32
nessitaIgnatus: you can't access the hash from the server, as far as I know. Let's do this:18:32
Ignatusnessita, sorry, i keep forgetting to put your name up front :)18:32
dobeyalecu: using twisted to do that IPC doesn't give you any benefit, beyond introducting infinitely more complex code as a dependency18:32
dobey(no, that's not a benefit :)18:33
nessitaIgnatus: start syncdaemon but do not connect it (or if it connects, disconnect it). Once that s done, open the control panel (is available on non-unity systems)18:33
alecudobey, well, if you are proposing yourself to work on it, tell ralsina and do it.18:33
Ignatusnessita, started, and not connected18:33
nessitaIgnatus: in the control panel, go to "cloud folders". Unchecked the Pictures folders. Once that's done (the UI is no longer unsensitive), re-copy all your pictures18:34
dobeyalecu: why does my pointing out an obvious flaw in the design mean i have to do all the work?18:34
Ignatusnessita, ok, will do. i'll throw out a shout when it's done, ty18:35
nessitadobey: why would you say is "obvious"? I think that is the key18:35
nessitaIgnatus: please do so, I'll be around18:35
alecudobey, because yours is an opinion, not an obvious flaw on the design.18:35
nessitaalecu: why are we ignoring "'.svn,CVS,.bzr,.hg,.git,*_ui.py'"? Do we have CVS stuff?18:36
alecunessita, surely not, but it was the default for that option, and I added the *_ui.py18:39
nessitaalecu: ah, ok18:39
nessitaalecu: another question, why did you add the gettext code in utils.py?18:40
dobeysigh18:41
nessitathere seems to be no need for that, as far as I can see18:41
alecudobey, why did you abstain from reviewing the branch?18:41
dobeybecause i don't wnat to argue18:41
alecudobey, please argue about that decision with mandel and ralsina; they worked out the details of the windows ipc.18:42
alecudobey, but please review the branch having that in mind.18:42
dobeyi understand why it should be done in twisted within syncdaemon. and that makes sense given it's already using twisted; though i think we should work on removing twisted from all our code instead, but alas18:43
alecunessita, regarding the gettext: I took the code that compiles the .ui and the qt resources from sso; I guessed that since we are using gettext there we'll be using it in control panel.18:43
nessitaalecu: I hope we don't need to, if we do we're doing something wrong18:44
nessitaalecu: we may be having a bug/issue in sso then18:44
alecudobey, again, that's an opinion. My opinion is that we should use twisted whenever it makes sense, and from a "time to finish" pov it makes a lot of sense to use it here.18:44
dobeyalecu: i cannot consciously approve something i disagree with on such a basic level18:44
dobeyalecu: and as per our meeting @ UDS, you need someone to test it on Windows anyway.18:47
thisfredI'll do it, though not the windows review just yet, since I don't have a VM set up18:48
alecudobey, thisfred: this is not working on windows yet. We'll start testing the control panel on windows probably on monday when ralsina and mandel are back.18:49
thisfredright18:49
alecu(if they ever return! :-) )18:49
thisfredlet's hope so, I don't want either of their jobs ;)18:50
alecuhahahaha, me neither!18:50
alecuok, I'll get some lunch now, it's about 3pm here :P18:50
* nessita neither18:50
nessitaalecu: I have another q!18:50
alecusure18:50
dobeyalecu: at parrilla?18:50
nessitaalecu: did you remove the gettext in utils then?18:50
nessitaalecu: and also, what's with the DBUS constants inside ubuntuone/controlpanel/qt/__init__.py ?18:51
alecunessita, I didn't remove it, since it's used in setup.py by the code that converts the .uis and the resources18:51
nessitaalecu: why is used? I mean, it shouldn't be18:52
nessitaalecu: well, now I don't know if you're talking about the gettext or the DBUS constants :-)18:52
alecunessita, still about gettext18:53
nessitaalecu: I don't see how is being used18:53
alecunessita, it's used in _UICompiler in setup.py18:53
alecunessita,                 o.write('from ubuntuone.controlpanel.utils import _')18:53
nessitaalecu: ah, yes. That's ugly, why no importing dirctly gettext and setting the domain?18:54
nessitaand even better, why are we generating python code programatically in that function?18:55
alecunessita, the .ui are translated into .py18:55
dobeyheh18:55
nessitaalecu: right, but that is not related to the gettext thing, isn't it?18:55
alecunessita, normally the .pys generated from .ui have no translation support18:56
alecunessita, mandel has extended the translator to include another line before the rest of the .py18:56
alecunessita, that line is "from ubuntuone.controlpanel.utils import _"18:56
alecunessita, we need that line in every .py that's generated from a .ui18:57
alecunessita, does it make sense now?18:57
nessitaI understand now. Anyways, I don't see why we need to import gettext in utils and import that in the pys :-)18:57
nessitawe should do the proper thing in each py18:57
alecunessita, I don't understand why adding two lines in every .py is different than doing it in one place.18:59
alecunessita, anyway, that's how it's done in SSO, and I try to follow the same idea here.18:59
nessitaalecu: becasue if you see the getext code in utils, it makes no sense in having it, since nothing in that faile uses it, so it can be easily removed18:59
nessitaI know I'll remove it, since _ is not being used in that module18:59
nessitas/faile/file19:00
alecunessita, no, you won't remove it. You'll first search in our code to see who is importing that, and setup.py will.19:00
nessitaalecu: in practice I might, but you get my point :-)19:00
alecunessita, anyway: I can add a comment explaining just that in utils so you won't remove it tomorrow.19:01
nessitayou import things where you need it, not adding a hop19:01
nessitaalecu: I prefer we add the proper import gettext lines in the generated pys19:01
nessitais clearer, for anyone that reads the source code19:01
alecunessita, that is bike shedding. :-)19:02
nessitaalecu: not sure what that means :-)19:02
thisfredalecu:  http://pastebin.ubuntu.com/610723/19:02
thisfredfwiw: I agree with nessita19:02
dobeywell the gettext package should befined as GETTEXT_PACKAGE = 'ubuntuone-control-panel' or something19:02
dobeyand that should be imported from utils or something19:02
nessitadobey: we have that constant already defined19:03
thisfreddon't reimport things unless you're monkey patching them, and don't monkey patch things19:03
dobeynessita: ok, so then a) the bindtextdomain() call should use that define instead of a string literal19:03
=== m_conley_away is now known as m_conley
nessitadobey: I agree, it was my next point19:03
alecuthisfred, regarding the pastebin, I forgot to add "./setup.py build" to the testing instructions. Doing so now.19:03
dobeyand b) what nessita already said19:04
thisfredalecu aha, I knew I was missing something19:04
dobeyalecu: you should make run-tests do ./setup.py build for the qt case19:04
nessitaalecu: that would be good ^19:04
alecuok.19:05
nessitaalecu: I'm getting ImportError: No module named qt19:06
nessita    from dbus.mainloop.qt import DBusQtMainLoop19:06
nessitaImportError: No module named qt19:06
alecunessita, package python-qt-dbus19:06
alecunessita, or python-qt4-dbus19:06
nessitaalecu: ok, from my end only 2 thing needed to get the approve: fix the gettext thingy, and remove the DBUS constants from the u1/__init__19:08
nessita(the rest looks good!)19:09
alecunessita, the TRANSLATION_DOMAIN in __init__ is the one that dobey mentions as GETTEXT_PACKAGE above?19:10
dobeysounds like it should be that19:10
alecunessita, dobey: should I make the generated .pys import that constant?19:11
nessitaalecu: yes to the first question, and to the second19:12
dobeyyou should only do the bindtextdomain() call where you start the main loop19:12
nessitadobey: and then only do the _ import?19:12
dobeyif you need to translate things by other methods, such as dngettext() or something, then it will also be needed in those spots. but the general _() case doesn't take a domain argument19:13
dobeyso it depends, and i doubt that only having the _() argument is sufficient for all translated strings, but maybe it is19:13
thisfredalecu:eric@eric-Studio-XPS-9100:~/canonical/ubuntuone-control-panel/qt$ ./run-tests --qt19:15
thisfredRunning test suite for --qt19:15
thisfredUsage: u1trial [options] path19:15
thisfredu1trial: error: --qt-reactor option requires an argument19:15
thisfredor do I not need to run it like that?19:16
dobeyit's just -qt i think19:16
dobey+if [ "$1" == "-qt" ]; then19:17
thisfredright just found that19:17
dobeybut is weird that you got that error, since it does --qt-reactor=ui19:17
thisfredisn't single dash just for single letter switches?19:17
thisfredanyway with a single dash it breaks differently:19:18
dobeyideally yes19:18
thisfredhttp://pastebin.ubuntu.com/610726/19:18
dobeyoh lovely19:18
thisfredbut that could be my unity bundle of joy19:19
dobeythat is on 11.04?19:19
thisfredyep19:19
dobeyweird19:20
dobeydoes run-tests work in a clean cp branch for you?19:20
dobeyor does it work without the -qt?19:20
thisfredrun-tests works19:20
thisfredjust not with the -qt option19:20
dobeydo you have qtreactor installed?19:20
thisfrednot installed but added to the pythonpath as per the instructions19:21
alecunessita, thisfred: revno 14819:22
dobeythisfred: weird19:23
alecuok, I need a bit of fresh air. And some food.19:23
alecubbl19:23
nessitaalecu: thanks, enjoy19:24
dobeyhrmm19:31
dobeyQLocalSocket19:31
nessitadobey: ?19:33
dobeyqt class that uses named pipes on windows, and unix sockets on *nix19:34
nessitadobey: when you said bindtextdomain, did you mean "gettext.textdomain(TRANSLATION_DOMAIN)"? (that is what we're using right now on the control panel GTK)19:36
dobeysure19:36
nessitathanks19:39
nessitaalecu: when you come back, I added a detailed comment on how the gettext code need to be tweaked (seems like we misunderstood here)19:43
dobeynessita: ah, i see what i did. mixed up bind_textdomain_codeset() and textdomain() calls19:46
dobeynessita: so yes, textdomain is what i meant there it seems19:46
nessitadobey: great, thanks for checking19:48
nessitathisfred: did you finish alecu's review?19:53
thisfrednessita: not yet, but I think the errors I'm getting are not in the code19:53
nessitathisfred: what errors are you getting? the unity ones?19:53
thisfredthe main tests run, the window opens, so I think I'm ok19:53
dobeyi'm not sure what your error is due to19:53
thisfrednessita: well I think it may be unity, no idea19:53
thisfredbut it starts with an X error19:54
dobeyit's not unity19:54
dobeywhat it looks like is the private dbus daemon not starting properly in the qtreactor case, which is weird19:54
dobeyyou know what would be awesome right now?19:55
nessitadobey: I'm afraid to ask19:55
dobeycake donuts with chocolate icing on top19:55
nessitaah, fiiiuu19:56
dobeyalso, working upgrade to O would be nice19:56
dobeygrmbl19:56
nessitadobey: I'm getting this http://pastebin.ubuntu.com/610746/19:56
thisfreddobey: I concur. No good donuts near me though. Another reason to move to Portland19:56
thisfrednessita: ah19:57
dobeythisfred: or atlanta19:57
dobeykrispy kreme ftw19:57
thisfrednessita: that's exactly what I got19:57
dobeyalso, portland sucks19:57
thisfreddobey: KK is good, but not as good as http://voodoodoughnut.com/about.php19:57
nessitathisfred: but I run the gtk tests at least once, the qt one run :-/19:57
nessitadobey: ^19:57
thisfreddobey: and I love portland, but then I have a high hipster tolerance. I could even live in Brooklyn I think19:58
dobeythisfred: i will cede that KK does not sell donuts with lots of crazy stuff on them, like bacon19:58
dobeythisfred: but i think they are different classes of donuts19:58
dobeythisfred: is like arguing about sicilian style vs flatbread style pizz19:59
dobeya19:59
thisfreddobey: Voodoo have less exotic ones too, and they are still better :)19:59
dobeynot really19:59
dobeybut w/e19:59
nessitadobey: there seems to be a timing issue with the paste I shared20:01
nessitasomething it fails, sometimes it runs20:01
nessitaany clues?20:01
thisfredand any pizza is fine with me as long as it's not mattress style. Or chicago as some would have it20:01
dobeyno idea20:01
dobeythisfred: i think you mean queso style20:02
thisfredhehe20:02
dobeyor, Buenos Aires as some would have it20:02
thisfredthat too20:02
thisfredwell the one we had anyway, I'm sure they have excellent pizza as well20:02
dobeyanyway20:05
dobeyi am hungry again now20:07
thisfredYeah me too. Thanks a bunch!20:08
Ignatusnessita, ok, i'm back. files recopied to laptop, haven't connected but i get around 9kfiles to Makefile in the metaqueue window, and 5k in content queue that wants to upload20:13
Ignatusnessita, so, quite fewer files, but still some that wants to reupload20:14
nessitaIgnatus: somehow those have a different hash...20:15
nessitaIgnatus: you can try now restarting syncdaemon, without connecting it, and see how many files are queued up20:16
Ignatusnessita, weird, as i just recopied them to hdd...20:16
nessitaIgnatus: but not sure what else to advice. The expert on this is facundobatista, but I think he's not around right now20:16
nessitafacundobatista: are you?20:16
Ignatusnessita, ok, thanks anyways mate :) 5k is abit less than all of them :)20:18
nessitaIgnatus: :-)20:18
alecuvolví20:19
thisfredIgnatus: copying files, especially between different kinds of filesystems may change them. If you're able to, you could try using rsync -avz or somesuch, which will preserve all the bits20:22
nessitaalecu: how was lunch/air?20:22
thisfredwell, it will try. fat32 throws information away I think20:22
duanedesignjoshuahoover: ping20:23
nessitaalecu: I added one more needs fixing comment to your branch, with detailed data of what's needed20:24
facundobatistanessita, I'm here, but not for long20:25
facundobatistanessita, I should have gone already, :|20:25
nessitafacundobatista: manejalo ;-)20:25
thisfredalecu: I did not find anything else, except an error in ./run-tests -qt (which probably should be --qt) which I don't know the cause of20:26
thisfredalecu: so with nessita's proposed fixes done, you have my +120:26
joshuahooverduanedesign: pong20:26
duanedesignjoshuahoover: have a real quick minute for a PM?20:27
facundobatistaIgnatus, we'd need logs in debug to check what hashes are being found20:27
joshuahooverduanedesign: sure20:27
Ignatusfacundobatista, nessita, status update, i quit the daemon again, and restarted, and this time no files were in the content queue. success :)20:31
nessitaIgnatus: yey!20:35
nessitaIgnatus: you resubscribed your Pictures folder, right?20:35
nessitaotherwise is a false positive20:35
Ignatusnessita, yes i did20:36
nessitaIgnatus: great news then :-)20:36
Ignatusnessita, indeed, thanks a bunch20:36
nessitayou're welcome20:38
alecunessita, revno 149 with the textdomain fix20:41
nessitaalecu: gracias!20:41
nessitaalecu: approved!20:49
alecuhmmm... lousy internet.20:50
nessitathisfred: when you have a moment, could you please check out logs in bug #781875?20:52
ubot4Launchpad bug 781875 in ubuntuone-control-panel "ERROR - ReplicationSettingsChangeError: args (<ubuntuone.controlpanel.dbus_service.ControlPanelBackend at /preferences (affects: 1) (heat: 17)" [Undecided,Confirmed] https://launchpad.net/bugs/78187520:52
thisfredlooking20:53
thisfrednessita: added my 2¢. Saw something strange in the dc logs, but have no way to explain it.21:05
thisfredCardinalFang: if you have a second, do you perhaps have an idea what the tealeaves/coffeegrinds/goat entrails/logs in https://launchpad.net/bugs/781875 mean?21:06
ubot4Launchpad bug 781875 in ubuntuone-control-panel "ERROR - ReplicationSettingsChangeError: args (<ubuntuone.controlpanel.dbus_service.ControlPanelBackend at /preferences (affects: 1) (heat: 17)" [Undecided,Confirmed]21:06
thisfreds/grinds/grounds/21:06
CardinalFang"""ServerError: (500, ('shutdown', None))"""  Wut?!21:08
nessitaalecu: lint issues in tarmac for your branch21:09
aleculooking21:10
thisfredCardinalFang: indeed21:10
thisfredCardinalFang: I wonder if they were upgrading to natty at that time, and whether that uninstalled couch or something21:11
alecunessita, seems like tarmac didn't run "./run-tests -qt" nor "./setup.py build"21:11
CardinalFangthisfred, let's ask #couchdb21:11
alecunessita, I'll have run-tests invoke "./setup.py build" all the times.21:11
nessitaalecu: wait21:12
nessitaalecu: tarmac will not run run-tests -qt unless you tell dobey to set it up to do so21:12
alecunessita, right. that's why we need to change run-tests to run both the qt and the gtk tests.21:13
dobeythat's not going to happen until qtreactor is packaged properly in our ppa at least, and ideally in ubuntu as well21:13
nessitaalecu: let's run only run-tests (gtk only) tests for now on tarmac, until ralsina makes a decision aboue qtreactor21:14
dobeywell we will have to package qtreactor21:15
alecudobey, or put it in contrib :-)21:15
dobeyno.21:16
alecudobey, is pyqt installed in tarmac?21:16
dobeyeven if we didn't use qtreactor in control-panel-qt itself, we would still need it to run the tests21:16
dobeypyqt4 is yes, we already require it for sso lint to pass21:17
thisfredalecu: but the tests fail on something gtk or am I misreading the failmail?21:18
thisfredprobably, nm21:18
dobeythisfred: tests passed21:19
dobeythisfred: lint failed21:19
alecuthisfred, when running the gtk tests, pylint is complaining about stuff in ubuntuone.controlpanel.qt.gui and ubuntuone.controlpanel.qt.controlpanel21:19
dobeynessita: and why is it not using u1lint?!21:19
thisfredah I see. Why are there weird control sequences in the lint errors? That's my mail client I guess21:19
nessitadobey: because you didn't propose that branch yet? :-D21:20
alecuthisfred, that seems to be ANSI color codes21:20
thisfredurgh21:20
nessitadobey: bad dobey, bad :-P21:20
dobeyi never said i would21:20
nessitadobey: you should!21:20
dobeythisfred: because nessita made it use pylint instead of u1lint, and has the pylintrc doing colored output21:21
thisfredright21:21
nessitabueno bueno bueno21:21
thisfredshall I make a branch before someone gets hurt? :)21:21
nessitaI'd prefer that alecu's branch lands first21:21
nessitato avoid conflicts on run-tests21:21
thisfredsure21:22
alecu"pylint --ignore ui ubuntuone/"21:22
nessitaalecu: we won't be able to pass arguments to u1lint, I think. dobey, is that so?21:23
alecuhmmm21:24
alecunessita, I've changed it to always build the *_ui.py files, even when running gtk tests.21:26
alecunessita, that should fix this problem.21:26
nessitaalecu: but not the qtreactor missing module, so you need a pylint disable there21:26
alecunessita, right.21:27
dobeynessita: right21:28
dobeyi guess i need to add an rcfile thingy so we can specify ignored paths21:29
alecunessita, done.21:29
dobeyand maybe add arguments for such things as ignored paths21:29
nessitaalecu: groso, wanna re-approve it after the commit has be scanned by LP?21:29
alecujust did it21:39
dobeyGRRRRRRRRRRRRRRRRRRR21:42
dobeyon 11.10: gsd_ubuntuone_class_finalize used but not defined21:42
dobeyon 11.04 with branch to fix that: gsd_ubuntuone_class_finalize defined but not used21:42
dobeysigh21:43
dobeyah, qtreactor21:51
dobeyalecu: you need to pylint disable= that one, or package the reqactor :)21:52
alecuI'm not packaging the reaqtor21:53
thisfredAt some point it will start to look like the more attractive option :)21:55
thisfredalecu: nessita dobey: In all seriousness, should I have a go at it? Shouldn't be too hard...21:55
thisfredthe packaging I mean21:55
alecuthisfred, sure! thanks!21:56
thisfredSince I'm gonna go for Ubuntu Developer as one of my goals... ;)21:56
thisfredkk, on it. alecu: is the git repo the officialest home?21:56
alecuanyway, the branch has already merged, but the qtreactor packaged sounds like something we may need.21:57
nessitathisfred: you can certainly try. I would advice some advice from dobey or rodrigo21:57
alecuthisfred, afaik, it is.21:57
dobeythisfred: it wouldn't be hard if it wasn't a totally broken repository21:57
dobeythisfred: it has no setup.py and such21:57
thisfreddobey: wouldn't be fun if it was easy21:57
thisfredah, so it's not even a python package. Superfun!21:57
dobeyexactly21:58
alecuthisfred, it is a python package, since it has __init__.py on it.21:58
dobeyand i don't know if it's ever actually been released21:58
thisfredalecu: fair enough. I meant the word that means the thing with a setup.py in ;)21:58
alecuthisfred, oh, you mean a python package :-)21:58
thisfredpackage in the pypi sense21:59
dobeynot the pypy sense21:59
thisfreddobey: no setup means that it runs without building, which means writing  a setup should be trivial.21:59
thisfredI meant Cheese Shop :)22:00
dobeyanyway, if we're going to use it, we should be active in upstream22:00
dobeycheese shop that doesn't sell cheese?22:00
thisfrednaming things, cache invalidation, character encoding, and off by one errors are the 3 hardest problems in CS22:00
alecua cheese pi pie?22:00
thisfreddobey: I'll kick the setup.py back to them22:01
alecuthisfred, very sensible to include "char encoding"22:01
thisfredif there is a they22:01
thisfredI'm not gonna be they22:01
dobeywell there are commits in git by more than one person22:01
dobeybut not sure what that means22:01
thisfredsock pupperys22:01
dobeysurprise, fear, and character encoding are the 3 hardest problems in CS22:03
dobeyamongst the hardest problems in CS are surprise, fear, and an almost fanatical devotion to the pope22:03
dobeyalright, i am outta here. have a good weekend all22:04
thisfredlater dobey22:04
=== m_conley is now known as m_conley_away
* thisfred wonders how cross platform the qtreactor is, since it inherits from posixbase.PosixReactorBase22:20
thisfredoh nm, it has a win32install so I suppose it's at least possible that it works22:21
* nessita -> eods22:23
nessitabye all!22:23
karnibye nessita22:25
karniU1 on PC is broke lately :( I didn't even touch one folder, and got a self-conflict. My other webUI visible folders are not getting down to my PC (or they are, but very slowly, like, from time to time)22:47
karniIf I can provide some more logs/details, I'll be happy to.22:47

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