/srv/irclogs.ubuntu.com/2011/06/16/#ubuntuone.txt

duanedesignhey karni00:00
karniyo duanedesign00:00
duanedesignkarni: who would know about tritcask? Did you say verterok wrote it?00:01
karniduanedesign: verterok is your man00:03
karniduanedesign: dude.. why would you be interested in *such* details, are you applying for a software engineer position at canonical :D ?00:04
duanedesign:)00:04
duanedesignkarni: now i am trying to help a user with a traceback I have never seen before00:05
duanedesignFile "/usr/lib/pymodules/python2.7/ubuntuone-client/ubuntuone/syncdaemon/tritcask.py", line 408, in iter_entries00:05
duanedesignfmap = mmap.mmap(self.fd.fileno(), 0, access=mmap.ACCESS_READ)00:05
duanedesignValueError: mmap offset is greater than file size00:05
karniduanedesign: sounds interesting. I'd help you, but I have this terribly dumb assignment due previous Friday, meh.00:05
karniduanedesign: nice :>00:05
duanedesignhope you get it done.00:06
karniduanedesign: meh. I will. It just unbelivably sucks. I'm bending the time-space-learning-curve at canonical, and still I have to give written assignments remotely related to programming itself. Who care's if the organizations structure is flat or tall, or what are the dependencies. I care that I do what I like, and I know I have my managers I report to. How complex is that :P00:08
karniMeh. I'll shut up, whining will get me nowwhere.00:08
karni*nowhere00:09
duanedesignsometimes it helps get it of your chest, so to speak :)00:10
karniYeah00:11
duanedesignLP #65785000:36
ubot4Launchpad bug 657850 in ubuntuone-client (Ubuntu Natty) (and 5 other projects) "Ubuntu One Preferences applet doesn't display info properly (affects: 22) (dups: 5) (heat: 91)" [High,Fix released] https://launchpad.net/bugs/65785000:36
adorilsonhi02:55
adorilsonis possible run U1 on fedora 15 ?02:55
BelxjanderDoes the Ubuntu One Account Recovery service forcibly drop capital case letters in usernames ?03:27
Belxjanderand if so... it will actually block my own username (first letter capital) from being completely usable with the service03:27
GalahadForcedoes anyone run a nvidia graphics card in here?04:12
GalahadForceafter i installed mine it boots up out of range now04:12
GalahadForceany suggestions?04:13
GalahadForceon fixing it?04:13
rmcbrideGalahadForce: you probably want a more general ubuntu channel. graphics cards and the Ubuntu One service aren't really related04:13
dobeyGalahadForce: like rmcbride said; you might want to try plain #ubuntu04:39
dobeyadorilson: i would say possible, yes; easy, no. :)04:39
faganmorning09:00
=== Chipaca` is now known as Chipaca
adorilsondobey, I will try10:54
karniMorning!10:55
faganmorning karni10:56
=== teknico is now known as teknico_away
duanedesignmorning all12:10
faganmorning duq12:11
fagan*duanedesign12:11
fagan:)12:11
karnihi duanedesign12:11
fagan[duq is much better as a name]12:11
duanedesign:D12:11
* fagan break 12:19
fagan(made a good bit of progress on what im doing just have some fiddly stuff I should ask about after break)12:19
nessitahello everyone!12:35
faganmorning nessita12:36
jeroen-rye: ping12:42
ryejeroen-, pong12:44
jeroen-oh hello rye12:45
jeroen-i was curious about the status of my files12:45
ryejeroen-, i do remember about the recovery and working with the developer to find out the proper way to recover the files12:45
jeroen-i understood the admins should be able to restore them, right?12:46
ryejeroen-, yes, the example file i gave you earlier is still allocated in the storage and databases but marked as inaccessible12:46
jeroen-rye:  well I really hope someone can fix this12:47
jeroen-rye:  if I must do something to speed uo the recovery, please let me know?12:47
ryejeroen-, i am extremely interested in this since it impacts the possibility to recover the files for everybody12:48
ryejeroen-, i have your email, should I need some more info from you I will send you a message12:48
jeroen-rye:  OK, thanks in advance for your help - I really appreciate your help12:49
jeroen-rye:  another interesting thing that it is possible that files can dissepear like this12:50
ryejeroen-, and I am very sorry for such kind of unpleasant experience with Ubuntu One, but I am doing my best to make it recoverable12:50
ryejeroen-, you might have removed metadata folders, in this case this is quite hard to say what happens12:50
jeroen-rye:  yes maybe, but still the files are gone :(12:51
duanedesignrye: good morning! Have you seen an error like this before? http://ubuntuforums.org/showthread.php?t=177598613:07
ryeduanedesign, oh13:07
ryeduanedesign, no13:08
ryeduanedesign, but something tells me that the file is of 0 length13:08
ryeverterok, http://ubuntuforums.org/showpost.php?p=10923290&postcount=313:08
duanedesignahhh13:08
=== teknico_away is now known as teknico
faganstandup in 10?13:49
faganIt seems like alecu and ralsina arent around and mandel is pretty quiet so he might not be around either13:50
dobeythems the breaks kid13:54
nessitaof course stand up in 6'!13:54
nessitafagan: ralsina is off for the week13:54
dobeythe cake is a lie13:54
nessitadobey: sometimes, yes.13:55
fagannessita: oh13:55
nessitafagan: mandel should be working, and alecu is in a kindergarten meeting13:55
fagannessita: I didnt know that I thought he was off till he got back to ar13:55
fagannessita: ah ok13:55
nessitanopes, for the whole week, he's on holidays13:56
nessita:-)13:56
faganso standup anyway with the like 3 or 4 of us13:56
nessitaof course!13:56
mandelnessita: well I was wlaking the dog, but I have been working :)13:59
faganvery quietly13:59
fagan:)13:59
faganmoi14:00
thisfredme14:00
nessitamandel: how was the photo shooting last night?14:00
nessitame14:00
dobeyme14:00
faganmandel say me :)14:00
nessitaalecu says:14:01
nessitaDONE: got VS2008 compiling txnamedpipes, testrunner for it at https://code.launchpad.net/~alecu/txnamedpipes/run-tests-batch/+merge/64747 TODO: work on the tests broken on the qt+txnamedpipes branch BLOCKED: hopefully not today14:01
nessitamandel: me?14:01
nessitafagan: go14:01
faganDONE14:01
fagan* Fixed most of the issues with my branch14:01
fagan* Did all of alecu's list I think14:01
faganTODO14:01
fagan* Fix a failure and an error im getting. The failure I dont have a clue about but the error is an easy fix.14:01
faganBlocked14:01
fagan* by stupidity14:01
faganthisfred: gogo14:01
mandelme14:01
thisfredDONE: reviews | Bug #77985114:02
ubot4Launchpad bug 779851 in ubuntuone-client "Ubuntu One's Unity progress bar is uninformative when transferring a single file (affects: 2) (dups: 1) (heat: 23)" [Wishlist,Confirmed] https://launchpad.net/bugs/77985114:02
thisfredTODO same bug, whatever needs doing14:02
thisfredBLOCKED: no14:02
dobeyλ DONE: bug $797870, reviews, discussions14:02
dobeyλ TODO: expenses, fix more stuff14:02
dobeyλ BLCK: None.14:02
nessitadobey: you in a hurry? :-)14:02
dobeymandel: go14:02
nessitaDONE: bug #797411, bug #797294, bug #79786014:03
nessitaTODO: finish up bug #797294, catch up with mandel re: SyncDaemonTool 4 windows, bug #79819814:03
nessitaBLOCKED: nopes14:03
nessitaNEXT: mandel14:03
ubot4Launchpad bug 797411 in ubuntuone-client "Extend SyncDaemonTool API (affects: 1) (heat: 389)" [High,Fix committed] https://launchpad.net/bugs/79741114:03
ubot4Launchpad bug 797294 in ubuntuone-control-panel "Implement preferences tab in the QT version (affects: 1) (heat: 6)" [High,In progress] https://launchpad.net/bugs/79729414:03
ubot4Launchpad bug 797860 in ubuntuone-dev-tools "Remove signals receivers as part of cleanup (affects: 1) (heat: 6)" [Medium,In progress] https://launchpad.net/bugs/79786014:03
ubot4Launchpad bug 798198 in ubuntuone-control-panel "Implement clicked callback for buttons that link to the web (affects: 1) (heat: 6)" [Medium,Triaged] https://launchpad.net/bugs/79819814:03
mandelDONE: workd of the vm helper implementation onwidnows. All test were broken but I have  fixed them, I propose a merge but I push the wrong version will fix that so that it can be reviewd. Push the qt integration tests brach of txnamedpipes for alecu to work on.14:03
mandelTODO: finish sdtool for windows.14:03
mandelBLOCKED: no14:03
thisfredOH: I have to go to the dentist at 4, so I will be gone for an hour or so (7 hours from now)14:03
nessitadobey: my turn was after thisfred, you stole it from me! :-)14:03
nessitathisfred: ack14:03
dobeynessita: you went first!14:03
nessitadobey: no, that was alecu's standup14:04
nessitamandel: what bug # is the stdtool thingy?14:04
faganheheh14:04
* dobey bans standup-by-proxy14:04
mandelnessita: ah, I need to creat it14:05
* fagan bans dobey making rules :D14:05
fagan(oh crap I cant make rules either)14:05
dobeygo get me a danish14:05
nessitamandel: please do that before working on tasks. Please please please!14:05
dobeyapple, with cinnamon14:05
dobeyand a chai latte14:05
fagandobey: yes sir that will take 4-7 working days14:06
nessitamandel: also, please make the bug reports for the rest of your pending tasks (and use the u1-zomg-windows tag). Thanks!14:06
mandelnessita: sure14:06
mandelnessita: when do we mumble?14:06
nessitamandel: as soon as alecu stops by14:06
dobeywhen you're in the pub14:07
dobeyoh14:07
dobeymumble, the software14:07
nessitamandel: you need to have lunch?14:07
nessitamandel: hopefully you already had it :-) (is late there!)14:07
mandelnessita: yes, but it does not take me long, I'll put the pizza in the oven14:07
nessitamandel: I think you have at least 30 minutes, so enjoy14:08
mandelnessita: and spaniards have lunch very late, usually 2:30, 3:00 pm :)14:08
mandelnessita: I'll be paying attention to irc14:08
faganmandel: isnt that because you are sleeping from 11-214:08
alecugood morning, #ubuntuone!14:10
faganmorning alecu14:10
mandelfagan: I wake up at 7, so I doubt it14:11
dobeysiesta is *after* lunch14:11
alecumandel, got the branch, so I'll work on the tests right now.14:12
faganahhh14:12
alecumandel, thanks!14:12
nessitaalecu: hi there. We are having the windows catch up mumble after mandel has lunch14:12
nessitaChipaca: ^14:12
alecunessita, perhaps we can start 10' before the standard thursday progress meeting. Or do it in the same meeting.14:13
mandelnessita: or we can have it now if is short (pizza in the oven)14:13
nessitaalecu: I don't think we're having the standard thursday meeting, since ralsina is not around14:14
nessitaalecu, mandel: now or later, as you both wish14:14
nessitaI think is better now14:14
* alecu is already on mumble14:14
mandelnow :)14:14
nessitaChipaca: can you make it to mumble now?14:15
mandelnessita, alecu: I'm launching mumble right now14:15
Chipacanessita: right now i have a web meeting14:16
nessitaChipaca: you prefer we waiting for you?14:16
Chipacanessita: iwould, yes14:16
nessitaChipaca: how long is the web meeting?14:16
Chipacanessita: dunno, martin isn't here so dunno14:17
thisfredyou're gonna wait until he's back? :)14:17
nessitaChipaca: np. We 3 are in mumble, so just jump in when you're ready14:17
dobeyChipaca: you could just declare it over with :)14:17
nessitaChipaca: speak loud, since you need to beat The Cure singing in the back :-P14:17
alecumandel, when you are done pizzaing, here's a branch that can use your review: https://code.launchpad.net/~alecu/txnamedpipes/run-tests-batch/+merge/6474714:18
thisfrednessita: I'm not gonna join, but if you guys need reviews or anything just tell me, I have work I can do, but I can easily be interrupted14:18
mandelalecu: cool, looking at it right now14:18
nessitathisfred: thanks!!!14:18
dobeythisfred: are you working on windows stuff?14:18
thisfreddobey:  not at all14:18
mandelalecu: why the double cd ..14:19
alecumandel, because somehow cd ..\..14:19
mandelalecu: you could remember the location where you started the script and get back to it, which is nicer :)14:19
alecudid not work.14:19
alecumandel, like pushd and popd?14:19
=== m_conley_away is now known as m_conley
alecumandel, I would do it, but I can't test it on xp to make sure it works, as I only have a seven vm14:20
mandelalecu: something like this: http://weblogs.asp.net/whaggard/archive/2005/01/28/get-directory-path-of-an-executing-batch-file.aspx14:20
mandelalecu: get the current dir of execution, store it in a var, move where ever you want, and then cd to the dir14:20
mandelalecu: but there is nothing interesting to it, you can leave it like it is :)14:21
mandelalecu: I was just asking :P14:21
nessitadobey: any news on the review for u1devtools?14:21
dobeynessita: i am looking at it right now14:22
nessitathanks14:22
alecumandel, it seems that pushd and popd also work on seven's cmd.exe14:22
mandelalecu: wanna go down that path then?14:22
alecumandel, but I would not worry about that, that script is a POS, and we'll probably be redoing it laters anyway when we have a jenkins running all this.14:22
alecumandel, don't know if they work on xp14:23
mandelalecu: ok, we can forget about it, it work anyway :)14:23
alecumandel, http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/pushd.mspx?mfr=true14:23
alecumandel, they work on xp14:23
mandelalecu: could you take a look at the runtest script I did for SSO? there you can find the way to get the path to the pthon executable, your script will only work if the person already has it14:24
alecumandel, sure. That's the kind of review I was expecting :-)14:24
mandelalecu: hehe14:25
mandelalecu: also reseting the python path to the previous value would be nice ;)14:25
alecumandel, !!!!14:29
alecumandel, in the run-tests.bat you use PYTHONPATH as the path to python, not to the libraries14:29
alecumandel, that sounds very very troublesome.14:29
alecumandel, I believe we should change that, or it will give us trouble later.14:30
mandelalecu: sounds reasonable, is just a s/PYTHONPATH/blahpath14:30
alecumandel, I'll make a branch for that on -sso, don't worry.14:31
mandelalecu: thx!!14:33
* mandel pizza eating14:34
dobeynessita: btw, how did you test such that add_signal_handler() created new dbus connections?14:35
dobeynessita: because i am not seeing that :-/14:35
nessitadobey: I'm not following, sorry. add_signal_handler where?14:35
dobeynessita: you were saying that we need to do this removing of signal handlers in the tearDown because it was creating new connections to the dbus daemon that weren't getting dropped on close(), no?14:36
dobeyat lesat, that's what i understood from your comments yesterday14:36
nessitadobey: not exactly, what I said was: when creating a new signal  receiver, either using proxy.connect_to_signal or proxy.add_signal_handler (or similar name), that signal receiver adds a new entry in the self.bus.list_names14:37
nessitadobey: if you check the list_names content at tearDown, before flushing and closing, the signal hndler is there. It is removed when closing, but I think is more cleaner to explicitely remove it before closing14:38
nessitato avoid any possible timing issues, I'm not sure that self.bus.close() blocks until all the cleanup is fully completed14:39
dobeyhuh, so i am not seeing that behavior when i do self.bus.add_signal_receiver(); list_names() doesn't get bigger14:39
nessitadobey: try proxy.connect_to_signal()14:40
nessitawhere proxy is a dbus proxy14:40
alecumandel, nessita, please review: https://code.launchpad.net/~alecu/ubuntu-sso-client/fix-batch-pythonpath/+merge/6483414:50
nessitaack14:51
dobeyhmm14:52
gordhey guys, just wondering if there is any slowness on the network, seem to be syncing at around 3kb/s14:56
faganalecu: I have that task list done ish and all of the commented out bits out of there14:59
faganjust have 1 failure and 1 error14:59
dobeynessita: still the list_names() is not growing for me14:59
faganthe failure I dont know how to fix though14:59
alecufagan, nice14:59
Chipacanessita: alecu: mumble?15:00
faganWow that was loud tunder15:02
faganIt was like outside my window15:02
tekniconature's trying to tell you something ;-)15:02
faganteknico: yeah its saying im hungry feed me that dog thats barking next door15:04
dobey"nature says… stfu or gtfo"15:05
faganhah15:05
faganalecu: hmmm no failure anymore dont really know why that fixed itself but anyway. 2 errors that im not really sure what to do with. When you have some time could you look at i15:07
fagan*it15:07
alecufagan, busy now, sorry.15:07
faganalecu: yeah I know when you time no rush15:08
=== zyga is now known as zyga-food
nessitadobey: not sure what to answer, it was for me. Even so, I'm not sure why you seem unsure to approve the branch, since removing the signal receivers is part of the expected cleanup, as far as I see.15:20
dobeynessita: why is it expected? because i didn't remove the list they get added to by some tests, to avoid breaking all those tests right off the bat?15:21
nessitadobey: by expected cleanup I mean: you create a file, is expected that tearDown will remove it. You create a listener, is expected that listener is unsubscribed. Same for signal receivers.15:23
nessitaanyways, I don  have the time to argue about this15:23
nessitadobey: you can not approve, I'll see what we can do after the 24th15:23
nessitaI meant: you can "not approve" it :-)15:24
dobeynessita: ok, i needinfoed it, and we can argue later :)15:32
nessitadobey: thanks15:32
mandelnessita: ping15:33
nessitamandel: pong15:33
mandelnessita: can you look at https://code.launchpad.net/~mandel/ubuntuone-client/working_windows_vm_helper/+merge/6480415:33
nessitamandel: yessir15:34
mandelwhen possible ofcourse15:34
nessitain about 15 minutes15:34
alecumandel, please, review again the run-tests.bat branch, now based on your code and without hardcoding the name of the folder (it used to be build\lib.win32-2.7, but that name would surely change depending on platform and on python version)15:38
alecumandel, https://code.launchpad.net/~alecu/txnamedpipes/run-tests-batch/+merge/6474715:38
mandelalecu, on it15:38
alecumandel, this one too: https://code.launchpad.net/~alecu/ubuntu-sso-client/fix-batch-pythonpath/+merge/6483415:39
mandelalecu: runt-test-batch approved, shall I mark it as approved?15:40
alecumandel, no need, just done it.15:41
mandelalecu: the other one is also ready to be approved15:41
alecumandel, cool, thanks.15:41
mandelnp15:41
alecumandel, will tarmac merge txnamedpipes?15:42
dobeyno15:42
mandelalecu: no, it has to be done manually15:42
mandelis a windows only project :(15:42
dobeybut i want to fix that eventually15:43
nessitanrn15:58
mterryHeyo!  I am interested in porting ubuntuone-couch to use dh_python2 (as it came up in its MIR and the transition is a release goal).  Does anyone here know about efforts to convert the various ubuntuone packages?  I'm under the impression that they all need to be changed in lockstep?16:03
faganhey mterry :)16:04
mterryfagan, hi!  :)16:04
faganthisfred owns that according to lp16:04
fagan(the project not the porting thing)16:05
dobeymterry: yes, it is a somewhat difficult problem16:06
thisfredI own u1couch yes, but as to the concerted effort, I don't think so, yet. dobey?^16:06
thisfredDoesn't mean we won't though16:06
thisfredah16:06
mterrythisfred, well, this is blocking my deja-dup MIR, so I have a vested interest.  Unfortunately, all the packages have to be done together16:09
mterryIs there any objection to me going through and working on that across the ubuntuone* packages?16:09
thisfreddobey: wherein lies the difficulty?16:10
thisfredI'd be happy to help, also16:10
mterryNote http://wiki.debian.org/Python/PythonSupportToDHPython216:10
mterryBut there was a question on #ubuntu-devel just now about how to prevent partial upgrades for a set of packages like this that is doing the transition.  I'm going to ask on the mailing list for input16:11
dobeymterry: i think if we should do it, we should do it in nightlies PPA first16:11
dobeyand the hard part is ubuntuone-client, and i think there might be an issue with dh_python2 and the special .pth stuff we do16:12
dobeynot sure though on that16:12
mandelnessita, alecu: I'll be away from 20 min16:16
nessitamandel: ack16:16
alecubye mandel!16:16
karninessita: Hi Nataly, could you please help me with this: http://paste.ubuntu.com/628024/16:16
karninessita: I'm trying to call "authenticate" (not working from my Java source), but I can't instanticate SingleSignOnAPI16:16
karniit's complaining about BasicAuthorizer, which I took from piston-mini-client16:16
nessitakarni: I never used the piston API, so I don't know what a piston SingleSignOnAPI is :-). You need to ask achuni or pindonga (they both are from ISD and in charge of that)16:17
karninessita: ok thank you16:17
nessitawelcome!16:18
faganoh crap a plummer has come to fix my heating need to head off a bit early16:19
faganalecu: the branch is at lp:~shanepatrickfagan/ubuntu-sso-client/nm-state-bug-fix get to it when ever you have time and send me an email. Ill get to it around 8pm UTC when im back16:20
faganIt should get to all of the things on that task list16:20
faganbe back a bit later then16:21
alecufagan, if you are confident about it, propose it for reviewing, from the launchpad page.16:22
faganalecu: not confident it still has errors that im not really sure on how to fix16:22
faganIts the dbus stuff im pretty sure16:22
dobeyoff to get lunch, bbiab16:23
faganthe code is fine though and its working just something weird is going on. (I think I need to add a mock dbus thingy to a bit to fix it and I tried that but it didnt seem to work right so I pulled it and thats why im asking about it)16:24
* fagan needs to use better english :)16:24
fagananyway be back a bit later16:25
thisfredfagan: alecu: isn't there a proposed branch to fix that already? https://code.launchpad.net/~mterry/ubuntu-sso-client/nm0.9/+merge/6386916:26
thisfredor is this yet another nm related issue?16:26
thisfredoh nm, I think it is16:27
alecuthisfred, it seems to fix the same issue16:27
alecuthisfred, fagan started working on this branch before the london sprint16:28
thisfredI know16:28
alecuthisfred, so probably there's overlapping work16:28
mterryI made that branch without being aware of the other16:28
thisfredbut continuing on this when it's already fixed seems not all that useful16:28
alecuI like mterry's solution though.16:28
thisfredme too :)16:28
thisfredSo I suggest fagan abandons his, and finds a new issue to work on16:29
alecuthisfred, I think it's still useful for fagan to keep working on it even though it might not be merged, so he gets more familiar with our process.16:29
thisfredok16:29
alecuthisfred, but if there's a better issue for him to work on... I agree.16:29
thisfredyeah, maybe finding one will take as much time as continuing down this path. I'll keep an eye out for more useful work16:30
nessitamterry: dobey made a branch for ussoc to refactor our tests in ussoc, so we can ask you to add more tests to yours without so much trouble16:33
nessitadobey: did you talk to mterry about the nm tests?16:33
mterrynessita, already in the branch16:35
nessitamterry: great! did you add the tests we were thinking on ask as well? :-D16:35
mterrynessita, I believe so (added tests for old states as well as new ones)16:36
nessitanice!16:36
nessitamterry: need a review?16:36
mterrynessita, https://code.launchpad.net/~mterry/ubuntu-sso-client/nm0.9/+merge/6386916:37
mterrythisfred, pitti just replied to my ubuntu-devel email about dh_python2 and shared a strategy for doing updates asynchronously.  So we could just update ubuntuone-couch and leave the rest.  I'm willing to do the work, but if you'd rather take it, that's fine with me16:44
thisfredmterry: It may be faster if you do it, but I'll make sure it gets reviewed quickly16:45
* mterry looks at it16:46
thisfredjust ping me with the proposal16:46
mterrythisfred, cool, thanks16:46
mterrythisfred, wait, what do you mean proposal?  It should just be a debian/ directory change.  Would you prefer to review that too?16:47
thisfredehm, dunno. We have separate packaging branches for everything u1 I think16:48
thisfredwhich I don't know the review process for. dobey?16:49
thisfredah, he's gone, anyway16:51
thisfredhttps://code.launchpad.net/~ubuntuone-control-tower/ubuntuone-couch/packaging-dailies16:51
thisfredis where the packaging branch lives for the nightlies ppa16:51
thisfredIf you propose against that, we'll have a chance to test the change in the wild before proposing it for oneiric, I gues16:52
thisfreds16:52
nessitamandel: review finished, several needs fixing and needs information. PIng me back when those are fixed/answered. Thanks!16:54
mandelnessita: is that the u1-client branch?16:54
nessitamandel: yeah, the vm_helper16:55
mandelnessita: ok, let me fix those16:55
nessitaI'll have lunch soon, after reviewing mterry's branch16:55
Davideekejarhow do I access this from other pc's?16:58
nessitamterry: approved!17:01
* nessita -> lunch17:01
mterryyay17:01
dobeynessita, mterry: i have a concern about a couple of the NM states and how we're using them17:21
dobeymterry: so my concern with only converting one thing to dh_python2 is that it will break everything else in ubuntuone, which i'd rather avoid :)17:22
dobeyhrmm17:22
dobeymterry: so it should be ok in u1 stuff, theoretically; as we already do the magic .pth file stuff17:23
dobeynessita, mterry: added my concern about _SITE and _LOCAL states to the proposal17:28
dobeymandel: does working_windows_vm_helper replace provide_window_vm_helper?17:30
* fagan back 17:31
mandeldobey: yes, is there a problem with that?17:39
mandeldobey: tat sounds harsher that I intended :)17:40
dobeymandel: just making sure since you didn't request a review from me :)17:42
dobeyand isn't hasattr() supposed to be evil and you shouldn't be doing that?17:43
mandeldobey: hmm is that the one that swallows exceptions?17:43
dobeyi think so17:44
dobeyand where you're using it, doesn't seem right anyway, but maybe i'm confused about share_id vs. volume_id in that use case17:44
mandeldobey: we have the same in the linux code: http://bazaar.launchpad.net/~mandel/ubuntuone-client/working_windows_vm_helper/view/head:/ubuntuone/platform/linux/vm_helper.py17:46
dobeymandel: eww17:49
dobey8017:50
dobey    else:17:50
dobey81 17:50
dobey        share_id = share.id17:50
dobeywhen is that ever night the right thing to use? :)17:50
=== IAmNotThatGuy is now known as M0hi
nessitadobey: when we build the share path, we use the share id to ensure path uniqueness17:51
dobeyyes17:52
nessitaisn't that what the code is doing?17:52
dobeybut is there ever a time when share.id is not the correct thing to poke?17:52
dobeyit's tryiing volume_id, then share_id, then id17:52
dobeyall attribues on the share object (theoretically)17:53
nessitadobey: right, but the call is applied on different share objects17:53
nessitasome are share offer, some other are shareresponse, and other is the share as a volume17:53
dobeyok, but still, hasattr() is evil, no, and we shouldn't be using it?17:54
nessitadobey: seems like it, though I keep using it as well...17:54
nessitagoogling now17:55
dobeywhy not do try:/except AttributeError:?17:55
nessitalook!17:56
nessitaa post from Cheepaca http://chipaca.com/post/3210673069/hasattr-17-less-harmful17:56
nessitadobey: in any case, we should not use try/except but : if getattr(instance, attr, None) is not None17:56
dobeyhmm17:57
nessitaI'm fine with asking changing hasattr to getattr() is not Nonw17:57
nessitaNone*17:57
dobeyok17:57
mandeldobey: which parameter did I have to pass to use the txnamedpipe reactor in u1dev tools?18:02
dobeymandel: --reactor=txnp iirc18:04
mandeldobey: ok, I remember it was something like that, I forgot the np :P18:04
dobeymandel: whatever the filename in ubnutone/devtools/reactors/ for the module is, is what you pass as the argument to --reactor= :)18:05
dobeyfor future easy lookup with ls :)18:05
mandeldobey: ok supperb, got it :)18:05
mandelnessita: I'm still looking at the exact answer for your need fixing in the u1client branch, but can you look at https://code.launchpad.net/~mandel/ubuntu-sso-client/use_txnamedpipes/+merge/61935 when ever you have time18:06
mandelnessita: needs to be merged so that we can us sso from the named pipes and not the ports18:07
nessitamandel: sure!18:07
mandelalecu: can you do the same: https://code.launchpad.net/~mandel/ubuntu-sso-client/use_txnamedpipes/+merge/6193518:07
nessitamandel: can I try it somehow?18:07
nonelistedQuick question for anyone that might know... looking for a way to change the UbuntuOne Control Panel login... there doesnt appear to be a option to do so, and I cant seem to locate the config file its drawing its information from...18:07
mandelnessita: the branch?18:08
nessitamandel: yes18:08
nessitanonelisted: what do you want to change exactly?18:08
mandelnessita: well if you were on windows you would be able to do runtest and see it running with named pipes.. but the vm is not ready :(18:08
mandelnessita: so I guess the answer in your case is no. I think alecu should be able to run the tests18:09
nessitanonelisted: there is no config file for the control panel, so I may be able to help you if you provide more details18:09
nonelistednessita the UbuntuOne Control panel has the wrong login... need to effectively logout, and then login under the correct login, but there is no logout option in the control panel... nor can I find a config file18:09
nessitamandel: ok, then I'll wait alecu to review it18:09
alecumandel will review it soon.18:09
mandelnessita: the namedpipes test are integration tests, that is does start a service and a client and test the full path, so they should state that it works :)18:09
nessitanonelisted: right, there is no such thing. If you logged in with the wrong username password, you should go to the devices tab and remove your current device18:10
mandelin theory (fingers crossed)18:10
nessitanonelisted: that will trigger a new request of username + password18:10
nessitamandel: "in theory"? were you able to tets it? :-D18:10
nessitanonelisted: try that and let me know how it went18:11
mandelnessita: yes, and it works, but since the tests are code, I always say in theory :)18:11
mandelnessita: god knows what can happen in the windows user land ;)18:12
nessitaTrue18:12
nonelistednessita: Sort of worked... basically it gets me to the "I have an account" page, but no new login dialog :-(18:12
nessitanonelisted: you should click in either "join now" to create a new account, or "I already have an account" to login with an existent account18:12
candtHi there. I seem to have some very old files still in my u1 webstore from the early beta days. they are not showing in the web store app, but are still mentioned in my current logs.... I do not use u1 much. sync is not working properly. I favour getting admin to reset or force clean my u1 webstore, any suggestions please?18:13
nonelistednessita: understood but upon clicking " I already have an account" the window dims slightly, and then returns to its normal active state18:13
mandeldobey: you can clearly write good email responses for stupid email threads ;)18:13
nonelistednessita: in other words no login dialog18:13
dobeyheh18:13
nessitanonelisted: seems like you're having a low level issue. Are you running our PPA nightlies?18:13
dobeymandel: i've been in the FOSS world a long time, so lots of practice ;)18:13
nessitanonelisted: if you don't know what that is, is ok :-)18:13
nonelistednessita: nope18:13
nonelistednessita: this machine is up to date on main branch18:14
dobeynessita: i bet he has a token in the keyring, but it's invalid auth from the server18:14
nessitadobey: nopes, he just removed the token18:14
nessitadobey: sso is not opening the GTK fialog18:14
nessitadialog*18:14
dobeynessita: check in seahorse, not the keyring :)18:14
nessitadobey: ENOPARSE18:15
dobeyerr, not the devices tab18:15
dobeyEBRAINFART18:15
dobeys/keyring/devices tab/18:15
nonelistednessita and dobey: you nailed it dobey.. just checked and the removal of the device did not remove it from keyring... just did and now it works18:15
dobeycandt: you should open a support request on https://one.ubuntu.com/support/contact/18:15
nessitanonelisted: yey18:16
nonelistednessita & dobey: appreciate the assistance... was killing me18:16
dobeynonelisted: no problem :)18:16
nessitathat's why we're for (among other things, of course)18:16
candt@dobey thanks18:18
mandeldobey: that is what she said ;)18:20
dobeylol18:23
mandelnessita. alecu: will be at rugby beach for 1:30 min or so, will be back and will fix the u1client brach with nessita and dobey comments. Will also propose the branches for sdtool18:23
nessitamandel: ok18:26
dobeyok18:26
dobeyoi18:42
dobeynessita, mterry: what are your thoughts on my last comment on https://code.launchpad.net/~mterry/ubuntu-sso-client/nm0.9/+merge/63869 ?19:30
nessitaoops19:31
nessitadobey: what does it mean NM_STATE_CONNECTED_SITE?19:32
mterrydobey, I'd have to look at what local and site mean exactly in NM parlance.  If you can't reach one.ubuntu.com without GLOBAL, it makes sense to only look at that19:32
mterryor not u1 but the sso bits anyway19:34
nessitaalecu: can you please do a review for me? https://code.launchpad.net/~nataliabidart/ubuntuone-control-panel/preferences/+merge/6488319:36
dobeynessita, mterry: _SITE means you have an on-site IP address (private range), and _LOCAL means you're on a .local network, and _GLOBAL means you can hit the internet, afaict19:36
alecunessita, sure19:36
nessitadobey: then in that case your suggestion makes sense19:37
dobeyof course, i have no idea how reliable that actually is :)19:39
mterrydobey, yeah, I agree.  I'll change the code.  https://secure.wikimedia.org/wikipedia/en/wiki/Site-local_address and https://secure.wikimedia.org/wikipedia/en/wiki/Link-local_address explain a bit19:40
dobeyok19:44
mterrydobey, nessita: branch updated19:47
dobey+119:50
alecumandel, ping me when you are back20:02
* alecu has just seen all the _sso tests go green on windows20:03
alecugood job, mandel!20:03
nessitaalecu: w00t?20:06
nessita:-)20:06
nessitaalecu: any signs of the UI?20:06
alecunessita, http://bit.ly/jlpvPU20:07
nessitaalecu: not sure I understood what you mean20:08
nessitawould you please rephrase?20:08
alecu"sign"20:08
nessitaah20:08
* nessita realizes how that is supposed to be funny, and she laughs à la Sheldon20:09
* alecu will stop making bad jokes. For 15 minutes.20:09
nessita:-)20:10
thisfrednon-urgent review ( so: great if you can do it, don't do it if you are working on urgent stuff): https://code.launchpad.net/~thisfred/ubuntuone-client/better-progress-bar/+merge/6488720:13
thisfredthere, I fixed it20:13
dobeyrm -rf ?20:13
thisfrednope20:13
thisfredbut there is some red in the diff :)20:14
thisfredIt at least feels like it simplified things a bit20:15
thisfredbut that may be because I just made it do what *I* wanted ;)20:15
dobeyugh, pep8 doesn't say anything about floats :(20:16
thisfredIt's 100% TDD and glutenfree!20:16
thisfreddo you prefer 0.5 to .5?20:17
dobeyyes20:17
thisfredI'll gladly fix that,  I don't care about it20:17
thisfreddoing20:17
dobey+ def __init__(self, clock): # pylint: disable=W061320:17
dobeywhy did you add that comment? because of your emacs thing?20:18
dobey+ return float(done * in_progress) / (total * total_files)20:20
dobeyis that float supposed to be () the whole thing, and not just the left half?20:21
thisfreddobey: 1. there is an unused variable there, which I suspect pylint *should* complain about20:21
thisfred2. no20:21
thisfredone of the operands of the division needs to be a float20:22
thisfredif I cast the whole division to float it'll be 0.0 always20:22
thisfredassuming it comes out to less than 120:22
dobeyoh, or 1.0, i guess20:22
thisfredright20:23
thisfredI could cast both operands to float20:23
thisfredbut it's not necessary20:23
dobeywell it would round right, so 0.5 would be 1.0?20:23
dobeybut anyway20:23
thisfredIn python 3, everyone will have jet packs20:23
dobeyit looks weird only casting the left part20:23
thisfredno it does not round, it just throws away the modulo20:24
dobeyoh, weak20:24
dobeyso the pylint W0613 i'm a bit concerned about20:25
thisfredwell, there's cases to be made for either, this makes  / and % work nicely together. As I said, it's fixed in python320:26
thisfredOk, I can take it out if you want20:26
thisfredI  don't think we check it, but I think we should20:26
dobeywe don't use pylint on u1client, no20:26
thisfredoh right20:26
dobeyfor various reasons20:26
thisfredall very good ones, I'm sure20:26
thisfredok, it's out20:27
dobeywell, actually, i'm thinking we should just switch everything to pyflakes, and burn pylint in a drum by the river20:27
thisfredfine by me20:27
thisfredthough I think this is something that maybe should be added to pyflakes then20:28
dobeyso i'd rather avoid adding more ugly pylint comments with arbitrary spacing20:28
dobeymaybe, what are the actual warning messages?20:28
thisfredWon't happen again, squire20:28
thisfredWARNING W0613 pylint:Unused argument 'clock'20:29
dobeya nod's as good as a wink to a blind bat20:29
dobeyoh20:29
dobeyyeah, unused arguments suck20:29
dobeydoes it go away if you set it as a default arg?20:29
dobeyself.clock = PatchedClock()20:30
dobeyweak20:30
dobeyi think that should be clock=PatchedClock, and self.clock = clock() perhaps20:30
dobeyor something like that, or just remove the arg, since it's in a fake object20:31
thisfredwell, it might be instantiated by code that expects the original signature20:31
thisfredsince we're patching it in20:31
thisfredanyway, it's test code, I can live with it20:31
dobeyok20:31
dobeythe other's not in test though20:32
dobey401+ def _timeout(self, result): # pylint: disable=W061320:32
thisfredalso removing20:32
thisfredbut yeah, it's again understandable: we don't control the signature of the callback I guess20:32
thisfredr1007 has them gone20:33
dobeyright20:33
dobeycool20:33
thisfredThis branch was total TDD win: It greatly helped me make incremental changes with confidence that I would have broken everything with if I'd done them all at once20:34
dobeybut at some point you just have to stick the needle in someone's arm, and see what happens20:35
alecuthisfred, looks like a lovely branch. I can't review it right now, though :P20:37
thisfrednp, as long as it gets in before final freeze ;)20:37
dobeythisfred: +1 and requested another review, since i think it's a 2-review branch20:38
thisfredyep20:38
thisfredI agree20:38
dobeyam so tired20:41
dobeystupid clouds20:47
nessitaalecu: ping20:57
alecunessita, pong20:57
nessitaalecu: I'm about to do changes to the devices widget, but then I realized I may generate a lots of conflicts for your branch On Hold20:57
alecuright20:58
nessitaalecu: since we already have the twisted web client in trunk, shall we land your branch the same?20:58
alecunessita, perhaps. It needs reviews though.20:58
nessitaalecu: I can review it20:58
alecunessita, https://code.launchpad.net/~alecu/ubuntuone-control-panel/more-devices-tab/+merge/6329220:59
thisfredgotta go to dentist20:59
thisfredbbiab20:59
nessitalet's land this baby!20:59
nessitathisfred: good luck!20:59
alecuthisfred, have fun :P21:00
* alecu pictures a scary saddist junkie dentist from thisfred neighborhood.21:00
nessitaalecu: where is your branch taking the device list info from?21:01
alecunessita, get_devices_info. "TODO: [...] this should be changed when have a working dbus replacement on win32"21:03
alecuso, it currently uses a SAMPLE_DEVICES_INFO dict that we need to get rid of.21:03
nessitaah... but... what do we need dbus for in devices tab?21:04
nessitaisn't all that rest+web?21:04
nessitaalecu: I mean, I think we should separate at backend level a call that only queries the device list, which is what we show in this UI\21:05
nessitameaning, provide separate device_info calls (different names, of course) so we use the dedicated on in QT. Anyways, we can land this as is and I can take over21:05
nessitain a subsequent branch21:06
alecunessita, backend.devices_info gets the bandwidth and notification settings from sd thru dbus, and adds that info to the "local device" in the returned dict.21:09
nessitaalecu: right, that is what I said we should have 2 separated calls21:10
alecunessita, that was why I decided to skip that call when building the qt ui.21:10
nessita"I think we should separate at backend level a call that only queries the device list" "Anyways, we can land this as is and I can take over"21:10
alecunessita, perhaps. But if we have two calls we'll be breaking our current dbus interface21:11
alecunessita, when we designed this we toyed with the idea of changing bw settings for remote devices.21:11
nessitaalecu: why? I m not saying chaging devices_info, but building a new one devices_only_info (withe a better name)21:11
nessitaand use that from QT, and leave the rest as is21:12
alecunessita, we can do that with no problems. And yes, we can do it in a different branch :-)21:12
nessitawe can change the implementation of devices_info internally to use devices_only_info, for example21:12
nessitayes21:12
dobeynessita: should i make a release of ubuntu-sso-client for oni, or do you want to?21:13
nessitadobey: if you have the time, you're welcome to :-)21:13
dobeyok, i will21:14
nessitaalecu: so, I don't like the ControlPanel widget triggering the self.get_devices_info call and having the child updating. I think each widget should query the info it needs and it should be independent from the parent, that way we can reuse the widget outside a COntrolPanel parent21:14
dobeythough i am unnaturally tired right now, so in a bit i will21:15
nessitaalecu: I usually will mark this as Needs Fixing, though I don't want to block the branch since I need it.21:15
nessitasuggestions?21:15
alecunessita, suggestions: opening a bug to refactor that?21:15
dobeyplease don't have any emergencies that require me to do more than maybe rm -rf something tomorrow :)21:16
nessitaalecu: fair enough21:17
alecunessita, we'll need to do that perhaps for the installer. Or perhaps later if the installer does not use it.21:17
nessitaalecu: done, and approved. Any luck with my preferences branch?21:21
alecunessita, sorry, I have not gotten to it yet. I want to finish the tests for the branch mandel passed me this morning.21:23
nessitaalecu: woudl you have any ETA on that?21:26
nessitawould*21:26
alecunessita, I'm fixing the last of five broken tests, after that I'll make sure no more tests are needed. I look forward to proposing the merge tomorrow morning.21:30
nessitaok, I'll seek more reviewers then, I would like to have this landed before I start working tomorrow21:31
=== zyga-food is now known as zyga
nessitamterry: simple needs fixing for https://code.launchpad.net/~mterry/ubuntuone-client/nm0.9/+merge/6386121:39
* mterry looking21:40
mterrynessita, oh yeah, forgot about that branch21:41
nessitamterry: ;-)21:41
nessitadobey: if you didn't eod'd yet, would you please also review mterry's u1client branch?21:41
dobeytests? :)21:42
dobeydoes that code currently have tests?21:42
dobeyalso, i'm not sure site/local should be treated the same here21:42
dobeyespecially if we're going to implement lan sync; but also not sure if we should treat them as offline until we do, or what21:43
mterrydobey, makes sense to treat them as offline until that functionality exists21:44
mterrydobey, I didn't see similar comprehensive tests like in ubuntu-sso21:45
nessitadobey: I agree with mterry, those are offline until we do21:46
nessitamandel: you back?21:46
mterrynessita, dobey: branch updated to handle them like disconnected21:47
nessitamterry: I'll approve after I run it IRL21:49
dobeyok21:51
dobey+1 from me21:53
dobeyand i am off. see you all on monday :)21:53
alecumandel, ping22:00
alecunessita, did you get to discuss with mandel regarding the many uses of: "type(data) == type(False)" in the following branch??? https://code.launchpad.net/~mandel/txnamedpipes/add_qt_integration/+merge/6192322:04
alecunessita, it looks awful and unneeded.22:04
nessitaalecu: I did, and I request to change to, at least, type(data) == bool22:04
* thisfred back22:05
nessitaalecu: he insisted we need to check that data was a bool22:05
nessitanot only that data represented a true value22:05
alecunessita, but it's "if data is not None or type(data) == bool"22:06
alecunessita, so the "or type...." is unneeded. All of the time!22:06
nessitacrap, is that so? I recall an and22:06
nessitaalecu: having an or there surely makes no sense22:07
nessitaif there was an and, that would be other story22:07
nessitaalecu: checking for not None is enough?22:07
alecunessita, I think that checking for None should be enough.... so none of that "type(xxx) == type(False)" makes sense.22:10
alecubut I'd like to check that with mandel, and see why he is doing things this way.22:10
nessitaok22:10
nessitamakes sense22:10
nessitawell, I'm off22:10
nessitasee ya guys tomorrow22:10
alecuI'm off too.22:11
thisfredEOD, unless someone needs a review22:30
thisfredand that will be in an hour then22:30
thisfredafter I walk the dog22:31
thisfredlater  all22:31
=== m_conley is now known as m_conley_away
mterrythisfred, I did propose a packaging branch for ubuntuone-couch dailies, btw22:47
mterrythisfred, https://code.launchpad.net/~mterry/ubuntuone-couch/packaging-dailies-dh-python2/+merge/6487022:47
thisfredmterry thanks! I'll review that23:29

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