/srv/irclogs.ubuntu.com/2010/08/14/#ubuntu-sugarteam.txt

=== bernie is now known as bernie_afk
=== neeraj_ is now known as neeraj
lfaraoneneeraj: did you send the patch anywhere?02:24
=== bernie_afk is now known as bernie
=== bernie is now known as bernie_afk
=== satellit___ is now known as satellit___afk
=== bernie_afk is now known as bernie
=== bernie is now known as bernie_afk
=== satellit__ is now known as satellit__afk
ankurmanusheel,  sir will neeraj be around today?15:36
manusheelankur: yes.15:40
ankurmanusheel,  okay , i will give him a call15:41
ankuri might need to restart15:41
ankuri will be back in 515:41
dipankarbernie_afk, around?15:51
* dipankar has gone lunatic. asking bernie 'around?', when he is 'afk'15:52
manusheeldipankar: This is weekend. If you have questions for Bernie, you can e-mail him.15:52
manusheelAnd, CC me on the memo.15:52
dipankarmanusheel, ohk sir, I forgot the weekends.15:53
manusheeldipankar: No worries.15:55
manusheelkandarpk: Hi Kandarp.16:02
kandarpkmanusheel sir: hello sir.16:02
manusheelkandarpk: Let us send the e-mail to sugar-devel using usr@dev.seeta.in16:02
manusheelkandarpk: Did you get my e-mail on API documentation?16:03
kandarpkmanusheel sir: yes sir.16:04
kandarpkI'll send the patch for review today.16:04
manusheelkandarpk: Great. Please attach the spreadsheet too.16:04
manusheelkandarpk: Can you also respond to the question of documentation team on not been able to find sugar source path?16:05
kandarpkmanusheel sir: yeah, sure. they should have been able to find the source though.16:06
manusheelkandarpk: Yes, was indeed very odd.16:07
manusheelkandarpk: Kindly assign https://bugs.launchpad.net/bugs/617573 to yourself too.16:10
=== bernie_afk is now known as bernie
manusheelbernie: Hi Bernie.17:16
manusheelAround?17:18
kandarpkmanusheel sir: sir, to run sugar in debug mode, I only need to uncomment lines in ~/.sugar/debug17:18
manusheelKandarp, Ankur did something else. Let me ask him.17:18
manusheelkandarpk: I think this should work.17:19
kandarpkmanusheel sir: but this file is created on running sugar for the first time.17:20
kandarpkmanusheel sir: so, do I need to search for code where this file is getting created ?17:20
manusheelkandarpk: Yes, that is correct. Right, I was thinking on the same lines only.17:20
kandarpkmanusheel sir: Ok.17:21
manusheelkandarpk: # Uncomment the following lines to turn on manysugar debugging # log files and features #export LM_DEBUG=net #export GABBLE_DEBUG=all #export GABBLE_LOGFILE=$HOME/.sugar/default/logs/telepathy-gabble.log #export SALUT_DEBUG=all #export SALUT_LOGFILE=$HOME/.sugar/default/logs/telepathy-salut.log #export GIBBER_DEBUG=all #export PRESENCESERVICE_DEBUG=1 #export SUGAR_LOGGER_LEVEL=debug  # Uncomment the following l17:22
manusheelkandarpk: Uncomment the lines to turn on Sugar debugging.17:22
kandarpkmanusheel sir: sir, how will we apply the patch ?17:29
kandarpkmanusheel sir: shouldn't we make some change in the source of sugar so that debug fie is generated without comments ?17:29
manusheelkandarpk: Sending you an e-mail on it.17:30
manusheelkandarpk: There is a well defined method for the same.17:30
manusheelkandarpk: neeraj_ wrote an e-mail on applying patch. Sending it to you and CCing him.17:31
mukulneeraj : Did you have a look at the error17:31
kandarpkmanusheel sir: sir, I mean, we dont expect the user to run sugar and then apply the patch himself17:31
manusheelkandarpk: Right.17:32
kandarpkmanusheel sir: wont the debug file get generated with comments if we do not change the source ?17:33
manusheelkandarpk: We'll be uploading it at the bug number.17:33
=== neeraj_ is now known as neeraj
manusheelkandarpk: First, go through a link -17:33
manusheelThat would help you understand what is going on.17:33
kandarpkmanusheel sir: Ok.17:33
berniemanusheel: hello17:37
manusheelbernie: Hi Bernie.17:38
berniemanusheel: don't worry about the w/e... I've been working since 8am :)17:38
manusheelbernie: Ok :-)17:38
berniemanusheel: is dipankar is going to be back?17:38
manusheelkandarpk: Searching the link. Just give me 2 mins.17:39
manusheelbernie: Not sure. He has been unwell. Did ask him to write an e-mail, which I had forwarded you.17:39
berniedipankar: oh hello... did you need me?17:41
bernieor shall I read your email first?17:41
dipankarbernie, hello.17:44
dipankarbernie, I need your help in 'No gsm connection was set in Gconf' bug17:45
dipankarbernie, I feel that the suggestions that you provided were great, i.e. to detect the network interfaces available17:45
=== satellit__afk is now known as satellit__
berniedipankar: did you find the point in the code where the error is being emitted?17:56
berniedipankar: (sorry for the delay, I've been chatting elsewhere)17:56
dipankarbernie, yeah, I found it out17:56
dipankarbernie, no problem :)17:57
dipankarbernie, here is the path of the file : /usr/lib/python2.6/dist-packages/jarabe/mode/network.py17:57
dipankarline no. 69617:57
* bernie looks17:57
berniedipankar: ok looking17:58
berniedipankar_, dipankar: which one is the real you?18:01
bernie:-)18:01
dipankar_bernie, my internet connection went off for a while18:01
dipankar_dipankar_ is from where I am accessing18:01
dipankar_bernie, did I miss anything?18:02
=== dipankar_ is now known as dipankar
berniedipankar: nope. I looked a bit at the code18:04
berniedipankar: I understand why we get the log, but not how we should remodel the code to avoid it18:05
dipankarbernie, ok18:05
berniedipankar: I don't know much about NetworkManager and how Sugar interacts with it18:05
berniedipankar: however, the guy who wrote this code sits right of me in Paraguay Educa18:05
berniedipankar: his nick on IRC is tch18:05
dipankarbernie, on #sugar?18:06
berniedipankar: yup, but he's offline now18:06
dipankarbernie, ohk18:06
berniedipankar: he'll be back on monday, but since we're making a big release on monday he might be a little distracted18:06
berniedipankar: in general, when you're looking at code that is not obvious, it helps to track down the author18:07
berniedipankar: to find out who touched some code last, "git blame" is your friend.18:07
dipankarbernie, ok. nice name "blame"18:07
dipankar:P18:07
berniedipankar: hehe :)18:07
dipankarbernie, but what you suggested can be implemented right?18:08
dipankarbernie, i.e. checking for availability of modem first18:08
dipankarusing NetworkManager18:08
berniedipankar: since the warning is harmless, I would suggest lowering its severity from exception to info or debug18:09
berniedipankar: lower the level until it goes away from the log, that is :-)18:10
berniedipankar: see the documentation of logger for possible values18:10
dipankarbernie, thanks for the suggestion. (I am new to logging in python)18:10
berniedipankar: when you submit the patch to do this, the upstream developers might suggest a better way to do it.18:11
dipankarok18:11
berniedipankar: when I'm in doubt, I often submit a patch anyway. the review process should ensure that only sane code gets in18:11
dipankarbernie, ok. This is happening with me in the fullscreen bug. :)18:12
dipankarbernie, when I searched a bit more, I found it was Virtual Box problem :(18:13
dipankarbernie, so your project is getting released on Monday?18:14
neerajlfaraone: around?19:21
lfaraoneneeraj: I'm not at work, and am a bit busy at the moment. Can you mail me, CCing the mailing list(s) if appropreate?19:22
neerajlfaraone: fine :)19:22
ankurmanusheel,  sir around?20:58
manusheelyes, ankur.20:58
berniemanusheel: wow, I'm impressed by satellit20:59
berniemanusheel: see #sugar20:59
berniesatellit_: ah, you're here too20:59
bernie:-)20:59
ankursir, i created the patch but i needed to confirm that it fullfills the criteria of request....20:59
manusheelbernie: Right :)20:59
manusheelankur: Ok.21:00
manusheelbernie: Yes, satellit_ did an amazing work.21:00
kandarpkankur: around ?21:02
manusheelankur: Don't worry on that front for now.21:02
manusheelankur: Try and upload the patch.21:02
manusheelDo write a comment that this is the first time you are uploading a patch.21:03
manusheelat LP21:03
manusheelfor Ubuntu Sugar environment.21:03
manusheelDo mention LP and USR too.21:03
kandarpkankur: around ?21:07
ankuryes21:07
ankurbut was about to go to sleep21:07
manusheelankur: Kandarp had an important question.21:10
manusheelKindly answer.21:10
ankurkandarpk,  around?21:11
kandarpkankur: please have a look at http://paste.ubuntu.com/478058/21:11
ankurokay21:12
ankurkandarpk, can you elaborate?21:12
ankuron issue?21:12
kandarpkankur: this is a file inside sugar module21:12
kandarpkfor maverick21:12
ankurright21:12
kandarpkyes21:12
kandarpkankur: it is using sugar module21:13
kandarpkbut that isn't in the source21:13
kandarpkline 5: from sugar import env21:13
ankurwhich source , you mean it is not installed in system , but is available in install files?21:14
kandarpkankur: I mean, shouldn't we have sugar module inside the source21:15
kandarpkankur: my problem is21:15
kandarpkthe code uses profile.create_debug_file()21:15
kandarpkto create debug file at ~/.sugar21:16
kandarpkwhere  profile = get_profile()21:16
kandarpkand get_profile is imported from sugar.profile21:16
kandarpkankurkhurana_,21:17
kandarpk<kandarpk> ankur: I mean, shouldn't we have sugar module inside the source21:17
kandarpk<kandarpk> ankur: my problem is21:17
kandarpk<kandarpk> the code uses profile.create_debug_file()21:17
kandarpk<kandarpk> to create debug file at ~/.sugar21:17
kandarpk<kandarpk> where  profile = get_profile()21:17
kandarpk* ankurkhurana_ (~ankurkhur@59.180.117.46) has joined #ubuntu-sugarteam21:17
kandarpk<kandarpk> and get_profile is imported from sugar.profile21:17
ankurkhurana_kandarpk,  right , iknow21:17
ankurkhurana_i was just fixing that bery function to eanble automatic debugging21:18
kandarpkankurkhurana_: where is that module located ?21:18
=== ankurkhurana_ is now known as ankur
ankurcreate_profile is in sugar-toolkit21:19
ankurit's profile.py21:19
ankurin which that function is located21:19
ankurkandarpk,  this will help :http://paste.ubuntu.com/478065/21:23
ankurplease tell if you needed to ask something else....21:23
ankuror i answered wrong question :)21:23
kandarpkdid you remove # from the beginning21:24
kandarpk?21:24
ankurhttp://paste.ubuntu.com/478069/21:26
ankuroriginal version21:26
=== satellit__ is now known as satellit__afk

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