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

JamesTaitHappy Friday, everyone! :D08:37
=== zyga__ is now known as zyga
=== zyga is now known as zyga-food
=== zyga-food is now known as zyga
=== zyga_ is now known as zyga
gatoxgood morning!11:06
mandelgatox, morning!11:44
gatoxmandel, hi11:44
mandelgatox, how is everything going?11:44
gatoxmandel, fine.... i'm finishing with a branch for sso.... yesterday i lost internet connection.... but i wanted to close 2 issues, one for cp and another for sso, before keep working on mac port, i almost finish with this issue......11:45
mandelgatox, great! I have a process that runs as root, gets the events and I'm considering using http://en.wikipedia.org/wiki/Grand_Central_Dispatch for the dispatch of the events to the different users11:46
gatoxmandel, you?11:46
gatoxmandel, sounds good11:47
mandelgatox, should be very efficient when working on machines with more than one processors, which is all of them (at least all macs) :)11:48
mandelgatox, that should mean that the io operations could be dispatched to a diff process and we wont have to take care11:48
gatoxmandel, even better...... as ralsina says: good programmers are lazy programmers :P11:49
gatoxmandel, if we can use something already prepare for that, it's awesome!11:50
mandelgatox, well, it is not many lines of code right now, I don't think it is over 100011:51
mmcc_outgood morning guys, early day for me :)11:56
=== mmcc_out is now known as mmcc
gatoxmmcc, i see! jeje good morning11:56
mmccmandel, AFAIK GCD is only for managing threads within a process - I don't think it has anything that helps you with IPC :(11:59
mmccit might simplify the daemon itself, though12:01
mandelmmcc, I was considering for the simplification of the async task12:13
mandelmmcc, no ipc related, but dispatching the dispatch of the events to the clients via that12:13
mandelmmcc, I might have an example daemon with nearly all the pieces by today12:14
mmccmandel, oh, ok - I misunderstood. yeah, that sounds great12:14
mmccmandel cool!12:14
mandelmmcc, now that I read that, I used dispatch too many times hehe12:15
mandelmmcc, is an objective-c proof of concept, we can move it to c very quickly :)12:15
mmccmandel: sounds good. I guess if you have something working in ObjC, maybe we should keep it that way12:19
mmccmandel - it'd make unit testing easier12:19
mandelmmcc, well, it has its pros and cons, I just used it because I started with it like that, no other reason12:20
mandelmmcc, porting to c (is very small) should be easy12:20
mmccmandel: sure. we'll have to think about it I guess. I did find a C unit testing framework that looked OK (check.sf.net)12:21
mandelmmcc, yeah, unittesting in c is a PITA, I know some of our projects do not have proper unittesting at all12:22
mandelok, I'm off to have lunch :)12:27
ralsinagood morning!12:28
gatoxralsina, hi12:29
ralsinagatox: I put a needsinfo in your branch12:30
=== yofel_ is now known as yofel
gatoxralsina, i answer it, and i'm submitting the fix now12:31
ralsinagatox: ósom!12:31
gatoxralsina, the value we are receiving was dbus.UInt32(3).... but it make sense to check for mapping first12:32
gatoxthat was my comment12:32
ralsinaah, ok12:32
ralsinabut yes, since we are expecting a mapping, we have to check that first. Or when someone sends a Uint32(0) ... DISABLED :-)12:32
gatoxralsina, done!12:33
ralsinagatox: cool, re-viewing!12:33
ralsinadamn, thunderbird has gone all crashy the last two days12:34
ralsinaI hate github, but I don't miss launchpad's "updating diff" when I use it.12:36
ralsinagatox: +112:37
gatoxralsina, great!12:37
gatoxmmcc, did you have the chance to review the branch i sent you yesterday?12:37
ralsinagatox: it's like 6am at mmcc's.12:39
gatoxralsina, but he is around12:39
* ralsina looks at backlog...12:39
ralsinawhoa12:39
* ralsina has to update his preventing burnout speech12:40
gatoxjeje12:42
gatoxralsina, ah! again..... if you have a moment for the 1-1 today let me know!! internet connection works like crap yesterday (all the day!)12:46
ralsinagatox: right after nessita's, so that would be about 10:3012:50
mmccgatox, I looked at the branch but need to look again. will do now12:50
mmccralsina, I'm always up this early - it's just a question of whether I'm watching IRC or a toddler12:50
ralsinammcc: hahaha12:50
mmccand today I have to cut out a little early in the afternoon, so here I am12:51
mmccgatox, still looking. sorry, I have to read more because I'm not familiar with the code yet13:04
gatoxmmcc, no problem13:04
mmccgatox, the code looks good, but I was going to ask you to update docstrings -- how should i do that launchpad? "Approve" but make my suggestion in the comment, or "needs fixing"?13:25
gatoxmmcc, need fixing in launchpad13:25
mmccgatox: ok done. let me know if my comments don't make sense13:26
gatoxmmcc, reviewing and fixing13:27
mmccgatox also I'm curious why we get sent invalid arguments to _process_file_sync_status at all.. this code handles that case gracefully, but why was it happening?13:29
gatoxmmcc, it seems to be a problem in u1-client, but we didn't debug that part yet, because everyone is really busy13:29
mmccgatox, ack13:30
briancurtinany reason why a branch which was set to approved on tuesday would still not be merged by today?13:30
gatoxbriancurtin, any kind of message was added to the mp?13:31
gatoxfrom launchpad13:31
gatoxmmcc, branch updated!13:31
briancurtinmandel: whenever you have time, https://code.launchpad.net/~brian.curtin/ubuntuone-dev-tools/jenkins-skipping/+merge/104950 and https://code.launchpad.net/~brian.curtin/ubuntuone-client/jenkins-fix/+merge/10496213:31
briancurtingatox: nothing13:31
gatoxbriancurtin, can you show me the branch?13:31
briancurtingatox: this is the MP that was approved - https://code.launchpad.net/~brian.curtin/ubuntuone-client/fix984407-windows-is_root/+merge/10496713:31
gatoxbriancurtin, usually the person to ask that is dobey , but he is in UDS right now :P13:31
briancurtinno messages on there, nothing came in email either13:32
briancurtinah13:32
briancurtinit's not urgent, just weird13:32
gatoxbriancurtin, mmmmmm and you have a commit message..... i can't see why it's not merging13:32
mmccgatox, approved13:34
gatoxmmcc, great! thanks13:34
ralsinagatox: 1-1?13:36
gatoxralsina, yep.... connecting to mumble13:37
gatoxralsina, can you hear me?13:37
ralsinagatox: can you hear me?13:38
ralsinagatox: wait, mumble is updating :-/13:39
gatoxralsina, kind of..... you seem to connect and disconnect a lot13:39
gatoxralsina, ok13:39
ralsinadropped again13:39
gatoxralsina, let me know when you are ready13:40
facundobatistaralsina, do you know that u1sdtool --publish-file fails in not-ascii paths? (bah, the operation succeeds, but it fails to return the published url)13:41
ralsinafacundobatista: news to me!13:42
facundobatistaralsina, ok13:43
ralsinafacundobatista: file a bug, please, assign to Diego "Unicode" Sarmentero ;-)13:43
mandelbriancurtin, looking!13:44
thisfredralsina: treeview and I do not seem to agree on anything13:45
ralsinathisfred: that's a popular feeling13:45
thisfredIn particular, they seem almost impossib13:45
thisfredle to style13:45
ralsinathisfred: let's go with treewidget, it's easier for an example13:45
thisfredok :)13:45
ralsinathisfred: it's completely stylable13:45
ralsinathisfred: you just need to use a custom delegate (yeah, "just")13:46
thisfredI'm sure it is, but I'm not getting it to work13:46
briancurtinmandel: the only thing that change doesn't include is that we'd need to set JENKINS=1 env var in the jenkins setup13:48
mandelbriancurtin, ok, do you want me to make such a change in jenkins?13:49
briancurtinmandel: sure if you want to and know how. i was just told that would be the way to do it - haven't done it yet13:50
mandelbriancurtin, yes, is very simple :)13:50
gatoxfacundobatista, ralsina jejeej yes..... i'm considering changing my middle name to Unicode13:53
gatoxor Uñicode13:53
facundobatistagatox, oh... "Uñicode" is an awesome name for a superhero13:53
ralsinaÚñî©õdê13:53
* ralsina needs something for the d13:54
gatoxjejeje13:54
ralsinafacundobatista: leo Uñicode y me acuerdo una compañera de la facu con uñas de 5 cm tecleando en una vt10013:55
* ralsina goes back to english13:55
ralsinaOk, time to pretend I live in Turkey and setup a VPN13:55
mmccralsina ɗ13:55
ralsinammcc: nice!13:56
ralsinaÚñî©õɗè13:56
ralsinaThere's your new nick gatox ;-)13:56
gatoxjajajajajaaj13:56
ralsinagood luck explainging "I am Úñî©õɗè in freenode" ;-)13:56
gatoxgood luck for the people who try to talk to me jeje13:57
facundobatistagatox, jajaj13:58
zirpuanyone know if there are issues with U1 account upgrades? mine failed.14:04
thisfredhmm, neither setBackground or setBackgroundColor on TreeWidgetItems seems to have any effect. So maybe it was not TreeView's fault after all.14:15
thisfredor maybe i'm overriding it in the stylesheet14:16
ralsinathisfred: care to share?14:16
thisfredralsina: sure: lp:~thisfred/u1db/u1todo-design-114:17
ralsinathisfred: looking...14:17
thisfredI don't think it's the stylesheet. It seems the methods do set the property, but it's just ignored when rendering14:19
ralsinathisfred: give me 1'14:19
thisfredyeah, sry, just thinking "out loud"14:19
ralsinathisfred: how do I run this nowadays?14:20
thisfredralsina: PYTHONPATH=. python cosas/ui.py14:20
ralsinathisfred: thanks14:21
facundobatistaralsina, mandel, gatox: I'm runnning the client from a branch, with "PYTHONPATH=. bin/ubuntuone-syncdaemon", if I put a print in the Main inside the branch, I see it ok... however, I'm touching code from ubuntuone/platorm/tools/__init__.py and it's not being used, how could it be?14:21
ralsinathisfred: http://qt-project.org/doc/qt-4.8/stylesheet-reference.html#qtreeview-widget14:22
gatoxfacundobatista, give me a sec...... looking14:22
mandelfacundobatista, what exactly do you mean with 'touching code from'?14:22
facundobatistamandel, gvim, etc14:23
=== m_conley_away is now known as m_conley
ralsinathisfred: you need to style treethingie::item14:23
thisfredralsina: yeah I found that, but it all assumes you want all the items to look the same14:23
ralsinathisfred: ok, if you want to do custom styling for items, you need to do something somewhat more annoying, give me 1 sec14:23
facundobatistamandel, I added some prints, new lines... not only I don't see the new prints or log calls, but also when I do u1sdtool and it crashes, it shows me the "old" line number14:23
thisfredI had it almost working with dynamic properties14:23
thisfredbut you can't set those on items either14:24
ralsinathisfred: yes, items don't have any "visual" information14:24
gatoxfacundobatista, can you share the branch to test it here?14:24
thisfredralsina: they do have setBackground and setBackgroundColor methods though14:24
mandelyes, lets take a look ath the branch14:24
zirpuanyone know if there are issues with U1 account upgrades?14:25
thisfredlisted in the API docs, not just by accident14:25
ralsinathisfred: checking...14:25
ralsinathisfred: view this http://qt-project.org/videos/watch/the_power_of_qt_model_view_delegates14:25
gatoxzirpu, which kind of upgrade?? upgrade from 5gb to more storage..... or upgrade with Ubuntu to 12.04?14:25
thisfredok, so back to view I guess :)14:25
ralsinathisfred: and remember that a QTreeWidget is just a QTreeView with a tree model in it :-)14:25
facundobatistagatox, simpler, this is the idea: http://pastebin.lugmen.org.ar/744414:26
zirpugatox: upgrade from 5gb to the music 20gb package for 1 year.14:26
ralsinathisfred: I don't see those functions here http://qt-project.org/doc/qt-4.8/qtreewidgetitem-members.html14:26
gatoxfacundobatista, yes..... but i wanted to execute it by myself..... copying that14:26
thisfredralsina: http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qtreewidgetitem.html#setBackgroundColor14:27
ralsinathisfred: oh, there is a setBackground14:27
ralsinathisfred: the PyQt docs are a lie14:27
gatoxzirpu, i don't think that there is a problem there...... what is happening?14:27
ralsinathisfred: but setBackground *should* work14:27
thisfredralsina: both exist, and both change the background() property14:27
gatoxfacundobatista, can you upload a branch please?? it would be better14:28
zirpugatox: it just says failed.  i'll try again to see if there's a specific error.14:28
thisfredit just has no visual effect whatsoeve14:28
thisfredr14:28
ralsinathisfred: although it takes a QBrush, not a QColor14:28
gatoxfacundobatista, so i can test it here too14:28
ralsinathisfred: there is supposed to be automatic casting, but...14:28
thisfredralsina: the docs say you can pass a color instead of a brush anywhere14:28
facundobatistagatox, too much work, don't worry14:28
ralsinathisfred: yes, you know docs14:28
thisfredyeah :)h14:29
ralsinathisfred: I'll do some exploratory hacking14:29
thisfredanyway, watching the video now. Why can't people write web pages. I HATE videos for information transfer14:29
thisfredit makes me pause my music14:30
thisfredfor one thing ;)14:30
ralsinathisfred: https://pastebin.canonical.com/65883/14:30
thisfredralsina: oh, I probably need to push 1 sec14:31
zirpugatox: it just says: We were not able to process your payment.14:31
thisfredralsina: anyway, that's not important for the issue at hand, just don't click the side buttons ;)14:32
ralsinathisfred: but I never see calls to set_color14:32
gatoxralsina, do you know who'll be the person for this?  "<zirpu> gatox: it just says: We were not able to process your payment."14:32
ralsinagatox: joshuahoover / duanedesign14:32
thisfredralsina: add an item with a hashtag14:32
gatoxzirpu, please ask joshuahoover or duanedesign about that14:32
zirpuok. i'll just give up for now. got to go to work.14:33
thisfredralsina: also on startup it gets called once for each item that has a tag14:33
thisfredjust put a print in there, you'll see14:33
joshuahooverzirpu: can you please contact support at https://one.ubuntu.com/help/contact ...it's likely being declined because your card has "verified by visa" or "securecode" activated on it14:33
ralsinathisfred: now I see it14:33
duanedesignhello zirpu14:34
joshuahoovergood thing i replied...sigh14:34
ralsinathisfred: do you have a stylesheet here somewhere?14:34
* joshuahoover goes back to writing and running tests14:34
thisfredralsina: the weird thing is, setForeground does work14:34
ralsinathisfred: could even be style-dependent14:34
thisfredralsina: I do, in qt designer I set it on the mainwindow14:35
thisfredralsina: yeah it was14:36
thisfredralsina: sry I'm an idiot14:36
ralsinathisfred: what was it? I like to know how I fix things ;-)14:36
ralsinaOr else I am like Wilson in House MD14:36
thisfredralsina: not sure yet, but emptying the stylesheet makes the colors show.14:37
ralsina"oh, right, this conversation ust gave you the clue to solve the case. And now you walk out without telling me what it is."14:37
ralsinathisfred: ok, then :-)14:37
thisfredIt's weird though, I don't set the background for those14:37
thisfredI don't think14:37
ralsinathisfred: you are probably setting something very non-specific, like QWidget14:37
thisfredralsina: I set QTreeWidget::item, but not the background-color14:38
thisfrednothing more general than that that should apply14:38
ralsinathisfred: where's the stylesheet?14:38
ralsinathisfred: and I am not going to ask what that verticalspacer on the left does ;-)14:39
thisfredralsina: it floats the tag buttons to the top14:40
thisfredralsina: the stylesheet is on the mainwindow14:40
thisfredralsina: setting this:14:40
thisfredQTreeWidget::item{14:40
thisfredborder: 1px dotted rgb(102, 102, 102);14:40
thisfredborder-top: 0px;14:40
thisfred}14:40
thisfredprevents setting the background color from code14:40
thisfredtake it out, and it works14:40
thisfredI am revising my opinion of Qt by +1 micro-wtf14:41
ralsinathisfred: there is a "thing" with stylesheets. In some specific cases, if you set one property, you have to set them all14:41
ralsinathisfred: I suspect ::item is one of those14:41
ryeping ralsina, syncdaemon.conf gets created in %LOCALAPPDATA%\ubuntuone\ unlike everything else living in %LOCALAPPDATA%\xdg\{cache,ubuntuone}14:42
ryeralsina: is it correct?14:42
ralsinarye: well, there are no rules in windows land14:42
thisfredralsina: I suspect so too, the problem is, you can't do ::item[foo="bar"] either14:42
ralsinarye: we keep it out so people can delete xdg and not break stuff14:42
thisfredsince items take no dynamic properties14:42
ralsinarye: or something similar. I suspect we are following some MSDN guideline for that14:43
thisfredso that's me shit out of luck then, unless I set the borders from code too14:43
thisfredif I can14:43
ralsinathisfred: or you set the stylesheet on each item14:43
ralsinathisfred: from code14:43
thisfredralsina: can't14:43
ralsinathisfred: which you can't, right14:43
ralsinathisfred: there is an alternative14:43
thisfredmaybe the video will help14:43
ralsinathisfred: let me find you the docs ;-)14:44
ryeralsina: ok, now at least i understand why there's ubuntuone folder after installation14:44
ralsinathisfred: yes, it's supposed to be in the video, too "custom delegates"14:44
thisfredright14:44
ralsinathisfred: basically, you do all the rendering yourself14:44
thisfredI'll watch it and google where appropriate14:44
thisfredthx14:44
ralsinathisfred: cool, don't hesitate to ask14:44
thisfredI won't ;)14:44
facundobatistagatox, ralsina, https://bugs.launchpad.net/ubuntuone-client/+bug/99807914:46
ubot5Ubuntu bug 998079 in Ubuntu One Client "--publish-file doesn't end correctly for non-ascii paths" [High,Confirmed]14:46
gatoxfacundobatista, ack14:46
facundobatistagatox, the problem is evident... but I didn't want to go deeper to find where any of both should be converted to the other datatype and how14:47
mmccjust when I thought I was out… they pull me back in. I just had to create an Oracle Single-sign-on accoun to report a crashing bug in VirtualBox14:52
mandellol14:52
mmcc3 times this week it crashes my ubuntu guest, apparently while trying to update the dock icon (from QT, so this might be something to remember)14:53
ryemmcc: crashes how?14:54
* rye wants to try virtualbox14:54
mmccthe guest VM just disappears14:54
mmccrye, I've used VBox a lot on an OS X host, and it's always been pretty reliable and acceptably fast14:54
mmccI've never tried anything else so I can't draw comparisons14:55
mmccbut I was always using it on OS X 10.5 (which I was using up until I left oracle)14:55
* rye used vmware workstation, vmware gsx server, then after network issues jumped to qemu and now using qemu-kvm only14:55
mmccvbox seems a little more unstable on osx 10.6, I've had this problem and one kernel panic (yow)14:56
mmccI think the kernel panic was related to USB audio support in VBox, though. So now I pause my VMs when I mumble. And knock on wood, wave a dead chicken, etc14:57
ralsinammcc: you could just disable audio for the VM, unless you need it or something14:57
mmccralsina: yeah, I might do that. So far it's only panicked once, and there are other USB audio problems anyway - I can't use my headset to listen to music because when CPU load gets even medium-high the audio wets the bed14:59
mmccer, starts to skip14:59
ralsinarye: I don't know what to answer here http://askubuntu.com/questions/20343/what-does-this-icon-mean-in-the-ubuntuone-sign-up-screen15:00
ralsinarye: ignore, chipaca got it15:00
gatoxme15:01
ralsiname15:01
gatoxmmcc, mandel thisfred briancurtin standup?15:01
briancurtinoops, typing now15:01
* mmcc also oopsed15:02
Chipacathis "standup" guy is *always* late for the meeting15:02
gatoxjejee15:03
briancurtinme15:03
mandelme15:03
mmccme15:03
ralsinathisfred!15:04
ralsinaok, thisfred is last. Now known as THAT fred who was always late for standup.15:04
ralsinago gatox15:04
gatoxDONE:15:04
gatoxFixed issue in control panel about sync status, finishing bug in sso about networkstate (couple of issues yet). Found a couple of issues with u1-client in the mac port, create the bugs for this issues, started working on them.15:04
gatoxTODO:15:04
gatoxPropose the sso branch, keep working in the mac port until the end of the world, just kidding, i hope to finish before that.15:04
gatoxBLOCKED:15:04
gatoxNo15:04
gatoxralsina, go15:04
ralsinaDONE: 1-1s, weekly team call, reviews, helped around, misc stuff, askubuntu answers, canonicaladmin cleanup, all clear on allhands... TODO: code a little, more reviews, help around if needed BLOCKED: no NEXT:  briancurtin15:04
briancurtinDONE: finished windows installer automation, tested and it seems to work fine, proposed the branch15:04
briancurtinTODO: pushing on with windows bugs15:04
briancurtinBLOCKED: no15:04
briancurtinNEXT: mandel15:04
mandelDONE: Got a root process that gets events from the system, filters them per user and writes the event details to a domain socket.15:04
mandelTODO: Get the twisted code to get the events. Clean the code. Integrate root process with launchd so that it is the one that creates the socket. Get the client uid and check passed settings.15:04
mandelBLOCKED: no15:04
mandelmmcc, please!15:04
mmccDONE: figured out problems with network detection and ctypes, did a15:04
mmccreview. think I'm forgetting something15:04
mmccTODO: expand tests for network detection, land that branch15:04
mmccBLCK: no15:04
mmcc 15:05
mmccthat empty line brought to you by that fred15:05
thisfredme15:05
ralsinayes YOU15:05
ralsina;-)15:06
thisfredDONE: Started applying lisettte's design to cosas (formerly known as u1todo), changed treewidget to treeview and back, broke the world. TODO: Fix world, add due dates to cosas, pack and prepare laptop for u1db sprint BLOCKED: no NEXT:15:06
thisfredsry! :)15:06
ralsinaok, then! Comments?15:06
gatoxnop15:06
ralsinaEOM then15:07
mandelralsina, 1-1 whenever you are free15:07
ralsinamandel: now!15:07
mandelralsina, ok, getting there!15:09
ryeralsina: what is the current version of u1 for windows?15:14
ralsinarye: 3.0.015:14
ryeubuntuone-3.0.0-windows-installer.exe 09-May-2012 13:51 22M  ?15:14
ralsinarye: yes15:15
ryeyay, fresh exes15:15
* rye updates15:15
* gatox lunch15:15
=== gatox is now known as gatox_lunch
ryemandel: have you tests a condition with proxy when only squid was having DNS connectivity and client was not able to get to resolver?15:21
mandelrye, no, I've never seen that, why?15:24
ralsinamandel, rye: I think alecu did try that, because it's a (not too) common configuration15:25
ryemandel: user's log claims our twisted client is scared to death when it can't find the way to contact the resolver enve though it is using proxy15:36
mandelrye, uh, weird.. is this on windows, or linux..15:38
ryemandel: looks like linux15:42
ryemandel: but nevermind, asked user to clarify whether resolver is actually working15:42
ralsinalunchtime!15:43
ryeempathy... i love it so much when a video call causes a segfault in logger15:53
=== gatox_lunch is now known as gatox
ryemandel: what happens when a hasher in U1 can't hash a file ?16:28
ryeHasher: hash error [Error 2] Le fichier spécifié est introuvable: u'\\\\?\\C:\\Users\ ...16:28
mandelrye, uhm, you should as facundobatista he should know better16:28
=== salgado is now known as salgado-lunch
ryefacundobatista: ^ file not found during hashing (i.e. file was there during rescan, but no longer there when the queue finally got to it)16:29
facundobatistamandel, rye, it sends HQ_HASH_ERROR (or similar), that is handled by sync... if node still exists in the system, it pushes a new hash request with the new path... if node is not there anymore, it's discarded16:31
mmccgatox, I have a twisted question about some test code you wrote: in ubuntu_sso/networkstate/tests/test_linux.py, TestConnection.setUp() has the inlineCallbacks decorator and does 'yield super(TestConnection,self).setUp()  -- why is setUp calling its super.setUp with a deferred?16:35
mmccI hope I've said that right so the question makes sense. Still getting used to twisted terminology16:35
gatoxmmcc, for each TestCase, when you need to add something to the setUp method, you need to add the @inlineCallbacks decorator and do: yield super(TestConnection, self).setUp()  because of the way ubuntuone-dev-tools is workign16:36
ryefacundobatista: https://pastebin.canonical.com/65891/16:36
mmccgatox, ok so it's something about how u1trial runs the tests. got it16:39
mmccgatox, thanks16:39
gatoxmmcc, yes16:39
facundobatistarye, was that file removed? or is there but not accesible somehow?16:40
mandelmmcc, gatox, the reason for that is that setUps and tearDowns should return a deferred and ofcourse call their parents setUp/tearDown methods, there was some code check added by MentalGuy (not longer with us) to ensure that we write the code like that16:41
ryefacundobatista: that's what can't be found, because all 5 1Mb logs show that hasher is very interested in that file16:41
ryefacundobatista: and they already rotated several times16:42
facundobatistarye, ok... if the file was removed, it should have been deleted from the system16:42
facundobatista2012-05-07 21:25:37,377 - ubuntuone.SyncDaemon.sync - INFO - T:NONE:F 46a65855-d4d2-42e2-b4e5-6928faa97b83 ['a6a4b9c9-566d-46a8-af2a-ab15b2761ee9'::'e0b67d95-4cd5-46d6-b391-a9d34c3b97e8'] ''Org_scol\\Planifications\\12-13\\Untis\\12-13_054.gpn~RF4a8d23.TMP'' | Calling calculate_hash (got HQ_HASH_ERROR:{})16:42
facundobatista2012-05-07 21:25:37,378 - ubuntuone.SyncDaemon.HQ - DEBUG - HashQueue: inserting path 'C:\\Users\\ft\\Google Drive\\Org_scol\\Planifications\\12-13\\Untis\\12-13_054.gpn~RF4a8d23.TMP'  mdid 46a65855-d4d2-42e2-b4e5-6928faa97b8316:42
facundobatistarye, those lines (and the zillion like those) ^ show that the node is still alive in the internal MD16:43
facundobatistaand with the same path!16:43
facundobatistaso, it seems it wasn't removed, and it wasn't renamed16:43
ryefacundobatista: yes, i agree, but it looks like it is a temporary file from the name16:43
mandelmmcc, gatox, no adding the super call makes the tests less reliable and not returning the deferred too since the tests are not deterministic (got to love async code!!)16:43
facundobatistarye, yeap, but it seems that it is a temporary file nobody else can use?16:43
ryefacundobatista: i am installing google drive to see how it does downloads16:43
mmccmandel, thanks - it makes sense now, that the test harness uses twisted reactors and expects deferreds from the test cases...16:44
facundobatistaor that it's removal didn't send a filesystem notification?16:44
ryefacundobatista: aha! exclusive lock?16:44
facundobatistarye, no idea, that enters mandel's domain16:44
gatoxmandel, yep..... async code is making me suffer right now with sso16:44
mandelfacundobatista, uh, me pasaste la bola! let me see..16:44
mmccgatox, what are you working on in sso right now?16:44
mmccgatox: is it the network detection wizard page?16:45
gatoxmmcc, the issue about network detection page....... it's trivial..... if it wasn't for twisted :P16:45
mmccgatox: aha. ok16:45
facundobatistamandel, is it possible to know from the logs if a file is there but can not be really accessed?16:46
facundobatistarye, ^16:46
mandelfacundobatista, rye, we are getting errono 2 which means not found: http://msdn.microsoft.com/en-us/library/windows/desktop/ms681382%28v=vs.85%29.aspx16:47
facundobatistamandel, but the file was there at some point, could it be that it was removed but SD didn't get to know it?16:48
mandelfacundobatista, rye, yet I know that some of the api from windows says that when there are security issues, like you want to change the rights and the ACLs do not allow you16:48
mandelbriancurtin, we do not get errno 2 when the file is locked, right? /cc facundobatista16:49
mandelfacundobatista, I wonder if google drive is doing something 'fun' with the file..16:49
briancurtinmandel: i don't remember the exact code you'd get, but 2 is not it16:49
ralsinahello again!16:50
briancurtinmandel: it would be 5, ERROR_ACCESS_DENIED, if the file is locked16:50
thisfredralsina: so I set up a delegate, and have overridden paint, set its pen to a  2 px dotted grey QPen, but for the life of me, I cannot figure out how to tell it to draw borders on the items. (Ideally only on 3 sides, but for now on all sides would be a huge step forward)16:51
mandelfacundobatista, rye, we would need to know if the file is really there, but certainly 2 usually means is not, could we have lost an event.. maybe but would be the first bug report we have like this16:51
ralsinathisfred: well, you draw them16:52
ralsinathisfred: so probably I am not understanding the question ;-)16:52
thisfredralsina, possibly neither am I16:52
ralsinamandel: could it be that there is a permission problem with the parent folder?16:52
mandelralsina, I don't think so.. but is worth to test it, also we might as well install google drive an see if we can reproduce it16:53
ralsinamandel: usually having two sync programs running on the same flder is not going to work16:53
mandelralsina, you type faster than I swear ;)16:53
ralsinathisfred: so, push?16:54
* ralsina has fast fingaz16:54
mmccmandel: so, some of the other test cases don't have an @inlineCallbacks - decorated setUp. What's the rule for when that's necessary16:54
mmcc?16:54
mandelmmcc, ok, simple, if the test inherits form twisted.trial.unittest.TestCase you need it16:54
thisfredralsina 278 pushed. I assume I must call something around line 8816:55
mandelmmcc, otherwise you don't, if you forget the tests will complain16:55
ralsinathisfred: ok, will look, report in 5'16:55
thisfredkk16:55
mandelfacundobatista, rye, we have to test to see how bad we interact with dropbox, we might have issues in that case16:55
ryeyou know what16:57
ryethese google docs files are actually links to the documents in google, not real files16:57
rye167 bytes of pure links16:57
mandelmmcc, there are some tests that just use the 'normal' TestCase because they do no test async code, but most of them do unless they use self.patch which comes from from twisted16:57
ryesyncing them to U1 is completely useless16:58
mandelrye, ok, time for spanish lesson: son unos pedazo de hijos de puta!!!16:58
mandelrye, what time of links? and ofcourse the do not end with .lnk which is what we use to test if the path is a link...16:58
mmccmandel, hmm. ok, so if it uses self.patch it has to have an inlineCallbacks setUp, even if it doesn't inherit from Twisted.t.u.TestCase - right?16:59
ryemandel: a file with a json document in it :)16:59
mandelmmcc, I'd be surprised if we have any self.patch test case that does not inherit from the twisted test case, so as an easy rule of thumb, yes17:00
ryemandel: but that's google docs files, not real pdfs or anything17:00
mandelrye, oh well.. you always learn something..17:00
mmccmandel yeah it looks like everything does descend from twisted eventually. I was getting thrown by ubuntu_sso/networkstate/tests/test_linux.py , TestConnection(TestCase), where TestCase is ubuntu_sso.tests.TestCase, which is declared as TestCase(unittest.testcase) --> but that's actually twisted.trial.unittest, thanks to an import I didn't see.17:03
mmccif you read all that you get a cookie17:03
mandelmmcc, yep, sounds correct and evil from our part to do those imports like that :)17:04
mandelmmcc, found I nice article that describes @inlineCallbacks if you want more info of what they do: http://blog.mekk.waw.pl/archives/14-Twisted-inlineCallbacks-and-deferredGenerator.html17:04
mmccmandel luckily I can follow import paths up to about 7 +- 2 separate files. after that I get confused and angry17:05
mmccmandel, thanks. I'll look.17:05
ryedobey: re: installers and ubuntuone. Landscape has an installer that installs an installer17:05
mandelmmcc, I'd probably get angry earlier than that :)17:05
mandelok, EOD for me17:05
ralsinadobey: when you are aroun... https://code.launchpad.net/~brian.curtin/ubuntuone-client/fix984407-windows-is_root/+merge/10496717:05
briancurtinyeah wtf is that17:06
mandelrye, facundobatista, I'll install google drive in my machine and will see what happens, maybe it screws things up17:06
ralsinabriancurtin: that, my friend, is some docbook nonsense, AFAIK17:06
ryeah, no17:06
ryejust one installer17:06
ralsinabriancurtin: did you know our linux development environment includes LaTeX?17:06
ralsinaOr used to ;-)17:06
mmccbye mandel. if you look at google drive on osx see if you can tell if the daemon is running pyobjc17:06
* briancurtin backs away, hugs windows machine17:07
mandelmmcc, good idea :)17:07
mandelralsina, briancurtin, one day in the distant future an smarter species will look at our code and will say something like.. ok, so this LaTeX thing means the world will end in 201217:08
dobeyralsina: see other channel17:08
* mmcc would share how much he loves LaTeX but can't remember how to format it properly17:09
dobeyoh it failed now17:09
mandelnow, really going or dog will pee everywhere!17:09
mandelall, have a great weekend!!!17:09
ralsinammcc: I wrote 15KLOC of python whose main defining feature is "and you don't need LaTeX to do that anymore"17:09
ralsinabye mandel!17:09
dobey./tests/platform/os_helper/test_windows.py: 35:  'platform' imported but unused17:09
mmccbye mandel, have a good weekend17:09
dobey./ubuntuone/platform/os_helper/windows.py: 38:  'version' imported but unused17:09
briancurtinah17:09
mmccralsina: interesting, what was it?17:10
ralsinammcc: rst2pdf.googlecode.com17:10
alecuholas!17:10
dobeyrye: what about the installer?17:11
mmccralsina: hey that looks useful.17:11
ralsinammcc: it is!17:11
ralsinammcc: it is also kinda broken and abandoned17:11
ryedobey: nevermind, landscape employs the same thing as we are - you install the installer from software center, then it installs landscape-client17:12
mmccralsina: bummer.17:12
* mmcc *shakes head* remembers he isn't writing research papers anymore, and gets back to code17:12
mmcc(I was about to ask about reStructuredText and BibTex databases)17:13
dobeyrye: right. doesn't mean we should though :)17:13
ralsinammcc: well, it's one of the most often requested things in the docutils mailing list17:13
ralsinammcc: I must confess I know very little about it17:13
mmccralsina: well, if you ever need to know too much about bibtex, I can help you with that.17:14
ralsinammcc: that's the thing, I have not written a paper since they were actually typed for presentation quality :-)17:15
ralsinammcc: and my reference management was a piece of paper17:15
mmccralsina: heh. thank goodness for computers... and incompatible file formats, character encoding, etc etc17:17
ralsinammcc: luckily noone ever asked my about my typewriter's character set. I think it was not unicode.17:17
alecuralsina, in typewriter character sets, do "1" and "l" share the same bit representation?17:20
ralsinaalecu: I don't recall if there was a |17:21
ralsinaalecu: it has been a while17:21
alecuralsina, no, not "|" (pipe char). I'm asking about "1" (one) and "l" (lowercase L)17:21
ralsinaalecu: no, not on this typewriter17:22
ralsinaalecu: that was only in really old mechanical ones, this was a selectric17:22
alecuselectric? are those the cousin typewriters to scalectric?17:22
ralsinaalecu: more noisy, less fun!17:22
* dobey wonders how to test python-oauth in python317:23
ralsinaargh, setting up this VPN is *painful*17:23
ryeralsina: which?17:24
ralsinarye: I bought a turkish VPN17:24
ryeralsina: type?17:24
ralsinarye: I ordered PPtP but I got L2TP17:24
ryeralsina: oh, openl2tp is your friend17:24
alecuralsina, a turkish VPN! awesome!17:25
ralsinarye: right17:25
ralsinaalecu: yeah, ... awesome... right17:25
ralsinaok, going to windows, it's going to be easier than making this crap work17:26
ralsinabrb17:26
=== salgado-lunch is now known as salgado
ryeOpenVPN FTW!17:27
dobeyralsina: get the refund for that one too17:27
ralsinadobey: he17:27
ralsinadobey: if it helps us fix it, they can keep the 20 euros17:27
dobeythe other thing does show the valicert thing here too, and i filed the RT to ask IS to look at it asap17:28
ralsinadobey they were looking last night and nothing suggested itself17:35
ryemandel: interesting. Indeed gdrive files initial hashing attempt results in error 217:35
ryemandel: and i guess this was somehow fixed in 3.0 version with introducing the delay before hashing17:35
=== daker is now known as daker__
dobeywell i was asked to file rt, and i did :)17:37
ryehm - http://paste.ubuntu.com/982073/17:40
ralsinaHello from Turkey!17:42
dobeyuh17:43
ralsinadobey: yes, my IP to you will appear to be in Jersey or something17:43
ralsinadobey: my LAN spans continents17:43
ryei have ukrainiang vpn and US vpn. i can say the same17:44
rye:-P17:44
ryeralsina: so, how is it there, in Turkey?17:44
ralsinarye: censory!17:44
ralsinaplus, it would have been a better idea to download 3.0 BEFORE switching17:44
dobeyralsina: you didn't go anywhere. :) your irc is still in the same ip it was before17:44
ralsinadobey: because I am using a decentralized IRC proxy17:45
dobeyyeah17:45
ralsinadobey: but whatismyip says I am in Ankara17:45
dobeyright17:45
ralsinachrome gets me the exact same cert as from .ar17:46
dobeyright17:46
* mmcc lunches17:50
ralsinaand u1 works great17:55
dobeyawesome17:56
dobeywhat does openssl -connect do?17:56
ralsinabut this is from windows, not precise17:57
ralsinaso, vlunteers to setup l2tp+ipsec on ubuntu? ;-)17:57
ralsinadamn17:57
dobeyheh17:59
ralsinaoh crap i am not censored17:59
ralsinadobey i would've to rtfm17:59
ralsinaoh, yes I am. But they are cesoring rollingstone.com but not (ahem) xvideos.com18:00
ralsinaNo error whatsoever, everything Just Works ®18:03
ralsinagoing back to ubuntulandia18:03
dobeyhaha18:04
dobeyi think elmo is going to fix that cert though not sure when exactly, but hopefully soon18:05
ralsinait expires in a month anyway18:20
ralsinadobey: apparently openssl -connect does a CONNECT then quits. Surprise!18:26
dobeyheh18:26
dobeydoesn't spew the ssl stuff?18:26
ralsinadobey: http://www.madboa.com/geek/openssl/#cert-retrieve18:28
ralsinadobey: only if you use the s_client thing. openssl's CLI is just weird18:28
dobeybut it printed stuff last night18:28
ralsinadobey: yes, that was using echo | openssl s_client -connect login.ubuntu.com:44318:30
ralsinadobey: without the echo, press enter, of course18:30
dobeyis there a really simple script which uses python-oauth somewhere?18:31
dobeyright, what does s_client say?18:31
ralsinadobey: if there is one, I don't have it. I was on windows, I am now trying again to connect from Linux18:32
dobeyhmm ok18:33
ralsinaor I could go back to windows and get openssl or windows from somewhere, I guess. But the cert validated, so I expect to get the exact same result as in Ubuntu from .ar18:34
gatoxralsina, after all the twisted problems....... when you have a moment please: https://code.launchpad.net/~diegosarmentero/ubuntu-sso-client/network-page/+merge/105517 :D18:39
ralsinagatox: queued!18:39
gatoxralsina, thx18:39
* ralsina is not going to ever miss a mention again, because his freaking android phone buzzes and blinks whenever soeone says ralsina on IRC now thanks to quasseldroid18:40
ralsinaI give up, the VPN didn't connect but killed my defaultroute anyway18:43
rmcbrideralsina: I'll be sure to not install quasseldroid then,18:46
rmcbrideralsina18:46
rmcbridebecause I hate being pinged needlessly, ralsina :)18:47
ralsinarmcbride: I see18:47
ralsinarmcbride: I have your home phone number and *free* skype calls, dude.18:47
rmcbridehehheh18:47
ralsinarmcbride: so don't start things you can't win ;-)18:47
rmcbrideI have a blackhole utility for my android phone, but point taken18:47
ralsinahehe18:48
rmcbrideheh18:48
ralsinaI wonder if our jenkins config should be in bzr19:03
Chipacaralsina: isn't it part of the big puppet config in bzr?19:04
ralsinaChipaca: I know it's in puppet somewhere, but I suspect we are editing jobs through jenkins19:04
ralsinaChipaca: thus I have this nagging feeling of "doing it wrong"19:05
mmccok folks, early EOD for me - will probably be back later this evening after everyone else leaves. have a great weekend19:32
ralsinathisfred: https://pastebin.canonical.com/65903/19:32
ralsinathisfred: green thin rectangles for items19:32
ralsinagatox: +119:34
gatoxralsina, great thx!19:35
gatoxmmcc, you too!19:35
thisfredralsina awesome!19:37
thisfredand it works, even with other colors ;)19:40
ralsinathisfred: hehe19:41
ralsinathisfred: I suspect there are nicer ways to do it, but it would involve redoing all the drawing instead of using the parent class19:41
thisfredthis is fine, I have dotted lines, and background colors based on tags. Spent way too much time on this already19:42
ralsinathisfred: happens with this kind of things. "oh, is dot-dot or dot-dash better?"19:43
thisfredI know, but I'd prefer to get the functionality done before I descend into that kind of polishing19:44
thisfredthe dotline is more like a dashline for instance19:45
thisfred_ralsina: moving the mouse over the items does remove the borders, however. Sometimes...20:04
gatoxeod for me people!! enjoy your weekend!20:05
thisfred_you too gatox20:05
gatoxthisfred_, bye20:05
thisfred_ralsina: I'm almost thinking it might be easier to do t20:10
thisfred_his in actual html?20:10
=== m_conley is now known as m_conley_away
thisfred_just kidding, mostly20:11
thisfred_probably20:12
thisfred_lunch20:12
mmccback for a bit on "take your sleeping toddler to work (in a stroller next to the desk) day"22:22
Chipacadobey: http://www.catbirdseat.org/catbirdseat/bingo.jpg22:30
dobeyhahahahah22:31
Chipacaralsina: there's an issue with the qt sso in P22:38
Chipacaralsina: or perhaps it's with how usc uses it22:38
Chipacaralsina: it doesn't let you go from sign up to sign in (if you already have an account)22:39
Chipacaralsina: can you look into it?22:39
dobeyChipaca: i filed a bug about that before p release :)22:40
Chipacadobey: ouch22:40
Chipacadobey: is it in usc, or is it in ussoc?22:40
dobeywell, couple days22:40
dobeyussoc22:40
dobeyand only happens for upgrades22:41
Chipacadobey: bug#?22:41
dobeyinstalling gtk package if missing should fix22:41
dobeylet me find it22:41
dobeybug #97463722:43
ubot5Launchpad bug 974637 in ubuntu-sso-client (Ubuntu) "Qt Registration and Log-in dialogs have no way to perform the other action" [High,Triaged] https://launchpad.net/bugs/97463722:43
Chipacadobey: thanks22:44
popeyuhm22:45
popeyi am in the USA, and when i try to buy a song from u1ms, it prompts me to make an account22:46
popeybut i already have one22:46
popey(a UK one)22:46
dobeypopey: sign in from control panel first22:46
* popey signs in and tries again22:47
mmccgone again on "dog woke up the baby" day22:56
dobeyChipaca: you should come to the proxy session23:05
Chipacadobey: i am going to the proxy session23:06
Chipacadobey: it is at 16:4523:06
Chipacano23:06
Chipaca16:1523:06
Chipacacock23:06
dobeyheh23:06
Chipacaapparently, one is allowed to say "cock"23:06
Chipacai can't fathom why23:06
Chipacaanyway23:06
Chipacasession!23:06
dobeyhi moch23:12
mochhi23:12

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