[01:10] lfaraone, what should we do next with https://bugs.launchpad.net/ubuntu/+source/sugar-0.88/+bug/617805 ? the debdiff looks good. [01:10] Launchpad bug 617805 in sugar-0.88 (Ubuntu) "Bar at the bottom of the window displays 'xephyr on' instead of sugar (affects: 2) (heat: 18)" [Low,In progress] === bernie is now known as bernie_afk [03:23] dfarning: apologies, internet's been in and out. [03:36] dfarning: it should be forwarded to Sugar bugs and "r?" set as a tag on the Sugar Labs ticket. There should be no problem getting this merged. [12:38] manusheel sir: hello [12:38] kandarpk: Hi Kandarp. Let us discuss the bugs to be assigned. Can you open http://bugs.sugarlabs.org? [12:39] manusheel sir: yes sir [12:39] kandarpk: There is a sugar-love category on that page (bottom section). [12:40] manusheel sir: yes sir [12:40] I tried running from burned CD: ubuntu-10.10-beta-desktop-i386.iso then used software center to sownload sugar. Got sugar emulator sugar with only read. when will applications be included? [12:41] s/download and install while runnig live CD [12:41] kandarpk: I would like you to pick up the activities related bugs. Let us discuss them one by one. [12:41] satellit_ : Hi Thomas. [12:41] hi [12:42] satellit_: Hope you are doing well. I'll check this with Neeraj and Luke and will soon get back to you. [12:42] when will activities be updated to beta 10.10 [12:42] thanks [12:42] kandarpk: The first one is http://bugs.sugarlabs.org/ticket/2087 [12:43] manusheel sir: ok. [12:44] kandarpk: Can you have a look at the patch for this issue? [12:44] manusheel sir: didnt the patch that has been submitted solved the issue ? [12:47] kandarpk: We need to study and analyze the patch to see if it did. If it didn't solve the issue, we'll create one. [12:47] ok. [12:47] kandarpk: Kindly study the patch, and let me know your analysis on it. [12:50] kandarpk, does it make sense what the patch is doing? [12:51] dfarning: going through the comments right now [12:51] that might help [13:10] manusheel sir, dfarning: the patch.2 seems to remove the erase option for a protected activity [13:11] kandarpk: Right. [13:12] manusheel sir: but I am not able to understand which activities are marked as protected [13:13] kandarpk: We should have both the options - all activities marked as protected, or certain activities marked as protected. [13:13] kandarpk, the activities would be marked by adding a entery to usr-settings(or something similar) [13:14] kandarpk, which adds and entry to gconf -- this patch just provides the framework. [13:14] dfarning: ok. [13:15] kandarpk, have you been following the threads on sugar-devel about patch reviews? [13:15] dfarning; we need to provide a option to add activity in protected list ? [13:16] dfarning: at times [13:17] kandarpk, yes.... the problem is that kids delete activities to make room on the XOs for music and games:) smart kids! [13:17] kandarpk, but that makes it hard for teacher when they want to use a activity in class.... and half the class has deleted it. [13:17] dfarning: hmmm :) [13:19] kandarpk, this feature request allows schools and deployments set a list of activities which can not be deleted. [13:20] kandarpk, does it make sense? [13:21] dfarning: I understand the purpose of this feature [13:22] kandarpk, does the implementation make sense? [13:22] dfarning: yes [13:23] dfarning: as discussed at bugs.sl.o, cant we install protected activities in /usr instead of ~/ [13:24] kandarpk, cool, the key idea is at line 95. [13:25] dfarning: hmmm. [13:25] dfarning: now I understand it clearly [13:25] dfarning: we need to add a patch by which we could add the activity in the protected activities list [13:26] dfarning: is that correct ? [13:27] kandarpk, Rather than a patch we can just add a line to a 'settings file' such as USR-setting. [13:29] kandarpk, have you looked at USR-settings? [13:30] dfarning: no. [13:33] dfarning: where is it located ? [13:34] kandarpk, you uploaded it last:) https://launchpad.net/~sugarteam/+archive/ppa/+packages [13:35] dfarning: isn't it present on the system having USR so that it can be modified to change settings ? [13:38] kandarpk, yes. The idea of the setting is to allow deployments and hardware vendors to tweak setting in one location. with out touching a bunch of differnt .deb files or .rpm files. [13:39] kandarpk, are you familiar with gconf? [13:39] dfarning: somewhat. It manages keys and its value [13:40] yes, it is like windows registery. but as a text file. [13:41] kandarpk, user-setting mainly writes gconf setting and then patch like the one you looked at read those setting. [13:42] dfarning: ok. [13:43] kandarpk, well those are the high lights. have you been following the patch review threads. [13:44] dfarning: not completely. [13:46] kandarpk, to make a long story short. When every we have a patch we want to submit upstream we a) create a bug b) add the patch to the bugs c) mark the bug r? and d) send a post to sugar-devel requesting a review. [13:47] kandarpk, in this case a,b, and c are done by tch. but we need to send a post to the mailing list to insure that the patch gets noticed. [13:48] dfarning: ok. [13:49] kandarpk, can you send a review request to the list? (this is one of the annoying things that PMs need to keep on top of) [13:50] dfarning: np. [13:51] kandarpk, I just forwarded you an example of a review request. thanks [13:52] dfarning: thank you. [13:52] kandarpk, ping me when you are done and we will move onto the next issue:) [13:53] dfarning: ok. [13:56] kandarpk, oops.... and please include a link on the review request back to the SL bug report. [13:58] dfarning, manusheel sir: I'll be back in 30min. [13:59] kandarpk, +1 [14:20] dipankar: Hi Dipankar. [14:21] manusheel, hello sir [14:21] dipankar: Can you make the patch for the register bug, and attach it for review? [14:22] manusheel, Sir, I have made changes in the git repository of sugar-jhbuild [14:22] dipankar: Great. Can you upload the patch at LP? [14:23] manusheel, sir, just a minute [14:23] dipankar: Sure. [14:24] manusheel, sir, git status in jhbuild git repo shows no changes to commit. [14:25] manusheel, Sir, this is unexpected [14:25] dipankar: Yes, indeed. [14:30] dipankar: Did you change the code, and had committed it already? [14:30] Earlier, I mean. [14:33] manusheel, no sir [14:35] dipankar: Ok, can you do that on Neeraj's machine? [14:35] dipankar: Creating a patch. [14:35] Part. [14:36] manusheel, sir, i am changing the source package itself [14:36] manusheel, sir : let me create a patch from the package [14:36] dipankar, sure. [14:48] manusheel, sir: http://paste.ubuntu.com/488294/ [14:52] Dipankar, the patch looks good. [14:52] You can upload it at LP. [14:52] manusheel, right away [14:53] dipankar: Great. [14:54] * dipankar has uploaded patch for register bug : https://bugs.launchpad.net/ubuntu/+source/sugar-0.88/+bug/617813 [14:54] Launchpad bug 617813 in sugar-0.88 (Ubuntu) "sugar freezes when register widget is clicked (affects: 1) (heat: 6)" [Critical,Confirmed] [14:54] dipankar: What message are we displaying over there? [14:54] Great. [14:54] dipankar: When no network is present? [14:55] manusheel, right now, we are only controlling the timeout [14:55] the message part is still not covered yet [14:58] dipankar: Ok. Can you do that too in a separate patch? [14:58] dipankar: Simple message. [14:59] Registration failed. No network found. or, something on these lines. [15:03] manusheel, sir, let me check that out [15:05] dipankar: Sure. [15:05] kandarpk: Did you get my message? [15:06] manusheel sir: yes sir, sending the mail in a minute. [15:07] kandarpk: Great. [15:15] * manusheel back in 15 mins. [15:15] manusheel, sir I think I made a small mistake on the patch [15:15] manusheel, can we discard a patch from LP? [15:16] sure. [15:16] Upload a fresh patch. [15:16] manusheel, ok sir [15:24] dfarning, hi [15:29] mukul, hello [15:29] * dipankar is away: Be Right Back [15:31] mukul how is SL#2163 coming? [15:32] kandarpk, great it looks good, what is next for you? [15:33] dfarning: I have been working on it for quite a while now. OIn sugar-jhbuild the bug is not present while on the emulator it is still there. [15:34] dfarning, http://bugs.sugarlabs.org/ticket/1858 [15:35] mukul, so when you run jhbuild from the emulator it works as expected? [15:35] dfarning: or http://bugs.sugarlabs.org/ticket/1856 [15:35] dfarning, Yes it works as it should work [15:36] kandarpk, #1858 looks good. Can you ping walter on #sugar for help he maintains TA. [15:37] dfarning, the file favoritesview.py imports some more files which too have been edited. I'm trying to figure out what changes are needed to be made. alsroot said that the code for centering the XO icon looked fine. The problem lies elsewhere. Can you guide me what steps should I take now? [15:38] mukul, what about if you change the size or the emulator window to some thing other than 880X600? [15:38] dfarning: do we need to update TA to resolve #1858 ? [15:38] mukul: if I got right you, problem was fixed in sugar-jbuild, right? [15:38] alsroot, Yes [15:39] mukul: so, you ask bug submitter to try to reproduce issue in recent env and close the bug [15:39] *you can [15:39] kandarpk, yes. [15:40] dfarning: ok, that means TA has to check the font settings set by sugar and display text accordingly ? [15:40] dfarning I found adding "-i 832x624" to sugar -emulator fitted EeePC900 screen [15:40] kandarpk, +1 [15:41] dfarning: ok. [15:42] satellit_ what is the -i flag for? [15:42] -i si a variable setting for command like -f [15:42] s/is [15:43] sugar-emulator --help lists it [15:44] satellit_ got it dimensions but -d was already taken [15:45] ok worked for me..... [15:46] correction 10" netbook not 9" EeePC 900 [15:46] alsroot: Hi [15:46] kandarpk: hi [15:47] alsroot, can you help me in resolving http://bugs.sugarlabs.org/ticket/1858 ? [15:47] mukul, what was the command for rotating the screen? [15:47] dfarning, xrandr -o 1 [15:47] alsroot, TA needs to read the font settings set by sugar and display text accordingly [15:48] dfarning, xrandr -o 1 for 90 degree rotation [15:49] kandarpk: yup, but whats the question, if it relates to TA internals, you'd better to ask walterbender on #sugar he if TA developer [15:50] alsroot: sure. [15:50] mukul, ok the bug is in sugar emulator on Ubuntu [15:51] dfarning, Yes [15:51] mukul, I am updating sugar-jhbuild to test there. [15:51] alsroot: by the way, where should we look to check the font settings set by sugar ? [15:52] dfarning -i 880x520 fits 9" screen [15:52] kandarpk: see sugar-toolkit/src/sugar/graphics/style.py, FONT_* constants [15:52] kandarpk, I would start by poking around TA and trying to determine how the font size is set. [15:53] kandarpk, then see how it scales... do a couple of tests. then ask walter about adding gconf configs. [15:54] dfarning: Ok. thanks [15:54] kandarpk, add the configs will be exactly as you saw in the patch you reviewed this morning [15:55] dfarning: I wasn't very sure how to proceed. [15:55] dfarning: will start with TA now. [15:56] kandarpk, the first thing is almost always grepping for the code in question. in this case alsroot probobly grepped for font.... or else he just has a really good memory [16:05] alsroot, mukul yep it has been fixed in jhbuild:) [16:06] dfarning, So what next has to be done? [16:06] mukul, lets see where it was fixed [16:07] dfarning, I was trying to figure out the changes in jhbuild that fixed the problem but it seems there were too many. [16:10] mukul: Yes, using git diff might not be a good idea here. [16:10] mukul: Let us see the file, where we have this code part, and look at the changes over there. [16:11] mukul, have you tried git log? [16:12] dfarning, No but I saw the commits upstream [16:13] mukul, go to sugar-jhbuild/source/sugar and run git log [16:13] manusheel sir: I looked at that. The code was very much similar. However there were some new variables as well as new imports. I made some of those changes and added the new imports too. But it seems the imports too had been edited [16:13] dfarning, Ok [16:16] dfarning, git log didn't provide me anything that could help me with this [16:18] try googling a bit for git log ..... you can see the changes that affected a particular file. [16:19] mukul, ^^ [16:19] dfarning, Ok [16:20] kandarpk, did you see the review your patch submission just got? [16:22] dfarning: "Comment(by dsd)" ?? [16:22] this one ? [16:23] kandarpk, sascha just sent a review to the sugar-devel mailing list. [16:24] dfarning: I think I haven't received that yet. [16:26] dfarning, kandarpk: http://lists.sugarlabs.org/archive/sugar-devel/2010-September/026544.html [16:26] manusheel sir: thank you sir. [16:29] kandarpk: Please have a look at [1] http://en.wikipedia.org/wiki/Guard_(computing) [2] https://bugs.sugarlabs.org/ticket/1147 [16:30] and let me know your analysis on it. [16:30] dfarning: Fine, we'll reduce the indentation a bit. [16:30] manusheel sir: OK sir [16:32] kandarpk, do you know how to create a branch in git and apply tch's patch? [16:33] dfarning: patch original patch ?? [16:34] dfarning, manusheel sir: I'll be back in 20 min. [16:34] kandarpk go into sugar-jhbuild/source/sugar and create a branch. [16:34] kandarpk, ok we will follow up then. [16:35] dinner... === satellit_ is now known as satellit___ [16:53] ishan: Hi Ishan. [16:54] ishan: Around? [16:59] manusheel, yes sir [17:00] ishan: Did we submit moon activity for review? [17:00] Yesterday. [17:01] manusheel, yes sir i did that part yesterday [17:01] ishan: Ok, so on Sugar/tasks page, it is r? [17:01] right. [17:02] manusheel, yep [17:02] ishan: Great. [17:03] ishan, to be clearer you can remove the r- and just leave one r? [17:03] dfarning, hi [17:03] sure [17:03] ishan, hey [17:05] dfarning, done [17:06] ishan, +1 did you see the feed back you got on http://bugs.sugarlabs.org/ticket/2285 [17:07] dfarning, thanks for pointing to that [17:07] will just look into that [17:08] ishan, they are acouple of good easy fixes. [17:08] dfarning, yes [17:27] dfarning, new patch added [17:31] ishan, did you attach the new patch to the bug report. [17:32] dfarning, i have presently added the patch at Launchpad only [17:32] ishan: Is it the updated patch? [17:32] manusheel, at launchpad it is the updated patch [17:33] ishan, then can you attach the new patch to SL#2285 [17:33] ishan: Ok. We need to attach it at bugs.sugarlabs.org and add r? [17:34] Request for review. [17:34] manusheel, dfarning:okay [17:45] dfarning: what did you want me to do after applying the patch ? [17:46] kandarpk, welcome back [17:47] kandarpk, did you create a working branch before applying the patch. [17:47] dfarning: yes [17:48] kandarpk, cool so git diff gets what you expect? [17:49] dfarning: yes [17:49] dfarning: do I need to correct the patch as pointed out by sascha ? [17:49] kandarpk, yes please. [17:50] dfarning: ok [17:53] ishan, how are you coming on the new patch for SL#2285? [17:55] dfarning: There were a couple of issues on that front. Neeraj is helping Ishan on this part. [17:56] dfarning: Ishan will upload the patch soon. [17:58] manusheel, ok was just checking that he was not stuck. ishan after uploading the patch can you send an request for review to sugar-devel. kandarpk just did one a couple of hours ago so he can show you how. [18:03] dfarning, I retrieved some useful information from git log [18:03] dfarning, http://paste.ubuntu.com/488362/ [18:04] mukul, yep commit fixed it c3f545beac96323a046ed68b0fdf6410299dfd41 [18:05] dfarning: Sure. Definitely. [18:05] ishan: Send an update to me and dfarning once you are done with this part. [18:05] manusheel, sure sir [18:06] mukul, so you can close the bug with the message fixed upstream in sugar with commit c3f545beac96323a046ed68b0fdf6410299dfd41 [18:07] dfarning, Ok. By the way, how can i get the git diff of the respective commit [18:08] try git show c3f545beac96323a046ed68b0fdf6410299dfd41 [18:11] dfarning, manusheel sir: sascha commented "I have a feeling this will break badly if the GConf value is not set." [18:12] kandarpk: Yes. [18:12] dfarning, Shall I make the following changes and upload the patch or Should I close the bug with the message stated by you? [18:12] mukul: Upload the patch. [18:12] mukul: That is for jhbuild. [18:13] manusheel sir: Ok [18:13] mukul: We need it for Sugar 0.88 [18:13] manusheel sir, dfarning: what would be the correct approach ? [18:14] manusheel, if the fix is in jhbuild I don't think we need to update it for dextrose..... the bug has existed for years without anyone noticing. we will catch the fix downstream in a couple of months. [18:15] dfarning: Ok. Sure. [18:17] kandarpk, which bug number were you working on? I lost track. [18:18] dfarning: https://bugs.sugarlabs.org/ticket/2087 [18:18] dfarning: review here http://lists.sugarlabs.org/archive/sugar-devel/2010-September/026544.html [18:21] kandarpk, I'll be back in a minute [18:29] kandarpk, ok [18:33] kandarpk, you need to see what happens if the list is empty. [18:35] dfarning: would it be empty initially, ie right now ? [18:35] alsroot: around ? [18:35] kandarpk: yup [18:36] kandarpk, yes it should be. [18:37] alsroot: sascha refers to #1147 here http://lists.sugarlabs.org/archive/sugar-devel/2010-September/026544.html [18:37] which was, as I understand it, fixed by you [18:38] alsroot: how should I fix a similar issue in #2087 [18:41] kandarpk: hmm, not sure if I was fixing something related to protected activities, btw there are several patches propesed by tch [18:42] kandarpk, see http://library.gnome.org/devel/gconf/stable/gconf-GConfClient.html#gconf-client-get-list [18:43] kandarpk, if the list is empty get_list throws and error [18:43] throws an error [18:43] dfarning: ok [18:44] kandarpk, so you have to put the line in a try block [18:45] dfarning: ok [18:45] kandarpk, then in the exception block set the list to empty [18:54] neeraj_: Hi Neeraj. [18:55] manusheel sir: hi :) [18:55] neeraj_, how are you? [18:55] neeraj_, and what are you working on? I am trying to keep track. [18:58] dfarning, I am good. At present, I was helping ishan with patches. Was explaining him how patch format is different for ubuntu and bugs.sugarlabs. [18:59] neeraj_, +1 do you have questions about https://bugs.edge.launchpad.net/ubuntu/+source/sugar-0.88/+bug/617582 [18:59] Launchpad bug 617582 in sugar-0.88 (Ubuntu) "When opening the control panel some icons are cut off . (affects: 2) (heat: 172)" [High,Confirmed] [18:59] also, for control panel icon issue, as I had already told u that I have attached the patch on ubuntu Lp. I am ready with my patch for sugar upstream, [19:00] I have already filed ny bug on bugs.sugarlabs. Will send the patch for review today on sugar-devel [19:02] neeraj_, http://launchpadlibrarian.net/54640423/sugar-0.88_0.88.1-2ubuntu2.debdiff looks good [19:02] manusheel sir, dfarning: I've updated the patch and mailed it to you. Please see if it is ok. [19:03] dfarning, yes, for ubuntu we are good :).. but luke has asked me to send the patch on sugar-devel also. [19:03] kandarpk: Sure. [19:03] neeraj_, +1 [19:05] kandarpk, is self._protected_activities = () how to make and empty list? [19:07] dfarning: that is what I understand from http://docs.python.org/tutorial/datastructures.html#tuples-and-sequences [19:08] alsroot: am I correct in "self._protected_activities = ()" to assign an empty list ? [19:09] kandarpk, a list is [] a touple is () [19:09] kandarpk, i think..... [19:10] kandarpk: dfarning is right, it is a tuple [19:10] dfarning, alsroot: ok [19:11] kandarpk, then there is the reviewers comment This is getting convoluted. Please factor it out and turn your condition [19:11] into one or several guards [1]. E.g.: [19:13] kandarpk, I think this is a style thing..... there is nothing inherently evil about nested conditionals. [19:13] dfarning: see line 60-65 [19:14] dfarning: ok. [19:15] kandarpk, I think he was talking about the nested conditionals in [19:15] + if activity_info.is_user_activity() and \ [19:15] > + not registry.is_activity_protected(self._bundle_id): [19:15] > + menu_item = MenuItem(_('Erase'), 'list-remove') [19:15] > + menu_item.connect('activate', self.__erase_activate_cb) [19:15] > + self.menu.append(menu_item) [19:15] > + menu_item.show() [19:15] > + [19:15] > + if not os.access(activity_info.get_path(), os.W_OK): [19:15] > + menu_item.props.sensitive = False [19:16] dfarning: yes [19:16] you are right [19:17] dfarning: by adding [19:17] if not activity_info.is_user_activity(): [19:17] return [19:17] if registry.is_activity_protected(self._bundle_id): [19:17] return [19:17] [19:18] dfarning: the nested conditions are split into 2 [19:19] kandarpk, some thing like that [19:26] dipankar, neeraj_ :Is there a way to press Alt+Tab utility for sugar-emulator apart from booting it up. I mean when I press Alt+Tab on on my emulator, it the ubuntu Alt+tab menu that I get. [19:26] ishan, ^^ [19:29] kandarpk: I think we are good to go. [19:29] You can send this at sugar-devel. [19:29] Are you using git send mail command? [19:29] manusheel: will try that to send the patch to my id. [19:31] kandarpk: Sure, please do. [19:36] dfarning: git: 'send-email' is not a git command. See 'git --help'. [19:36] kandarpk: Right. [19:37] manusheel sir: but it is listed here http://www.kernel.org/pub/software/scm/git/docs/git-send-email.html [19:37] alsroot: Can you help Kandarpk on sending the patch to sugar-devel for review using git send-e-mail option? [19:37] kandarpk: Is it working for you? [19:38] manusheel sir: same output for send-e-mail [19:40] kandarpk: there is preliminary info for new patch workflow http://wiki.sugarlabs.org/go/Talk:Development_Team/Code_Review [19:41] kandarpk: for getting help just call `git send-email --help` [19:42] alsroot, dfarning, manusheel sir: actually git-email wasn't installed on my system [19:43] kandarpk: Ok. [19:47] kandarpk: thats strange, send-email is not an optional component [19:48] manusheel sir, dfarning, alsroot: did I miss anything ? [19:49] alsroot, i think its optional since it was missing at my system also [19:49] kandarp_: how many packages returns your package manager for "git" request? [19:49] ..what packages [19:51] alsroot: the isntalled ones are git, git-buildpackage and git-email === kandarp_ is now known as kandarpk [19:52] kandarpk: Ok. [19:53] kandarpk: so, "git-email" is installed? [19:53] alsroot: I installed that moments ago [19:56] alsroot, dfarning, manusheel sir: please see http://paste.ubuntu.com/488412/ [19:56] I am not able to send the email [19:57] kandarpk: Ok, this is an odd error. alsroot, any pointers or workaround on it? [19:58] kandarpk: do you have mta properly installed? [20:00] kandarpk: if sendmail was failed, you should have error message in /var/spool/mail/ [20:02] alsroot: Mailing to remote domains not supported [20:02] kandarpk: what mta do you have? [20:02] alsroot: I dont think I've configured one [20:03] kandarpk: what package contain `which sendmail` file? [20:03] *contains [20:03] alsroot: sendmail isnt installed [20:04] installing it [20:04] kandarpk: `which sendmail` failed? [20:04] alsroot: returned nothing [20:04] kandarpk: btw you don't need exactly sendmail [20:05] kandarpk: all mta should provide /usr/sbin/sendmail command [20:05] * alsroot uses ssmtp which just sends emails to smpts servers [20:08] kandarpk: Does this help? [20:08] kandarpk: sorry, I forgot that git can send emails on their own.. [20:08] manusheel sir, alsroot: just installed sendmail package [20:08] kandarpk: Ok, great. [20:08] kandarpk: Now, will it work? [20:09] kandarpk: see sendemail.* options in man [20:09] kandarpk: like smtpserver etc. [20:10] kandarpk: btw if you think that configuring sendmail (exactly sendmail mta) is trivial thing, you are wrong :) [20:11] alsroot: :( [20:12] kandarpk: use git w/o sendmain, `man git-config`, look for smtp [20:12] alsroot, No manual entry for git-cofig [20:13] kandarpk: nor `man git-send-email` ? [20:13] alsroot: man git-send-email has a long description [20:14] kandarpk: see for all *smtp* options [20:18] kandarpk: Any help needed here? [20:22] manusheel sir: it is giving Mailing to remote domains not supported [20:23] as errr in /var/spool/mail [20:23] kandarpk: Ok. That is very odd. [20:23] kandarpk: Which version of Debian, Ubuntu is it? [20:23] alsroot: Any workaround here? [20:24] manusheel sir: debian sid. [20:24] manusheel: git can send email w/o mta [20:25] alsroot: Ok. [20:25] command used : [20:25] $ git send-email --to kandarp@seeta.in 0001-Protected-Activities-Support.3.patch [20:25] kandarpk: Ok, and it is not working? [20:25] manusheel sir: nope [20:26] alsroot: Any help here? [20:26] alsroot: Let us just focus on git and not mta. [20:26] kandarpk: add this to your ~/.gitconfig file, http://pastebin.com/4t0PfX9u [20:29] alsroot: great :) [20:29] kandarpk, alsroot: Neat. [20:30] alsroot: by the way, we do not need to specify the spmpass in the file [20:30] *smtppass [20:30] kandarpk: What all did you add in ~/.gitconfig file? [20:31] alsroot: everything alsroot asked for http://pastebin.com/4t0PfX9u [20:31] except for the password [20:33] kandarpk: dunno, you can try maybe git will ask password before sending [20:33] alsroot: exactly. [20:33] it does [20:34] kandarpk: Ok. That is interesting. [20:34] kandarpk: So, we did two steps. Installed the required package and made changes in the gitconfig file, right? [20:35] manusheel sir: yes sir. [20:36] kandarpk: What was the name of the package that was missing? [20:36] manusheel sir: sendmail [20:37] manusheel sir: sent you the mail. Please have a look [20:37] kandarpk: Excellent. [20:37] kandarpk: Forwarding it to alsroot too for review. [20:38] kandarpk: Let alsroot review it once. We'll send it to sugar-devel. [20:38] manusheel sir: OK. [20:38] manusheel sir: we shall continue tomorrow [20:38] alsroot: Send you the e-mail. Can you please review the patch? [20:38] Its getting a bit late [20:39] kandarpk: Let us just send the e-mail to sugar-devel? [20:39] manusheel sir: OK. [20:52] kandarpk: Kindly send me an update once we have send the patch. [20:52] And, uploaded it at bugs.sugarlabs.org with r? [20:52] manusheel sir: I've sent it to the mailing list [20:53] Great. [20:53] http://lists.sugarlabs.org/archive/sugar-devel/2010-September/026546.html [20:56] kandarpk: btw get_lest has terrible string in its doc (at least in C++ binding) "Do not call this method on non-list Values" :) [20:56] * alsroot managed to coredump python for some of gconf.get_* combinations [20:57] kandarpk: not sure what silbe meant for the method to catch missed gconf value [20:57] as I can see, all gconf get_* calls in sugar do get_string w/o any checks [21:03] kandarpk, when you sent the patch did you create a commit message? There does not seems to be a description of what the patch does. [21:04] dfarning: the commit message translates into the name of the file when git format-patch is used [21:05] kandarpk, I think there needs to be a one line summary, a blank line, and the a paragraph description for the commit message. [21:06] dfarning: ok, got it [21:06] I used git commit -m'comment' [21:08] kandarpk, for something like this you need to go into the editor. [21:09] kandarpk, but great job you took a decent patch and make it good enough to commit. [21:11] kandarpk, do you have a bug to work on tomorrow? I am trying to get a handle on what people are doing so I can help when they ask question:) [21:11] dfarning: Yes. [21:11] dfarning: Kandarp will be working on the TA bugs. [21:13] manusheel, SL#1856? [21:14] http://bugs.sugarlabs.org/ticket/1858 [21:19] dfarning: Yes, http://bugs.sugarlabs.org/ticket/1856 and http://bugs.sugarlabs.org/ticket/1858 [21:20] manusheel, lets to SL#1858 first. it ties in better to todays bug [21:21] lets do [21:21] dfarning: Ok, sure. [21:22] neeraj_, did you open a bug in SL to upstream https://bugs.edge.launchpad.net/ubuntu/+source/sugar-0.88/+bug/617582 [21:22] Launchpad bug 617582 in sugar-0.88 (Ubuntu) "When opening the control panel some icons are cut off . (affects: 2) (heat: 172)" [High,Confirmed] [21:22] neeraj_, maybe I just can't find it. [21:23] dfarning: http://bugs.sugarlabs.org/ticket/2280 [21:23] Neeraj had opened the issue here. [21:24] dfarning: what all description do we need to add in the comment ? [21:24] while git commit [21:25] manusheel, can you create the link in https://bugs.edge.launchpad.net/ubuntu/+source/sugar-0.88/+bug/617582 to SL#2280 [21:25] Launchpad bug 617582 in sugar-0.88 (Ubuntu) "When opening the control panel some icons are cut off . (affects: 2) (heat: 172)" [High,Confirmed] [21:26] kandarpk, did you see you already have a review from sascha:) [21:27] kandarpk, I would use the orginal commit message tch used at https://bugs.sugarlabs.org/attachment/ticket/2087/0001-Protected-activities-list.patch [21:30] dfarning: Between, Kandarp didn't have the option to attach a file at SL bug tracker. His account has been kept under moderation. [21:30] dfarning: Can you please check this up with Sascha? [21:31] dfarning: I am able to attach the patch from my side. But, Kandarp cannot do that. [21:32] bernie_afk, can you add me as an admin to track so I can approve kandarpk's trac account? [21:32] manusheel, the ball is now rolling:) [21:33] dfarning: Glad to hear. [21:33] dfarning: Did that server issue get resolved? [21:33] dfarning: We wasted quite a lot of time on not been able to do ssh. [21:36] dfarning: Can you kindly review Kandarp's patch again? [21:37] He has re-send it. [21:37] dfarning: We need to send it to sugar-devel. [21:39] kandarpk: It does not mention the ticket number? [21:40] kandarpk: Are we missing on that front? [21:40] manusheel sir: I actually copied the commit message [21:40] kandarpk: It didn't have any mention of the ticket number? [21:41] manusheel sir: the first one didnt have it [21:41] manusheel sir:https://bugs.sugarlabs.org/attachment/ticket/2087/0001-Protected-activities-list.patch [21:41] https://bugs.sugarlabs.org/attachment/ticket/2087/0001-Protected-activities-list.patch [21:41] kandarpk: Sure. And, the second one? [21:42] manusheel sir: that has the URL mentioned [21:42] Ok, let us mention the URL and send it across to sugar-devel. [21:42] Rest is good. [21:43] You can send it to sugar-devel with addition of URL and description as you did now. [21:43] manusheel sir: there's a syntax error [21:43] Ok. [21:43] I am not able to find that [21:44] What is the error? [21:44] manusheel sir: http://lists.sugarlabs.org/archive/sugar-devel/2010-September/026548.html [21:47] kandarpk: Do we have an idea on the syntax error? [21:47] manusheel sir: no sir. [21:47] kandarpk: Ok, I don't think there is any syntax error in your revised e-mail. [21:48] Did you send it with the URL and description? [21:48] manusheel sir: there should be. I didn't change the code. [21:48] kandarpk: Ok. Let me check it again. [21:50] kandarpk: Ok, Sascha can apply your patch. [21:50] kandarpk: I don't think we should be sending it again. [21:50] kandarpk: I'll touch base with silbe on his suggestion and syntax error. [21:51] kandarpk: We did take care of the third recommendation right. [21:51] kandarpk: fix the white space errors (I recommend using "git config --global color.diff auto" to enable diff coloring) - adjust the _add_erase_option() docstring: only "user" activities (i.e. those in ~/Activities) can be removed at all, so "user or unprotected activities" doesn't make sense. [21:51] manusheel sir: yes sir [21:52] kandarpk: This was in the revised message that you send me now, or the one you had send to sugar-devel. [21:52] manusheel sir: I haven't mailed that yet [21:52] as I am not able to find the syntax error [21:53] + try: [21:53] + self._protected_activities = client.get_list('/desktop/sugar/protected_activities', [21:53] + gconf.VALUE_STRING) [21:53] + except Exception: [21:53] + self._protected_activities = [] [21:53] kandarpk: Right. You can send it now. I don't think there is a syntax error. [21:53] alsroot: is there any syntax error in it ? [21:53] manusheel sir: ok. [21:54] alsroot : http://lists.sugarlabs.org/archive/sugar-devel/2010-September/026548.html [21:54] kandarpk: you can easily check it, by running :) [21:55] kandarpk: Yes, did we test the patch by running it? [21:56] alsroot: I cant. The sugar-jhbuild was installed on Ubuntu an I am working from Debian. [21:57] kandarpk: So, we made the patch from Ubuntu, right? [21:57] manusheel sir: debian [21:57] kandarpk: Ok. And, we don't have jhbuild on debian, right? [21:57] kandarpk: well, but running your own code is essential requirement of proposing patches workflow, you need to setup dev env [21:58] kandarpk: Then, let us take this up tomorrow. I thought you had jhbuild on your Debian machine too. [21:58] kandarpk: Can you make the patch again tomorrow from your Ubuntu machine, and send it after testing it. [21:59] manusheel sir: sure [21:59] kandarpk: We should be sending the patch only after reviewing it. [21:59] kandarpk: And, testing it. [21:59] kandarpk: Take rest now. We'll do it from the Ubuntu machine tomorrow. [22:01] kandarpk: Neat progress. Keep it up. [22:01] alsroot: Thanks a lot for your help and pointers. [22:01] alsroot: Highly appreciate it. [22:01] np