/srv/irclogs.ubuntu.com/2011/10/31/#ubuntuone.txt

JamesTaitHappy Hallowe'en! >:-D09:32
rye_JamesTait: and morning to you too!09:32
JamesTaitrye_: Good weekend?09:34
rye_JamesTait: yep, guests, and Windows. And weird Ubuntu One bugs in Windows :)09:35
JamesTaitrye_: I love the smell of frustration on a Monday morning. :-P09:36
rye_JamesTait: well, suddenly Ubuntu One found "My Pictures", "My Videos" in Documents folder, created them on the online storage, upon restart it ends up in infinite loop in local rescan by faililng to scan these directories which do not exist09:37
rye_So I am really frustrated09:38
JamesTaitrye_: Interesting. So what are they then, virtual directories or something?09:38
rye_JamesTait: nothing, bug #88392609:39
ubot4Launchpad bug 883926 in ubuntuone-client "[windows] Adding watch to nonexistent directory (affects: 1) (heat: 6)" [Undecided,New] https://launchpad.net/bugs/88392609:39
JamesTaitrye_: Nice tags on that bug. ;)09:41
rye_JamesTait: the u1-zomg-windows is being added by nessita to the bugs, so I guess they are tracking them09:42
rye_Also, a good thing to do before doing such jumps is to actually copy the SSH keys over to some external location. Now I need to swap the hard drives to get them09:44
gatoxhi10:04
rye_mornings, gatox10:04
gatoxrye, hi!10:04
gatoxbrb!!12:05
alecuhello!12:16
gatoxalecu, hi12:17
mandelgatox, ping12:26
gatoxmandel, pong12:26
mandelgatox, morning!12:27
gatoxmandel, morning! how are you?12:27
mandelgatox, so, I just wanted to let you know that I'll be starting work a little later :)12:27
gatoxmandel, ahhhhh okok.... so me too :P12:27
mandelgatox, 'cause I'mworking with alecu and dont want to make hime wake up to early :P12:27
gatoxmandel, ack!12:28
* mandel errands12:29
mandelgatox, does tarmac work?13:10
gatoxmandel, no idea13:15
mandelgatox, I have a branch that has been accepted and not merged..13:15
gatoxmandel, i didn't try to merge anything today yet....13:16
dobeymandel: url?13:17
mandeldobey, https://code.launchpad.net/~mandel/ubuntuone-control-panel/fix-tests/+merge/8058713:17
dobeyhmm13:18
dobeymandel: i think it's down13:20
mandeldobey, ok, no worries, I just wanted to know :)13:21
mandeldobey, how is the keynote going?13:22
mandeldobey, I've been told we have been mentioned :P13:22
dobeymandel: yeah, u1 was mentioned a few times13:23
mandel\o/13:24
gatoxmandel, alecu dobey standup in 2'?13:28
dobeyno13:29
mandelgatox, should it me in an hour?13:30
dobeyyou guys can13:30
mandeldobey, true, uds for you13:30
gatoxmandel, nok by me13:30
gatoxok13:30
ryemandel, poke13:30
ryemandel, bug #88392613:30
ubot4Launchpad bug 883926 in ubuntuone-client "[windows] Adding watch to nonexistent directory (affects: 1) (heat: 6)" [Undecided,New] https://launchpad.net/bugs/88392613:30
ryeme is a bit puzzled13:30
mandelrye, uh, nice title.. let me see13:31
mandelrye, ok, which version of the installer is that?13:32
mandelrye, sorry of the port13:32
ryemandel, current latest13:32
ryemandel, installed this saturday13:32
* mandel thinks we should also provide the rev number of the client rather than a random number..13:32
mandelrye, hm.. funny, 'cause those logs look that they do not folow the new logging, let me check13:33
dobeymandel: eh?13:33
dobeymandel: what do you mean about revno?13:33
ryemandel, i don't have the logs at the point when it noticed these phantom directories, since the local rescan logs pushed these out, in order to get more info I would need to reboot into windows, as this is a real world installation13:34
mandeldobey, the windows client has a version, but has nothing to do to with the revno of the source code. When we have an issue there is not way to know in which revno we released the installer13:34
mandeldobey, we don't even have a spreadsheet that maps revno and releases.. and is a PITA and really bad practice13:35
dobeymandel: tag your releases!13:35
mandeldobey, we should, but our release process at the moment is crap, is from a branch from ralsina that has not yet been merge to the lp:ubuntone-windows-installer13:35
dobeymandel: but the alignment of windows/linux releases will help with that13:36
mandeldobey, hopefully it will13:36
dobeymandel: if it's not merged, it hasn't got a revno13:36
dobey:)13:36
mandeldobey, that would be for the installer, but the u1-client does :)13:37
mandeldobey, anyway, we are doing a shit job with the windows releases13:38
dobeymandel: and we will fix it13:38
mandelrye, I'd need more info from the start of sd to see why is thinking those paths exist..13:38
mandelrye, can you add that to the bug report? I need to go for lunch now :)13:39
ryemandel, https://bugs.launchpad.net/ubuntuone-client/+bug/883926/comments/2 ?13:39
ubot4Launchpad bug 883926 in ubuntuone-client "[windows] Adding watch to nonexistent directory (affects: 1) (heat: 6)" [Undecided,New]13:39
mandelrye, ok, I think that bug is fixed and it was related to a bad implementation of a method on the windows file system watcher, look here: http://bazaar.launchpad.net/~ubuntuone-control-tower/ubuntuone-client/trunk/view/head:/ubuntuone/platform/windows/filesystem_notifications.py13:41
mandelrye, the logging in your machine does not match with the one present in trunk13:41
ryemandel, it is the latest available .exe from the web site, so this version is in the wild13:41
ryemandel, so, if that is fixed in trunk, it will still take some time to reach people. What I am worried is whether the next version will work properly with the data collected by broken one13:42
mandelrye, we shoould be making a release with the fixes this week that wills solve it13:42
ryemandel, currently the sync is infinite loop for some reason13:42
ryein local rescan i mean13:43
mandelrye, hm.. can you give me 30 min for lunch and we look into it?13:43
ryemandel, sure!13:44
mandelrye, ok, I'll ping you when Im back :)13:45
ryejoshuahoover, bug #745540  - this is something wrong with keyring, not Ubuntu One. We are displaying the wrong bug14:01
ubot4Launchpad bug 745540 in ubuntuone-client (Ubuntu) (and 5 other projects) "Method "CreateItem" with signature "a{sv}(oayay)b" on interface "org.freedesktop.Secret.Collection" doesn't exist (affects: 63) (dups: 2) (heat: 316)" [Undecided,Invalid] https://launchpad.net/bugs/74554014:01
ryei.e. we are not checking the exception and cause another one14:01
joshuahooverrye: do we know what the cause is? because i can't get any users impacted by it past it14:02
dobeyoh fun14:02
dobeyrye: are you sure?14:03
ryedobey, we switch to this old signature on ANY error from dbus, and cause the users to be notified about the signature error14:04
=== jdobrien is now known as webm0nk3y
dobeyhmm14:05
joshuahooverrye: sounds like maybe we need to file a new bug for this?14:08
ryei just can't get it to fail to get the details of the error to trap it correctly14:08
ryeor can i...14:10
ryelet me break my keyring14:10
mandelrye, ping14:14
ryemandel, pong14:17
mandelrye, so, getting back to the issue, I think the best thing would be to do an IRL tests with your account and trunk and see what happens, but I believe there should be no problems14:19
mandelrye, also, does the shell show that you have a My Music library?14:19
mandelno cmd, but the shell (explorer)14:19
ryemandel, yes, i do, on a level upper than My Documents14:19
ryewhich is also a view14:20
ryejoshuahoover, do users describe that Ubuntu One control panel simply grays out after they click that they have an account?14:20
mandelrye, hm.. I hope that we are not getting that in the os.listdir for somet stupid stupid reason..14:21
mandelrye, let me know what you ddi with the folder and I'll do the same in my test vm.. I hope python is not THAT broken on windows 714:21
joshuahooverrye: i've had one user mention that, yes14:22
ryejoshuahoover, I managed to get this now14:22
=== m_conley_away is now known as m_conley
ryejoshuahoover, I dismissed the keyring prompt after I moved my login keyring to another name14:22
ryemandel, so, I had a real UDF folder called "Documents". I installed Ubuntu One on Windows, added it to my real world account.  The files in Ubuntu One syncded perfectly14:22
ryemandel, I wanted to test UDF so I subscribed to Documents UDF in control panel. It asked whether I'd like to merge the files, so I did that.14:23
ryemandel, the directory at that time contained one text file and one directory, nothing was syncing that dir14:24
ryemandel, the UDF started populating with files locally, as expected. I waited until it finshes syncing and was pleased with the performance.14:25
mandelrye,  and then the My Music was left out?14:25
mandelrye, 'cause the issue is that we try to add a watch yo my music and then it creates it in the cloud, right?14:26
ryemandel, then I decided to put a bunch of files to \Ubuntu One folder. It claimed that it got all files, but due to the bug with I/O on closed files I had to shut down syncdaemon and control panel and start it again14:26
ryemandel, after that SD went into infinite loop14:26
ryemandel, there were no "My Documents", "My Videos" or "My Pictures" directories or views in ~/Documents folder at any time during this14:27
ryemandel, yet, SD managed to create the folders online, and now it iterates over them, failing, and iterating again in local rescan.14:27
ryemandel, so there are 2 bugs as facundo noticed - one - the folder was added which does not exist14:28
ryemandel, 2nd - local rescan breaks when it adds a watch on the folder tha does not exist with "Permission Denied"14:28
mandelrye, ok, the permission denied is because the windows api is plain stupid and returns that instead of file not found.. so that should be a simple fix, the second one is more complicated, I fear that at some point a shell function is used to get the dirs and returns library (which are not real paths)14:30
mandelrye, lets go step by step, can ou create a bug for the first one, and we will talk with nessita about how should fix it (but I'm sure is me :P )14:30
nessitamandel: not necessarily :-)14:31
mandelrye, we create a second bug for the library issue and we talk with nessita again, mainly for the resources allocation, that is all14:31
mandelnessita, hehe14:31
nessitamandel, rye: with UDS going on this week, expect some delay on bug fixing. alecu and mandel need to move on on the proxy support feature if we want to make it in time for feature freeze14:31
nessitarye: but yes, bug reports and pinging next week is the best way to proceed :-)14:32
ryenessita, well, I will not survive for that long in Windows14:32
nessitarye: why not?14:33
ryenessita, it is scary over there14:33
ryenessita, and I had no SSH keys with me14:33
mandelrye, there is a fix for the is_path_dir method which should aboid the issue nevertheless14:33
mandelrye,  we should test that before we report anything since it has already landed in trunk14:34
ryenessita, i'd like to reproduce the bugs but I haven't deployed the python environment yet14:34
nessitarye: right... is not so hard, the wiki page is pretty accurate14:34
nessitamandel: that fix is in trunk already isn't?14:35
mandelnessita, yes it is, so I think we should first test that that does not work as expected14:36
ryemandel, well, I will grab all the keys I need and will swap the hard drives (poor-man bootloader switch)...14:36
=== CardinalFang_ is now known as CardinalFang
alecujoshuahoover, regarding bug #74554014:39
ubot4Launchpad bug 745540 in ubuntuone-client (Ubuntu) (and 5 other projects) "Method "CreateItem" with signature "a{sv}(oayay)b" on interface "org.freedesktop.Secret.Collection" doesn't exist (affects: 63) (dups: 2) (heat: 316)" [Undecided,Invalid] https://launchpad.net/bugs/74554014:39
alecujoshuahoover, you mention trying numerous configurations. Have you tried setting the user to be the one that's used in autologin?14:41
alecujoshuahoover, probably setting it during configuration may make a difference too.14:41
joshuahooveralecu: that is one i have not tried yet...though it sounds like rye thinks we're showing that error incorrectly14:41
alecujoshuahoover, oh, ok.14:42
nessitaalecu: hi there! ralsina hasn't come yet, so as soon as he gets here, I will try to setup a proxy meeting time14:43
nessitaalecu: were you able to build the poll?14:43
nessitado we have any stat from that?14:44
* joshuahoover funny that proxy should be mentioned...just replied to a support request for a user behind a proxy server14:45
alecunessita, no, I didn't do any poll. I was planning on doing it today14:45
alecujoshuahoover, do you have any specific details on the users requesting proxy support?14:46
alecujoshuahoover, like proxy types or something?14:46
joshuahooveralecu: most have no idea14:46
nessitaalecu: ack, please make that your priority so we can have the feedback as soon as possible, so we can plan the work for you and mandel to "start"14:46
joshuahooveralecu: they're just behind "a proxy" that their company, university, etc. have14:46
nessitagatox: any ETA on having https://code.launchpad.net/~diegosarmentero/ubuntu-sso-client/tests-broken/+merge/80596 fixed?14:47
nessitagatox: that may block the rest of your ussoc branches since it fixes the tets suite :-)14:47
gatoxnessita, mandel is helping me with an issue that i'm having with 2 tests suites, that are making twisted fail in an assert14:48
alecujoshuahoover, right. I guess most users would not know what type of proxy they are using; but perhaps they might be able to tell if it's a Microsoft Proxy or something else?14:48
nessitagatox: which test suite?14:48
mandelnessita, I think I know th fix, will try it in a sec :)14:48
nessitagatox: the error "SyntaxError: 'return' with argument inside generator" involves just changing the return for a yield, is that blocking you?14:49
gatoxnessita, CredentialsManagementTestCase and SSOLoginTestCase, the previous tearDown has a return, and now with the yield i changed the return to defer.returnValue14:49
nessitagatox: show me the trace, please14:49
joshuahooveralecu: i'm asking those users now as they come up to see if we can get more info on that14:49
gatoxnessita, http://paste.ubuntu.com/724414/14:50
alecujoshuahoover, I was planning on making a small survey to ask info about that...14:50
nessitagatox: and what did you change to have that error?14:51
alecujoshuahoover, can I send you the link in a few minutes, and you can tell me if it's too complex?14:51
joshuahooveralecu: that would be good to, duanedesign could post that to our facebook page and twitter account14:51
joshuahooveralecu: sure14:51
alecujoshuahoover, great, thanks.14:51
webm0nk3yhttps://blueprints.launchpad.net/ubuntu/+spec/desktop-p-u1-couchdb-sync14:52
nessitagatox: seems like you're returning the defer as a defer result instead of yielding in it14:52
nessitagatox: confirmed, you probably changed:14:53
nessita    577         return defer.gatherResults([self._tearDownServer(),14:53
nessita    578                                     self._tearDownClient()])14:53
nessitawith defer.returnValue, and that is worng14:53
nessitawrong*14:53
gatoxnessita, yes, that's that  mandel told me14:53
nessitamandel: that is wrong! :-)14:53
nessitagatox: but I need you to think this a little bit :-) returning a deferred is the same as yielding on the defer within inlineCallbacks14:54
gatoxnessita, no, mandel told me to add the: gatherResults14:54
nessitagatox: nopes, just change the return by yield14:54
mandelein? what did I say?14:54
nessitaso, the final line of that tearDown should be:14:54
mandelgatox, nessita I don't recall saying using the gather resuls.. :P14:55
nessita    577         yield defer.gatherResults([self._tearDownServer(),14:55
nessita    578                                     self._tearDownClient()])14:55
mandelI said this: http://paste.ubuntu.com/724415/14:55
gatoxmandel, maybe i got confuse14:55
mandelgatox, hehe no worries :)14:56
nessitagatox: the solution that mandel is showing is the correct one14:56
nessitamandel: sorry for boofing before14:56
gatoxmandel, yes, that do the trick14:57
gatoxTHANKS14:57
mandelnessita, I was more worried about looking bad infront of you that anything else ;)14:57
mandelgatox, cool, I'm glad it worked :)14:57
nessitamandel: for a monet I got really scared that you were saying the wrong stuff :-)15:01
nessitamoment*15:01
mandelnessita, there was a problem with the communication, that is all :)15:01
gatoxnessita, no, was my bad, trying to explain what mandel was telling me15:01
nessitagatox: do you understand why defer.returnValue was worong and why yield works?15:01
gatoxnessita, yes, mandel explains me and show me the doc15:02
mandeland the source code :)15:02
gatoxyes, the source code actually :P15:03
nessitagatox: I think is very important that you see the difference, is key to understanding deferreds, and tetsing with15:07
nessitadeferreds15:07
gatoxnessita, yes, it's more clear now15:07
nessitagatox: great! I'm happy to explain more next week15:08
gatoxnessita, are you going to be here next week?15:08
nessitagatox: yes! we can get together and do some IRL catchup15:08
gatoxnessita, yes, i was thinking about that..... and do a "ping pong de preguntas y respuestas" :P to understand better some things15:09
nessitagatox: sure15:09
nessitagatox: wednesday may be a good day15:09
nessitagatox: or thrusday15:09
gatoxnessita, no problem for me15:10
nessitaok, going offline for a while15:16
=== eu is now known as Guest50440
* mandel needs coffee to think16:12
=== beuno is now known as beuno-lunch
nessitaalecu: GREAT work on the survey, thanks! loks really good and clear16:35
alecunessita, we went live a few minutes ago when duanedesign posted the link on twitter, and we already have almost 40 respondents16:38
nessitaalecu: that's great! :-)16:38
nessitaalecu: I'm looking forward to see the summaries  (I guess we need to wait at least until tomorrow)16:38
nessitaok, heading for lunch soon, going offline16:44
gatoxalecu, ping17:43
alecugatox, pong17:43
gatoxalecu, i'm having an issue with a dirty reactor..... we were looking at the code with mandel, but we are pretty stuck17:45
gatoxalecu, mandel suggestions help me to fix some of them, but i still have 1 dirty reactor error17:45
alecutell me!17:45
gatoxalecu, i'm working in a branch that fix the tests after the change in dev-tools, i added "yield" to the tearDown of CredentialsManagementTestCase and SSOLoginTestCase..... but those methods had a return, so we change that to gatherResults, and the errors with the dirty reactor appear17:47
gatoxthis is the trace i'm having now: http://paste.ubuntu.com/724537/17:48
gatoxand this is the branch: https://code.launchpad.net/~diegosarmentero/ubuntu-sso-client/tests-broken/+merge/8059617:48
=== beuno-lunch is now known as beuno
=== lifeless_ is now known as lifeless
=== yofel_ is now known as yofel
gatoxalecu, everytime that i execute the test i have different failures :S}18:31
alecugatox, ugly!18:33
gatoxalecu, too much18:35
nessitagatox, alecu: can I help?18:36
gatoxnessita, i'm testing different possibilities to check what's going on... but it's kind of tricky18:37
nessitagatox: can I have a little more context? is this windows? the unicode issue? are you writing tests or still testing IRL?18:38
gatoxnessita, no, this is the branch that fix sso tests18:39
gatoxnessita, and the error is only in windwos18:39
nessitagatox: still failing? have a race I can look at?18:39
nessitatrace*18:39
gatoxnessita, yes, let me give you18:40
gatoxthat18:41
nessitagatox: that?18:42
gatoxthe trace18:43
gatoxnessita, i'm running the test again18:43
nessitaah18:43
gatoxnessita, http://paste.ubuntu.com/724593/18:44
alecugatox, I got no errors on oneiric, even after enabling and updating nightlies18:45
nessitaalecu: that's windows code... the one that has the "dummy" factory in it18:45
gatoxalecu, running the sso tests?18:45
alecu(I found out that I was missing the nightlies when lint started throwing import errors for ubuntuone-dev-tools)18:45
alecugatox, ./run-tests18:46
nessitagatox: is the branch updates in LP? I can branch and see18:46
nessitaupdated*18:46
gatoxnessita, yes, it has some commented lines, i didn't clean it yet18:46
nessitaack18:46
nessitagatox: did you try just changing the minimal stuff?18:48
nessitagatox: I see a lot more code than expected18:48
gatoxnessita, that branch contains the fix for all the tests, now only credentialsManagementTestCase and SSoLoginTestCase are failing18:49
alecugatox, both "run-tests" and "run-test -qt" work fine on my fully-updated oneiric18:49
nessitagatox: yes, did you try adding the minimal fix to main/tests/test_windows.py?18:49
nessitagatox: on top of the other fixes18:50
gatoxnessita, sorry..... what do you mean with "the minimal fix"?18:50
nessitagatox: well, in the branch you have much more that the minimal. You have some addCleanups, and some commented out code18:51
gatoxnessita, yes the cleanup it's because, some cleaning was made in the tearDown, and that cause other failures.... i'll clean that code and look where to locate the cleaning code...18:53
nessitagatox: the addCleanup is not needed... as far as I can see18:53
nessitagatox: I have a diff that is working, let me pushit18:54
gatoxnessita, the cleanup was to do the same that the tearDown was executing, but without executing that in the tearDown because that was presenting somme oother twisted issues18:55
nessitagatox: I guess you had some other issue18:55
gatoxnessita, probably...18:55
nessitagatox: the tearDown as it was originally should stay the same, adding yields properly18:55
nessitagatox: this is all green for me on windows: https://code.launchpad.net/~nataliabidart/ubuntu-sso-client/review_tests-broken18:55
* gatox checking...18:56
gatoxthe tearDown with yield as we talk earlier was not working for mme and mandel18:56
gatoxi'll try that18:56
nessitagatox: try the branch I emailed you19:01
nessitagatox: if it fails, change nothing and show me the trace19:01
gatoxnessita, ok19:01
gatoxi was trying the one you told me here.....19:01
gatoxbut fails19:01
gatoxlet me branch19:01
gatoxnessita, where did you send it??19:03
=== ejat- is now known as ejat
nessita(02:55:49 PM) nessita: gatox: this is all green for me on windows: https://code.launchpad.net/~nataliabidart/ubuntu-sso-client/review_tests-broken19:03
nessitagatox: ^C19:03
nessitagatox: ^19:04
gatoxahhhh...... that one..... i thought you send  me another one to my e-mail19:04
gatoxnessita, no, is not working..... maybe something is wrong here..... i'll show you the paste19:06
nessitagatox: ack19:06
gatoxnessita, and now it work...... AHHHH..... every time i run the tests i have: PASSED, or different numbers of failures19:07
nessitagatox: well, make it fail once, and show me the trace19:07
nessitagatox: I need to go offline for a minutes19:09
nessitagatox: ok, shoot19:24
gatoxnessita, http://paste.ubuntu.com/724619/19:26
gatoxnessita, i'm running them again.. to see what happend19:26
nessitagatox: are you 100% sure you're running my branch, with ni changes?19:26
nessitano*19:26
gatoxnessita, yes, i just branch it when you tell me19:27
gatoxnessita,  i think that there is some timing issue.... i run the test again, and now i'm getting failures in tcpactivation only19:28
nessitagatox: what do you mean "tcpactivation' only?19:29
gatoxnessita, that now, CredentialsManagementTestCase and SSoLoginTestCase seems to be fine, and tcpactivaction is failing... but in the paste that i gave you before, tcpactivation was fine, and Cred y SsoLogin were failing....19:30
nessitagatox: what is "tcpactivaction is failing"? what kind of error you have?19:31
gatoxnessita, and now i run it again, and show me 11 errors instead of 2..... the errors are always reactor unclean19:31
gatoxnessita, are the tests working for you in windows always?? did you try to execute them several times to see if they fail?19:35
nessitagatox: yes, no failure19:35
nessitagatox: may be faster hardware in my case19:35
gatoxnessita, probably... my machine is quite slow at this moment....19:36
gatox(in the process of buying something new...)19:36
gatoxnessita, now all the tests pass :P19:37
gatoxwithout any change19:37
nessitagatox: so, stop working on this, and keep going with the unicode issue19:39
nessitagatox: I'll debug when  have a moment19:39
nessitagatox: there are also some nasty code duplication that we should fix19:39
gatoxnessita, ok...19:39
nessitagatox: so I'll propose a branch basing my work in yous19:39
gatoxnessita, let me know if i can help in anything..... at least testing it in this hardware19:40
nessitagatox: sure! thanks19:40
gatoxnessita, thank you19:41
gatoxnessita, i'll go back to unicode issues now19:41
nessitaye,s good luck!19:41
gatoxbrb..... i'll take a little break19:47
=== m_conley is now known as m_conley_away

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