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

ceramicmAnyone know where I can find "ubuntuone.platform.linux.tools"? I'm trying to compile ubuntuone-client-1.7.1 on Fedora 15.07:56
duanedesignhello ceramicm07:58
ceramicmHello.07:59
duanedesignlet me see if i can help08:00
ceramicmAlright, thanks.08:01
duanedesignceramicm: looks like that is the package  python-ubuntuone-client08:03
ceramicmduanedesign: Yes, but isn't ubuntuone-client the source package for the Ubuntu python-ubuntuone-client?08:04
ceramicmIf so, since I've successfully run "configure", "make", and "make install" on the ubuntuone-client package, I would assume that the module would be installed as well, no?08:07
rogerk_Anyone know if there's a new Windows version coming soon? :)08:08
duanedesignhmm, i think you are right08:08
rogerk_of U1, that is.08:08
duanedesignrogerk_: yes, very soon their will be a major update to the Windows Beta08:08
rogerk_duanedesign: whee! are we talking hours, days or weeks? :-)08:09
rogerk_Having trouble with unpredictable sync..08:09
ceramicmWhen I try to run "u1sdtool" in terminal, I get an "ImportError: No module named ubuntuone.platform.linux.tools"08:09
duanedesignrogerk_: i would guess days to weeks08:10
rogerk_duanedesign: ok, thanks :)08:10
duanedesignrogerk_: if i get a less broad answer i wil let you know :)08:11
Chipacaceramicm: hi08:13
ceramicmChipaca: Hello.08:13
Chipacaceramicm: could you open a python console session please?08:14
ceramicmChipaca: Ok. Done.08:16
Chipacaceramicm: do 'import ubuntuone'08:17
Chipacaceramicm: then, 'ubuntuone'08:17
Chipacaand paste the output of that last one08:17
ceramicmChipaca: I got another ImportError, and then a NameError: name 'ubuntuone' is not defined.08:18
Chipacaah, ok08:18
rogerk_duanedesign: great!08:19
Chipacaceramicm: are you wanting to package ubuntu one, or simply to get it working?08:19
Chipacaceramicm: i can probably help you with the latter, but i don't know enough of fedora's quirks, nor of rpm packaging, to help you usefully with the former08:20
ceramicmChipaca: Get it working. I only have a bit of experience packaging.08:20
Chipacaok08:21
Chipacawhat have you done so far?08:21
ceramicmDownloaded the source of ubuntuone-client from launchpad, unzipped it to /opt, ran "configure", "make", and "sudo make install", and then tried "u1sdtool".08:22
ceramicmI installed imake (to provide lndir) and python-twisted also, to satisfy dependencies.08:23
Chipacadid you install ubuntuone-storage-protocol?08:24
ceramicmChipaca: No.08:24
Chipacaok08:24
Chipacahttp://askubuntu.com/questions/10271/is-running-ubuntu-one-on-debian-possible08:24
Chipacathat might be a good place to start08:25
Chipacaas it lists all the dependencies, even though the package names are in debianese you should be able to follow it08:25
ceramicmChipaca: That looks very helpful. Thanks!08:25
Chipacadon't do the sed bit, unless you know your gtk doesn't have a spinner08:26
Chipacain fact, in python console, import gtk; gtk.Spinner08:26
Chipacaif that dies, then you need the sed08:26
ceramicmNo, I have a gtk.Spinner08:26
Chipacaalso, i think fedora uses site-packages instead of dist-packages08:27
Chipacaso ignore comments about moving things :)08:27
ceramicmWould you recommend using the latest bzr branches of each component, or the most recent release tarballs?08:28
Chipacathe latter08:29
Chipacano sense in having that many moving parts until you know it works :)08:29
Chipacaoh, hold on, are you using gnome 3?08:29
ceramicmYes. Problem?08:29
JamesTaitGood morning all!08:30
Chipacaceramicm: the latest tarball is 1.7.something, right? if so you're ok08:30
ceramicmChipaca: 1.7.1, yes.08:30
ceramicmJamesTait: Good morning.08:31
Chipacaceramicm: gnome broke several dbus interfaces with their move to 3, and older versions break08:31
Chipacaceramicm: also make sure ubuntu-sso-client is 1.3.x08:31
JamesTaitGood morning ceramicm. :)08:34
ceramicmIs ubuntuone-storage-protocol 1.6.0 ok?08:34
mandelmorning!08:49
ceramicmmandel: Good morning.08:50
mandelceramicm: hello :)08:50
Chipacaceramicm: please mention my name when asking questions otherwise i might delay quite  abit in replying08:52
Chipacaceramicm: make it 1.7 also please08:53
ceramicmChipaca: Ok. Thank you for the help! I'm compiling the various components now, and I'll let you know how it works out.08:53
karniGood morning!09:08
mandelkarni: morning!09:17
karnihi mandel :)09:17
gatoxmandel, did you receive your reviews from yesterdy09:32
gatox?09:32
gatoxor do you want me to do it now?09:32
mandelgatox: I had one from alecu, if you fancy taking a look at the ACE issue yet he gave me a nice needs fixing ;)09:35
mandelgatox: will only be useful for you if you want to see a dirty trick win the windows fs hehehe09:35
FxIIIhi all09:36
gatoxmandel, ok... so, i think not yet :P09:37
FxIIIcan ubuntuone sharing folders ability be used without gui?09:37
FxIIII mean on a computer without the X server, using only the commandline09:37
mandelFxIII: if you have dbus running you should not have a problem, we have a command line to interact with the daemon09:38
mandelFxIII: let me find out the exact command09:39
FxIIImandel: where i can find documentation?09:39
mandelFxIII: u1sdtool —help09:39
FxIIImandel: i can use python api too09:39
mandelFxIII: yes, you can and even use the dbus calls too if you need to :)09:40
mandelFxIII: there is a wrapper with useful functions that we use in the control panel, you can do a from ubuntuone.platform.tools import *09:41
mandelFxIII: take a look at the code of the u1sdtool which uses those, you can find it in trunk under /bin09:42
FxIIIu1sdtool gives error related to the DISPLAY variable to me09:42
mandelFxIII: hm… lame can I see the error?09:42
FxIIII'm rebooting09:42
FxIII(armel device with a little problem with power supply :D)09:43
FxIIImandel: I can try with my netbook using ssh to emulate the display absence09:44
mandelFxIII: sure, give it a try, if you need any help I'll be here :)09:46
FxIIImandel: ok09:46
FxIIIwhre i can post the error?09:47
FxIII*where09:47
FxIIImandel: http://pastebin.com/vRx2qr9r09:48
mandelFxIII: paste.ubuntu.com :)09:48
FxIIImandel: too late :D09:48
mandelFxIII: hehe is the same, the diff is the url heheh09:48
FxIIIi dont understand how signup is intended to be used when in command line09:50
mandelFxIII: hmm as I suspected Dbus is asking for the x-server… let me see if there is a way to work around that09:50
mandelFxIII: can you use any other dbus service?09:50
FxIIImandel: i cant tell, i'm new to dbus09:50
mandelFxIII: oh, wait you do not have the credentials… there is a call from sso that will do that for you09:52
mandelFxIII: can you set in your env DEBUG=true and cat the output, lets see what is the issue09:53
mandelFxIII: but I suspect that sso is trying to get the credentials and for that it need a UI and it goes bannanas, I know there is a way to get the creads with no UI but we would need to ask ralsina09:53
mandelgatox: do you know something about that ^ maybe you talk with ralsina about it while working on the windows installer09:54
FxIIImandel: I basically need to run the sync at the startup/on-connection wihtout the user log in (then i will like to remove the X server at all)09:54
FxIIImandel: http://paste.ubuntu.com/662506/09:54
FxIIImandel: i cant see differences09:55
mandelFxIII: ok, so we have to do some smart work around the issue of sso. The problem here is that you do not have the credentials for that machine which means that the sso daemon will launch to try and get them and that uses a UI09:56
mandelFxIII: do you have another machine with u1 installed (lets try first by copying the creds to the machine with no x11)09:56
FxIIImandel: if i set the DISPLAY it works whitout asking anything (no credentials form or other)09:56
FxIIII did the test using my netbook over an ssh connection09:57
FxIIImandel: the error is the same09:57
FxIIImandel: and no ui appears if i export DISPLAY=:009:58
gatoxmandel, FxIII the problem i used to have was with the ipc-client (in windows) and it's fixed deleting the metadata09:58
gatoxmandel, FxIII a branch was approved last week solving some issues about credentials...09:59
mandelgatox: here we have an other problem, he is not using x11 :P09:59
gatoxmandel, mmm10:00
mandelFxIII: yeah, the daemon will work yet it would be getting any real data, which is a pain since you need to be connected, can you run u1 like you mentioned and then look for the logs in xdg_cache10:00
mandelFxIII: also lets ping rye he is the one that does more crazy things with u1 than anyother :)10:01
FxIIImandel: sorry, i dont understand what i have to do10:01
mandelFxIII: ok, what is happening is the following, the ubuntu one dameon is launched with no creds, the guy does not care because he will be waiting for you to log in, so although you can get it to run it is doing nothing10:02
mandelFxIII: what we need to do is to make sure that the daemon gets the creds so that it performs the sync, the problem is that the other daemon that takes care of that (ubuntu.sso) does use a display, which is a PITA10:03
=== ehw_ is now known as ehw
mandelFxIII: do I make sense so far?10:03
FxIIImandel: ooooh ok10:04
FxIIImandel: there is a problem about this10:05
FxIIImandel: is the credential asked at each request?10:05
mandelFxIII: there is an option in the daemon to pass the keys, the bin is called ubuntuone-syncdaemon10:05
mandelFxIII: no, creds are just asked once :)10:05
mandelFxIII: so, lets stop the daemon (ubuntuone-syncdaemon) and run it with ubuntuone-syncdaemon —oauth [CONSUMER_KEY:CONSUMER_SECRET:]KEY:SECRET10:06
FxIIImandel: because i have a display running on my netbook and the sync service is active, where is the problem if i ask the list of shared by commandline?10:06
mandelwhere [CONSUMER_KEY:CONSUMER_SECRET:]KEY:SECRET is your sso creds10:06
mandelFxIII: hm, I think I'm getting confused hehe10:06
mandelwhere is u1 running, in the machine with no x11 or the netbook?10:07
FxIIImandel: does the sync ask the sso and the sso ask the DISPLAY?10:07
FxIIImandel: the netbook10:07
FxIIImandel: the error is the same10:07
FxIIImandel: welcome back :D10:10
mandelFxIII: sorry irc client fail :(10:10
mandelFxIII: you are right, sync asks sso and sso asks DISPLAY10:10
FxIIImandel: you want my syncdaemon to use its own sso credentials10:11
FxIIImandel: right?10:11
mandelFxIII: that is what I was considering starting the sync passing the creds so that the sso is not used10:11
FxIIImandel: how can I obtain theese credentials?10:11
mandelFxIII: yes, more or less is that :)10:11
mandelFxIII: do you have a machine already using u1?10:11
FxIIImandel: yes10:12
mandelFxIII: that does work ofcourse hehehe10:12
FxIIImandel: i think it works :D10:12
mandelFxIII: in your keyring you will find the creds10:12
mandelFxIII: haha10:12
FxIIImandel: can i get it by using some python api?10:12
FxIIImandel: I will have problem with the one wihtout X later10:13
FxIIImandel: anyway i can use the creds on keyring just to try (alas i dont know how :D)10:13
mandelFxIII: well in the one without X11 you can change the way syncdaemon is started and always pass the oauth from the command line, so no problem :)10:18
FxIIImandel: I found consumer_secret=SB[...]oT&token=mZ[..]YT&consumer_key=R[...]S&name=Ubuntu+One+%40+eeec171&token_secret=HUF[...]QQ10:18
mandelFxIII: you can get the creds using seahorse, are you using Unity (I was going to give you the path in gnome-2 hehe)10:18
mandelFxIII: yes, that would be it :)10:18
mandelFxIII: start the syncademon with --oauth10:19
mandeland the creds10:19
FxIIImandel: how to kill the syncdaemon? is not in /etc/init.d/10:20
FxIIImandel: ok found and killed10:20
mandelFxIII: get the pid and kill it form the terminal, right?10:20
mandelFxIII: cool10:21
FxIIImandel: -oauth or --oauth?10:22
mandelFxIII:  —oauth10:22
mandelFxIII: shit, sorry the stupid irc client is merging - - into one :(10:23
mandelputo irc client!10:23
mandelFxIII: is with two - :)10:23
FxIIImandel: ok10:23
FxIIImandel: have I to use the []?10:24
fagan<3 when mandel goes on his spanish cursing rants :D10:25
mandelFxIII: no need you can do CONSUMER_KEY:CONSUMER_SECRET:KEY:SECRET10:26
FxIIImandel: ok!10:26
mandelfagan: yeah, stupid irc client, why would it merge two - there is no way to do ascii art like this!10:26
faganmandel: well it isnt really a proper IRC client10:27
FxIIImandel: are key and secret respectively token and token_secret?10:28
=== rodrigo__ is now known as rodrigo_
mandelfagan: well, yeah, but neverthless… puto mac!10:28
faganmandel: I still have yet to put ubuntu onto mine should figure that out because I think it would be nice on it10:29
ryeFxIII, crazy things with ubuntuone?10:31
FxIIImandel: welcome back10:31
* mandel back and cursing in spanish to adium10:31
mandelhehe10:31
FxIIIrye: hi ryem quite crazy10:31
FxIIImandel: i run the syncdaemon10:32
FxIIImandel: you will not like my pastebin10:32
FxIIIhttp://paste.ubuntu.com/662540/10:32
mandelI think that the adium crashes everytime I run the u1 tests on windows...10:32
mandelrye: can you give FxIII a hand to get sd running without x11, I think that passing the creds to syndaemon from the command line should do the trick10:33
mandelFxIII: dammed… rye any idea ^10:33
ryeFxIII, what version of ubuntu are you running on?10:33
ryemandel, sd always wants dbus10:34
mandelFxIII: I leave you will 'the mane' (rye) I'm just a code monkey :P10:34
FxIIIrye: Ubuntu 11.0410:34
mandelrye: I know it wants dbus, but not that it needs x11 for dbus10:34
FxIIImandel: ty! :D10:34
ryeFxIII, you may want to do the following - run "dbus-launch bash" - there you will have the dbus session, within this session you should try running ubuntuone-syncdaemon --oauth a:b:c:d --debug10:35
ryeFxIII, i am worried about the notification that want X badly10:35
FxIIImandel: hehehe hidden dependencies on ipc ...10:35
FxIIIrye: bad news...10:36
FxIIIrye: does the sync daemon uses the notification system directly?10:36
ryeFxIII, it uses pynotify to show the pretty bubbles, let me see how it is wired10:37
ryeFxIII, by the way, what is your usecase for headless ubuntuone?10:38
mandelrye: I really hate the fact that the named the bloody thing pynotify… I confuse it with pyinotify10:38
FxIIIrye: an beagleboard like with an ubuntu-armel10:38
ryemandel, yes, me too.10:38
ryeFxIII, do you need a daemon or a command line application to upload/download files?10:39
ryeFxIII, to U110:39
mandelrye: if the notifications are running is because the libs are there, so maybe removing them does the trick10:39
ryemandel, yeah, there is a conditional import of pynotify, in case it fails to import then we should not use it10:39
FxIIIrye: i whould like to run the sync on boot or on connection without user log in10:40
ryeFxIII, ok, so full sync, so syncdaemon should be ok.10:40
ralsina_mandel, FxIII: there is a way to get credentials without UI but it's not fullly implemented on Linux ye10:41
ryeFxIII, re: bad news - has something been printed by sd?10:41
ralsina_yet*10:41
ryeralsina_, ubuntuone-sso-login.py :-P10:41
ryeralsina_, in my ubuntuone-scripts10:41
ralsina_rye: hehe, ok, that's better :-)10:41
FxIIIrye: the syncdaemon seams to go after dbus-launch10:42
ryeFxIII, could you please copy the output?10:42
FxIIIrye: terminal full....10:43
ryeFxIII, umm ok, stop it and start w/o --debug10:43
FxIIIrye: I can redirect the stdout10:43
ryeFxIII, w/o --debug it should not print a lot, but you will find the logs in ~/.cache/ubuntuone/log/10:44
FxIIIrye: whitout debug it gtkwars it can open the display10:44
FxIIIrye: http://paste.ubuntu.com/662552/10:45
mandelI need to move to a developed country… bloody internet connection, puto pais, mierda, me cago en su padre!10:48
ryemandel, where are you?10:49
mandelralsina_: do you have issues accessing http://msdn.microsoft.com/en-us/library/aa374924(v=vs.85).aspx10:49
ryeFxIII, is there any more info for the stack trace?10:49
mandelrye: in spain… in the isands (Balearic)10:49
ralsina_mandel: yes, so it seems microsoft has to move to another country :-)10:50
rodrigo_is desktopcouch supposed to work now on oneiric? because it has never worked for me, it's crashing all the time10:50
rodrigo_mandel, hey, are you in Mallorca?10:50
FxIIIrye: do you still  need the output with --debug?10:50
ryeFxIII, no, i don't10:51
FxIIIrye: there is not errors after the dbus-launch10:52
ryeFxIII, ok, could you please open another terminal and look at ~/.cache/ubuntuone/log/syncdaemon.log file, does it have any errors?10:53
FxIIIrye: no errors10:55
Chipacarodrigo_: yes, it should be working just fine10:55
Chipacarodrigo_: what is crashing?10:55
rodrigo_Chipaca, desktopcouch-service as soon as I connect to it from evolution10:56
rodrigo_let me get a stacktrace10:56
FxIIIrye: it seams to go, i uploaded a file on webUI and i get this on my folder, with a terminal notification10:58
FxIIIrye: touched a file and saw in the webUI10:58
rodrigo_Chipaca, first, when starting it, I always get this -> http://pastebin.com/ZdqC4NXA10:58
nessitagood morning everyone!11:00
FxIIIrye: how can i obtain the credential when i will try on my device?11:00
FxIIIgood moring nessita11:00
ryeFxIII, look at http://people.canonical.com/~roman.yepishev/us/ubuntuone-sso-login.py11:00
ryeFxIII, this is a script which will output OAuth credentials after registering with SSO and will ask U1 serve to fetch the credentials from SSO. Feel free to modify to your needs (e.g. making it write the oauth = parameter in __main__ section of ~/.config/ubuntuone/syncdaemon.conf11:02
rodrigo_Chipaca, now it doesn't crash anymore, but I always get this unauthorized errors11:03
FxIIIrye: wonderful!11:03
rodrigo_Chipaca, wasn't there a keyring bug or something iirc?11:04
Chipacarodrigo_: maybe, i'll check11:04
FxIIIrye: I will try it with the syncdaemon on my device as soon as i get it work again :D11:04
FxIIIrye: anyway how can i run the dbus-run bash at boot time?11:05
FxIIIrye: *dbus-launch11:05
ryeFxIII, hm, interesting question... basically you would need to start dbus-launch ubuntuone-syncdaemon after system finished booting (as some user), - dbus-session will go to background and so will ubuntuone-syncdaemon.11:07
FxIIIrye: cant i simply run dbus-launch ubuntuone-syncdaemon --oauth [...] & ?11:08
ryeFxIII, yep, and you can write oauth info to the user's config file so that it won't be a long command line... actually you may do it in a better way11:09
ryeFxIII, if you have oauth in the config file then you won't need to do anything to ubuntuone-syncdaemon directly, do "dbus-launch u1sdtool --start" - this will ask dbus to start syncdaemon in background and will exit quite immediately11:10
FxIIIrye: and this will not use some X related service?11:11
FxIIIrye: i may try but i have no syncdaemon.conf file, how to write it down?11:13
ryeFxIII, see /etc/xdg/ubuntuone/syncdaemon.conf for the template11:16
FxIIIrye: ok11:16
FxIIIrye: I have to run the dbus-launch u1sdtool -start as normal user? the boo scripts run as root but i should avoid this,right?11:26
mandelFxIII: are you using boo?11:30
faganralsina_: any intern sized work11:52
faganOh he isnt around yet :/11:52
mandelfagan: I might have some work for you later in the afternoon/evening. I need to test RO shares to see if my crazy ACE idea works and what happens without it. I'll write a script (as in a things to follow) and would be nice to have it someone else to execute it too :)11:59
mandelanyway I need to move back home, will be back in 30 mins or so12:00
mandelnessita, ralsina_: FYI ^12:00
faganmandel: nice :D12:00
nessitamandel: ping12:01
rodrigo_Chipaca, so, if I remove the tokens from the keyring and restart desktopcouch-service, it adds a new entry to the keyring but with invalid tokens, it seems12:01
nessitamandel: if you haven't left already, there are conflicts in the shutil-move branch12:02
nessitaverterok: hey there, can I have a review for https://code.launchpad.net/~nataliabidart/ubuntuone-client/tritcask-shutdown/+merge/71030 ?12:03
ryeFxIII, boot scripts run as root, yes, but you need to start as regular user, either as sudo -u username or su username -c 'commandline'12:05
Chipacarodrigo_: fun for the whole family!12:07
nessitaralsina_: good morning! can I have some reviews please?12:17
nessitaralsina_: ping?12:31
ralsina_nessita: pong12:35
ralsina_nessita: sure, I can do as many reviews as you want. URLs?12:35
nessitaralsina_: hey there. pasting urls now...12:35
nessitahttps://code.launchpad.net/~nataliabidart/ubuntuone-client/tritcask-shutdown/+merge/7103012:35
nessitahttps://code.launchpad.net/~nataliabidart/ubuntuone-client/skip-filesystem-logger/+merge/71031 (trivialish!)12:35
ralsina_nessita: ok, starting with the trivial one12:36
nessitathanks!12:37
verteroknessita: done12:41
nessitaverterok: gracias!12:41
ralsina_nessita: approved both12:49
nessitathanks!12:49
nessitamandel: ping12:57
nessitamandel: shutil-move has conflicts, can you please fiX?12:58
mandelnessita: sure! on it right now12:58
nessitamandel: same for access-can-write12:58
mandelnessita: will merge shutil, pump and see if there are more issues12:59
nessitamandel: right, and can you also answer last alecu question in that MP?13:00
nessitame13:00
mandelnessita: which mp?13:00
faganme13:00
ralsina_me13:00
nessitamandel: https://code.launchpad.net/~mandel/ubuntuone-client/access-can-write/+merge/7089613:00
nessitamandel, dobey, alecu?13:01
nessitagatox: ?13:01
mandelnessita: ok, I had an lp error and did not notice (I wrote the same as the email)13:01
gatoxme13:01
alecume13:01
mandelnessita: doing it now13:01
mandelme13:01
nessitafagan: go13:01
ralsina_The mailman arrived, I'll go last13:01
nessitaI mean, I should go :-)13:01
nessitaDONE: bug #823336, bug #823316, reviews13:02
nessitaTODO: bug #823884, bug #823895, bug #823896, bug #823903, reviews13:02
nessitaBLOCKED: nopes13:02
nessitaNEXT: fagan13:02
faganDONE13:02
ubot4Launchpad bug 823336 in ubuntuone-client "Tritcask tests does not always shutdown the instance (affects: 1) (heat: 6)" [Medium,In progress] https://launchpad.net/bugs/82333613:02
fagan* looked more at some of the windows client code while I had some down time13:02
faganTODO13:02
fagan* mandel said he had something for me to test13:02
faganBLOCKED13:02
fagan* nope13:02
faganralsina_: go13:02
ubot4Launchpad bug 823316 in ubuntuone-client "Windows: there is no filesystem_logger implementation (affects: 1) (heat: 6)" [Low,Triaged] https://launchpad.net/bugs/82331613:02
ubot4Launchpad bug 823884 in ubuntuone-client "Share names and UDF suggested paths should be always unicode while testing (affects: 1) (heat: 6)" [Medium,In progress] https://launchpad.net/bugs/82388413:02
ubot4Launchpad bug 823895 in ubuntuone-client "Windows: test_action_queue does not clean the env properly in tearDown (affects: 1) (heat: 6)" [Medium,In progress] https://launchpad.net/bugs/82389513:02
ubot4Launchpad bug 823896 in ubuntuone-client "test_hashqueue should open all file with "wb" mode (affects: 1) (heat: 6)" [Medium,In progress] https://launchpad.net/bugs/82389613:02
ubot4Launchpad bug 823903 in ubuntuone-client "Windows: fix local rescan tests (affects: 1) (heat: 6)" [Medium,In progress] https://launchpad.net/bugs/82390313:02
nessitafagan: ralsina_ said he'll go last13:02
nessitagatox: go!13:02
gatoxDONE:13:02
gatoxSeveral bugs fixed on Installer UI.13:02
gatoxTODO:13:02
gatoxFinish fixing Windows-Installer broken tests in order to be able to propose my branch.13:02
gatoxBLOCKED:13:02
gatoxNo.13:02
fagannessita: ah didnt see that13:02
gatoxalecu, go13:02
gatoxalecu, ping and go13:03
* alecu writing notes....13:03
mandelalecu: I go then13:03
mandelDONE: more fixes for shutil.move. Added tests for move to trash on windows. Tested using ctypes for the move_to _trash methods, they do not brin anything to the table and could have more issues.13:03
mandelTODO: fix merge issues with trunk for both branches. Write script for testing RO for trunk and my branch and send a report about it.13:03
mandelBLOCKED: no13:03
mandelnext: alecu13:03
alecuDONE: lots of reviews and IRL testing of r/o proposed solution, researched a new proposal, irl of recyclebin issues as well13:04
alecuTODO: discuss with mandel, find more issues13:04
alecuBLOCKED: no13:04
alecuNEXT: dobey13:04
alecumandel, so: the trash with W don't take literal paths?13:04
mandelalecu: no :(13:05
ralsina_DONE: day off to try(and probably fail) to get a visa, published another build  TODO: help with reviews, fix some smallish bugs, work on installer details, publish a build, BLOCKED: no13:05
mandelalecu: I think it has to do with the length of the path, remember when the shell (explorer) would complain about it and would say is to long to be moved to the trash?13:05
alecuralsina_, why "probably fail" ?13:06
ralsina_alecu: my mother in law and brother in law live there, so that makes my wife an "illegal immigration risk" and since I am her husband and telecommute to england....13:07
=== m_conley` is now known as m_conley
ralsina_alecu: so, they have provisionally denied it, and asked us for more documents13:07
alecu:-(13:07
nessitaralsina_: *ouch*13:08
ralsina_nessita: well, at least we *do* have the extra dcs they want, and it's not "really" denied so maybe it will work itself out. Or maybe not. Not in my hands, so I refuse to care.13:08
nessitaralsina_: when do you have to go back there?13:09
mandelralsina_: visa to wherE?13:09
ralsina_mandel: USA13:09
ralsina_nessita: I don't, it's via email now13:09
alecuto the US of A13:09
mandelralsina_: oh, do we know who goes to UDS?13:09
ralsina_mandel: not a definitive list, we will wait for parrino to come back from vacations13:10
ralsina_mandel: also, if I don't get the visa, that means the list may have to be changed, so... next week.13:10
ralsina_same about gatox, who has his visa interview next week13:10
mandelralsina_: ok :)13:11
ralsina_but if it helps, I was one of three denied in the 3 hours I was waiting there, so he should have no problems.13:11
gatoxralsina_, yes... don't make me get nervous! :P13:11
gatoxralsina_, i have my interview monday at 8am :S13:12
mandelnessita: before I go for lunh, is everyone ok to delay mumble 15 min so I have time to go to the internet cafe ?13:12
nessitamandel, ralsina_, alecu, gatox, Chipaca: mumble in 30 miuntes?13:12
gatoxnessita, ack13:12
dobeyme13:12
alecumandel, ok with me13:13
dobeyλ DONE: released u1client, uploaded u1client, updated u1client nightlies, live testing some small tarmac fixes13:13
dobeyλ TODO: u1client-gnome/ubuntuone-installer releases/uploads, administrata13:13
dobeyλ BLCK: None.13:13
nessitamandel: fine by me13:13
ralsina_so, is it in 30 or in 45?13:13
gatoxmandel, fine by me13:13
nessitaralsina_: seems like in 45'13:13
ralsina_I'm ok with both anyway ;-)13:13
mandelsweet, then I'll see you at o'clock :)13:13
ralsina_gatox: how's your branch going? Need a hand with anything?13:16
nessitadobey: could you please help me with tarmac's failures here https://code.launchpad.net/~nataliabidart/ubuntuone-client/tritcask-shutdown/+merge/71030 ?13:16
nessitadobey: error is13:17
nessita  File "/usr/lib/pymodules/python2.7/ubuntuone-dev-tools/ubuntuone/devtools/testcase.py", line 228, in setUp     != os.path.dirname(os.getcwd()): exceptions.OSError: [Errno 2] No such file or directory13:17
nessitadobey: seems like the FS where the tests run has been umounted? :-/13:17
gatoxralsina_, the branch is ready... BUT there is about 30 tests that are failing in windows-installer (even before my branch), so i'm fixing that in order to be able to propose my branch13:17
ralsina_30 tests????13:17
nessitaralsina_: the errors that gatox is having are the same that I had13:17
gatoxralsina_, yep13:18
ralsina_nessita: hmmm weird13:18
nessitaralsina_: seems like there is a "bad" thing happening and I think the threads are involved13:18
nessitaralsina_: I think lisett-e log file also shows something in that direction13:18
ralsina_nessita: the only thread stuff is about space calculation, that should not cause 30 tests to fail. It may even be worth doing differently :-(13:18
dobeynessita: it appears the tests hit the memory ulimit13:18
nessitaralsina_: well, if the space calculation is triggered in each test (as a side effect), we can easily have 30 tests failing13:19
ralsina_nessita: could be, in which case we need to fake some bits13:19
gatoxralsina_, nessita there is errors about unclean reactor stuff too..... i'm reviewing everything if some callLater is called without returning a deferred or something...13:19
nessitadobey: can we do something about that?13:20
nessitagatox: the reactor unclean is a "generic" errors that happens when the test finished and th reactor was dirty (ie it had stuff to process still)13:20
gatoxnessita, yes... but that couldn't be causing the other tests to fail?13:21
dobeynessita: make the tests not use so much memory. they have gotten much slower and use a lot more mem recently it seems :(13:21
nessitadobey: in my experience, the first run is extremely fast13:21
nessitadobey: but each new run is slower and slower13:22
nessitadobey: and the part that slows down si the dbus13:22
nessitadobey: so I would guess we're dirtying dbus without proper cleaning. You can confirm this rebooting your tarmac machine13:22
dobeythat makes no sense13:23
nessitadobey: ok, not sure what else propose then. We really need to land branches, though :-/13:24
dobeybranches have been landing13:24
nessitadobey: yes, that's true. I rephrase: we need to keep landing branches ;-)13:24
nessitadobey: I base my comments in the fact that I've run suites during this morning and I've had these results:13:25
nessitaRan 2306 tests in 321.738s13:25
nessitaRan 2306 tests in 738.723s13:25
nessitaRan 2307 tests in 1010.917s13:25
nessitadobey: as you can see, the time sued increases13:25
=== m_conley is now known as m_conley_away
dobeyyes. but why?13:26
dobeythere is a new dbus session each time you run the tests, so it shouldn't be that, unless you've got some tests hitting the real dbus13:26
dobeywhich would never be the case for tarmac, as it's run under cron, so only the test dbus session would be available13:26
nessitadobey: there are no tests hitting the real dbus13:26
nessitadobey: maybe the test dbus session gets alive and using resources?13:27
dobeyno i don't think so13:28
dobeyit's u1trial that's eating up all the ram (which means it's the tests themselves)13:28
nessitadobey: ok, I'm not sure what else can be making each run go higher in time. If I reboot, time goes down again13:28
dobeynessita: going deeper into swap each time?13:29
nessitadobey: I have 8g of ram, swap has not been touched13:29
nessitaralsina_: any ideas? ^13:31
ralsina_nessita: nope13:32
ralsina_nessita: I would check stray processes, but that should not happen13:33
nessitadobey: will branches keep landing?13:33
ralsina_nessita: also, instead of rebooting, restarting the session, to see if it's the dbus getting weird, or something else13:33
dobeywell there's nothing still running13:34
dobeynessita: they should, except for maybe the broken utf8 path being left around i guess13:34
nessitadobey: ok, thanks, I'll re approve mine then13:34
dobeynessita: the interesting thing is that the dbus session isn't even still running; so it at least cleaned up some stuff13:34
nessitadobey: right, I confirmed that as well...13:35
dobeyand there's no trial_temp dir13:35
dobeynessita: i mean on the tarmac machine. if u1trial suddenly gets killed then it doesn't do the right stuff. but this is like the tearDown worked fine and it stopped the service and cleaned up13:36
nessitadobey: ah... so is not like the os killed the process but something else?13:37
dobeywell i think python raised MemoryError and the trial test runner handled it correctly, as does the service stuff in u1trial13:37
dobeywhich is nice13:39
nessitadobey: are we logging the MemoryError handling?13:40
dobeynot exactly, no13:40
nessitaralsina_: can I haz another review for https://code.launchpad.net/~nataliabidart/ubuntuone-client/share-name-unicode/+merge/71045, please?13:41
ralsina_nessita: already doing it :-)13:41
dobeyyou know. i think maybe we should set ulimit in our test running things13:42
nessitaralsina_: great! I resubmitted the proposal becasue I forgot the pre-requisite13:42
nessitadobey: what does that mean? I'm not very familiar with ulimit13:42
nessitadobey: I mean, what are the consequences of that? more killed test runs?13:42
dobeynessita: we can set ulimit -m and -v to some reasonable value (like 384MB), inside Makefile.am, run-tests, etc; that will set limits for the Resident and Virtual memory usage during the test runs. and make it more visible to developers when tests are using too much memory13:44
nessitadobey: hum, I found that a bit drastic  since until someone actually reviews this mem usage we'll get a lot of branches refused, right?13:45
nessitadobey: I'm +1 once we get the mem issue controlled...13:45
dobeynessita: no. you will see it when you do 'make test' on your machine13:45
nessitadobey: but tarmac will run that as well, right?13:46
dobeynessita: yes, but you shouldn't be setting your branches to approved that don't pass tests on your own machine.13:46
dobeynessita: think of it as a 'lint check' for memory usage :)13:47
nessitadobey: right, the thing is if we add this now, it will be very difficult to propose branches because it will be hard to have mem usage controlled, and most of the time will be out of the scope of the branch to fix that. I agree with the lint memory check, but only once we have the current issue solved13:47
nessitadobey: ATM we can't debug mem issues while trying to land branches13:48
ralsina_nessita: +1 on share-name-unicode13:49
nessitaralsina_: thanks!13:50
dobeynessita: well, tarmac is already doing this. i set the ulimit values, because a couple times in the past few days my machine has suddenly had u1trial using 1.4G+ of RAM13:50
dobeyand i can't have that13:50
nessitathis does not escale :-/13:50
dobeywhat do you mean?13:51
dobeyin fact a branch just landed13:55
nessitadobey: I mean that I think we should not be depending on your server to land branches. I know why we're doing it, and I really appreciate the work you do in this regard, and I understand that we can't be killing your server with our tests mem usage. But I keep thinking we should not be using your personal server for this stuff.13:56
nessitadobey: I know, is the best option we have ATM13:56
dobeyit doesn't matter where the server is13:57
nessitadobey: right. I would love to have someone (even me) debugging mem usage, but is not doable any time soon, which is a big :-(13:57
ralsina_if we had this running on EC2 and it used 2GB of ram it would fail anyway13:57
dobeyralsina_: and cost a fortune13:58
ralsina_yeah, that too13:58
nessitaralsina_: right, I mean we can't be killing someone's personal server with our test eating ram bug14:00
ralsina_dobey: I have a chance to hire a "VIP" 4GB of RAM VPS for U$S30 / month. Would that run tarmac?14:00
ralsina_because if it does, then I buy that for a month and we thingk it again after that14:00
nessitaalecu, ralsina_, Chipaca: mumble?14:00
ralsina_nessita: ack!14:01
dobeynessita: we can't be killing any server with it.14:01
nessitadobey: agreed, but I prefer to kill a company's server than a employee's server. Anyways, I know we're not changing this any time soon.14:01
dobeyralsina_: i'd rather not move everything just to try it for a month and then have to move it all back. and i'd rather not put private ssh/gpg keys in an arbitrary cloud/vps/whateverbuzzword server14:02
ralsina_dobey: ok14:03
mandelnessita: we do have mumble, right?14:04
nessitaChipaca: you coming to mumble?14:04
ralsina_Chipaca is probably in the futures mumble14:04
ralsina_so let's start14:04
mandelok14:04
nessitaalecu: you fell?14:04
alecunessita, my mumble is using 100% cpu and showing a grayed out window14:05
nessitaalecu: :-/14:05
nessitaalecu: shall we skype?14:05
nessitaalecu: skype!14:06
alecunessita, I just deleted the .conf and seems to be working14:06
nessitaalecu: oh!14:06
nessitaralsina_: ^14:06
ralsina_alecu: we are moving to skype, I will be calling you all in 1'14:06
alecudamn14:06
ralsina_ok, back to mumble then :-D14:06
alecuit14:06
alecuI see the root but can't see any channels14:06
ralsina_ok, skype14:07
alecu"the remote host closed the connection"14:07
alecudamn mumble14:07
nessitaalecu: you have the same issue I have in my laptop14:07
ralsina_and let's try a google hangout tomorrow ;-)14:07
gatoxralsina_, jejjeje14:07
nessitaalecu: you should be prompt for your password, and you're not14:07
gatoxdiversity14:07
ralsina_alecu, mandel: I don't see you online in skype14:08
mandelnessita, ralsina_: who makes the call?14:09
nessitamandel: ralsina_14:09
alecunessita, I remembered: "disable QoS in the advanced network settings"14:09
ralsina_I will call you again14:09
alecuand right, now mumble works for me :-(14:09
alecuopening skype anyway14:09
dobeythisfred: can you look at bug #823649 please?14:16
ubot4Launchpad bug 823649 in ubuntuone-client "continuous "Invalid UTF-8" notifications (affects: 1) (heat: 6)" [Undecided,New] https://launchpad.net/bugs/82364914:16
thisfreddobey: not really14:16
mandelnessita: conflicts fixed and pushed for shutil.move14:18
dobeythisfred: :(14:20
thisfreddobey: what I can say, is that it's not likely in the notification code at all14:21
thisfreddobey: I did a quick search, and it's not there.14:22
dobeythisfred: i bet it's libnotify :(14:23
thisfreddobey: unless notifications themselves substitute that string when we send invalid bytes14:23
thisfreddobey: yeah, could well be14:23
dobeythisfred: well it can't be notify-osd i guess, because you can't send invalid utf-8 over dbus very easily :)14:23
thisfreddobey: we could do an .encode('utf-8', replace=True)14:24
thisfredor whatever that's called14:24
dobeyso i suspect libnotify is parsing strings with pango or something14:24
thisfreddobey: so it'll send '?'s or boxes for the characters it can't parse14:24
dobeythisfred: i'm not sure. i also have seen bugs about syncdaemon not handling invalid utf8 filenames at all, and just ignoring them. so would be odd for notifications to happen with them14:25
dobeyunless that's been fixed14:25
thisfredwell, I wonder if we're not sending the wrong thing to libnotify. Maybe it wants utf-8 strings rather than unicode?14:26
thisfreddobey: pitti said his filenames were improperly encoded, so if that's true, sd does pick them up apparently14:27
dobeyit certainly wants utf-814:27
dobeythat's poolie not pitti14:27
dobeyno?14:27
dobeyyes14:27
thisfredsry yeah14:27
thisfredTooManyMartins14:27
dobeyright, hrmm14:27
thisfredwell, I don't think we encode anything before calling libnotify14:28
dobeyhrmm, facundo says it doesn't sync them14:28
dobeyso anything that's not valid utf-8 really shouldn't be going to notifications at all14:29
thisfredbut maybe we still get events for the file being added to the queue?14:29
rodrigo_I've just submitted a new evo-couchdb to oneiric, and it works ok with the system couchdb instance, but not with desktopcouch, so I'd appreciate some testing14:36
rodrigo_rye, ^14:36
thisfreddobey: the pynotify docstrings say nothing about it needing utf-8 rather than unicode14:38
=== m_conley_away is now known as m_conley
dobeythisfred: no, but it's a glib/gtk app. and glib/gtk expect/use utf-8 for everything14:39
thisfreddobey: and it works perfectly when sending unicode, just tested14:39
thisfreda = pynotify.Notification(u'ö', u'ö', None)14:39
thisfred>>> a.show()14:39
dobeythisfred: were you sending unicode that was not utf-8?14:39
dobeyno14:39
thisfredunicode is unicode, and not utf-814:40
rodrigo_dobey, do we really want to keep supporting old e-d-s versions in evo-couchdb?14:40
dobeyutf-8 is unicode, but all unicode is not utf-814:40
rodrigo_dobey, the code is starting to look too ugly with so many #ifdef's14:40
thisfreddobey: false: in python, a unicode string is unicode and emphatically not utf-814:40
dobeyrodrigo_: yes; we have to support lucid for like 21 more months :(14:40
dobeythisfred: 'unicode' doesn't mean anything14:41
rodrigo_dobey, right, can't we just support it with the old evo-couchdb versions?14:41
thisfreddobey: it can be encoded to utf-8, and utf-8 can be decoded to unicode14:41
thisfreddobey: in python it definitely does14:41
rodrigo_dobey, apart from the ugliness, the API chjanges are introducing new bugs, I think14:41
dobeyapparently not14:41
rodrigo_dobey, new bugs in versions I don't test at all14:41
dobeybecause what you pasted in irc was valid utf-814:41
thisfreddobey: I suspect what we are sending to pynotify is not unicode but encoded strings14:42
dobeyrodrigo_: we need to provide the latest ubuntuone expereience on all supported versions of ubuntu14:42
rodrigo_ok, then someone needs to do testing on old ubuntu versions14:42
dobeythisfred: try to shove KOI8-R in a python unicode object and send it to pynotify14:42
thisfreddobey: that's because it had to be encoded before it was printed. python keeps an internal representation for unicode strings, that is not utf-814:43
dobeyrodrigo_: yes, we try to keep building the nightlies on them, but have been failing lately for various reasons. and i haven't had time to fix the couchdb-glib/evo-couchdb nightly builds :(14:43
thisfreddobey, I don't know what that means. If it's decoded into unicode that will work.14:44
rodrigo_dobey, the build failure because of the not applying patch should be fixed now, in the oneiric branch14:44
dobeyrodrigo_: did you make a new patch?14:45
rodrigo_dobey, yes14:45
thisfreddobey: anyway, I stand by my analyses: we somehow get filenames from sd that are still encoded, in an unknown encoding. We can't print those14:45
dobeyrodrigo_: ok, thanks. hopefully i'll be able to fix that build soon then :)14:45
dobeythisfred: aren't those getting logged somewhere now?14:47
thisfredwe can do unicode(filename.encode('utf-8', 'replace'), 'utf-8')14:48
dobeythisfred: and those files shouldn't end up in a queue that would get notifications sent anyway, since they would get dropped in local rescan, afaik14:49
thisfredtrue14:49
nessitaralsina_, mandel: can you please review https://code.launchpad.net/~nataliabidart/ubuntuone-client/clean-env-aq/+merge/71052 ?14:51
dobeyoh well14:51
dobeyit's not fatal14:51
gatoxralsina_, this is the last trace that i'm receiving from run-tests in ubuntuone-windows-installer: http://paste.ubuntu.com/662697/14:51
ralsina_nessita: on it!14:51
gatoxif i removed LocalFoldersTestCase and MainWindowTestCase everything works ok14:52
gatoxralsina_,14:52
gatox^^14:52
ralsina_gatox: give me 1' to see...14:52
gatoxralsina_, np14:52
ralsina_gatox: the localfolders tests we should probably redo from scratch because they have weird race conditions14:53
dobeyunlike bug #82364814:53
ubot4Launchpad bug 823648 in ubuntuone-control-panel (Ubuntu) "ubuntuone-control-panel-gtk crashed with ImportError in /usr/lib/python2.7/dist-packages/ubuntuone-control-panel/ubuntuone/controlpanel/logger.py: cannot import name LOGFOLDER (affects: 4) (dups: 3) (heat: 32)" [Undecided,Confirmed] https://launchpad.net/bugs/82364814:53
gatoxralsina_, ok14:53
ralsina_and the others are clearly trying to tcp-activate something and they shouldn't14:54
gatoxralsina_, yep!14:54
ralsina_gatox: I think I know what14:54
mandelralsina_: can you send me a private message with the url of the installer?14:54
gatoxralsina_, :D YEY!14:55
ralsina_gatox: if you check the MainWindow class, it does a find_credentials to see which pages to display14:55
ralsina_we should fake that14:55
ralsina_gatox: just a wild guess though ;-)14:55
ralsina_mandel: sure!14:55
gatoxralsina_, ok! MainWindowsTestCase has only 3 fails if i remove LocalFoldersTestCase anyhow... so, the major problem is in LocalFoldersTestCase, which one we should do from scratch as you mentioned14:56
ralsina_gatox: try commenting the find_credentials and rerun14:56
gatoxralsina_, did you mean to fix MainWindow tests?? or LocalFolders?14:57
ralsina_gatox: in the MainWindow class itsel14:57
ralsina_itself14:57
ralsina_if removing the find_credentials call fixes the tests, then that's what we have to fake :-)14:58
gatoxralsina_, ok... i'll try... but in MainWindow now that i remove LocalFolders, only the test for the overlay are failing14:58
ralsina_gatox: then, that's even better :-)14:58
gatoxralsina_, yep... there is no need to remove find_credentials from the MainWindow tests14:58
gatoxralsina_, i need to fix the test for the overlay....... and then redo LocalFolders14:59
ralsina_gatox: right14:59
gatoxralsina_, ok, on it!15:00
dobeynessita: interesting15:03
dobeynessita: so i just ran u1client tests twice in a row15:04
nessitadobey: I'm listening15:04
dobeyRan 2307 tests in 433.207s15:04
dobeyRan 2307 tests in 415.249s15:04
nessitaoh15:04
nessita:-/15:04
dobeythe second run is faster :P15:04
ralsina_dobey: that makes more sense than slower in most cases15:04
dobeynessita: and that is also with having ulimit set to 384M for resident, and 768M virtual15:05
nessitadobey: was that run with your regular user or inside "tarmac"'s env?15:06
dobeynessita: as tarmac15:06
nessitamandel: your shutil-move will not run tests on linux due to lint issues...15:06
dobeywell as tarmac user, not under tarmac script15:06
nessitamandel: can you please confirm all tests passes in linux and re-ping me?15:06
dobeyhmm15:07
dobeynessita: and those times match the times for successful runs in the tarmac logs15:08
mandelnessita: ahh, I keep forgetting, on it, sorry!15:10
nessitadobey: so, maybe when running several branches for landing we get another variable in place that is messing with our mem?15:10
nessitaralsina_: another review whe you have a slot: https://code.launchpad.net/~nataliabidart/ubuntuone-client/wb-test-hashqueue/+merge/7105415:11
dobeynessita: i think i found a bug in bzr...15:11
nessitadobey: related to this?15:12
dobeynessita: yes15:12
nessitadobey: I'm all ears and eyes15:12
ralsina_nessita: in about 15'15:12
dobeynessita: i am doing some testing on it. will get back to you :)15:12
nessitadobey: great15:12
nessitaralsina_: sure! thanks15:12
nessitamandel: can you please review https://code.launchpad.net/~nataliabidart/ubuntuone-client/clean-env-aq/+merge/71052 ?15:14
mandelI need something to run the tests on all platforms15:17
dobeynessita: maybe not. but i added some extra logging to tarmac, to get a little more info next time this happens15:19
dobeyand will get some lunch now. am hungry hungry hacker15:20
dobeybbiab :)15:20
thisfredfacundobatista: can you please remove your needs fixing? Others can you please review this so it can land?  https://code.launchpad.net/~thisfred/ubuntuone-client/reset-filenames/+merge/6738615:22
alecunessita, do you want me to start by reviewing your previous branches?15:23
mandelnessita: is already fixed, sorry for that15:23
nessitaalecu: that would be great, you know :-)15:24
nessitaalecu: they are not complicated, most of the changes are "expected"15:24
facundobatistathisfred, done15:24
thisfredthx!15:25
ralsina_nessita: +1 on wb-test-hashqueue15:32
ralsina_nessita, mandel, alecu: we need to add a generic loggin exception hook for all windows binaries because of this: http://www.py2exe.org/index.cgi/StderrLog15:34
ralsina_nessita: would it be evil if I add that for windows too, in the cases where the binary is the same?15:34
ralsina_mandel, alecu: ^15:34
ralsina_s/for windows too/for linux too/15:34
alecuralsina_, we should not be printing anything to stdout nor stderr, unless the DEBUG env var is set15:38
alecuralsina_, if we are, shame on us :-)15:38
ralsina_alecu: it happens for uncaught exceptions15:39
alecuralsina_, well, they *should* be handled by our loggers.15:39
ralsina_which on Linux are happily ignored, but on windows trigger a dialog either about the file where you can see them, or about how that file could not be created :-)15:39
alecuralsina_, if they don't we should fix15:39
ralsina_alecu: exactly, we should use sys.excepthook to catch and log them15:40
nessitaralsina_: I think there is a twisted thingy to log all errors15:40
nessitaralsina_: shouldn't we use that?15:40
ralsina_nessita: even better15:40
mandelralsina_: ping15:43
ralsina_mandel: pong15:43
mandelralsina_: I get a permission denied when trying to write on the logs of the control panel on windows15:43
ralsina_mandel: check 5 lines above here ^  ;-)15:43
ralsina_mandel: it's harmless and I intend to fix it right now15:44
mandelralsina_: did you get my last messagE?15:45
ralsina_mandel: yes. We have uncaugh exceptions, and then that happens15:45
ralsina_mandel: I was just asking about that 2 minutes ago here :-(15:45
mandelralsina_: and I cannot longer start the control panel or sd :(15:45
ralsina_oops, :-)15:45
ralsina_mandel: what happens if you try to start them?15:46
mandelralsina_: hehe, the problem is easy to solve, you should not be trying to write the logs there, they should go to AppData since the process is running under my user name and probably it does not like to write things in program files :)15:46
mandelralsina_: the control panel got blocked, I killed it like an animal, then the sd was killed and I'm here15:47
mandelI think cleaning the metadata might fix it15:47
ralsina_mandel: yes, but that's actually done by py2exe15:47
mandelralsina_: the logging?15:47
ralsina_mandel: tyes15:48
mandelralsina_: what exactly does py2exe do ?15:48
ralsina_mandel: let me pastebin it ;-)15:48
mandelthat is what she said!15:48
ralsina_mandel: http://pastebin.ubuntu.com/662757/15:49
ralsina_basically, it replaces stderr with a logfile15:49
ralsina_mandel: since it's stupid about where the logfile should be: :-P15:49
mandelralsina_: let me take a look :)15:50
ralsina_mandel: so, I will avoid it by using sys.excepthook or some twisted thing nessita mentioned, which google is not finding for me15:50
mandelralsina_: I have not been able to see the the code yet, internet is miss behaving...15:50
mandelralsina_: funny thing http://pastebin.ubuntu.com/662757/ did not work for me but http://paste.ubuntu.com/662757/ did :P15:54
mandelralsina_: is that sick thing coming from py2exe?15:54
mandelas in their code?15:54
ralsina_mandel: py2exe puts it on every "windows" exe15:55
ralsina_mandel: but we should work on our side not to trigger that crap, and presto, problem solved15:56
* mandel is sad his windows u1 is very broken… :(15:58
ralsina_mandel: broken how?15:59
mandelralsina_: there is an issue with that idea, if the los is written there we will have info from diff users which is a terrible idea15:59
mandel@ping15:59
ubot4pong15:59
* nessita -> lunch16:00
ralsina_mandel: worse, since on any modern win that folder is read only :-)16:00
ralsina_so I either change this to be silent, or implement an excepthook. nessita, I can't find that twisted thing to log all errors :-(16:01
nessitaralsina_: facundobatista knows about that16:02
ralsina_facundobatista: nessita mentioned there is a thing in twisted to catch all exceptions and log them?16:02
nessitafacundobatista: have a pointer to the thingy that we need to configure in twisted so everything, even unhandled error, are logged?16:02
ralsina_nessita: keep in mind that if the exc is logged and re-raised, it fixes nothing here16:03
nessitaralsina_: what kind of things you get logged to stdout/stderr?16:04
nessitaralsina_: have an example?16:04
ralsina_nessita: sure, here is one from the installer (which is stupid easy to fix): https://bugs.launchpad.net/ubuntuone-windows-installer/+bug/82365516:05
ubot4Launchpad bug 823655 in ubuntuone-windows-installer "no _next_id attribute in the license page (affects: 1) (heat: 6)" [Medium,Triaged]16:05
facundobatistaralsina_, nessita, yes16:05
nessitaralsina_: leaving the stderr thing aside, that is valid error, is it? so we do want the "error" dialog pop up in cases like this16:06
ralsina_nessita: yes, we want to know if these things happen. On test builds. On production builds... maybe just log them.16:06
facundobatistanessita, ralsina_, see "deferror_handler" here: http://bazaar.launchpad.net/~chicharreros/magicicada/trunk/view/head:/magicicada/logger.py16:07
ralsina_facundobatista: looking...16:07
ralsina_facundobatista, nessita: that's just for unhandled errors in deferreds, right?16:08
facundobatistaralsina_, yeap, but see that the very same module does something else for unhandled errors at normal Python level16:08
ralsina_nessita: what facundo shows is sys.excepthook, which is what I was about to use16:08
ralsina_facundobatista: yeah, got it16:09
facundobatistaralsina_, you need both16:09
ralsina_facundobatista: right16:09
ralsina_so, I would add something like this to every "bin" we have, for all operating systems. Is that a reasonable thing to do? nessita, alecu, mandel?16:10
* ralsina_ is slightly scared about the change, though16:10
ceramicmChipaca: I followed that guide, and now ubuntuone-syncdaemon is running. A window popped up and allowed me to sign up for Ubuntu One. An Ubuntu One folder was created in $HOME.16:15
ceramicmBut the file I created there was not synced. And I don't have any Ubuntu One-related context menu entries in nautilus.16:16
alecuceramicm, oh, the same happened to me today after I updated ubuntu. I had to manually install the ubuntuone-client-gnome package.16:22
alecudobey, do you have any idea about this? ^16:22
dobeyabout what exactly?16:22
nessitaralsina_: so, I'm not sure why we're trying to "hide" the failures we might be having....16:23
nessitaralsina_: I think is best to have the failures popping up in our faces, unless until we do the final release16:23
alecudobey, "I had to manually install the ubuntuone-client-gnome package"16:23
ralsina_nessita: it's not hiding, is that currently instead of seing the failures you get a popup telling you a log failed because of permissions16:23
dobeyneed more context16:23
dobeyalecu: it probably got removed earlier; i presume you're running nightlies?16:23
alecudobey, yes, nightlies16:24
ralsina_nessita: agreed that until release warning of exceptions is good16:24
nessitaralsina_: so, how can we be aware of all the failures if we add default handlers for them? that part is unclear to me16:24
dobeyalecu: a couple weeks ago, it became uninstallable in nightlies, as the code was moved out to a separate project. so there was a version conflict. it became instalalble again yesterday, when i did the new release16:24
dobeyalecu: but now, there is no ubuntuone-client-gnome in ubuntu, until i make a release of it and get it accepted in there16:25
ralsina_nessita: logging them and showing a dialog when they happen or at closing16:25
dobeyalecu: transitions can be bumpy. :)16:26
alecudobey, makes sense... thanks!16:26
nessitaralsina_: question: can't we just fix the log error for now?16:27
ralsina_nessita: not really because it's being created by py2exe in a very bad location. Unless I patch my py2exe, of course16:27
ralsina_which I would be happy to do16:27
nessitaralsina_: ah, I think I understand the issue... let me re-think this16:28
ceramicmalecu: I am not running Ubuntu. I am trying to compile and run Ubuntu One on Fedora.16:28
alecuceramicm, cool!16:28
alecuceramicm, you surely tried restarting nautilus after "make install", right?16:29
ceramicmalecu: Yes. Then I completely restarted the computer, to be sure.16:30
ceramicmalecu: Is nautilus 3 unsupported?16:30
nessitaralsina_: if we hook to default error handlers (both sys and twisted), can we raise the "something bad happened" windows-style-popup?16:30
ralsina_nessita: yes16:30
ralsina_nessita: not sure about twisted, unless it runs on the main thread16:31
nessitaralsina_: twisted *is* the main thread, isn't it?16:31
alecuceramicm, the nautilus extensions in my natty are in /usr/lib/nautilus/extensions-2.0/libnautilus-ubuntuone.so16:31
ralsina_nessita: should be!16:31
alecuceramicm, I don't know if nautilus 3 is supported. dobey, do you know about that?16:31
=== beuno is now known as beuno-lunch
alecunessita, ralsina_: twisted runs in the main thread, yes.16:32
nessitaralsina_: then I guess that sounds like a good things, if there is any unhandled error, open the "report problem" windows-dialog. Though if you will be modifying the bin scripts, we should make that multiplatform?16:32
dobeyalecu: depends16:32
dobeyceramicm: can you be more specific about what you're trying to build exactly?16:33
dobeyalecu: the gnome bits are no longer in ubuntuone-client tree16:33
ralsina_nessita: yes, and it would need a gtk implementation16:33
nessitaralsina_: why gtk?16:33
ceramicmdobey: I would like to sync my files using Ubuntu One (using whichever components are necessary) on Fedora 15.16:34
nessitaralsina_: aren't we using the default  error hooks from each system? ie apport in ubuntu, <something> in windows?16:34
ralsina_nessita: the exact same thing happens on linux + gtk except since it does nothing visible we are ignoring it :-)16:34
ceramicmdobey: per Chipaca's suggestion, I have used the guide here as a starting point: http://askubuntu.com/questions/10271/is-running-ubuntu-one-on-debian-possible16:34
ralsina_nessita: I don't know on linux. On windows there is no default error hook except "print to stderr"16:34
dobeyoh16:35
alecuralsina_: if we make the twisted logger to also write to stderr (in addition to the log files) we can get the dialog to appear automatically16:35
dobeyceramicm: i suppose that might be a bit out of date now16:35
nessitaralsina_: but I just asked if we can bind the  error to the "something bad happened" windows dialog, and I thought you said yes16:35
dobeyceramicm: also, it points at some very old branches, which wouldn't even build on fedora 1516:36
ralsina_nessita: ok, I misunderstood you. No, no standard for that, but I can put a generic message for that, and py2exe has one.16:36
ralsina_py2exe intercepts stderr, sends to a (misplaced) log, and if anything happens there, it shows a dialog.16:36
ceramicmdobey: After installing various dependencies, I compiled ubuntuone-client, configglue, lazr.restful, lazr.restfulclient, lazr.uri, ubuntuone-storage-protocol, and ubuntuone-sso-client.16:37
dobeyceramicm: from where exactly?16:37
ceramicmdobey: I downloaded the most recently released tarballs from each project's launchpad page.16:38
dobeyceramicm: ok. for ubuntuone-client that was 1.7.1?16:38
ceramicmdobey: Yes.16:38
nessitaralsina_: can we do something to have the windows error message appears on error, when running "via" py2exe?16:39
dobeyceramicm: that tarball does not have the nautlius extension in it any more. the gnome plug-ins have been moved out to the ubuntuone-client-gnome project instead. and there are still a couple of things in ubuntuone-client that are going to move out elsewhere as well, but are still there for the moment16:40
dobeyceramicm: so you will need ubuntuone-client-gnome as well, which i am about to release a tarball of today16:40
nessitaralsina_: I mean, can we tell py2exe do not write to anywhere, raise the exception?16:40
ralsina_nessita: not on error, without installing an excepthook. With an excepthook: yes.16:40
ralsina_nessita: yes, with an excepthook in the app, py2exe will not get the write in stderr and thus it will do nothing16:40
ceramicmdobey: Ok, thanks. That explains why the packages.ubuntu.com page for ubuntuone-client-gnome still points to source package ubuntuone-client.16:41
nessitaralsina_: so, I'm getting confused, this is what I asked before and I think I understand that you said no... maybe we can mumble about this after I finish my lunch, which I haven't gotten into yet to keep talking about this :-)16:41
ralsina_nessita: jeje, yes, of course :-)16:41
ralsina_nessita: buen provecho!16:42
nessitathanks!16:43
dobeyceramicm: right. well, that is correct for older versions of ubuntu, but will change in oneiric, as soon as i get the new source package uploaded.16:46
ceramicmdobey: Should items placed in my $HOME/Ubuntu One folder sync even without ubuntuone-client-gnome?16:46
dobeyceramicm: yes, assuming ubuntuone-syncdaemon is actually connected to the server; you can use u1sdtool -s to check the status. and u1sdtool -c to connect if it's not already connected16:47
dobeynessita: btw, ping loudly if you see another odd branch failure like the previous one, and i'll check the logs. it seems the only way to debug this is in production :)16:49
mandelnessita: ping16:52
ceramicmdobey: Interesting. ps -ef | grep ubuntuone-syncdaemon shows that the daemon is running, but after a u1sdtool -s it stops.16:52
ceramicmdobey: and I get an error: Failure: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.16:53
dobeyceramicm: check your ~/.cache/ubuntuone/log/syncdaemon-exceptions.log16:55
dobeyceramicm: should have an error in it, as it seems syncdaemon is crashing for some reason :(16:55
mandelnessita: I fixed the issued with the branch and ran the tests on windows and linux, I'll be here a couple of mins more16:55
ceramicmdobey: Yes, pastebin'd here: http://pastebin.com/wKvV2kjt16:56
dobeyceramicm: that's interesting. do you have an Ubuntu One token in your keyring?16:57
nessitamandel: ok16:58
nessitadobey: sure! thanks16:58
ceramicmdobey: How can I tell?16:59
dobeyceramicm: if you run seahorse, and search for ubuntu, it should show up in the list17:00
mandel@ping17:00
ubot4pong17:00
nessitamandel: docstrings are not accurate, they talk about "...can't monkeypatch gio.File.trash..."17:02
ceramicmdobey: Yes, there is one called "Ubuntu One". The token-name is "Ubuntu One @ <mycomputer>" and the key-type is "Ubuntu SSO credentials".17:03
nessitamandel: also, I would like to have a test that assert that the removed file/dir is actually inside the recycle bin17:03
mandelnessita: that is very very hard to do...17:03
nessitamandel: in linux or both?17:03
mandelnessita: in both, we do not have that test even on linux...17:04
nessitamandel: also, use ope_file instead open()17:04
mandelnessita: ok, on it17:04
nessitamandel: maybe in linux is too complex, is it also impossible in windows?17:04
mandelagg  should now all this I started the stupid os_helper!17:04
nessitamandel: also, os.path.dirname(self.testfile) is self.basedir....17:05
nessitamandel: any reason to call dirname instead of self.basedir?17:05
dobeyceramicm: interesting17:05
dobeyceramicm: can you check the logs in ~/.cache/sso/ to see if there any errors in them as well?17:06
mandelnessita: give me a sec, I'm looking into the trash issue17:06
nessitamandel: ok17:06
nessitaalecu: how are reviews going? can I help somehow?17:07
ceramicmdobey: Everything looks normal in ~/.cache/sso/sso-client.log. And there are no other files in ~/.cache/sso17:09
ralsina_nessita: gatox has the tests under control except for the LocalFolders test case, which I will redo since it has been broken because of race conditions for a while. So, I think, after he has tests for the new code, we should land that   branch17:11
mandelnessita: I could translate the following http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/05e3628d-5d08-4cea-8821-d5302139cc0d/ to python using either ctypes or pywin32 and we could find that an item in the recycle bin had the same path when it was deleted, but that does not guarantee that is the correct one17:11
dobeyceramicm: no ERROR lines at all? :(17:11
nessitaralsina_: can I review?17:11
mandelnessita: where did you see the use of open?17:12
dobeyceramicm: if you run u1sdtool -s again, does it start up and show you status, or same error again?17:12
nessitamandel: no need for now, thanks for researching17:13
ceramicmdobey: I did a cat .cache/sso/sso-client.log | grep -i "error" to be sure. Still no errors in that log.17:13
nessitamandel: setUp for the new test case17:13
dobeyceramicm: ok, quite odd. this stuff is all installed correctly, yes?17:14
alecunessita, left the test running, and forgot to approve. I'm reviewing the last one, but I'm going to the bank right now.17:14
ceramicmdobey: Same error with u1sdtool -s. I believe so, but could I have missed a step when I compiled?17:15
nessitaalecu: ack17:15
ralsina_nessita: of course, when he proposes. He is writing the tests for pages 18 and 19 now17:15
nessitamandel: question, why would you use this: shutil._destinsrc(path_from, path_to) instead of path_from == path_to?17:15
nessitaralsina_: great17:15
nessitamandel: I'm not comfortable using "private" things from shutil....17:16
alecunessita, I'm setting the first one to globally "Approved", we should do it in the second when the first lands.17:16
nessitaalecu: I'll do it, thanks a lot!17:16
dobeyceramicm: maybe. can you pastebin all the commands you ran to build/install the various pieces?17:17
mandelnessita: well I could reimplement the exact same method with no worries, I just wanted so make sure we use the same logic17:17
nessitamandel: but what logic is needed besides path_to == path_from?17:18
nessitamandel: I'm basing my assumption in the error message, that reads: 'Cannot move %r to %r since its the same path'17:18
mandelnessita: the error message is wrong, is should say the same or child path of17:19
mandelthat code ensure that we do not move the path in itself, take a look at the shutil implementation17:19
nessitamandel: what else do we need to check other than path_to == path_from?17:20
mandelnessita: give me a min17:23
nessitamandel: shall we pick up this tomorrow? you're passed your eod17:23
mandelnessita: let me check the path_to and path_from and we can continue tom17:23
nessitamandel: I added some more needs fixing to the MP (easy ones, I think)17:25
mandelok17:25
nessitamandel: you're about to break some records in this MP ;-)17:26
mandelnessita: haha for needs fixing? yeah I'm starting to feel stupid hehe17:27
nessitalol17:27
mandelnessita: the logic that we need is the following: http://paste.ubuntu.com/662837/17:28
mandelnessita: is not terribly complicated, but I did not want to copy the code and wanted to ensure that we did use the exact same one just in case17:29
mandeland if it changes, our test will brake, right?17:29
nessitamandel: dumb question.... why don't we use shutil.rmtree ourselves?17:29
nessitamandel: it works (TM)17:30
mandelnessita: I'm going, but mainly because I'm running out of credit in the cafe :)17:30
mandelnessita: the error message is wrong, is should say the same or child path of17:30
mandel19:1917:30
mandelthat code ensure that we do not move the path in itself, take a look at the shutil implementation17:30
* mandel leaves 17:31
dobeythat is weird logic in that pastebin, mandel17:31
nessitamandel: ok, let's talk tomorrow, I'll leave this question in the MP17:31
mandeldobey: is piss easy I know :)17:31
mandeldobey: I just did not want to copy it17:31
dobeymandel: just weird, "if ends with /, add another /" doesn't make sense to me :)17:31
dobeyanyway17:31
nessitamandel: I think we should use shutil.rmtree in the windows implementation, but let s talk tomorrow17:31
dobeymandel: go have a beer :)17:32
nessitadobey: if it does not end with... add...17:32
nessitaif not src.endswith(os.path.sep):17:32
mandelnessita: issue there is that shutil.rmtree uses os.remove which will brake17:32
nessitamandel: why will it break?17:33
dobeynessita: oh right. but that still seems broken17:33
dobeysince if you pass a path to an actualy file, it will try to remove fiename/17:33
mandelnessita: nothing, I understood you wanted it to use it dirrectly, but I guess you want to add a decorator…17:34
mandelnessita: I had a brain fuck17:34
* mandel needs to go17:34
ceramicmdobey: I think this is everything (took it from yum history and ~/.bash_history): http://pastebin.com/1KnvAyWp17:34
nessitamandel: go!17:34
nessitadobey: maybe that code is meant to be use only for dirs, is a private method17:34
mandelnessita, dobey: I'l; see you tom :)17:34
dobeynessita: well, rmtree() on not a dir should fail, yes; but should fail with "not a directory" rather than "directory doesn't exist", i think :)17:35
dobeynessita: that code is in shutil or proposed in mandel's branch?17:35
nessitadobey: inside shutil inners17:35
dobeyceramicm: thanks, i will review it, and let you know if i see anything odd17:36
dobeynessita: eww17:36
nessitadobey: but is taken out of context17:36
dobeyalthough it's in corelib, so i guess it probably hasn't been touched since it was added to python core :)17:36
ceramicmdobey: When I cleaned up the bash_history, I left out a cd u1. New paste: http://pastebin.com/Q0Ysh3aa17:38
dobeyceramicm: ok. thanks17:38
ceramicmdobey: Thank you for the help.17:39
=== beuno-lunch is now known as beuno
dobeyceramicm: hrmm. i don't think this is the problem, but you probably want to use --sysconfdir=/etc with ./configure in ubuntuone-client17:58
ceramicmdobey: Ok.17:58
dobeyand that command for running it from the tree isn't exactly correct17:58
dobeybut no matter, since you don't need to run it from the tree, if you've installed it17:59
ceramicmdobey: In other words, I don't need the PYTHONPATH commands?17:59
dobeyhrmm, i need to do an ubuntuone-storage-protocol release too18:00
dobeyceramicm: you don't need to do any of that to run it. and in fact, if you've installed it, then it should start up when you log in, given you've authenticated and have token in the keyring18:00
dobeyor well, it should after re-building with --sysconfdir=/etc and installing again18:01
dobeybut i don't see any obvious reason why this specific error would happen through your build/install process :(18:02
dobeyfacundobatista, nessita, verterok: ^^ any ideas why syncdaemon would raise NoAccessToken error when there is a token in the keyring?18:02
nessitadobey: there could have been a failure, like not being able to connect to sso18:03
nessitadobey: have logs? both syncdaemon's and sso's18:03
dobeynessita: ceramicm grepped for 'error' (case insensitive) in the sso logs and no results. and syncdaemon-exceptions.log is thus: http://pastebin.com/wKvV2kjt18:04
dobeyceramicm: can you post syncdaemon.log somewhere maybe?18:05
dobeyceramicm: ~/.cache/ubuntuone/log/syncdaemon.log18:05
nessitadobey: ah, so, since we get a CredentialsNotFound, that means SSO answered and there are no crendetials (at least that is what SSO thinks)18:05
nessitadobey: I would need the sso log, ~/.cache/sso/*.log18:05
nessitadobey: confirmed there was no error between sso and syncdaemon18:06
dobeynessita: which is odd, because he looked in seahorse and the token is there; weird.18:07
dobeyceramicm: ^^ can you give nessita the files she's asking for please? :)18:07
nessitadobey: then maybe the gnome-keyring service is failing to retrieve it?18:07
ceramicmdobey: I deleted it because I am reinstalling right now, but I can still get it from trash if you'd like.18:07
dobeynessita: no idea18:08
dobeyceramicm: please. and let us know if it works again after installing with --sysconfdir=/etc. thanks18:08
ceramicmdobey: Ok. I deleted the key from seahorse, and deleted "~/.local/share/ubuntuone", "~/.cache/ubuntuone", and  "~/.config/ubuntuone". Then I recompiled and installed all of the components I listed.18:09
dobeyceramicm: ok18:09
dobeyceramicm: same error?18:09
ceramicmRestarting now.18:10
ceramicmmRebooted and ran u1sdtool -c. Results: http://pastebin.com/ZirMg0H718:16
ceramicmmThere is no Ubuntu One key in seahorse now, though, because I deleted it before reinstalling.18:16
dobeyok18:17
dobeyceramicmm: can you please get the logs nessita asked for?18:18
ceramicmmdobey: Sure. Which logs again?18:19
nessitadobey: he said there is no Ubuntu One key in seahorse, shouldn't we first fix that? :-)18:19
dobeynessita: and there never will be if sd can't talk to sso, which appears to be the problem now, with that latest paste18:19
dobeyceramicmm: ~/.cache/sso/*.log18:19
dobeyceramicmm: also, can you paste the contents of /usr/share/dbus-1/services/com.ubuntu.sso.service ?18:20
nessitadobey: is tarmac, by any chance, "stucked"? https://code.launchpad.net/~nataliabidart/ubuntuone-client/clean-env-aq/+merge/71052 is been approved for an hour now18:22
ceramicmm~/.cache/sso/sso-client.log: http://pastebin.com/ThQKNyGY18:22
dobeynessita: there is a weird bug indeed, with the logging i added it seems. stupid python ''.format()18:23
ceramicmm/usr/share/dbus-1/services/com.ubuntu.sso.service: http://pastebin.com/CHLCYqgK18:24
nessitadobey: thanks. Once that lands, would you please do me a favor an approve https://code.launchpad.net/~nataliabidart/ubuntuone-client/wb-test-hashqueue/+merge/71054 ? I need to run to the university in 5 minutes18:24
dobeynessita: is it dependent on the first?18:25
nessitadobey: yeah...18:25
ralsina_nessita: do you have 2' for mumble about the stderr/exception/etc situation before leaving?18:26
dobeynessita: oh, ok. boo. :)18:26
ralsina_nessita: should be really quick18:26
nessitaralsina_: oh, right!18:26
nessitayes18:26
nessitaralsina_: I'm there18:27
dobeyceramicmm: is ubuntu-sso-login running currently?18:27
ralsina_nessita: starting mumble, is taking a bit18:27
dobeyoops, i see a typo18:27
dobeyin the log messages18:27
dobeybut not related to the bug18:27
ceramicmmdobey: "bash: ubuntu-sso-login: command not found..."18:28
ceramicmmdobey: That's weird. Is that a byproduct of my recent attempt at reinstallation?18:28
dobeyceramicmm: right, it should be installed as /usr/lib/ubuntu-sso-client/ubuntu-sso-login18:28
dobeyceramicmm: no, it's not installed in $PATH, because it's not something users are supposed to run randomly18:28
ceramicmmdobey: Ok, makes sense. It is installed at /usr/lib/ubuntu-sso-client/ubuntu-sso-login. Should I run it?18:29
dobeyceramicmm: try to run it and see what happens please, yes18:30
ceramicmmdobey: It is running without any feedback. I pasted ~/.cache/sso/sso-client.log here: http://pastebin.com/xtE3pGaK18:34
dobeyceramicmm: ok, in another terminal, can you try u1sdtool -c again?18:34
ceramicmmdobey: Same error as before. System Monitor shows both ubuntuone-syncdaemon and ubuntuone-sso-login running.18:36
ceramicmmdobey: syncdaemon just quit.18:37
dobeyceramicmm: ok, can you pastebin ~/.cache/ubuntuone/log/syncdaemon.log and ~/.cache/ubuntuone/log/syncdaemon-exceptions.log please?18:38
ceramicmmdobey: Neither file exists.18:39
ceramicmmdobey: ~/.cache/ubuntuone/log is completely empty.18:40
dobeyhuh18:40
dobeyweird18:40
ceramicmmYes, because it had files before I installed.18:41
ceramicmm*reinstalled18:41
nessitaok, I gotta run!18:41
nessitabye all18:41
dobeyceramicmm: right, from the previous run of ubuntuone-syncdaemon18:42
ceramicmmdobey: Correct.18:43
dobeyceramicmm: can you run /usr/libexec/ubuntuone-syncdaemon --debug (i think that's where it is), in a terminal?18:43
ceramicmmdobey: Lots of output: http://pastebin.com/9mprxczJ18:45
dobeyceramicmm: ok, great; and it's still running then?18:46
ceramicmmdobey: More was just added to the end: 2011-08-10 13:45:41,449 - ubuntuone.SyncDaemon.Main - NOTE - ---- MARK (state: <State: 'READY'  (queues WORKING  connection 'Not User With Network')>; queue: 2; hash: 0) ----18:46
ceramicmmdobey: Yes.18:46
ceramicmmThere are various logs in ~/.cache/ubuntuone/log now. Should I post any?18:49
dobeyceramicmm: no, it's ok for the moment. can you open another terminal and run u1sdtool -c in it, and let me know what happens in the terminal where ubuntuone-syncdaemon is running?18:53
ceramicmmdobey: The Create Ubuntu One account window popped up.18:54
dobeyceramicmm: hooray. log in then :)18:54
ceramicmmdobey: I did, and got a message saying that the connection was successful. Then a gnome notification popped up saying that my file "testfoo" was being uploaded to my personal cloud.18:56
dobeyceramicmm: hooray! and ubuntuone-syncdaemon keeps running?18:57
ceramicmmdobey: No. There was an error that terminated it. System Monitor continued to display the process for a while, but it just removed it as well.18:58
dobeyceramicmm: ok, can you pastebin the errors please?18:59
ceramicmmdobey: This is the ubuntuone-syncdaemon terminal output from the time I ran u1sdtool -c: http://pastebin.com/81LkeAEQ19:01
ceramicmmdobey: And although the Ubuntu One Client claimed that "testfoo" was uploaded, I don't see it in one.ubuntu.com/files19:03
dobeyceramicmm: "is being uploaded" != "was uploaded successfully" it means it was in the queue. if syncdaemon died, then it won't show up19:07
dobeyah-hah19:08
ceramicmmdobey: My mistake. Wishful reading.19:08
dobeyhe request 'oauth_authenticate' failed with the error: oauth_authenticate() takes exactly 3 arguments (4 given) and was handled with the event: SYS_UNKNOWN_ERROR19:08
dobeythat's not good19:08
ceramicmmdobey: I installed python-oauth for dependencies. Should I have installed python-oauth2 instead? Should I install liboauth and liboauth-devel?19:09
dobeyno19:09
dobeywhat version of python-oauth do you have?19:10
ceramicmmdobey: 1.0.1-3.fc1519:10
dobeyok, that should be ok then19:14
dobeyceramicmm: could you file a bug against ubuntuone-client at https://bugs.launchpad.net/ubuntuone-client/+filebug please, and attach your syncdaemon-exceptions.log and syncdaemon.log?19:21
ceramicmmdobey: Sure.19:21
dobeyceramicmm: sure. i'm sorry it's not working for you. i'm pretty sure a couple of people have gotten it working on F15 before, but there have been lots of changes lately that might affect that. hopefully we can get things working for you in the next couple days.19:23
ceramicmmdobey: Bug filed here: https://bugs.launchpad.net/ubuntuone-client/+bug/824143 Thank you for all your help!19:37
ubot4Launchpad bug 824143 in ubuntuone-client "ubuntuone-syncdaemon crashes with oauth error on Fedora 15 (affects: 1) (heat: 6)" [Undecided,New]19:37
dobeyceramicmm: great, thanks!19:37
ralsina_gatox: trivial branch -- https://code.launchpad.net/~ralsina/ubuntuone-windows-installer/fix-823655/+merge/7110519:59
gatoxralsina_, on it20:01
=== AlanBell is now known as uk
=== uk is now known as AlanBell
dobeyceramicm: hi20:45
ceramicmdobey: Hello.20:45
dobeyceramicm: can you install http://launchpad.net/ubuntuone-storage-protocol/trunk/1.7.0/+download/ubuntuone-storage-protocol-1.7.0.tar.gz ? i think it fixes your problem20:45
ceramicmdobey: I think you are probably right. I was reading through old irc logs for #ubuntuone (http://irclogs.ubuntu.com/2011/08/04/#ubuntuone.txt) and found the same error. It seems that a new version of ubuntuone-storage-protocol fixed it in that case.20:47
dobeyceramicm: yes, i remembered today that there were some changes that required new version, and i forgot to make a release of it yesterday along with ubuntuone-client. but just made a tarball release20:48
ceramicmdobey: It works! Thanks dobey!20:54
ceramicmdobey: I'm closing the bug now.20:54
dobeyceramicm: please don't close it20:54
ceramicmdobey: Ok. I added a note that ubuntuone-storage-protocol version 1.7.0 fixes the issue.20:55
ceramicmdobey: Is there any more information I should add to the bug?20:57
dobeyceramicm: nope. i got it under control. thanks :)20:57
dobeyceramicm: is your /tmp full of files created by ubuntuone-syncdaemon?20:59
nessitahello everyone!21:00
ceramicmnessita: Hello.21:00
ceramicmdobey: I don't think so. What would such files be named?21:00
dobeyceramicm: i'm not sure. probably not since it just quit for you21:01
nessitaalecu: hey there, how is it going?21:03
=== m_conley is now known as m_conley_away
gatoxralsina_, i'm almost finishing with the test... and i'll let you know for the review21:12
ralsina_gatox: cool. I will include that branch in the installer tonight21:12
gatoxralsina_, awesome21:13
gatoxralsina_, FINALLY REVIEW: https://code.launchpad.net/~diegosarmentero/ubuntuone-windows-installer/ui-improves/+merge/7111621:41
ralsina_gatox: will try to do it later tonight :-)21:42
gatoxralsina_, great! ask if you have any doubt or there is something that needs fixing... i'll probably be connected :P21:42
nessitagatox: I'll review as well!21:42
gatoxnessita, great!21:43
dobeyalright all, have a good evening!21:43
gatoxdobey, good bye21:43
ralsina_I will add it to the build anyway for ui feedback21:43
nessitabye dobey21:43
ceramicmdobey: Bye, thanks again!21:43
gatoxnessita, ralsina_ now i can say that i understand tests better!21:44
nessitagatox: we'll keep throwing hard things at you so you keep learning! :-D21:44
gatoxnessita, nice! :D21:44
ralsina_gatox: if you saw the movie "dodgeball", it's like that ;-)22:05
nessitabye all!22:09
* nessita -> gone22:09
gatoxralsina, yes, i watched it... but the crazy old man throw tools to the face! :P22:37
gatoxscary.... jjee22:38
ralsinasame general concept, but with code ;-)22:40
gatoxok...... EOD... i'll be back after the cinema if anyone needs something! bye!22:42
gatoxralsina, ^ ... like fixing something in my branch :P22:42
ralsinagatox: STOP WORKING SO MAY HOURS. Thanks :-)22:43
gatoxralsina, okok...... but i'm always connected... so it doesn't bother me if i have to take a look at something jeje22:43
gatoxbyebye22:43
ceramicmShould I have a libsyncdaemon-1.0.so somewhere after compiling ubuntuone-client?23:40
faganceramicm: all the devs are off the clock at this time23:46
* fagan is only on because IRC is in the background 23:47
ceramicmfagan: Ok, thank you.23:47

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