/srv/irclogs.ubuntu.com/2012/06/22/#ubuntuone.txt

=== zyga-afk is now known as zyga
JamesTaitHappy Friday, people! :-D09:03
selinuxiumHi guys, I appear to be having issues with the U1 on one of my PCs. I disconnected via the website and logged it back on via the application. I am getting File Sync Disconnected after I have logged in through the app.09:13
selinuxiumIs there anyway of deleting the local cache and starting afresh ?09:19
scarleoselinuxium, You could try u1sdtool -q and then u1sdtool --start, usually solves my sync problems09:35
=== zyga is now known as zyga-afk
selinuxiumscarleo cheers. I believe the U1 site is having issues anyway atm but I will give it a go  :)09:42
Madkisshi there.09:50
MadkissWhen can I expect Ubuntu One to be back online? I didn'T see a downtime announcement ... :)09:50
Madkissah, the status.09:51
Madkisshm, i think the hour is over.10:20
MadkissSomething has gone wrong10:37
Madkisshmkay.10:37
selinuxiumLike not updating the status page... :/10:46
Madkisswell, now it says "xSomething has gone wrong"10:49
MadkissI think SaaS doesn't work. -sigh-10:49
mandelselinuxium, Madkiss, do you guys one meet to get you some more info?10:50
mandelthere should be someone from the servers I can find10:50
selinuxiummandel, It is ok. Just the site isn't giving me a fault. just We're performing hardware upgrades Friday, June 22, 2012 at 9 GMT/5 EDT with service being out up to an hour.10:54
Madkissuckage.10:56
Madkisserr. suckage.10:56
mandelselinuxium, Madkiss, so from the server guys: 'we're seeing some oopses, particularly on web, investigating11:00
mandel<gnuoy> mandel, investigating at the moment'11:00
mandelso, we shall wait, these upgrading things are always a PITA11:01
MadkissI wonder what crackport had the idea of doing it at 9am GMT11:04
ryei am also here11:04
MadkissI mean, seriously, that's when 100% of europeans are working.11:04
ryeapi slaves seem to be up11:04
ryeinteresting, edge is up11:05
ryemandel: reason is found, and sidnei is working on that11:08
gatoxgood morning!11:11
mandelMadkiss, well, the issue is that you have to choose to be inconvenient to a time zone, right? a US citizen would say the same if we did it in their morning11:13
mandelMadkiss, I'm sure that the people that planned the work did it so it would be the best for the general population11:14
mandelgatox, morning!11:14
gatoxmandel, hi11:14
mandelgatox, I have fixed local rescan :)11:14
gatoxmandel, great!!11:14
gatoxmandel, i'm still trying to fix the tests for darwin after the refactor :(11:14
gatoxmandel, but i have already 2 branches for review... if you are bored :P11:15
mandelgatox, I did approve one already AFAIK11:15
* gatox checking....11:15
mandelgatox, let me tests my fixes (that is, we start syncing again) and I'll take a look11:15
gatoxohhhh the first one is merged!11:15
mandelgatox, yes, I'm merging trunk with mine atm.. major pain in the ass :)11:16
Madkissmandel: Err. three hours earlier would have been been 9PM PDT, 10PM CDT, 11PM EDT and 8AM CEST, so *way* more convenient for europeans and slightly less convenient for Americans.11:17
ryeMadkiss: the timing is not only for the end user, but for high coverage in case of failure and since it is friday - more time to get things stabilized for weekend11:19
Madkissokay.11:20
MadkissAny ETA For it?11:20
mandelMadkiss, but I'm pretty sure he is not a crackpot, about 100% sure about that11:20
ryeMadkiss: api slaves are working (which are the synchronization ones for the client). The web UI outage on main servers is being fixed as we speek. There is an edge service also - https://edge.one.ubuntu.com which may be used to get access if main web site does not work, that's where the code gets staged for pre-production before hitting the main server11:20
Madkissrye: great, thanks :)11:21
ryeMadkiss: the control panel will not show quota and account info properly. Is edge working for you now?11:25
Madkissyes11:25
ryeMadkiss: ok, one.ubuntu.com is up and running now11:26
ryeEverybody, sorry for extended outage and inconvenience this has caused you11:27
Madkissyeah, no worries, there's enough time left to do this11:30
Madkiss(what i need to do)11:30
mandelrye, where is the metadata stored, I forgot11:30
mandelrye, is it in ~/.cache or ~/.local?11:30
ryemandel: ~/.local/share/ubuntuone/11:31
mandelthx11:31
mandelsweet! darwin is back to work with no encoding issues :)11:32
=== zyga-afk is now known as zyga
gatoxit seems i'm back :P11:34
mandelgatox, go away! ;)11:35
mandelgatox, so, how do you feel about doing a unicode review? :)11:35
gatoxmandel, it would be nice to start the weekend right now..... but i can't jeje11:35
gatoxmandel, better than having to fix it... so shut11:35
ryeaquarius: is u1.to sources anywhere reachable?11:35
ryeare11:35
mandelgatox, super easy: https://code.launchpad.net/~mandel/ubuntuone-client/better-encoding/+merge/11158011:35
aquariusrye, lp:youoneteeoh11:36
ryeaquarius: no freaking way!11:36
aquariusyep :)11:36
mandelgatox, on mac os x naïve is represented as nai"ve, does it make sense?11:36
aquariusyou can't name projects u1* without approval ;)11:36
gatoxmandel, noop.... it should "encode it weird" rather than really changing the string..... or that is the encoding?11:37
mandelgatox, cry => http://stackoverflow.com/questions/9757843/unicode-encoding-for-filesystem-in-mac-os-x-not-correct-in-python11:38
gatoxfuuuuuuuuuu11:39
ryeaquarius: hm, do you mind if i insert a renderer of tomboy XML to pretty-pretty HTML? Markdown - why is it there?11:39
aquariusrye, not at all. All patches to u1to are welcome11:40
aquariusmarkdown is there with the idea that you can edit notes in markdown11:40
aquariusediting notes in HTML and then trying to translate that HTML back to tomboy XML is a doomed, doomed idea11:40
gatoxmandel, unicodedata.normalize('NFC', unicode(path, 'utf-8')).encode('utf-8')........... <sarcasm>yes, that was totally obvius, didn't you know that?</sarcasm>11:40
aquariushowever, I never finished the markdown editor. :)11:40
gatoxejeje11:40
mandelgatox, yeah, is just crazy but we only have to deal with the pats going out, when you try to write the os does the right thing for you, just to make it simpler..11:41
ryegatox: how could you normalize a unicodedata to near field communication!11:41
gatox:P11:42
gatoxmandel, +111:46
mandelgatox, awesome, that means we are back on track since the fix is more or less ok although we will have issues when we move to python 3, but we do know about it :)11:48
mandelgatox, did you see the tests? do they make sense?11:49
mandelgatox, i had to change the make_link ones but nothing else11:49
gatoxmandel, they seem valid to me11:50
mandelgatox, mya I have a review for: https://code.launchpad.net/~mandel/ubuntuone-fsevents-daemon/fsevent-is-directory11:53
mandelgatox, I'm so close to merge everything in that project :)11:53
gatoxmandel, reviewing...11:53
mandelgatox, and I also have good news, we support : in finder they show as / but they work :)11:54
gatoxjaaj11:54
gatoxmandel, +111:59
mandelgatox, superb!11:59
mandelgatox, it is starting to look like we might have something for the mac owners in the team :)11:59
mandelgatox, so quick catch up, I have to patch keyring to provide remove on mac os x and try to land the changes in trunk12:00
mandelgatox, merge your code and the fsevents daemon + packaging from mmcc (with the control panel issue)12:01
gatoxmandel, ok..... i'm trying to fix the tests here..... once i have this.... all the branches will be ready to propose12:02
thisfredhttp://pypi.python.org/pypi/pytest-pep8 A configurable pep8 checker. May be worth checking out.12:11
alecuhello, all!12:11
gatoxalecu, hi12:11
mandelalecu, morning! can you take a look at: https://code.launchpad.net/~mandel/ubuntuone-client/better-encoding/+merge/11158012:17
mandelalecu, tests update to use the testfile to be naïve which is translated to nai"ve on mac12:18
mandelalecu, running sd with that atm for local rescan etc.. also added the nomalization in the u1-client side for the paths from the daemon12:18
alecumandel: looking12:19
=== vds` is now known as vds
mandelok, lunch time12:37
mandelgatox, I'll do the second review once I've fixed the merge issues with the one that already landed on trunk, is that ok?12:37
gatoxmandel, ok.... i've some comments from alecu to fix there..... but i want to finish with this tests first..... they are killing me!12:38
mandelack12:38
* mandel lunch12:39
alecumandel: I've got more ideas on the normalization issue. Please, let's discuss them when you return.13:07
dobeyis there no way to avoid using u'' or unicode() on python2?13:08
gatoxdobey, using import from future to get the new strings (which are unicode)?13:08
alecudobey: yes: "naïve".decode("utf-8")13:12
alecudobey: (as long as you know the right encoding of your source)13:13
dobeyalecu: so i guess this should be path.decode('utf-8') instead:13:14
dobey+ return unicodedata.normalize('NFC', unicode(path, 'utf-8')).encode('utf-8')13:14
ralsinadobey: yes, you want unicode literals from future13:14
alecudobey: no, it's the same.13:14
dobeyalecu: what do you mean, the same?13:14
dobeyunicode() doesn't exist in python 313:15
alecupath.decode('utf-8') is the same as unicode(path, 'utf-8')13:15
dobeyyes, so path.decode() should be used instead, to make our lives easier when we have to make this work on py3 :)13:15
alecudobey: if we are certain that path is bytes, then yes.13:15
dobeyor we can just port everything to !python13:16
alecudobey: and inside syncdaemon when running on python 3 all paths will be bytes initially, so yes.13:16
dobeyand save ourselves from unicode hell13:16
dobey:)13:17
alecudobey: there's no escaping unicode hell.13:17
dobeyas long as there is an infinite supply of kit-kats13:18
ralsinasorry, the kit-kats are only available in the future13:18
ralsinadobey: pretty please re-review https://code.launchpad.net/~ralsina/u1db/cmake/+merge/111076 ?13:20
alecudobey: I'm finishing the review of mandel's branch. Should I add the comment about .decode ?13:20
dobeyalecu: i just added the comment; but didn't vote13:20
alecuack13:20
alecuwe are going to have to fix oh so many tests for python3. This is not funny:13:23
alecu>>> str(b"naïve", "utf-8")13:23
alecu  File "<stdin>", line 113:23
alecuSyntaxError: bytes can only contain ASCII literal characters.13:23
alecuthere's no escaping13:23
dobeyyep13:23
dobeyi have nearly got dirspec ported to python313:23
dobeyand it is hello13:24
dobeyerr, hell13:24
alecu"hello" is a hell made of jello13:26
dobeyyes13:26
dobeyralsina: yes it's on my list13:27
ralsinadobey: ack, thanks13:27
ralsinawell, better to learn the tricks now than later13:27
dobeygatox: can i get some reviews from you?13:28
gatoxdobey, yes.....s hut13:28
dobeyhttps://code.launchpad.net/~dobey/ubuntuone-control-panel/use-dirspec/+merge/11148113:28
dobeyhttps://code.launchpad.net/~dobey/u1sync/use-dirspec/+merge/11148013:29
dobeyhttps://code.launchpad.net/~dobey/ubuntu-sso-client/use-dirspec/+merge/11148413:29
gatoxalecu, ping13:34
gatoxalecu, so i can finish with this, i have the branches with the refactoring working....... i want to fix the second one, with your comments..... review dobey's and propose the rest.... BUT I HAVE A QUESTION13:35
gatoxwel.. i can add the answer to the MP..... never mind13:36
alecugatox: ask, ask!13:37
gatoxalecu, here you say: The implementation in add_watches_to_udf_ancestors is *very* specific to windows, so it needs to be moved to windows.py13:37
gatoxalecu, but actually.... in windows a value is being assigned there..... and in mac i use it as None.... so i can share more common code13:38
gatoxalecu, juazzzzzzz13:40
gatoxi paste the wrong comment13:41
gatoxalecu, this one: FILESYSTEM_MONITOR_MASK gets broken in this branch because filesystem_monitor_mask seems to always be None.13:41
gatoxalecu, with my same answer13:41
alecugatox: ????13:41
alecugatox: I don't understand what's wrong with my comment13:41
gatoxalecu, actually.... in windows a value is being assigned there..... and in mac i use it as None.... so i can share more common code13:42
gatoxso it's not broken, and that is how i'm using it13:42
* mandel back13:48
mandelalecu, tell me13:48
gatoxalecu, anyway..... branch updated, and comments added to the MP13:49
mandeldobey, alecu, MP updated: https://code.launchpad.net/~mandel/ubuntuone-client/better-encoding/+merge/11158013:55
gatoxmandel, alecu i have this one for review too: https://code.launchpad.net/~diegosarmentero/ubuntuone-client/darwin3-fsevents/+merge/11159913:56
gatoxmandel, alecu and the previous 2 has been updated with alecu 's comments13:56
gatoxnow.... to review dobey branches13:57
mandelgatox, I see a conflict here: https://code.launchpad.net/~diegosarmentero/ubuntuone-client/darwin2-fsevents/+merge/11142713:57
mandelgatox, is that right?13:58
gatoxmandel, ah... maybe with yours...... checking....13:58
mandeldobey, have all the tests from ubuntu-sso xdg been moved to dirspec?14:00
dobeymandel: yes of course14:00
mandeldobey, sweet, approving then :)14:01
gatoxweird..... i see a different conflict that the one in the page14:02
mandeldobey, dirspec branches already have 2 * +!14:02
mandels/!/114:02
dobeymandel: thanks, but it's not monday :)14:03
alecugatox: yet another needs fixing14:03
gatoxgrrrr i hate conflicts: can't delete folder14:03
mandeldobey, I wanted to take a rest from u1-client code hehe14:03
dobeyralsina: http://askubuntu.com/questions/154202/problem-to-sync-files-between-windows-7-and-ubuntu-12-04-with-ubuntu-one14:04
dobeymandel: yeah, i was taking a break from packaging; and shaving an overly hairy yak14:04
ralsinadobey: looking14:05
mandeldobey, I hate the fact that we have that many international users..14:05
mandelgatox, is there a conflict then?14:05
gatoxmandel, Conflict: can't delete ubuntuone/platform/xdg_base_directory because it is not empty.  Not deleting.14:05
gatoxmandel, but the page says something else14:05
ralsinadobey: answered14:05
dobeygatox: do you have .pyc files in there?14:06
dobeygatox: bzr doesn't automatically delete files it doesn't control14:06
mandelralsina, dobey, I wonder if there is a way for the people in ask ubuntu to set our usernames as u1 developers so that our answers are taking more seriously14:06
dobeygatox: so if you merge a dir deletion into a branch that has extra files in there, you get that "conflict"14:06
dobeymandel: there isn't14:07
ralsinamandel: start the answer with "hello, I am manuel, I work in the Ubuntu One team."14:07
gatoxdobey, thxxxxx.... i wasn't thinking about .pyc14:07
mandelralsina, meh, that looks like I want to date the guy.. hehe14:07
dobeymandel: you answer questions and get reputation points :)14:07
dobeymandel: tell him how you like taking walks on the beach14:08
ralsinamandel: you can do a troy mcclure "you may know me form answers like..."14:08
mandellol14:08
dobeyheh14:08
dobeyDodge, Dip, Duck, Dive, and Dodge.14:09
gatoxmandel, conflict resolved14:11
mandelgatox, I think you can do the following 'from blah import (common, windows as filesystem_notifications)14:16
mandelgatox, line 8 of the diff14:16
gatoxmandel, ohhhhh right14:16
mandelgatox, line 112 import windowspath as os_path, same for is_valid_syncdaemon_path and for is_valid_os_path unless is due to a flakes issue..14:18
gatoxmandel, flake14:19
gatoxmandel, you can't see it there14:19
mandelputo flake..14:19
gatoxmandel, but you will see it in the darwin branch14:19
gatoxmandel, alecu ok, the branch has been updated with your comments14:22
mandelgatox, alecu, I don't know about you, but I'd feel better if we raised not implemented errors in those methods in the super class that most be implemented by the children, what do you think?14:23
mandelI'd like to have a way to know we forgot that is very obvious14:23
gatoxmandel, i thought about it.... but wasn't sure to do it.... if you think is best +1 from me14:24
mandelgatox, I prefer to fail in a very noticeable manner14:24
dobeydoh14:25
gatoxdobey, little help, i having this problem: http://paste.ubuntu.com/1054316/   running the tests for: https://code.launchpad.net/~dobey/ubuntuone-control-panel/use-dirspec/+merge/111481 ....... i have u1-client up to date in my dir, and i've done an upgrade14:25
gatoxmandel, ok..... doing that14:25
mandelgatox, also, I would set the event codes in the windows module and not how you are doing in line 114, just to keep everything in the platform module, does it make sense?14:27
gatoxmandel, mmmmm but i need to access them from common..... and windows is importing common.... if i do common to import windows too.... problem14:27
alecugatox: right: we usually do the imports the other way:14:28
alecu__init__.py import windows.py that imports common.py14:28
mandelgatox, I think alecu ways makes more sense..14:29
alecu__init__.py => windows.py => common.py14:29
dobeygatox: you don't have u1-client trunk in the PYTHONPATH i guess14:29
gatoxdobey, i'll try14:29
gatoxalecu, but..... in that way..... i also can't put the event_codes in windows..... if i want to access them from common......14:29
gatoxor i am missing something?14:29
mandelgatox, set them as none or a class attribute and make the child set them14:30
mandelfor example14:30
dobeygatox: is that on osx?14:31
gatoxdobey, linux....14:31
alecumandel: right, a class attribute is much better.14:31
dobeygatox: ah, you need client revno 1264 i think14:31
dobeygatox: apt-get update && apt-get upgrade :)14:31
gatoxalecu, mandel class attribute is the same problem for me...... because is being access from different classes......14:31
dobeyand make sure you have nightlies14:31
gatoxand if i do from Watch:14:32
gatoxWatchManager.event_codes inside common14:32
gatoxis going to look for WatchManager inside Common14:32
gatoxahhhhhhhh.... i understand now14:32
gatox:P14:32
mandelein?14:32
mandelje ne compre pa!14:32
gatoxi'm going to do that change and run the tests14:33
gatoxmandel, with class attribute it fails, or i need to define the COMMON_ACTIONS, etc, at the bottom.... i'll try to put it in the __init__ or something14:41
mandelgatox, but if common actions is a class atribute, how come it fails?14:42
gatoxmandel, what?14:43
dobeybah. i have to move the u1sync landing to the -trunk tarmac14:43
dobeyevil u1sync14:43
dobeymaybe i should just make it not depend on u1-client14:43
gatoxmandel, you mean to change COMMON_ACTIONS from a dict to a class?14:43
mandelgatox, no, common actions is a dict that maps the action with the pyinotify action, therefore you and add a class attribute to the watch or watchmanager called actions map and use that one14:44
mandelgatox, or something of the kind14:44
gatoxmandel, ahhh... i understood something else previously14:45
dobeywtf. my emacs is going nuts14:46
mandeldobey, :q!14:48
dobeyno, it's like it's not using the right font, or something weird. like i just opened an emacs window and it was really wide, rather than the size it normally is14:49
dobeyanywya14:50
dobeymandel, briancurtin: i changed https://code.launchpad.net/~dobey/u1sync/use-dirspec/+merge/111480 a bit, so u1sync uses its own log dir, instead of infesting the ubuntuone-client dir; if you could give a quick re-review14:51
briancurtindobey: will do14:51
mandeldobey, sure14:51
mandeldobey, god..  hate u1sync, I think we should kill it, who uses it?14:52
dobeyserver tests14:52
gatoxdobey, +1 https://code.launchpad.net/~dobey/ubuntuone-control-panel/use-dirspec/+merge/11148114:53
dobeygatox: thanks14:53
gatoxdobey, should i set it to globally approve14:53
dobeyi just did14:53
gatoxdobey, you already have 2 approves here: https://code.launchpad.net/~dobey/u1sync/use-dirspec/+merge/11148014:54
gatoxdobey, and here: https://code.launchpad.net/~dobey/ubuntu-sso-client/use-dirspec/+merge/11148414:54
dobeyyes i know14:54
dobeythanks :)14:54
gatoxme15:01
alecume15:01
mandelme (writing notes)15:01
* mandel is done15:03
alecudobey, ralsina, thisfred, briancurtin, mmcc: standup?15:03
briancurtinme15:03
ralsiname15:03
dobeyme15:03
thisfredme15:03
mmccMe15:04
alecugatox: go15:04
gatoxDONE:15:04
gatoxCouple of reviews. Update the branches, and almost done with the refactoring.15:04
gatoxTODO:15:04
gatoxPropose the remaining branches, reviews.15:04
gatoxBLOCKED:15:04
gatoxNo15:04
gatoxalecu, go15:04
alecuDONE: lots of mumbles, many reviews, starting with py3k for sso15:04
alecuTODO: some osx reviews, visit the doctor, more py3k15:04
alecuBLOCKED: no15:04
alecuNEXT: mandel15:04
mandelDONE: bug 1015672 and bug 1016459. Several reviews. Merge fsdaemo brnaches.15:05
mandelTODO: fix lp:~mandel/ubuntuone-fsevents-daemon/less-error-prone per reviews15:05
mandelBLOCKED: no15:05
mandelCOMMENT: need to leave a little earlier, friend ins getting married.15:05
mandelbriancurtin, please15:05
ubot5Launchpad bug 1015672 in Ubuntu One Client "File names encoding is not correctly handled on darwin" [High,In progress] https://launchpad.net/bugs/101567215:05
ubot5Launchpad bug 1016459 in Ubuntu One Client "test_set_application_name fails on darwin" [Medium,In progress] https://launchpad.net/bugs/101645915:05
briancurtinDONE: 3.0.2 is complete. started gathering up info on the SSO port to python 3 along with the dependencies15:05
briancurtinTODO: more gathering/organizing, looking over the diff and the projects, hopefully coming up with some estimates15:05
briancurtinBLOCKED: no15:05
briancurtinNEXT: ralsina15:05
ralsinaDONE: team call, dash call, 1-1s, planning, canonicaladmin, cmake tweaks, lots of minor stuff TODO: code something, get the cmake branch fixed if needed, help around, bug triaging. BLOCKED: no NEXT: dobey15:05
dobeyDONE: team call, bug #1016151, some python3 pokery for dirspec15:05
dobeyTODO: reviews, not packaging.15:05
dobeyBLCK: None.15:05
ubot5Launchpad bug 1016151 in Ubuntu One Servers "Code duplication with dirspec" [Undecided,In progress] https://launchpad.net/bugs/101615115:05
dobeythisfred:15:05
thisfredDONE: Bug #999574 Bug #999569 (sidenote: json-c is very peculiar) TODO: bug #999562 BLOCKED: no NEXT: mmcc15:05
mmccDONE: cable modem failed, working on reactor installation problems TODO: track down imports that install reactors, fix UI freeze BLOCK: none, unless my monitor dies for real this time15:05
ubot5Launchpad bug 999574 in U1DB "deal with database files copied between machines and backup restoration" [High,In progress] https://launchpad.net/bugs/99957415:05
ubot5Launchpad bug 999569 in U1DB "invalid json errors. ensure its a json object" [High,In progress] https://launchpad.net/bugs/99956915:05
ubot5Launchpad bug 999562 in U1DB "retry logic on 503 " [High,Confirmed] https://launchpad.net/bugs/99956215:05
ralsinaOk. Comments?15:06
mandelralsina, the one I posted in the standup :)15:06
ralsinaI forgot: TODO: finish setting up Q VM, and figuring out the breakage with Qt on Q15:06
ralsinamandel: ack15:06
briancurtindobey: re-approved dirspec branch15:10
ralsinaEOM15:10
dobeythanks15:10
mandeldobey, same here, +115:15
=== mmcc_ is now known as mmcc
gatoxohhhh.... the latest changes broke a lot of tests......  fixing tests again.....15:21
dobeyugh. i might need to open up the power supply for my new computer and replace the fan in it, with one that isn't so damn loud15:24
briancurtinmine is on the way out15:24
ralsinadobey: I amgoing fanless with everything except my notebook, which is luckily on the quiet side15:25
ralsinadobey: CPU power is overrated15:25
dobeyralsina: it was hard enough finding a power supply to meet the requirements of this board/cpu, in a 1U design. trying to find one without a fan too would be impossible.15:27
ralsinadobey: yes, fanless u1 is tricky15:28
ralsina1u15:28
ralsinadobey: since they are meant to be stacked without any place for passive cooling15:28
dobeymy 1u server is really quiet though15:28
dobeybut it's also only got a 200w power supply, and it's a 35w core i315:29
ralsinaa 200w like a pentium! :-)15:29
dobeybut new workstation hardware is 65w core i7, and power supply is 520w 1u supply15:29
ralsinayikes15:29
dobeyit's a 2u case, but requires a 1u supply15:29
mandelalecu, gatox, ralsina, when syncing I'm getting errno 13 on mac (permission denied)15:33
mandelso, we also have an issue there, I'll look closer into the issue15:34
ralsinamandel: ack15:34
alecumandel: do you have a trace?15:34
mandelalecu, yes I do, also it looks like bzr had the same issue bug 18742615:36
ubot5Launchpad bug 187426 in QBzr "mac os x: bzr: ERROR: [Errno 13] Permission denied" [Medium,Fix released] https://launchpad.net/bugs/18742615:36
mandelalecu, problem is, the branch that fixes that has another 10 bug fixes.. :(15:36
dobeyok. time to get lunch. bbiab15:36
mandelalecu, paste.ubuntu.com/105445015:37
mandelalecu, ralsina, gatox, mmcc we are doing something wrong with the rights bug 101661415:41
ubot5Launchpad bug 1016614 in Ubuntu One Client "Permission denied error on darwin" [High,Triaged] https://launchpad.net/bugs/101661415:41
mmccMandel ,Looking15:41
ralsinamandel: looking15:42
ralsinamandel: you are opening a file with only read permissions as wb15:43
mandelralsina, also all files only have r permission which is the problem15:43
mandelralsina, and all those files have been added by a previous sync15:43
ralsinamandel: well, people may change their file permissions, that doesn't mean u1 should break on it. So there are 2 problems15:44
ralsinamandel: 1) you are creating them with the wrong permissions15:44
ralsina2) If they have the wrong permissions, you need to reset them15:44
mandelralsina, yet this has not happened on windows or linux AFAIK15:44
ralsinamandel: let me try a little experiment15:44
ralsinamandel: on linux, in the same situation, it gives the same error15:45
ralsinamandel: you can't open w a file with r-only permissions15:45
mandelralsina, I think the main problem right now for the port is 1, 2 is a diff story15:46
ralsinayes, 2 looks like a crss-platform thing15:46
ralsinaSo, it's maybe your umask or something like it?15:46
mandelralsina, I'm looking at it, re syncing to see if I can reproduce the error15:47
ralsinamandel: ok15:47
briancurtinalecu, ralsina: https://wiki.canonical.com/UbuntuOne/Python3Port (no numbers yet, just listing what works, what we have to make work, etc)15:54
ralsinabriancurtin: reading...15:54
alecubriancurtin: awesome!15:56
mandelbriancurtin, ralsina, alecu, looks like a great excuse to get mocker out :)15:56
alecubriancurtin: pil should not be needed, we might replace it with straight PyQt15:57
briancurtinalecu: that's what i thought i remembered reading somewhere15:58
ralsinaalecu, briancurtin: yes, if we get the image plugins to behave15:58
ralsinaOTOH, on ubuntu we don't need even that15:58
ralsinaand on windows we are stuck with python215:58
ralsinabriancurtin: qt4reactor is only useful on windows, so we don't quite need it with python3 yet15:59
ralsinaalecu: or maybe we do for tests?15:59
mandelralsina, I think we are on 2 (previous write error problem) than on 1, the files I added came from a samba share so I might have copy them over with the wrong rights15:59
briancurtinif it's just for windows i can slide it under the windows section15:59
mandelbriancurtin, yes, PIL was added as a work around py2exe not being nice with the jpeg qt pluging16:00
mandelplugin*16:00
ralsinamandel: you could test i the same thing happens on linux16:00
mmccQt4reactor also on Mac. .16:00
ralsinammcc: is py2app py3-ready?16:00
mmccI believe I can fix the plugin problem16:00
mandelralsina, yes, copy the same data form the samba share, makes sense16:00
ralsinammcc: because if it's not, then we are python2 in mac too16:00
mmccralsina: Good question.16:01
briancurtinralsina: i'll finish the port of py2exe to py3 myself if i have to. i know it's done and i know mark hammond did some work on it in the past. (this would just be on the side, i know ubuntu is #1 priority for this due to release)16:01
briancurtins/i know it's done/i know it's partially done/16:02
ralsinabriancurtin: good attitude :-)16:02
mmccI think it is a work in progress, but he's working on it this week16:02
ralsinabriancurtin: if you could fix their braindead log-stderr-where-the-binary-lives thing, it would save us some pain, too ;-)16:02
mmccSo py2app should be ok for py3, as it had the maintainers attention right now16:03
ralsinammcc: awesome16:03
ralsinaso we may go py3 on all platorms more or less at the same time. That's good.16:04
mandelok, got to leave for a wedding.. boring...16:04
mandelsee you all on monday!16:04
mmccHave a good weekend mandel!16:05
briancurtinmandel: have a drink or several while you're htere16:05
briancurtinthere16:05
mandelbriancurtin, I have to drive there.. I might ask the mother out hehehe16:05
briancurtin:)16:05
gatoxmandel, your common_actions change is ruinning my life....16:10
gatoxi don't know why..... but everything is broken, and i can't find why yet16:10
gatoxlunch for me16:10
=== gatox is now known as gatox_lunch
mmccHey,do I was16:21
mmccWhoops. Just a sec16:21
aleculunch!16:28
mmccRight, so I looked at the comment in the code that uses PIL, and I think the problem with Qt image plugins on bundled windows might be related to the qt.conf reading issue I ran into. I think we should be able to make it work without PIL16:28
mmccOk, lunchtime16:39
dobeyoi16:39
=== gatox_lunch is now known as gatox
* briancurtin lunch17:49
dobeyralsina: how the heck does one install stuff with cmake?17:59
ralsinadobey: if it doesn't have an install target, it's that I didn't add it18:00
ralsinadobey: since the goal of that branch was to get it building18:00
ralsinadobey: I can either add it there or do a second branch18:00
dobeyhrmm. just need +30 more rep on askubuntu today18:06
ralsinadobey: want me to ask something? ;-)18:08
dobeyyou can just vote up my answers if you want :P18:11
ralsinadobey: the clean problem there is not really cmake's it's the top-level makefile and setup.py's18:13
ralsinadobey: so I will do another branch that removes that Makefile, and does a "manual" clean18:13
dobeyralsina: but if i do "make -C src clean" it still doesn't actually clean anything18:14
ralsinadobey: if you cd src; make clean it does18:14
dobeynot here18:14
ralsinadobey: it deletes the libu1db.a and the object files here18:16
dobeyit removed libu1db.a and that's it18:16
dobeyafaict18:16
* gatox realize the only option is to run a diff with the branch in a working revisoin........ fuuuuuuuu damn broken tests18:16
ralsinadobey: the .o files are not in the same folder, but they are deleted18:16
ralsinadobey: and so is the generated .c file18:16
dobeywhat generated c file?18:16
dobeyoh the sql schema18:17
ralsinawait, it isn't18:17
ralsinabut the .o files are18:17
dobeyu1db_schema.c is deleted18:17
ralsinayes it is, looked at the wrong moment18:17
dobeyand libu1db.a, but that's it18:17
ralsinadobey: CMakeFiles/u1db.dir/u1db_http_sync_target.c.o18:17
ralsinadobey: and similar18:17
dobeyand there's no way to do maintainer-clean18:18
ralsinadobey: usually, cmake is run in another folder and you just delete that folder entirely :-(18:18
ralsinadobey: it was a pain to do that with the top-level Makefile, but I will fix that now18:19
ralsinawhoa launchpad is lazy today18:26
* mmcc is looking through WWDC slides, hoping I don't actually have to sit through all these videos19:21
dobeyalecu: did you see the test failure in your pycurl-1-4 branch?19:43
alecudobey: this one, right? https://code.launchpad.net/~alecu/ubuntu-sso-client/use-pycurl-1-4/+merge/11063619:44
dobeyyes19:44
alecudobey: I've not looked at it yet. Do you have any idea what may be the cause?19:44
dobeyno idea19:45
alecudobey: it does not look like something changed in the branch.19:46
briancurtindobey: how granular should i make the bug reports for the Python 3 porting? at least for right now I'm planning to tackle one type of change at a time. one bug per one type of change, or just one big py3 bug?19:46
dobeyalecu: indeed19:46
dobeybriancurtin: one bug per type of change i think. so we can track what is fixed more easily, since one branch isn't going to fix all the py3 issues19:47
alecubriancurtin: I guess a few bugs would work better than a huge "py3" bug19:47
dobeybriancurtin: and please target the bugs to trunk and stable-4-0 series, and add the ubuntu task as well with "also affects distribution" and nominate for Quantal series for the ubuntu bug19:48
briancurtinwill do19:48
dobeythanks19:48
gatoxalecu, i don't know if you saw the emails, the branches has been updated19:56
alecugatox: cool19:57
briancurtindobey: both existing py3 MPs are now associated with bugs, and i'll keep doing that as i move forward20:06
dobeybriancurtin: great, thanks20:06
briancurtindobey: does this look like it was done properly with all of the right buttons and knobs pushed? https://bugs.launchpad.net/ubuntu-sso-client/+bug/101670720:06
ubot5Ubuntu bug 1016707 in Ubuntu "Convert dict iter* methods to their Python 3 equivalent" [Undecided,New]20:06
dobeybriancurtin: for the ubuntu task, you need to specify the package as well20:08
dobeybriancurtin: and you should set the statuses to triage/in progress as appropriate20:09
dobeybriancurtin: but otherwise good, yeah :)20:10
briancurtindobey: i'll get the statuses straightened out. what's the package name? (i could guess, but not being a regular ubuntu user i'll leave it up to someone knows)20:10
dobeybriancurtin: the source package names are the same as our projects20:10
briancurtinah20:10
dobeybriancurtin: so ubuntu-sso-client, dirspec, etc...20:10
briancurtineasy enough20:10
dobeyoh20:11
dobeylooks like your branches conflict with my branch that removed xdg_base_directory20:11
dobeyso you'll also need to merge trunk in and fix the conflict20:11
briancurtini'll get it updated20:11
=== yofel_ is now known as yofel
briancurtindobey: conflicts resolved20:35
gatoxok...... eod for me..... a couple of tests more and the last branch will be ready..... but no today, brain failing :P20:36
gatoxhave a nice weekend everyone!20:36
dobeyby gatox20:40
dobeybye even20:40
ralsinabye gatox!20:40
gatoxralsina, dobey bye! see you on monday!20:40
* dobey haing brain problems too20:40
gatoxdobey, the end of the week tend to have that effect20:40
dobeyhrmm20:41
dobeyhttps://code.launchpad.net/~brian.curtin/ubuntuone-windows-installer/prefer-dev-devtools/+merge/11146320:41
dobeycan someone else give that an approval?20:41
ralsinadobey: looking20:42
dobeybriancurtin: ./ubuntu_sso/qt/tests/test_common.py:365:34: E502 the backslash is redundant between brackets20:51
dobeybriancurtin: looks like you added a \ back that i removed in my branch to satisfy pep8 :)20:51
briancurtindobey: ah, fixed and pushed20:53
dobey        return path.decode(sys.getfilesystemencoding()).encode("utf-8")20:57
dobeythat line of code is currently the bane of my life20:58
ralsinadobey: are you trying to python-3-ize it?20:58
dobeyralsina: yes20:58
ralsinaand what's path, bytes?20:59
dobeya str apparently20:59
ralsinathen it should work as-is20:59
dobeybecause py3 complains it doesn't have decode()20:59
ralsinaif it's unicode it's very broken20:59
dobeystr only has encode in py320:59
ralsinadobey: then it's a str in python3, right20:59
dobeybytes has decode20:59
dobeyright20:59
ralsinathen assume the decode() has already taken place21:00
ralsinawhich of course breaks it for py221:00
dobeywell it used to be a unicode i think; but i removed all the u'' and unicode() references, for py321:00
dobeyso now one test is failing in py2 because of that21:01
ralsinaif it was unicode and we were doing a decode on it, we were Doing It Wrong21:01
ralsinabut have to EOW21:01
dobeymaybe i should just remove this method21:01
dobeyor deprecate it and have it return the input21:01
dobey        # on windows, environment variables are mbcs bytes21:02
dobey        # so we must turn them into utf-8 Syncdaemon paths21:02
dobeybah21:02
ralsinaHave a good weekend!21:19
dobeyman, i just need someone to accept an answer on askubuntu21:23
dobeylater all21:32
mmccbye everyone, I'll be popping in over the weekend to try to catch up...22:46
alecudobey: I think this may interest you: http://python3porting.com/noconv.html#more-bytes-strings-and-unicode22:55
alecuunicode_literals plus "text_type" and "binary_type" sounds like the best approach.22:57
alecuor even using the "bytes" type that already exists in py2.622:59
alecuand doing "string = unicode" or "string = str" depending on the version.22:59
dobeyright, i'm doing unicode_literals23:05
dobeyi need to do something else than stare mindlessly at broken python though23:09
alecudobey: sorry about that :-)23:10
alecudobey: have a great weekend though!23:10
dobeyyou too :)23:12

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