/srv/irclogs.ubuntu.com/2012/05/17/#ubuntuone.txt

JamesTaitMorning all!09:41
popeyhey all. a few of us in the uk have machines which have files waiting to sync but no transferrs10:23
ryepopey: hi10:24
popeyhullo10:25
ryepopey: is SD status connected?10:25
ryepopey: and how big are the files && how much data was already transferred? - u1sdtool --current10:26
popeyrye: TheOpenSourcerer has a similar issue10:26
TheOpenSourcererhello.10:26
popeyas does AlanBell10:26
AlanBellyes, me too10:26
TheOpenSourcererAdding a dir and nothing seems to be happening10:26
popey    is_connected: True10:26
TheOpenSourcererno syncing or even getting the dir listed in the U1 client or the web10:26
* AlanBell has added a directory of stuff and it synced for a bit but appears to have stalled10:27
popey--waiting shows stuff waiting10:27
popey--current-transfers shows 010:27
ryenice.10:28
ryeby the way, i guess I can recommend installing the indicator until design comes up with a better alternative, to see whether anything is actually happening10:28
AlanBellhttp://paste.ubuntu.com/992121/ last 200 lines of my syncdaemon log including a little python traceback10:28
ryeAlanBell: https://bugs.launchpad.net/ubuntuone-client/+bug/988534 Hmm10:29
popeyi cant use the indicator right now, machine is at home and I am in millbank10:29
ubot5Ubuntu bug 988534 in Ubuntu One Client "KeyError in the Upload" [High,In progress]10:29
ryeanybody else having a KeyError with marker?10:29
TheOpenSourcererrye daily or from your extras ppa?10:30
ryeAlanBell: what version of ubuntuone client are you running?10:30
AlanBellrye: fully updated precise10:30
ryeTheOpenSourcerer: extras will do10:30
popeyalan@wopr:~/.cache/ubuntuone/log$ grep KeyError syncdaemon.log | wc -l10:30
popey6310:30
popeyhttp://paste.ubuntu.com/992122/10:31
ryepopey: ok, you have upload failure from the server10:32
ryeAlanBell: could you please archive the whole log dir and send it to ubuntuone-support@canonical.com?10:33
popeyrye: is that good or bad? ☺10:33
TheOpenSourcerercan I start the indicator app without logging out?10:34
ryeTheOpenSourcerer: yep, it is in /usr/lib/indicator-ubuntuone/indicator-ubuntuone10:34
TheOpenSourcererty10:34
ryeseriously? bug #978903 ????10:35
ubot5Launchpad bug 978903 in ubuntuone-client (Ubuntu Precise) "[precise] Client is stuck due to Upload executing before MakeFile" [High,Triaged] https://launchpad.net/bugs/97890310:35
ryeping joshuahoover, I can has SRU?10:35
ryeAlanBell: in your case that's bug #978903 which is supposed to be SRU'd ASAP but it is not for some reason, will follow up on this today10:36
ubot5Launchpad bug 978903 in ubuntuone-client (Ubuntu Precise) "[precise] Client is stuck due to Upload executing before MakeFile" [High,Triaged] https://launchpad.net/bugs/97890310:36
ryepopey: looking at your logs. something is not right there too, could you please grep -C 20 -E KeyError.*marker ~/.cache/ubuntuone/log/syncdaemon.log* ?10:38
popeyrye: no hits10:39
TheOpenSourcererlast entry in my syncdaemon-exception.log: http://paste.ubuntu.com/992138/10:39
AlanBellrye: ok, logs on the way10:39
TheOpenSourcererNo obvious errors in syncdaemon.log10:40
ralsinarye: SRU is being uploaded today10:40
ryeralsina: oh, that's good to know, I was about to start alarming10:40
ralsinarye: we delayed it  bit because of the SSL problems, didn't want to lock users out :-(10:41
AlanBellso mine will sync tomorrow or something?10:41
ralsinaAlanBell: yes, maybe in two days. Earlier if you install the update manually frm proposed10:41
AlanBellwill do10:42
ryeAlanBell: you may want to restart the client - it is a recoverable error10:42
ryeTheOpenSourcerer: your log message is quite spectacular, do you mind archiving the ~/.cache/ubuntuone/log/syncdaemon* files and sending them to ubuntuone-support@canonical.com too? There is a state mismatch and metadata does not correspond to the expected state10:43
ryeTheOpenSourcerer: talend/.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.index - is it inside a UDF ?10:44
TheOpenSourcerercan do. I've been trying to add a new dir to U1 all morning and it just doesn't seem to be doing anything at all...10:44
* rye wants to reproduce10:44
ryeTheOpenSourcerer: the directory was added but in a weird way10:44
TheOpenSourcererrye: I have removed that dir from U1 via the web interface.10:44
ryeTheOpenSourcerer: could you please try restarting syncdaemon to get fresh logs after you send current ones?10:44
TheOpenSourcererOK.10:44
TheOpenSourcerer1st batch of logs in their way.10:46
TheOpenSourcererwhat's the right way to restart the syncdaemon?10:47
TheOpenSourcerernot a "service" by the looks of it10:47
TheOpenSourcererrye - talend dir and files are in ~/Development/Workspaces/talend... (plain old ext4 spinning rust file system) so not sure what you mean by UDF. These are created by Eclipse (Talend is an eclipse framework product).10:53
ryeTheOpenSourcerer: u1sdtoool --quit10:59
ryeTheOpenSourcerer: and then you can start it with u1sdtool --start10:59
TheOpenSourcererah - I killed the process id then restarted it with /usr/lib/ubuntuone-client/ubuntuone-syncdaemon &11:00
ryeTheOpenSourcerer: then see whether the talend dir is still being synchronized - u1sdtool --list-folders  - https://wiki.ubuntu.com/UbuntuOne/u1sdtool11:00
ryeTheOpenSourcerer: well, that also workd11:00
ryeworks11:00
TheOpenSourcerertaled is not in the folder list.11:01
TheOpenSourcerertalend11:01
TheOpenSourcererI tried to add a new dir earlier called talend-5.1 - this is not in the list either.11:02
TheOpenSourcererOK - have added it agin and now it seems to be working.11:03
TheOpenSourcererdo you want the new syncdaemon log files?11:03
ryeTheOpenSourcerer: ok, the old ones will do, since there is no file which causes the issue, there is no error11:07
TheOpenSourcerernp.11:07
TheOpenSourcererthanks11:08
TheOpenSourcererahh - it has stalled again.11:09
TheOpenSourcererhttp://paste.ubuntu.com/992174/11:09
ryeTheOpenSourcerer: is there an Upload entry before that traceback ?11:11
TheOpenSourcererhang on I'll pastebin the log file.11:12
TheOpenSourcererhttp://paste.ubuntu.com/992178/11:13
ryeTheOpenSourcerer: great, now you are definitely experiencing bug #978903 and unfortunately for now you have two options - 1. restart u1sdtool upon failure or 2 - patch the code with the diff http://bazaar.launchpad.net/~dobey/ubuntuone-client/queue-limit-3-0/revision/1184#ubuntuone/syncdaemon/action_queue.py11:15
ubot5Launchpad bug 978903 in ubuntuone-client (Ubuntu Precise) "[precise] Client is stuck due to Upload executing before MakeFile" [High,Triaged] https://launchpad.net/bugs/97890311:15
ryeTheOpenSourcerer: it is a ">" to ">=" change11:15
TheOpenSourcerer:-)11:15
TheOpenSourcererthanks.11:15
ryeTheOpenSourcerer: yes, i know :-/11:15
TheOpenSourcererpatched.11:18
TheOpenSourcererrestarted syncdaemon11:19
TheOpenSourcerercd -11:19
TheOpenSourcereropps11:19
TheOpenSourcerertransferring files :-D hoorah! Thanks rye11:20
ryeAlanBell: you might want to do this one-line patch too in the mean time ^11:22
ryeTheOpenSourcerer: thank you for confirmation. I really hope we can get this SRUd as soon as possible11:23
TheOpenSourcerernp - thanks for the "quick-fix" :-)11:24
AlanBellwhere is the file that needs patching?11:25
TheOpenSourcererin /usr/share/pyshared/u1-client/...11:25
TheOpenSourcererin the syncdaemon dir11:26
TheOpenSourcererline 1098 add a "="11:27
TheOpenSourcerer:-)11:27
gatoxgood morning!11:27
mandelgatox, morning! I did the review you asked me to11:38
mandelgatox, let me know if there is a re-review needed11:38
gatoxmandel, yes...... i'm fixing the branch11:38
=== yofel_ is now known as yofel
ryeAlanBell: /usr/share/pyshared/ubuntuone-client/ubuntuone/syncdaemon/action_queue.py11:49
alecusaluton ĉiuj!12:08
mandelalecu, morning!12:08
gatoxalecu, hi12:09
gatoxmandel, if you can, the branch is ready for re-review12:24
mandelgatox, I'll have to do it after lunch, is that ok?12:25
gatoxmandel, of course!12:25
AlanBellhttp://people.ubuntu.com/~alanbell/Screenshot%20from%202012-05-17%2013:33:46.png is this normal?12:35
AlanBellloads of CPU and occasional bursts of network stuff12:36
AlanBellI am adding a folder of a gig or so of assorted stuff12:36
mandelok, I'm off to have lunch12:36
ralsinaalecu, facundobatista: sent you email with what I understood yesterday, feel free to make corrections/additions before I send it upstairs :-)13:07
alecuralsina, awesome, looking.13:08
dobeyhmm13:12
ralsinadobey: can you point me to the stable branch merges? I will do them starting in a bit.13:13
facundobatistaralsina, you should use my canonical mail account for this kind of stuff13:15
ralsinafacundobatista: sorry, I get autocompletion by name and don't notice13:15
ralsinafacundobatista: hapens to me about once a week13:16
ralsinafacundobatista: will try!13:16
facundobatistaralsina, no problemo13:16
ralsinamandel: what do you think of doing it so when syncdaemon doesn't start we give an error that says something like "Cannot connect to syncdaemon" instead of "None has no attribute freaking get_rootdir?"13:23
* ralsina starts branch13:23
dobeyralsina: https://code.launchpad.net/~dobey/ubuntuone-client/fix-test-fails-3-0/+merge/10606213:24
dobeyralsina: taht one's pretty trivial, and should land first :)13:24
ralsinadobey: on it!13:24
ralsinadobey: global aprove13:25
dobeyhttps://code.launchpad.net/~dobey/ubuntuone-client/fix-984407-3-0/+merge/10606313:28
dobeyhttps://code.launchpad.net/~dobey/ubuntuone-client/fix-getdelta-3-0/+merge/10606413:28
dobey^ and those are the other 213:28
ralsinadobey: +1 on the 1st one, the second is going to take a bit13:30
ralsinadobey: fix-getdelta works, passes tests, and everything but what's a change that adds a function that's not called supposed to do?13:35
ralsinaOh, got it13:35
ralsinanevermind13:35
dobeyheh13:35
ralsinadamn context13:35
ralsinadobey: There, +1 and global approved on all those branches13:36
dobeycool13:36
* mandel back13:37
dobeyralsina: you didn't actually *vote* on https://code.launchpad.net/~dobey/ubuntuone-client/fix-test-fails-3-0/+merge/106062 but only set the global status to approved13:37
mandelralsina, I do think is a much nicer error to be propagated13:37
ralsinamandel: isn't it?13:37
ralsinamandel: yeah, I will do it13:37
ralsinadobey: oops13:37
ralsinadobey: probably did it too quickly13:38
mandelralsina, that is not the first user I see with that issue.. I hav been following @ubuntuone on twitter because some users report bugs that one..13:38
* mandel wonders what other uses do people find for twitter..13:38
mandelbriancurtin, I did a review for https://code.launchpad.net/~brian.curtin/ubuntuone-windows-installer/build_installer/+merge/105403 let me know what you think about the comment13:39
briancurtinmandel: good comments - yeah the bitrock stuff could be a bit cleaner. i'll fix it up13:41
ralsinadobey: there13:41
mandelbriancurtin, great, let me know when I can do another review :)13:42
=== duanedes1gn is now known as duanedesign
duanedesignralsina: been seeing a lot of "NoneType 'object has no attribute 'get_rootdir'"  . Trying to find one with logs for you13:46
ralsinaduanedesign: thanks13:47
briancurtinralsina: I had someone come in IRC last night with the get_rootdir problem and as you suspected yesterday afternoon, it was in fact that SD wasn't running because of the "run as root" confusion13:48
ralsinabriancurtin: well, the good news is we can do a release to fix that13:48
ralsinabriancurtin: after today13:48
ralsinaalecu: we talked yesterday, so no 1-113:51
ralsinagatox: we can do yours instead13:51
gatoxralsina, ack13:51
alecuralsina, right. But we still need to do the 1-1 for the performance review.13:51
gatoxralsina, whenever you want13:51
ralsinaalecu: ohhhhh really13:51
ralsinaalecu: late today?13:52
dobeywhee, new terminal is open at ATL now it seems13:52
alecuralsina, ok, let me know.13:52
* alecu hates ATL. And every other template library coming out of MS.13:52
* alecu in fact hates old C++ compilers.13:53
ralsinagatox: to the mumble!13:53
gatoxokkkkkkkk13:53
ralsinabriancurtin: you are next because I missed yours too13:53
dobeyalecu: uh, ok :)13:54
briancurtinralsina: i'm ready whenever13:54
dobeyralsina: also the 1-1 review thing13:54
ralsinadobey: yes, you too13:54
ralsinagatox: 1 sec13:54
gatoxralsina, ack13:54
mandeldobey, I'm trying to push the code I have so far to  lp:~ubuntuone-control-tower/ubuntuone-fsevents-daemon/trunk so that I have the initial code but apparently I'm not in the right group, can you do that for me?13:58
dobeymandel: where is the code at now?13:58
mandeldobey, I'd like to push the code form lp:~mandel/+junk/fsevents13:59
mandeldobey, also, I think I need to change the group to ubuntuone-control-tower, is that correct?13:59
dobeychange the group?13:59
ralsinabriancurtin: to the mumbles!14:00
mandeldobey, right now this is what I've got setup: https://launchpad.net/ubuntuone-fsevents-daemon/trunk14:00
mandeldobey, I think is correct...14:00
dobeynow it's more correct14:07
dobey:)14:07
mandeldobey, thx, and the branch, how can that be done?14:08
dobeymandel: i will do it14:10
dobeyalecu: i am surprised that qtnetwork doesn't support proxy autoconfig. that's quite odd14:10
mandeldobey, great, let me know when do so I start adding bugs and proposing fixes :)14:10
dobeymandel: though, how will merges be handled?14:11
dobeymandel: can we compile it and run tests on linux? or what?14:12
mandeldobey, is a good question.. is mac only code (there are some tests to be run etc..) does tarmac work on mac?14:12
dobeyi imagine it could if there was a way to legally run mac in a vm :)14:13
dobeythough it would need to compile without the xcode gui and such as well14:13
mandeldobey, yes, that is some work I need to get done.. is one of the bugs I wanted to fix14:14
mandeldobey, ralsina, alecu, can we talk about that ^ after the team meeting?14:14
ralsinamandel: sure14:14
dobeymandel: so let's figure this out first, before pushing it to a place where only tarmac and a couple people can push :)14:15
ralsinamandel: we will probably do like we do with windows, and get a mac jenkins14:15
alecudobey, qtnetwork supports proxy autoconfig only on windows and mac. "On other systems, there is no standardised method of obtaining the system proxy configuration" says the docs. http://doc.qt.nokia.com/4.7-snapshot/qnetworkproxyfactory.html14:15
mandelralsina, and for tarmac?14:16
mandeldobey, ok, we talk about it and we try to find a solution14:16
ralsinamandel: like for windows, tarmac doesn't care14:16
dobeyalecu: but if we know the url, we can't feed it to qtnetwork?14:16
alecudobey, the url of the proxy?14:17
dobeyralsina: well, we do merge code with tarmac for windows-installer. though it doesn't run any tests, just does the other stuff14:17
dobeyalecu: the url to the proxy.pac file14:17
ralsinamandel: we have tarmac and jenkins backwrds. Jenkins should pick up the branches, check that it passes on all platforms, then send to tarmac, which runs no tests and merge14:17
ralsinadobey: ^14:17
alecudobey, oh. Qt does not support .pacs afaik14:17
dobeyralsina: i disagree :)14:17
mandellol14:17
ralsinaalecu: no, we need to parse it ourselves14:18
dobeyalecu: surely it does, if it does autoconfig14:18
mandelralsina, dobey lets talk about it after the team meeting :)14:18
ralsinaalecu: there are several parsing libraries though14:18
alecudobey, I think that windows itself resolves the pac files, and lets qt know about the proxy server to use for a given request.14:18
ralsinadobey: I kinda expected you to disagree ;-)14:18
alecuralsina, there's also this: http://blog.ivandemarino.me/2011/03/21/How-to-handle-Proxy-PAC-configuration-with-Qt14:19
dobeyalecu: i'd guess not, since qt doesn't use IE on windows. but does include the webkit bits :)14:19
ralsinaalecu: that means adding QtWebkit to the installer (yeech)14:21
ralsinaalecu: OTOH http://code.google.com/p/pacparser/14:21
alecudobey, it does parse the pacs on windows anyway, according to: http://qt-project.org/doc/qt-4.8/qnetworkproxyfactory.html#systemProxyForQuery14:21
alecudobey, it does not parse them on osx.14:22
dobeyalecu: well, we don't support osx yet either :)14:22
alecudobey, right, not just yet.14:22
ralsinaalecu: so, on windows we suport .pac already?14:24
alecuralsina, it seems that pacparser includes the whole of spidermonkey.14:24
ralsinaalecu: haha14:24
alecuralsina, we probably support it on windows. But I have not tried it at all!14:24
ralsinaok, so .pacs can contain arbitrary JS. How screwed up is that?14:25
dobeywe probably don't if we're pulling settings and shoving them into qt14:25
alecudobey, we are pulling settings *only* on ubuntu.14:25
ralsinaalecu: OTOH, that's 400KB, webkit is like 10MB14:25
dobeyalecu: are we using the systemProxyForQuery on win?14:25
alecudobey, yes.14:25
alecuI think we are :-)14:25
dobeyalecu: ok, so it should just work there then; and on linux we should be able to tell qt to read a pac file14:26
alecuso, yes we are: ./ubuntuone/proxy/tunnel_server.py:        proxies = QNetworkProxyFactory.systemProxyForQuery(query)14:26
dobeycool14:26
alecudobey, but qt is not (yet) able to read a pac file14:27
alecuralsina, so, since pac files are so screwed up that they include javascript, I decided not to explicitly support them in this first iteration of proxies.14:28
alecuralsina, if many people request them, then we can consider doing them.14:28
alecuralsina, but right now only one person asked for them, and even then she was able to extract the proxy settings by reading the pac.14:29
dobeyalecu: how can qt not be able to read a pac file?14:30
dobeyalecu: surely, pac files work in qtwebkit browsers14:30
dobeyalecu: pac files aren't so secrewed up that they include javascript; they are specified as being javascript. that is how PAC is defined14:31
ralsinadobey: webkit is one thing, but we are not using webkit to access the network14:33
dobeyralsina: eh? why would anyone use webkit to access the network? qtwebkit uses qtnetwork to access the network14:33
alecudobey, yes, I know that they are fully js. I've already used them.14:33
ralsinadobey: yes, and webkit has a JS interpreter, which means it can parse .pac files and tell QtNetwork which proxy to use14:34
dobeyralsina: *qt* has a js interpreter.14:34
dobeyalso, libsoup can handle pac, or at least, it used to; not sure if it does with the new glib proxy bits14:35
ralsinadobey: yes, it does, and it's inside QtWebkit: http://qt-project.org/doc/qt-4.8/modules.html14:35
ralsinaor is it QtScrit?14:35
dobeyi think QtScript is what QtNetwork uses for the pac files14:36
alecudobey, no14:36
alecudobey, on windows, it uses the WinHTTP DLL. And that does the pac parsing.14:36
alecudobey, that's why there's no pac support in qt on mac nor on linux.14:37
ralsinaalecu: interesting14:37
dobeyugh. what nonsense14:37
alecudobey, ralsina: please read this bit of qt docs that I pasted several times already today: http://qt-project.org/doc/qt-4.8/qnetworkproxyfactory.html#systemProxyForQuery14:37
ralsinaalecu: reading :-)14:37
ryeaquarius: would be great if https://one.ubuntu.com/developer/music/stream_music/cloud contained the actual URL for the service14:38
ralsinaalecu: doesn't say no pac support on linux, though14:38
dobeyalecu: but we aren't using that function on linux14:38
ralsinaalecu: and it says it supports the environment variable, which I thought we did not support?14:38
dobeyralsina: ^^ we are not using that method on linux :)14:39
alecuralsina, it seems to be supported on 4.8. It surely was not on 4.7.14:39
ralsinaalecu: free feature! ;-)14:39
dobeyralsina: we're explicitly setting the settings from gsettings by hand14:39
ralsinadobey: right, because this doesn't take them from gsettings14:39
ralsinaso maybe we should use this as a fallback14:40
ralsinaor something. My head hurts now.14:40
alecuralsina, fallback sounds good.14:40
dobeywell, we can also pull the url to the .pac file from gsettings, and pass it in to qt on linux14:40
dobeywhich should generally 'just work'14:40
ralsinadobey: citation needed for that one14:41
ralsinadobey: but maybe14:41
* ralsina goes have some ibuprofen before team call14:41
alecudobey, I don't think there's a way to "pass the .pac url to qt". At least I can't find it.14:41
alecudobey, that's maybe because qt does not parse pacs.14:42
mmccmorning folks.14:43
dobeyso proxy support in qt is not as great as we originally thought14:43
mmccmandel thanks for pointing out the lint complaints - I think I need to fix my lint setup, I thought it was running and not complaining, but I guess it wasn't running... ?14:43
ralsinadobey: not on ubuntu, at least14:43
alecudobey, we never thought it would be great. Only that it's much better than any other alternative.14:44
alecudobey, we always assumed that there's plenty of proxy setups and configurations, and that with our limited resources we could only support some.14:45
mandelmmcc, no worries i know gatox had some issues with it, he might be able to give you a hand14:46
* dobey still thinks we should have just told people to fix their broken networks instead :)14:46
gatoxmmcc, what is happening?14:46
dobeyalecu: although, would have been good to know this last week, so we could point out all these flaws, in the proxy session :P14:47
mmccgatox, it looks like I wasn't actually running pylint when I thought I was. I'll look into it and ask you if I need help14:47
dobeymmcc: lint in what project?14:48
gatoxmmcc, ok, let me know... in mac, for sso, pylint should run with the run-mac-tests script14:48
mmccdobey, in ubuntu-sso-client.14:48
gatoxmmcc, did you update your environment with the latest changes in the doc?14:49
dobeymmcc: they should be run with ./run-tests; but maybe it has a check for pep8 and you don't have it installed, and that's what is failing?14:49
mmccgatox - the changes from this week? I thought those were for protobufs14:50
mmccdobey: pep8 is there on my mac but maybe not on my linux vm... I'm poking around now14:50
gatoxmmcc, this week was just protobuf... but when i was getting the buildout to work on mac, i made a couple of changes, i don't know if you follow all of them..... it might be a reason14:51
dobeyi hope the meeting will be quick today14:52
mmccgatox, ah OK. I'll check again but I'm pretty sure I have everything up to this week's changes.14:52
gatoxmmcc, for example, you shouldn't have u1lint and u1trial in the bin folder as in some moment the document says14:53
gatoxmmcc, mandel please remember to review this: https://code.launchpad.net/~diegosarmentero/ubuntuone-client/darwin-os-helper/+merge/106014 when you have a moment :D thx14:57
ralsinadobey: 30' as usual14:58
briancurtin30 minutes or its free14:59
ralsinaso if you guys order a pizza now, we all have lunch after the call15:00
ralsinaOTOH, team call!15:00
ralsinaalecu, mandel: call15:00
ralsinajoshuahoover: desktop call if you are available15:01
ralsinagatox: call!15:01
joshuahooverjoining...15:01
ralsinaoh, already there15:01
gatoxralsina, i'm already there15:01
briancurtinmandel: whenever you have time, https://code.launchpad.net/~brian.curtin/ubuntuone-windows-installer/build_installer/+merge/105403 is now updated with your comments15:27
briancurtinit works on python 2 and 3, which is the reason for that _winreg/winreg import dance15:27
mandelbriancurtin, I know rename, much nicer without the _15:31
dobeyugh python315:41
alecuralsina, http://virtualmacosx.com/index.php/server-plans15:41
dobeyConfigParser -> configparser :-/15:41
ralsinaalecu: it's something15:42
alecuralsina, right: we should try to get our mini running as a server, but that looks like a nice fallback.15:43
ralsinaalecu: yeah. I suspect jenkins will destroy the "lite" one :-)15:43
dobeywhy is qt network api so hard to follow15:44
ralsinadobey: Norwegian cunning.15:47
dobeymandel: lp:ubuntuone-fsevents-daemon pushed15:47
* gatox lunch15:47
=== gatox is now known as gatox_lunch
mandeldobey, thx, really appreciated!15:49
dobeymandel: and proposed a branch to add config for it to tarmac15:53
mandeldobey, superb, let me finish a little bit of code and will take a look16:00
dobeyok, well i really need to get some lunch now. so bbiab :)16:04
ralsinaAnd lunch for me to16:17
ralsinao16:17
briancurtinralsina, joshuahoover: i emailed some details about the installer, but here it is http://ubuntuone.com/7cnc3EWLWTSblGPPPOV7DK16:22
joshuahooverbriancurtin: ah, nice, thanks!16:22
joshuahooverbriancurtin, ralsina: i filed the rt about doing a release on monday...in the mean time, i'll test this new installer and see if rmcbride can help test today/tomorrow as well16:25
rmcbridejoshuahoover: briancurtin ralsina I can certainly get some installer testing in today/tomorrow16:34
ralsinarmcbride: awesome16:35
ralsinateam, turns out I have to skip lunch and go to the bank. Depending on hunger I may take a bit longer to come back16:35
rmcbrideralsina: I learned as a child that coins are not very filling. Bear that in mind as you schedule16:36
ralsinarmcbride: you have never seen a hungry bank, I guess.16:36
rmcbridehehe16:36
=== gatox_lunch is now known as gatox
mandelbriancurtin, branch approved16:50
mandeldobey, I don't see the branch with the config for tarmac16:50
briancurtinmandel: thanks!16:50
=== IAmNotThatGuy is now known as C0nfus3d
mandelmmcc, gatox, ralsina: thinks will start happening from now on here: https://launchpad.net/ubuntuone-fsevents-daemon (related to the root daemon)16:58
gatoxmandel, cool16:59
alecuralsina, briancurtin: I've taken a look at device insertion/removal on windows. It seems that there are nice events for USB drives (and I assume esata too), but they don't work right for sd-like card readers.17:01
alecuI've found lots of pointers to the same, but the most relevant is: http://timgolden.me.uk/python/win32_how_do_i/detect-device-insertion.html17:01
mandelmmcc, added you to bug 100087517:01
ubot5Launchpad bug 1000875 in Ubuntu One FsEvents daemon "Daemon does not run on 10.6" [Medium,Triaged] https://launchpad.net/bugs/100087517:01
mmccok mandel, thanks17:02
alecuralsina, briancurtin: for card readers the recommended solution is to poll using wmi.17:02
mandelmmcc, I'll be adding the script to run the tests from the command line tom morning to make things as simple as possible17:02
mandelnow, is my time to go and get a bone broken17:03
* mandel runs to rugby17:03
briancurtinalecu: is this for a new feature? i'm not familiar with where this stuff came from17:03
mmccbye mandel, enjoy17:03
alecubriancurtin, we are pondering how hard it would be to do "UDFs on removable volumes"17:04
* alecu considers we should not worry too much about other kind of devices. Ie: floppies and cd/rw :-)17:05
briancurtinalecu: i'm about to leave for my half day, but i will take a look at that stuff. i'm familiar with using WMI for a lot of things and its usually easy to work with17:09
alecubriancurtin, no hurry, we can take a better look tomorrow AM17:11
mandelgatox, mmcc, before I go, please take a look at https://code.launchpad.net/~mandel/ubuntuone-fsevents-daemon/add-run-tests/+merge/106227 whenever you have time17:13
mandelall, laters!17:13
gatoxmandel, ok..... bye!17:13
briancurtini'm also leaving for my half day. see everyone tomorrow17:14
mmccmandel, ok will do17:14
mmccgatox, thanks for the extra instructions and the new env-mac, it fixed my lint problem17:15
gatoxmmcc, great!17:15
mmccgatox - also, I'm trying to run tests on darwin on your darwin-os-helper branch and it looks like it's trying to run some linux tests: http://paste.ubuntu.com/992712/17:15
gatoxmmcc, are you running the tests as i said in the merge proposal?17:16
gatox./run-mac-tests tests/platform/os_helper/17:16
mmccgatox: er...  :)17:16
gatox:P17:16
gatoxmmcc, the other tests (for the other packages) are not working yet17:16
dobeymandel: you were probably looking in the wrong place. but it's already merged17:29
dobeyralsina, alecu: do you know what CA bundle qt is using by default for ssl?17:32
alecudobey, no17:32
alecudobey, I'm taking a look at qt source. It's using openssl, and it does not seem to include any certificates.17:42
alecudobey, so I assume it's using the system certificates.17:43
dobeyhrmm17:45
=== alecu is now known as alecu_lunch
mmccgatox, +1 on your os-helper branch. sorry that took so long, had to tweak my test setup on two platforms :)18:08
gatoxmmcc, no problem! thanks!18:09
mmcchey folks, I picked up a stomach flu or something yesterday, and it looks like it's not going away - so I'm going to try to rest and come back in a couple hours.18:11
gatoxmmcc, oops... hope you get better18:12
* dobey makes some 3.0.1 releases18:17
=== alecu_lunch is now known as alecu
joshuahooverralsina, rmcbride: i'm currently running the win release through the windows manual tests18:40
rmcbrideas am I actually18:40
dobeywhat win release?18:44
rmcbride3.0.1 candidate18:46
ralsinajoshuahoover, rmcbride: awesome *2? ;_)18:48
joshuahooverdobey: the one we discussed on the call this morning :-)18:48
rmcbrideralsina: so far it's going quite well18:48
dobeyok, candidate18:51
joshuahooverralsina, rmcbride: i've run into a problem w/ this test: http://testcases.qa.ubuntu.com/Applications/UbuntuOne/Windows#Select_the_folders_to_synchronize19:14
ralsinajoshuahoover: ouch19:14
ralsinajoshuahoover: what happened?19:14
joshuahooverralsina, rmcbride: it won't setup once i click the next button, if i don't select a folder to sync, all works fine19:14
joshuahooverralsina: let me get some logs for you19:15
rmcbrideHmm19:15
ralsinajoshuahoover: is it a very big folder?19:15
joshuahooverralsina: it's empty19:15
ralsinajoshuahoover: that's bad19:15
joshuahooveryeah, let me try once more (3rd time is always a charm) and then get you logs...one moment19:16
ralsinaschool run19:18
ralsinajoshuahoover: if it fails, send me the logs I will try to do a quick fix since brian is gone for today19:18
joshuahooverrmcbride: can you try that test case too?  http://testcases.qa.ubuntu.com/Applications/UbuntuOne/Windows#Select_the_folders_to_synchronize19:20
joshuahooveras a sanity check19:21
rmcbridejoshuahoover: yea, setting up to do that now. didn't get presented with that withthe upgrade path I tested first19:21
joshuahooverralsina: syncdaemon.log from my failed test - http://paste.ubuntu.com/992924/19:29
rmcbridewhups. WebClientError u'SSL handshake fail' u''19:35
rmcbridewhile removing device19:35
joshuahooverrmcbride: really? can you see what your sso.log has in it?19:36
rmcbridejoshuahoover: checkking19:36
rmcbridejoshuahoover: not seeing one on my VM. what's the path again?19:37
rmcbridestupid windows and its stupid different paths for diferent versions19:37
rmcbridejoshuahoover: nm found it19:37
joshuahooverrmcbride: in your home folder: AppData\Local\xdg\cache19:38
joshuahooverheh19:38
rmcbride2012-05-17 15:35:09,404:404.000043869 - ubuntu_sso.credentials - INFO - find_credentials: self.app_name u'Ubuntu One', result is {}? False19:38
rmcbride2012-05-17 15:35:09,404:404.000043869 - ubuntu_sso.main - INFO - CredentialsManagement: emitting CredentialsFound with app_name u'Ubuntu One'.19:38
rmcbride2012-05-17 15:35:09,457:457.000017166 - ubuntu_sso.utils.ipc - INFO - Emitting remote signal for CredentialsFound with callback <ubuntuone.platform.credentials.windows.RemovableSignal object at 0x039F32F0>.19:39
rmcbridejoshuahoover: ^19:39
dobeyrmcbride: ooh, you got ssl error? awesome19:40
joshuahooverdobey: heh...isn't it sad that we both got excited about that? ;)19:41
dobeyit's windows though19:41
joshuahooveryeah19:41
rmcbrideyea19:41
joshuahooverwe've seen it on both, windows and ubuntu19:41
rmcbridefirst time I've been able to repro that one I think19:41
rmcbrideon windows anyhow19:41
dobeythough maybe qt isn't loading the system certs on windows19:42
dobeyjust like it isn't on ubuntu, apparently19:42
dobeywhee19:42
rmcbridereverting image to last september and retrying19:42
ralsinadobey: eh? It is loading them in ubuntu, or else everyone would see the failure19:43
dobeyralsina: not according to strace it isn't19:45
rmcbrideugh. vm image fail probably19:45
ralsinadobey: weird. Are you tracing all threads?19:45
rmcbrideas far as the revert goes. THis might take a while19:45
dobeyralsina: i did strace -Ff yeah19:46
rmcbrideFWIW I do not get the SSL fail on my physical machine19:46
ralsinadobey: it has EMBEDDED CERTIFICATES19:46
rmcbridealtough19:47
ralsinadobey: run strings on libQtNetwork.so19:47
dobeyralsina: right19:47
rmcbrideafter removing and trying to sing in, I get ZipImportError19:47
ralsinadobey: which is nuts19:47
dobeyralsina: and it's loading 1 certificate file out of /etc/ssl/certs/19:47
joshuahooverralsina: did that log tell you anything? http://paste.ubuntu.com/992924/19:47
dobeyralsina: which on my system happens to be a file named ValiCert...pem19:47
ralsinajoshuahoover: looking...19:47
ralsinadobey: whoa19:47
dobeyralsina: so, basically, magic.19:47
rmcbrideyea. can't sign back in after removing the device19:48
dobeylrwxrwxrwx 1 root root 23 Feb  8 09:35 /etc/ssl/certs/55a10908.0 -> ValiCert_Class_2_VA.pem19:48
dobeywell, it's loading that symlink, which points to the ValiCert19:48
ralsinadobey: was about to ask you if it was a symlink like the others :-)19:48
rmcbrideclicking on signin gives me a ZipImportError on ubuntuone\dist\library.zip19:48
ralsinajoshuahoover: nothing special there, it seems19:48
ralsinadobey: may be noticing it's newer than its copy?19:49
dobeyi guess i should tell is to close the rt19:49
dobeyralsina: i think qt itself might not include that one?19:49
ralsinadobey: yes, but the ubuntu users should have it (and they do have it) and it loads it in your system19:49
ralsinajoshuahoover: second look, that seems to say you are not authenticated?19:50
dobeyralsina: yes. well, haven't explained why exactly it's failing for some19:50
ralsinajoshuahoover: around line 17419:50
joshuahooverralsina: but that's after i log in...i'm following this test case: http://testcases.qa.ubuntu.com/Applications/UbuntuOne/Windows#Select_the_folders_to_synchronize and i never get past the part where i click "next" after selecting the folder19:51
ralsinajoshuahoover: which is why "No user With Network" is surprising19:52
dobeyralsina: HAH!19:54
dobeyThe issuer certificate of a locally looked up certificate could not be found (11)19:54
rmcbrideYea I can't do a fresh install at all with this installer, only upgrade19:54
ralsinarmcbride: yikes19:54
rmcbrideI get teh ZipImportError19:55
rmcbrideralsina: yikes indeed19:55
rmcbrideespecialyl yikes that the upgrade "worked"19:55
ralsinaok, looks like I have to use windows tomorrow the19:55
ralsinan19:55
dobeywhere did this file come from19:57
dobeyjoshuahoover: i think i have a workaround for the ssl cert issue!19:59
ralsinadobey: share?19:59
joshuahooverdobey: really? excellent!19:59
dobeysudo ln -s /etc/ssl/certs/ValiCert_Class_2_VA.pem /etc/ssl/certs/55a10908.020:00
dobeyalso, i have no idea how language would matter20:01
joshuahooverdobey: yeah, me either...i just passed along what the user told us he did that worked for him :)20:01
dobeyand i manage to get an AuthenticationError as well as a WebClientError20:02
dobeybut maybe the former is a result of the latter20:03
dobeycreating the symlink seems to work though20:05
dobeybut i have no idea where it originally came from20:05
ralsinadobey: hmmm... maybe it's doing an uppercasing of the filenames to find VALICERT in it?20:05
ralsinadobey: that would fail in turkish :-)20:05
dobeyralsina: no, it seems to be looking for a file named by the cert's id20:06
ralsinadobey: I have both20:06
dobeyralsina: yes, but qt is loading the /etc/ssl/certs/55a10908.0 one20:06
ralsinadobey: interesting20:06
gatoxeod for me people..... tomorrow i'll keep trying to kill the filesystem :P see you!20:06
dobeyralsina: if you rm it, and try to log in, the error happens20:06
ralsinadobey: awesome, great job20:06
* ralsina tabulates... about 40 dev-hours spent on this crap20:07
dobeywould be awesome if i could tell where that file was coming from, though20:07
ralsinathat's a couple grand20:07
dobeyca-certificates doesn't own it, or create it during postinst, nor does update-ca-certificates create it when run20:07
joshuahooverralsina: if i'm filing a bug against the win wizard, which project do i file it against?20:08
ralsinajoshuahoover: ubuntuone-control-panel20:08
ralsinadobey: firefox?20:08
joshuahooverthanks20:08
dobeyralsina: no, firefox has its own db, it doesn't use system certs20:09
ralsinadobey: /etc/ssl/certs id full of symlinks to firefox in my system20:10
dobeyralsina: the word "mozilla" does not mean they are *in* firefox20:10
ralsinadobey: ok20:10
dobeyralsina: it means those certs were extracted from the mozilla db20:10
dobeyhowever, mozilla/firefox still has its own db20:11
joshuahooverralsina: bug #1000970 from testing win 3.0.120:30
ubot5Launchpad bug 1000970 in Ubuntu One Control Panel "Windows 3.0.1 - AttributeError: "'NoneType' object has no attribute 'stop'"" [Medium,Triaged] https://launchpad.net/bugs/100097020:30
joshuahooverrmcbride: maybe you can try to reproduce? ^^20:30
ralsinajoshuahoover: oh, interesting20:30
rmcbridejoshuahoover: I have some trouble here. One system won't complete an install, and the other is a VM image that has issues. give me a few to resolce20:32
rmcbridebut that's an intersting/pythony error20:32
joshuahooverrmcbride: ah, ok20:32
ralsinajoshuahoover: that bug you reported looks easy to fix, at least20:38
joshuahooverralsina: that's good :)20:38
joshuahooverralsina: i'll file another one for the problem i ran into (which may be somewhat related, seems to be something with udfs in the wizard)20:39
dobeyman i love when people comment on bugs about some completely unrelated problem they're having, with absolutely no info20:41
ralsinadobey: let me guess, the turkish bug's last comment?20:45
=== salgado is now known as salgado-afk
dobeyof course20:46
dobeyralsina: tarball for u1-client 3.0.1 is uploaded to launchpad, and the branch is tagged. will try to get the other projects all done asap. shouldn't be too bad, just tedious, as there aren't any changes elsewhere really20:54
joshuahooverralsina, rmcbride: all but 2 tests passed here for me: http://testcases.qa.ubuntu.com/Applications/UbuntuOne/Windows after 2 test runs and 3+ on the 2 failed tests...20:54
joshuahooverralsina, rmcbride: failed tests were: http://testcases.qa.ubuntu.com/Applications/UbuntuOne/Windows#Select_the_folders_to_synchronize & http://testcases.qa.ubuntu.com/Applications/UbuntuOne/Windows#Sign_in_after_removing_the_device20:54
joshuahooverralsina, rmcbride: and the bugs i filed were: #1000983 and #100097020:55
ralsinajoshuahoover: awesome20:56
joshuahooverbug #1000983 and bug #100097020:56
ubot5Launchpad bug 1000983 in Ubuntu One Control Panel "Windows 3.0.1 - Adding folder to sync in Wizard prevents setup from completing" [High,Confirmed] https://launchpad.net/bugs/100098320:56
ubot5Launchpad bug 1000970 in Ubuntu One Control Panel "Windows 3.0.1 - AttributeError: "'NoneType' object has no attribute 'stop'"" [Medium,Confirmed] https://launchpad.net/bugs/100097020:56
ralsinadobey: I did some changes in u1cp20:56
dobeywhich changes?20:56
ralsinadobey: simplified bandwidth dialog, fixed it for RTL locales20:57
ralsinadobey: don't recall any others but maybe something small20:57
dobeythere's the duplicate instances branch20:57
dobeyi guess there are other things we need to backport?20:58
ralsinaduplicate instances? really, that was not in 3.0.0?20:58
ralsinadobey: that was on the last SRU, IIRC20:58
dobeysome of which probably need approvals20:58
dobeyralsina: nope. it was right after 3.0.0; we didn't do an sru for it yet20:58
ralsinadobey: ack20:58
dobeyit's not a critical fix20:58
ralsinawell, it was done by request20:59
dobeyright, there is a bug for it20:59
dobeyi guess we need to decide which other fixes we want in 3.0.1 for cp then20:59
ralsinadobey: ok, we can do that first thing tomorrow morning, because I am close to EOD21:00
dobeyok21:00
dobeyand looks like a few are mis-triaged21:01
ralsinadobey: the LTR one may go in, it changes no strings, and only fixes an obvius bug21:06
ralsinadobey: the cleanup of throttling changes strings21:06
ralsinadobey: same about the one setting units for translation21:06
ralsinaso maybe just the duplicated instances, and whatever I fix that failed the manual tests today21:06
ralsinabut that just or the windows release21:07
dobeyno it's not21:08
dobeythere is no more "just for foo release"21:09
rmcbridejoshuahoover: looks like my particular install problem is due to the system needing to reboot to complete previous install. I can't do that right now so that particular system is unavailable for a bit. checking on the image now21:13
joshuahooverrmcbride: got ya...what vm software do you use?21:13
rmcbridevmware. the system that I can't reboot right now is a physical system though21:14
joshuahooverrmcbride: i've been using vbox for testing for the last 3 years and have had good luck with it...which means it will start to crash and burn immediately now that i've typed that21:14
rmcbridejoshuahoover: I reverted the vmware image but it's been an issue21:14
joshuahooverweird21:14
rmcbridejoshuahoover: yea I use KVM for my linux boxes. VMWare does very nice automated installs and such (which it looks like I'm going to have to do again)21:15
rmcbridejoshuahoover: if I'm reading the bug reports you gave right, I expect we're looking at at least one more candidate build yes?21:15
joshuahooverrmcbride: yeah, i haven't seen if that happens in the current 3.0 build but i think we need to fix at least the one that is marked high, the other is slightly less likely to happen but should be fixed as well (they seem related to udfs anyway)21:16
rmcbridejoshuahoover: OK. I want to do another pass on install, but I'll wait on the new build. THat'll let me get a non broken vm image going for tomorrow21:17
ralsinadobey: you are right, thanks for reminding me to stay in the straight and narrow21:19
joshuahooverrmcbride: sounds good21:20
dobeybad ralsina21:30
dobeybranch which fixes a bug, with the bug number in the branch name, and in the commit message, but no commit --fixes= :-/21:33
dobeyok, have a good evening all21:52
ralsinadobey: really? I tryto do the --fixes first thing when starting the branch :-/ Sorry22:53

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