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

=== bernie_afk is now known as bernie
dfarninggood morning kandarp and ishan.15:20
kandarpdfarning: good morning15:20
ishandfarning, good morning15:20
kandarpdfarning: how are you doing ?15:20
dfarninghow are you guys doing?15:20
dfarningkandarp, your activity looks good:) and ishan, I am impressed how fast your getting up to speed:)15:22
kandarpdfarning: I am doing good.15:22
ishandfarning, i am doing good15:22
ishanthank you15:22
kandarpdfarning: and thanks.15:23
dfarning+115:23
kandarpdfarning: I wish I could make it a bit dynamic.15:23
kandarpdfarning: i.e., it will be great if it could automatically break an activity into different parts and then generate the output15:24
dfarningishan, do you know who was working on the mouse bug stops after running sugar bug?  We need to get that pushed into Debian as soon as possiable.15:24
kandarpso that the gradually improved activity could be studied15:24
ishandfarning, no15:25
kandarps/ gradually improved/ gradually improving/15:25
ishandfarning, let me check15:25
dfarningishan, thanks15:25
kandarpdfarning: that was due to gdm not being upto date, IIRC.15:26
kandarpdfarning: the mouse bug.15:26
dfarningkandarp, hhhm is gdm upto date in the latest maverick?15:26
kandarpdfarning: I think so.15:27
kandarpdfarning: but, I'll confirm when I log into maverick.15:27
dfarningkandarp, I apt-get updated yesterday and still had the problem.  We can't release for wider testing until that bug is fixed.15:28
ishandfarning, neeraj is working on the mouse bug15:29
dfarningkandarp, users get upset (and lose faith) when one of our programs makes their computer unusable until they reset something in setting:(15:29
kandarpdfarning: OK. That means gdm isn't the only reason.15:29
kandarpdfarning: +1.15:30
dfarningneeraj, good morning.15:30
neerajdfarning: good morning :)15:30
dfarningkandarp, about you activity.... that is the great thing about open source.  Put you source on git.sl.o and upload your activity to aslo and if other find it useful they will improve it.15:31
dfarningneeraj, how are you?15:31
neerajdfarning: I am good. Thanks for asking.15:32
kandarpdfarning: +1.15:32
neerajdfarning: how about u?15:32
dfarningneeraj, I was just asking ishan about the status of the mouse bug no working ofter running sugar.  how is that coming?15:33
dfarningneeraj, great! I am flying home this afternoon. So two day from now I will be in my own home again:)  Traveling is nice, But I like being at home too.15:34
neerajdfarning: :)15:34
neerajdfarning:  about the mouse bug, I know the solution, its just that we need to attach patch using quilt on LP.15:35
neerajdfarning: I was waiting for my control panel icon cut off patch to get accepted so that I can update the revision number of mouse bug patch acco. otherwise version numbers of these two patches will conflict. As we are change sugar-0.88 package in both bugs15:36
neerajalso lately I was little busy with some personal work. So couldn't come much on irc. Till then was helping ishan and mukul with some issues :)15:37
dfarningneeraj, I think you just incrementally number the patches.  In most cases it should not matter in which order the patches are applied.15:38
dfarningneeraj, as we get moving it will be common to have ten if not hundreds of patches in the pipe waiting to be review and applied.15:39
neerajdfarning: Ok. Actually previously while creating patches, I used to submit debdiff file and update the changelog file also.15:39
neerajChangelog, to give information about the changes made and closing of bug.15:40
dfarningneeraj, Use what ever lfaraone suggests.  He understands the processes for ubuntu and debian.15:41
dipankardfarning, hello15:42
neerajdfarning: Ok.15:42
dipankarneeraj, ishan, kandarp  : hi guys15:43
neerajdipankar: hi15:43
kandarpdipankar: Hi.15:43
dfarningneeraj, please don't take this as a critisim.... The "problem" is the Sugar on Ubuntu is getting good enough that I would like to do an Alpha release next week for testers:)15:43
dfarningdipankar, hello how are you?15:43
neerajdfarning: sure. Will ask lfaraone correct way. Though he had send us a mail on debian-olpc, i still have some confusion.15:45
neerajdipankar: what method are u now using for patches?15:45
=== kandarp is now known as kandarpk
dipankardfarning, I am doing great. Got an email from Sascha Silbe15:46
dfarningdipankar, +115:46
dipankardfarning, Sascha liked my idea for the fullscreen bug. But also mentioned that Tomeu should give me a r+ for the patch to be added15:47
dipankarneeraj, I have currently used git format-patch HEAD^ command to make patch15:47
dipankarneeraj, it is for sugarlabs though15:47
ishandipankar, hi15:48
dfarningdipankar, nice.15:48
dipankarneeraj, I still haven't found something to make a patch for Ubuntu. Sorry :(15:48
dfarningdipankar, isn't it kind of cool to upstream an patch..... knowing that a few months from now millions of kids will be using your code15:49
dipankardfarning, and Tomeu has already indicated that the patch I referred to isn't the one to be added in the upstream. He wants me to test with gtkrc :(15:49
neerajdipankar: I assume that now we have submitting the patches on sugarlabs directly which will be directly applied in debian and ubuntu and other distro when ever they will update their packages :)15:49
dipankardfarning, yeah It will be awesome and a great achievement for me15:50
neerajof course all patch will not be send to sugarlabs directly :)15:50
ishandipankar, neeraj:i went through the documents on xephyr but could not find anything that could help me in debugging the bug15:51
dipankarneeraj, yeah, if the sugarlabs directly use our patches, that will reflect in both Debian and Ubuntu! A great thing for us15:51
dipankarishan, you still working on the name bug?15:51
dfarningdipankar, neeraj yes, but.... if the bug is significant.  We will want to temporarily fix it in debain -> ubuntu.  Any modifications made to upstream sugar now will not flow downstream to ubuntu until version 11.0415:53
neerajdfarning: yeah. Thats why at present I was using this method. But I was following this method-> Attach the debdiff for ubuntu15:55
dfarningneeraj, +115:55
dipankardfarning, thats in april next year!15:55
neerajand add the patch in debian/patches folder so that it can be later applied in debian15:55
neerajBy using quilt, we can keep track of the patches applied and send patch to sugarlabs later as needed.15:56
ishandipankar, yes15:57
dfarninglfaraone, can you look at https://bugs.edge.launchpad.net/ubuntu/+source/sugar-chat-activity-0.86/+bug/56577015:58
ubot2Launchpad bug 565770 in sugar-chat-activity-0.86 (Ubuntu) "[removal request] sugar-chat-activity-0.86 (affects: 1) (heat: 35)" [Undecided,Incomplete]15:58
dipankarishan, use synaptic to track down a file15:58
dfarninglfaraone, it ^^ seems to have been superceeded by the neeraj's recent sync request.15:59
dipankarsearch the package and see properties->installed files15:59
ishandipankar, okay15:59
ishandipankar, dipankar i have tracked down all files related to xephyr16:01
dipankarishan, great.now if you see, you will find /usr/bin/Xephyr16:02
dipankarishan, I think you should edit this file to bring in the required changes. ask alsroot in detail.16:03
dfarningishan, were you working on packaging turtle art?16:05
ishandfarning, mukul was working on turtle art16:05
dfarningishan, thanks16:05
ishandipankar, sir how to open xephyr file16:13
ishanit shows blank file with gedit16:13
dipankarlet me check16:13
dipankarishan, I check the case "Xephyr"16:14
dipankarI am unable to open the file myself, its a binary file16:15
dipankarishan, I think you should refer to ankur or someone senior16:16
ishandipankar, okay16:17
dipankardfarning, I think I have followed the process of reviewing properly: http://bugs.sugarlabs.org/ticket/218016:18
ishandipankar, ankur sir is not online16:18
dipankarishan, ask alsroot then :P16:19
ishanalsroot, hi16:19
alsrootishan: hi16:19
alsrootishan: what you are planing to do w/ /usr/bin/Xephyr?16:20
dfarningdipankar, +1 if you don't get a review in a few days please ask for a review on the sugar-devel mailing list.  Sometimes things get stuck in launchpad.16:20
ishanalsroot, i am thinking of making some changes which could change the displayed text16:21
dipankardfarning, ohk sure :)16:21
alsrootishan: but you need to start from its sources, not from /usr/bin/Xephyr (which is binary)16:21
dipankardfarning, do you mean sugarlabs? (you mentioned launchpad)16:21
alsrootishan: just got to its home page and found how to download sources16:21
ishanalsroot, okay16:22
alsroot*find16:22
alsrootishan: it should be something low level X11 coding, sorry didn't do such things by myself and can't help here16:22
dfarningdipankar, yep too many bugtrackers for me to keep track of them all:(16:23
ishanalsroot, no problem16:24
dipankardfarning, :). Btw, copying is not working on my system (Sugar Emulator). Can you please confirm whether you can copy a small file from a pend drive to your journal?16:24
dipankaralsroot, hi, could you please do the above ^^ and confirm if copy is working?16:25
dfarningishan, I would recommend moving on to another bug.  That one looks ugly,  but it really does not reduce usability.  You can come back to it in a couple of weeks with freash eyes.16:25
dfarningdipankar, i am testing it16:25
dipankarthanks16:25
ishandfarning, okay. let me ask manusheel sir16:26
alsrootdipankar: works fine in my case (git sugar), if it fails in your case, it should log something16:27
dfarningdipankar, hmmm I have manage to crash sugar by switching between the journal and usb:(16:31
dipankardfarning, don't use a big pen drive, mine also gets stuck with a big one16:31
dipankar*s/big one -> in which no. of folders is large16:32
dfarningdipankar, 8 gig is all I have with me:(16:32
dipankaralsroot, ohk, what file did you copy? I am trying to copy a small pdf16:32
dipankardfarning, that should crash16:32
dfarningdipankar, can you file a bug on this in LP?16:32
dipankar*s/shouldn't16:32
alsrootdipankar: me too16:33
dipankardfarning, just a minute. I need to confirm whether I am doing it properly :P16:33
* lfaraone waves.16:35
dipankarlfaraone, hey, how are you?16:36
lfaraonekandarpk, dfarning: GDM never had any effect on the metacity mouse bug.16:36
dfarningdipankar, with regard to your question about copying to usb.... the last message in my log is at http://pastebin.com/aBELZYsV16:37
dipankaralsroot, which log should I refer to for copying? shell.log?16:37
dfarningjust before the crash16:37
alsrootdipankar: yup16:37
dfarninglfaraone, thanks16:37
lfaraonedfarning: by the way, we should tell mukul et al that they don't need to be spending time on turtleart.16:38
dfarninglfaraone, how is the package queue coming16:38
dipankaralsroot, I am not getting any error in shell.log16:39
dipankar:(16:39
dipankardfarning, I am not getting any error in shell.log16:39
lfaraonedfarning: since `turtleart` is already packaged standalone and I recently created a "sugar-turtleart-activity" package which linked the right files for TA Standalone to work in Sugar.16:39
lfaraonedfarning: it'll get reuploaded to NEW as soon as walter releases.16:39
alsrootdipankar: how does it fail, no copy?16:39
dfarninglfaraone, +116:40
dipankaralsroot, here is what is happening:16:40
dipankar116:40
satellit_dfarning: are you using drag-drop for transfer to USB? link of how I do it http://wiki.sugarlabs.org/go/Features/Soas_V4/ASLOxo_Activity_Test_Table#How_To_Test16:41
alsrootdipankar: ^16:41
dfarningsatellit_, +1 I dragged an icon from the journal on the usb icon.16:42
satellit_: )16:43
dipankardfarning, satellit_, alsroot, I copy using right clicking on the pdf in usb drive. There is some flashing on the journal and after sometime its stops16:44
satellit_on the bottom left under frame or the right display....have to click on journal on top of frame  then let frame retract then 2 icons on left bottom are the ones to use16:44
lfaraonedipankar: please let the other people at SEETA know that the upstream author is *not* "Jonas Smedegaard"... they're misfiling the ITPs with the wrong name.16:44
dipankarlfaraone, ohk, I will tell them for sure16:45
satellit_dipankar this also works to install .xo packages16:45
dfarningsatellit_, that sounds like a usability bug.  Can you file a bug in the sugar labs bug tracker please?16:47
satellit_bug? it works ?16:47
lfaraonedfarning: so Mukul packaged sugar-turtleart-activity and sugar-turtleblocks-activity :(16:47
* ishan is going to dinner16:48
lfaraone(I had been working with Walter on that, and both of those packagings are wasted time)16:48
* ishan to/for16:48
dfarninglfaraone, Mukul is listed as the packager on http://wiki.debian.org/Sugar/tasks16:49
* satellit_ new feature? wish we had drop down box when clicked item in journal "copy to 2nd USB"(when one was present ) or visa versa16:51
dipankarsatellit_, alsroot, dfarning ,: The drag and drop from journal to usb is working, and vice-versa is also work :)16:51
dipankar*s/work/working16:51
satellit_yes I use it all the time16:52
lfaraonedfarning: that's right. I didn't list s-ta-a because Matthew, Walter and I were thinking about how to proceed.16:53
lfaraonedfarning: Matt had already packaged "turtleart", standalone, and I had uploaded that to Debian about a week ago.16:53
* dipankar is off to dinner16:54
lfaraonedfarning: It was listed as being packaged by "Matthew Gallagher" on the tasks page last I looked.16:56
dfarninglfaraone, these things happen... As a team learning coordination is as important as learning the technical skills.16:57
lfaraonedfarning: yeah. one thing that would have been useful is if when the ITPs for those other packages were filed they CC'd the debian-olpc-devel mailing list.16:58
* lfaraone could have been better about documenting his progress.16:58
dfarninglfaraone, I assume that because matt was not working it, manu assigned it.16:59
* lfaraone will be off and on for the next few hours, going on a drive.17:00
lfaraone(college visits, actually)17:00
dfarninglfaraone,  yes, as far as I am concern this is no worse then a r- on a review.  We fix the problem, if necessary fix the documentation, and move on:)17:00
dfarninglfaraone, enjoy.17:00
lfaraonecollege visits,a ctually <_<;17:01
dfarningkandarpk, can you take a look at https://bugs.edge.launchpad.net/ubuntu/+source/sugar-jigsawpuzzle-activity/+bug/28496817:04
ubot2Launchpad bug 284968 in sugar-jigsawpuzzle-activity (Ubuntu) "Jigsaw fails to launch (dups: 1) (heat: 18)" [Medium,In progress]17:04
dfarningit is related to the jigsaw activity you packaged.17:04
dfarningkandarpk, can you assign it to yourself unless it has already been fixed17:05
kandarpkdfarning: OK.17:06
dfarningkandarpk, thanks.17:06
dfarningkandarpk, do you know who packaged etoys? http://packages.qa.debian.org/e/etoys.html still list jose.17:11
alsrootishan: btw, Xephyr has -title argument, you can just pass arbitrary title (from emulator.py)17:11
kandarpkdfarning: Ankur packaged etoys-activity.17:12
dfarningkandarpk, thanks17:14
kandarpkdfarning: np.17:14
kandarpkalsroot: can you help me out with the activity I am working on ?17:18
alsrootkandarpk: sure17:18
kandarpkalsroot: I've added the second activity in another file.17:19
kandarpkalsroot: the main file is: http://paste.ubuntu.com/481497/17:19
kandarpkalsroot: and the second activity is in http://paste.ubuntu.com/481498/17:19
alsrootkandarpk: you need to call activity.Activity.__init__ from from __init__ method17:22
kandarpkalsroot: OK.17:22
kandarpkalsroot: changed to http://paste.ubuntu.com/481503/17:24
kandarpkalsroot: getting error http://paste.ubuntu.com/481504/17:25
alsrootkandarpk: you need to call activity.Activity.__init__ in any case otherwise class will be not fully initiated17:25
alsrootkandarpk: well the error is obvious "global name 'handle' is not defined17:26
alsrootyou dont have 'handle'17:26
kandarpkalsroot: how do I correct it ?17:26
alsrootkandarpk: it is passed to your Activity class by sugar, see 1st activity17:26
alsrootkandarpk: "def __init__(self, handle):" from 1st activiy17:28
kandarpkalsroot: OK. I thought it is a variable inherited from Activity class.17:28
=== bernie is now known as bernie_afk
=== neeraj_ is now known as neeraj
kandarpkalsroot: how do I display the second instance of the activity ?17:34
alsrootkandarpk: what do you mean by display? after invoking sugar-launch command, second activity will be launched as regular activity i.e. will be added to launched activgity list17:35
kandarpkalsroot: GtkWarning: gtk_widget_show: assertion `GTK_IS_WIDGET (widget)' failed17:35
kandarpk  activity.show()17:35
kandarpkalsroot: clicking on the button hangs sugar.17:36
alsrootkandarpk: what the backtrace for this error is?17:36
kandarpkalsroot: http://paste.ubuntu.com/481509/17:37
kandarpkalsroot: It got resolved.17:43
kandarpkalsroot: as you told the activity had to be initialised anyway, I moved activity.__init__ out of if-else.17:44
=== bernie_afk is now known as bernie
kandarpkalsroot: is there a way by which the previous method could work ?17:55
kandarpkalsroot: I wanted to replace SubActivity by activities of sugar, they will have their own init calls.17:56
alsrootkandarpk: not sure if I got your idea, you mean launching regular sugar activities from main one ?17:58
kandarpkalsroot: yes17:58
alsrootkandarpk: you just need to pass particular bundle_id to sugar-launch command in os.system()17:59
kandarpkalsroot: I would include files from other activities as submodules.18:00
kandarpkalsroot: that wont require bundle_id I think.18:00
kandarpkalsroot: wont it be the same as launching SubActivity ?18:01
alsrootkandarpk: the option could be, passing class name that should be launched in the next launching iteration via envar, so you need to tweak "exec" option in acitivty.info file that will get class to start from this envar18:03
alsrooti.e. w/o any special coding in activity class (classes are different)18:04
kandarpkalsroot: hmmm, getting the idea.18:06
kandarpkalsroot: that means we'll need to grep for the activity name and then launch that activity using bundle_id ?18:08
kandarpkalsroot: or include the other activity as submodule and use its class name to execute it ?18:09
alsrootkandarpk: nope, I meant: there is only one activity all time(one bundle_id), it has several modules(with Activity classes) including main one, by default (if envar wasn't passed), main will be launched, main actiivty will start itself by passing envar (thus tother activity modules will be launched)18:10
kandarpkalsroot: got it.18:11
kandarpkalsroot: can you please see http://paste.ubuntu.com/481528/ and http://paste.ubuntu.com/481526/18:16
alsrootkandarpk: that won't work because DevTutorActivity is uninitialized if /tmp/1 exists18:18
kandarpkalsroot: OK.18:24
alsrootkandarpk: in my mind all logic for what activity(class) will be started should be in "exec" (to be exact in bash script wich will be launched from "exec"), e.g. 'sugar-activity ${TUTOR_CLASS-DevTutorActivity} "$@"'18:24
alsroots/TUTOR_CLASS-DevTutorActivity/TUTOR_CLASS:-DevTutorActivity/18:25
alsrootif TUTOR_CLASS is not defined, "DevTutorActivity" will be used (to start main), main will start itself w/ defining TUTOR_CLASS envar to class of sub activity to start18:27
kandarpkalsroot: how can I set envar ?18:32
alsrootkandarpk: use subprocess module http://docs.python.org/library/subprocess.html, see "env" argument that could be passed to subprocess.call() method18:32
alsrootkandarpk: also see how subprocess is used in sugar code code and other activities18:33
kandarpkalsroot: I didn't understand 'sugar-activity ${TUTOR_CLASS:-DevTutorActivity} "$@"'18:39
alsrootkandarpk: that should be in launch script http://pastebin.org/676637, use its name as "exec" value in actiivty.info and it will be started18:40
alsroototherwise (if you will use this string as "exec" value), sugar won't expand "${TUTOR_CLASS:-DevTutorActivity}"18:42
alsroot..afaik18:43
kandarpkalsroot: how is "${TUTOR_CLASS:-DevTutorActivity}" expanding ?18:44
kandarpkit doesn't seem to be bash string operation18:45
alsrootkandarpk: it is a bash (see man bash), if TUTOR_CLASS is defined, it will be expanded, otherwise "DevTutorActivity" will be used18:45
kandarpkalsroot: OK.18:46
kandarpkalsroot: why do we need to include "$@" ?18:53
alsrootkandarpk: it will be expanded to the args that sugar will pass to "exec" value eg -o or -a18:54
kandarpkalsroot: can we add these parameters in activity.info ?18:55
kandarpkdoes that work ?18:55
alsrootkandarpk: sugar launch "exec" in non shell mode (see subprocess do page) thus all these stuff won't be expanded18:56
kandarpkalsroot: I mean -o and -a flags, can we use them ?18:57
alsrootkandarpk: nope, only sugar knows what values for these arguments are18:58
kandarpkalsroot: OK, thanks.18:59
manusheelkandarpk: Hi kandarp.19:48
manusheelAround?19:48
kandarpkmanusheel sir: hello sir.19:48
manusheelkandarpk: Neat description.19:48
manusheelHowever, I am not sure on how the activity could take inputs from other Sugar activities.19:49
kandarpkmanusheel sir: we are almost there19:49
kandarpkmanusheel sir: alsroot has provided some pointers.19:49
manusheelkandarpk: Neat.19:50
manusheelThat is great to hear.19:50
kandarpkmanusheel sir: we'll be able to run complete activity from our activity, will need to insert some markers in other activities to create different parts.19:51
kandarpkor study different modules in them.19:51
manusheelkandarpk: Can't we have a function, which can do it at our end?19:51
kandarpkmanusheel sir: that will be a bit difficult.19:52
manusheelkandarpk: Inserting markers in other activities means running around and having a word with lot of activity authors.19:52
manusheelkandarpk: Let us see if we can do that. Sure, it will need some understanding.19:52
kandarpkmanusheel sir: the activity is structured to understand other activities.19:53
manusheelkandarpk: Right, Kandarp.19:54
kandarpkmanusheel sir: I was thinking instead of making use of modules to show their functionality, we could use the already existing ones, i.e. other activities.19:54
manusheelkandarpk: That is another approach. However, think like a developer writing the first activity in Sugar.19:55
manusheelkandarpk: You won't be interested in browsing through all the activities and understanding modules in them.19:56
kandarpkmanusheel sir: yes sir, that is where our activity helps.19:56
manusheelkandarpk: Right.19:56
kandarpkmanusheel sir: by inserting markers, we show the output after each module is included, which makes their functionality clear19:57
manusheelkandarpk: Ok. let me think about it more.20:00
manusheelkandarpk: Let me talk to you in 5 mins.20:00
kandarpkmanusheel sir: OK sir.20:00
manusheelkandarpk: Back.20:03
manusheelkandarpk: Yes, inserting markers/indicators is good. But, we'll have to determine a way to do this at our end through some function.20:03
kandarpkmanusheel sir: what approach should we follow ?20:03
kandarpkmanusheel sir: that means automating the process of inserting the markers ?20:04
manusheelkandarpk: Yes, I think we need to maintain a dictionary.20:04
manusheelkandarpk: This dictionary relates to the modules and sub modules as they are used.20:05
manusheelkandarpk: How does that sound?20:08
kandarpkmanusheel sir: sounds great.20:08
manusheelkandarpk: Ok, let us try this approach.20:09
kandarpkmanusheel sir: moreover most part of a module is used continuesly20:10
manusheelkandarpk: Right.20:10
manusheelkandarpk: What all have we accomplished right now for a developer, can you summarize in points -20:10
kandarpkmanusheel sir: 1) if we place an activity under our activity, we can launch that activity.20:11
kandarpkmanusheel sir: 2) the basic GUI is prepared to show steps in an activity20:12
manusheelkandarpk: Ok. Most importantly, how about the usage of modules?20:13
kandarpkmanusheel sir: right now, we need to manually break an activity into steps and show the usage accordingly.20:14
manusheelkandarpk: Ok, we mean that we have someone sitting next to the beginner, who knows Sugar.20:15
kandarpkalsroot: if I use 'exec = activityname.sh' in activity.info, will activityname.sh run as normal bash script ?20:15
kandarpkmanusheel sir: yes sir.20:15
manusheelkandarpk: Who is breaking the activity into a number of modules, and then explaining the person.20:16
kandarpkmanusheel sir: correct.20:16
alsrootkandarpk: yup, but you need to place it to bin/ directory20:16
manusheelkandarpk: Sure, it is a good use-case. But, very few times, we can have that scenario.20:16
kandarpkalsroot: will 'exec = ../activityname.sh' work ?20:17
manusheelkandarpk: So, we should focus on our original use-case. Of automating the procedure.20:18
alsrootkandarpk: nope, use just "activityname.sh" and place script to bin/ subdirectory, don't remember all details but it should work20:18
kandarpkmanusheel sir: definitely, that way, if anyone wants to undertand an activity, he can just place the activity under our activity.20:19
kandarpkalsroot: OK.20:20
manusheelkandarpk: Yes, absolutely.20:22
kandarpkalsroot: around ?20:49
alsrootkandarpk: yup20:49
kandarpkalsroot: please see http://paste.ubuntu.com/481583/20:49
alsrootkandarpk: you are trying to run command w/ name "sugar-launch org.sugarlabs.DevTutor", you need t use ['sugar-launch', 'org.sugarlabs.DevTutor']20:51
kandarpkalsroot: OK.20:51
kandarpkalsroot: I tried to understand how to use env variable in Popen.20:53
kandarpkalsroot: it is only being used to set PATH variable20:53
alsrootkandarpk: initialize your env variable w/ os.environ value (which is a copy of current envars), then just add your envar20:54
kandarpkalsroot: OK.20:55
mukulalsroot: hi20:59
alsrootmukul: hi21:00
mukulalsroot : I was looking at the bug #621898 with the link https://bugs.launchpad.net/ubuntu/+source/sugar-0.88/+bug/62189821:02
ubot2Launchpad bug 621898 in sugar-0.88 (Ubuntu) "Copy in right click menu doesnot work in sugar emulator (affects: 2) (heat: 16)" [Undecided,New] https://launchpad.net/bugs/62189821:02
ubot2mukul: Error: Bug #621898 is private.21:02
mukulalsroot: Where will I find the source code relating to the above problem?21:03
alsrootmukul: just grep sugar sources for "'Copy'" string, it is src/jarabe/journal/palettes.py21:04
alsrootmukul: btw I'm sure it is a bug, i.e. Copy mean copy file to clipboard21:05
alsroots/I'm/I21:05
alsroot'm not/21:05
mukulalsroot: Ok, It copies to the clipboard but how to we then paste it21:05
alsrootmukul: open clipboard (left framebar) and choose "Keep" menu item on copied item21:06
mukulalsroot: That doesn't copy too21:07
mukulalsroot: I noticed only the drag worked for me21:07
alsrootmukul: then it is a bug, Copy works fine in (git) sugar21:08
kandarpkalsroot: subprocess is working :)21:15
kandarpkalsroot: thanks a lot.21:15
alsrootyw21:16
mukulalsroot: Sorry, I had got disconnected.21:29
mukulalsroot: If right click-->copy then keep seems to be working for now21:30
alsrootmukul: in fact, after choosing Copy, clipboard icon should flash to let users know about adding new item to clipboard21:32
mukulalsroot: However,how are we supposed to copy something from journal to the USB, except for dragging21:32
alsrootmukul: there are only two UI ways, dragging and via clipboard21:32
alsrootafaik21:32
alsrootthere is also panel menu "Journal" for Copy button in details dialog21:34
alsroot..but it is too hidden21:34
mukulalsroot: To copy from USB to Journal works fine via clipboard as well as dragging. But while copying from the Journal to the USB, only dragging seems to be the way21:34
alsrootmukul: yup, because "Keep" in clipboard menu means "Keep in journal"21:35
mukulalsroot: Yes21:36
mukulalsroot: Then the bug mentioned at launchpad is not actually a bug right?21:36
alsrootmukul: yup, it is a feature :)21:37
manusheelmukul: Yes, it is a feature request.21:37
manusheelmukul: It is mentioned like a bug.21:37
manusheelBugs and feature requests are managed in the same bug tracker.21:38
mukulmanusheel sir: Okay21:39
mukulalsroot: How to I resolve it?21:40
alsrootmukul: well, thats the question :)21:40
alsrootmukul: you can create new menu item in palette in src/jarabe/journal/palettes.py, but anyway it sound like a user visible feature that could affect users experience, better to discuss proper implemnettion on sugar-devel@ (post an email w/ tag [DESIGN])21:42
mukulI 'grep'ed 'Copy' in the file21:46
mukulalsroot: I had another doubt. There is no provision to copy multiple files at a time.Is that possible?21:47
alsrootmukul: only by dragging one after another21:49
mukulalsroot: If that feature has to be implemented, how is to be done?21:50
alsrootmukul: see the code which will be called after clicking "Keep" button on clipbord menu21:50
mukulalsroot: palettes.py doesn't contain 'Keep'21:52
alsrootmukul: grep it in entirely sugar project, it lives in clipboardmenu.py21:53
mukulalsroot: I am having a look at the code which is called after clicking Keep22:01
manusheelalsroot: Hi Aleksey. Around?22:30
alsrootmanusheel: hi22:31
manusheelalsroot: Thank you so much for your guidance to SEETA team. They highly appreciate your time and effort.22:31
manusheelalsroot: Appreciate it.22:32
alsrootmanusheel: np, I'm just trying to not forget sugar code while coding 0sugar :)22:32
manusheelalsroot: Great.22:33
manusheelalsroot: Wish to have your feedback on a couple of questions related to our earlier discussion on switching the framework of A.S.L.O from Remora to Django.22:34
alsrootmanusheel: sure22:34
manusheelalsroot: Django is python based and Remora is cake php based. When we shift the framework from Remora to Django, we'll be refactoring code according to Django. Right? Not, re-writing cakephp code to Python code? We might have to do this for a couple of modules. But, not for all.22:35
alsrootmanusheel: just how it will be useful in your case22:36
alsrootmanusheel: I didn't take a look to new AMO code base, if it's too different to previous one, maybe just reimplement ASLO patch from basic things would be useful22:37
manusheelalsroot: Can you send me the link of new AMO? I am not sure we have gone through that.22:39
alsrootmanusheel: https://wiki.mozilla.org/AMO:Developers22:40
manusheelalsroot: Zamboni is a python based completely. Does that mean the cakephp developers will be learning Python and re-writing the whole of it to Python?22:42
alsrootmanusheel: well, we have to follow mozilla in any case (otherwise we will have unmaintained AMO)22:44
alsrootat least in my mind22:44
manusheelalsroot: Ok. But, the structure of Django is pretty different from Remora. Both follow MVC architecture. However, Remora places all the files (i.e. uploader.php, version.php and others) in folder for M, V and C respectively. But, in Django, we'll have to create seperate directories for each functionality. One directory for uploader; one for versions etc.22:46
alsrootmanusheel: thats why I thought about reimplementing ASLO patch and startr from doing basic things22:47
manusheelalsroot: Ok. Sure. We are focusing on the upload of xo files only at this juncture.22:49
manusheelalsroot: We have boiled down the files in Model, View and Controller section in Remora that manages uploads.22:50
manusheelWe'll re-write them to see how they work in Zamboni.22:50
alsrootmanusheel: thanks22:51

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