=== satellit_ is now known as satellit_afk [05:38] dipankar: Hi Dipankar. [05:38] Good morning. [05:42] manusheel, Hello Sir, Good morning [05:46] dipankar: We have a list of 11 new bugs to work on. [05:46] dipankar: Is there a task (apart from Tam Tam Mini issue), which is left from your side? [05:47] manusheel, apart from that bug, I am involved in collaboration (currently on hold, by others too) [05:48] dipankar: Ok, I'll be sending an e-mail on the new structure of collaboration, and how we'll be working on it. [05:49] dipankar: Also, the 8.2.0 test plans on collaboration. [05:49] Map them with the code, and we'll be able to understand things better. [05:52] manusheel, ok Sir [05:54] dipankar: Send an e-mail. [05:57] manusheel, The no. 10 problem is not that tough [05:59] it is just a xephyr problem [05:59] dipankar: If you are aware of the fix to the problem, please send a reply on the same thread about the issue. [05:59] manusheel, if we use alt+tab for switching windows, it will reproduce the bug [06:00] Let me write a message that if a team member is aware about the problem, then he/she can write an e-mail and share pointers. [06:00] to make things normal again, we just have to press alt [06:00] dipankar: Neat. [06:00] dipankar: These issues have to be opened in LP by the primary assignee. [06:00] I'll write a note on that too. [06:01] They have been tested on the Sugar emulator. [06:01] i.e. the Maverick one. [06:01] manusheel, ohk. But I don't have the fix with code. can anything be done with this bug? [06:03] dipankar: Yes, Dipankar. You are not suppose to provide the fix. [06:03] Just a pointer. [06:05] ohk Sir [06:06] dipankar: Just send another e-mail. [06:08] manusheel, got it sir [06:11] dipankar: Send pointers on bug number 6 (an interesting feature request). [06:22] manusheel, woha! nice request [06:56] dipankar: thank you. [06:58] manusheel, I will contact you in the evening === satellit_afk is now known as satellit_ [14:53] dfarning, hello [14:53] how are you doing today? [14:54] dipankar, good how are you? [14:54] dfarning, I am doing great [14:54] dipankar, got to reboot back in a minute [15:00] dipankar, I managed to break my system by packaging and installing exe learning. [15:00] dipankar, what are you working on today? [15:05] dfarning, I am working on the bugs assigned to me right now [15:05] * broke your system? I didn't get it [15:07] dipankar, I install my new exelearning packageand my system got stuck.... I could not close any windows anymore:( needed to reboot. [15:10] ohk [15:10] :( [15:11] dfarning, I need your help in some debugging [15:14] dipankar: Hi Dipankar. [15:14] dipankar, sure. [15:15] manusheel, glad you could join us Sir [15:15] dfarning, I am currently working on the "Sugar should start full screen" problem/request [15:16] * Reason: On small resolution laptops/desktops there is a noticeable cropping of xephyr [15:17] * Solution: The command to launch the sugar-emulator should be turned to : "sugar-emulator -f" [15:17] -f : flag for running xephyr in full screen [15:17] dip yes. [15:18] dipankar: Neat. [15:18] * Things I found: The command invoking the xephyr is called in a script in /usr/share (not sure of the path exactly) [15:19] manusheel, Thank you :) [15:22] manusheel sir, dfarning, dipankar: Hi. [15:22] kandarpk: Hello Kandarp. [15:22] kandarpk: David has been studying exelearning. [15:22] kandarpk, hello. :) [15:23] kandarpk: We can arrive at a good conclusion on exelearning today. [15:23] manusheel sir: sure sir. [15:24] dfarning: Around? [15:25] kandarpk: Did you look at the issues assigned to you? [15:25] manusheel sir: yes sir. [15:25] kandarpk: Please let me know if you have any questions on them. [15:25] manusheel sir: sir, we don't need to submit patches for them ? [15:26] kandarpk: We do need to submit patches for them. [15:26] kandarpk: I would like you and Dipankar to discuss on the workflow you have been following, and share with me on e-mail. [15:27] kandarpk: Neeraj has worked on bug tracker, and will be able to share pointers on it too. [15:27] manusheel sir: Ok. [15:27] dipankar: Around? [15:28] manusheel, No problem Sir. I think I found some solutions too. Except for the "register" bug and the app request [15:28] dipankar: Let us discuss the workflow. [15:28] dipankar: OK. [15:28] What is the problem with the register bug? [15:29] 1. on the home view - click on OX man - click on register - Sugar [15:29] freezes with large grey rectangle [15:29] manusheel, ^^ [15:30] kandarpk: Try spending time on how you would like to fix bugs. We'll discuss on it in as soon as you find a workaround for them. [15:30] I am online. [15:30] dipankar: Ok, Dipankar. [15:31] dipankar: This is bug no.#1 [15:31] right. [15:31] manusheel, yes sir [15:32] dipankar: Have you been able to arrive at a good conclusion on it? [15:32] manusheel sir: are these bugs specifically for USR ? I am able to change the text of server textbox in Debian. [15:32] kandarpk: Yes, Kandarp. Brilliant observation. [15:33] kandarpk: They have been found on Sugar emulator. [15:33] kandarpk: I thought I mentioned about it in the e-mail. [15:33] manusheel, Sir, currently I am trying to follow the shell.log to check what is actually making the bug to reproduce [15:34] dipankar: Neat step. After this, what do you plan to do next? [15:34] Shell.log is the first step. [15:35] dipankar: What is the next step? [15:35] manusheel, then (if I am able to find the error raising function) I will track the file/script in which the function is raising any error [15:35] dipankar: Neat. [15:36] dipankar: Next step? [15:36] There is an approach there too. [15:36] If you are not able to find function? [15:36] manusheel, Sir, thats what I am stuck on. [15:37] * what if no function is raising an error [15:37] :( [15:37] dipankar: There is solution to that too. Ok, let me explain. [15:37] ok [15:37] kandarpk: Are we on the same page in reference to first two steps? [15:37] neeraj: Hi Neeraj. [15:37] We have discussed on two steps for bug fixing. [15:38] manusheel sir, hi [15:38] Talking about the third one. [15:38] manusheel sir: yes sir. [15:38] neeraj: Let me copy the steps for you so that we are on same page. [15:38] We'll then start with the 3rd step. [15:38] hey neeraj :P [15:38] manusheel sir, ok [15:38] neeraj: Dipankar wrote (which is correct): manusheel, Sir, currently I am trying to follow the shell.log to check what is actually making the bug to reproduce [15:39] hi dipankar , kandarpk and dfarning :) [15:39] manusheel sir, dipankar : our primary task is to find the cause of the problem ? [15:39] kandarpk: Yes. [15:39] Hi neeraj [15:39] neeraj: Second step ( manusheel, then (if I am able to find the error raising function) I will track the file/script in which the function is raising any error) [15:40] kandarpk, neeraj, dipankar: If we are unable to find this function this is how we progress - [15:40] Look at nearby action events and functions, consult api documentation at http://api.sugarlabs.org to get an understanding of the functions, classes and variables around that functionality. [15:41] If we are able to find an answer, proceed. If not, next step - [15:42] Look at similar kinds of action events, widgets in case of widgets and functions in case of functions for a functionality which is different from the functionality that you are working on. [15:42] See if there is a similarity. [15:43] If not, proceed to next step. [15:43] Ask question at #sugar and sugar-devel mailing list. [15:43] dipankar, neeraj, kandarpk: Write what all you have done, and the problem you have been facing. [15:43] Add logs. [15:44] ok sir [15:44] If no one is able to fix it or provide suggestions, it comes under "Won't fix" category which should not be the case under all normal circumstances :-) [15:45] manusheel, Sir, I found some lead: [15:45] " [15:46] dipankar: Congratulations. You are already doing implementation of the pointers mentioned above :-) [15:46] neeraj, kandarpk: Please read my following e-mails too. [15:46] Let us start working on the bugs one by one. [15:47] The connection cannot be set is the error if the server is set to "jabber.laptop.org" [15:47] and if the server is changed to "jabber.sugarlabs.org" is gets permanently hung [15:48] dipankar: were you able to change the server ? [15:48] that is one task I am assigned. [15:48] kandarpk, yes I am able to change the server [15:49] dipankar: Ok. [15:49] dipankar, sorry I got pulled away. Were you looking at the starts full screen issue? [15:50] *logging into ubuntu. [15:50] dipankar, you r running sugar-emulator inside? [15:51] lucid/ maverick or using usr? [15:51] dfarning, I was, but now I am working on the register bug [15:51] guys, check this shell.log snippet: http://paste.ubuntu.com/473554/ [15:51] neeraj, I am working on Lucid [15:51] * The one that I had been working on since starting [15:52] dipankar, that error looks like there is no network connection. [15:53] dfarning, thats weird, I am on internet :) [15:53] dipankar, do you have a available connection in the network view. [15:55] dipankar, can you open the terminal activity _in_sugar_ and ping www.google.com ? [15:57] dfarning, ping www.google.com is giving reply normally on my side. sugar inside lucid [16:00] neeraj, are you getting the same error message that dipankar got when trying to register? [16:00] I am having trouble in running terminal activity :( [16:01] dipankar: Logs? [16:01] dipankar: What is the issue? [16:01] In terminal activity. [16:02] Its not starting up [16:02] ok [16:02] now its working [16:02] dfarning: Hi. [16:02] guys, [16:03] I am getting ping reply from 8.8.8.8 [16:03] dipankar: Neat that it is starting up. [16:03] kandarpk: Did you go through Mike's e-mail today? [16:04] manusheel sir: yes sir. [16:04] kandarpk: Any questions on them? [16:04] dfarning, I am getting ping reply [16:04] * dipankar I am off to dinner [16:04] * dipankar is away: Be Right Back [16:04] it says exelearning can be packaged for debian [16:05] kandarpk: Yes. [16:05] kandarpk, I think I figure some stuff we are going to need to do to package exelearning. [16:05] kandarpk: Would you like to try packaging the activity now? [16:06] manusheel sir: not sure how to approach. [16:06] kandarpk, 1st thing is that we are not going to use standard debian packaging methods. [16:06] dfarning: Ok. [16:06] that was confusing me. [16:07] dfarning: as the package didn't had the debain folder at the usual location. [16:07] kandarpk, exe is interesting in that it runs on windows, linux, and osx. That is very valuable for our audience. [16:08] dfarning: +1. [16:10] kandarpk, so for now we just want modify stuff in install/debain/ubuntu until it builds on ubuntu 10.04 and 10.10 [16:10] kandarpk: Ok, this is a very useful pointer from David. Does this help? [16:11] dfarning: yes sir, that is what I was thinking yesterday [16:11] as it already had control and changelog files there [16:11] manusheel sir: ^^ [16:11] kandarpk, then we can make the same modification to the windows and osx installer and we will have cross os compatibility. [16:11] kandarpk: Neat. I am glad we thought on the same lines. [16:12] dfarning: Ok. [16:12] kandarpk, The first thing looks like updating the python version in rules. [16:13] dfarning: Neat approach. kandarpk: Any further questions as of now? [16:14] dfarning: will standard build commands used here ? [16:14] kandarpk, ahh but before we get started we need to put this under version control so we don't step on each others toes:) [16:14] as mentioned on the getting started guide [16:14] dfarning: Yes. [16:14] Ok. [16:14] kandarpk: Let us first start with step no. 1. [16:15] dfarning: I checked out the code using SVN yeserday [16:15] dfarning, manusheel sir: will try modifying that. [16:15] kandarpk, the build process is triggered by runing make.py in the install/debian/ubuntu dir. [16:16] dfarning: Ok. much required info. [16:17] bernie, can you explain to kandarpk how to convert from svn to git:) [16:18] dfarning: Interesting question. [16:18] Bernie, around? [16:18] dfarning: the official package is maintained using svn, can we convert to git ? [16:18] kandarpk, rather than screw around learning another version control system we will convert the snv repo to a git repo. [16:18] dfarning: Ok :) [16:19] kandarpk, yes. it is really easy.... then we can upload you local git repo to git.sl.org. [16:19] dfarning, manusheel sir, bernie : can't I just 'git add' all the files ? [16:20] in local git repo [16:20] kandarpk: it should be as easy as: git svn clone svn://url [16:21] bernie: Thanks for the pointer. [16:21] kandarpk: Please try that. [16:22] manusheel sir: will need to install git first. [16:22] *running ubuntu [16:22] its there. [16:23] kandarpk: git-svn is probably a separate package [16:23] kandarpk: it's written in perl [16:23] bernie: Ok. Thanks. [16:23] kandarpk: Sure, installing git won't take much time. [16:24] Please do it now. [16:24] kandarpk: if the conversion does not seem to come out well, read the manpage... there are many options to cope with little quirks of svn [16:24] kandarpk: mapping svn branches to git branches is kind of hard... but you might not care about branches. [16:25] kandarpk: when you're done converting, please publish your git tree somewhere (git.sugarlabs.org?) so I can check to ensure the conversion was done sanely. [16:25] bernie: sure. [16:26] bernie: Thanks for the pointers. Will be surely done. [16:26] kandarpk: Let me know if we face any issues. [16:26] bernie: 'git svn clone http://exelearning.org/svn/exe1/trunk exe' [16:26] is the command ok ? [16:27] kandarpk: Better, check things out. [16:27] kandarpk: seems ok... if my memory helps me [16:27] kandarpk: The process is iterative and works on trial and error. We have to follow the hacking protocol of experimentation as discussed in our recent group meeting. [16:27] Initialized empty Git repository in /home/kandarp/eXe/exe/.git/ [16:27] Filesystem has no item: 'http://exelearning.org/svn/exe1/trunk' path not found at /usr/lib/git-core/git-svn line 1765 [16:28] bernie: Any pointers on the above issue? kandarpk: Try google search for the above error. [16:29] manusheel sir, bernie : wait. trying another location [16:31] kandarpk: whatever location worked for "svn checkout ..." should also work for "git svn clone ..." [16:31] kandarpk: perhaps that url was the svnweb interface rather than the actual version control thing? [16:32] bernie: its generating something like : [16:32] D testing/util [16:32] W: -empty_dir: testing/engine [16:32] W: -empty_dir: testing/export [16:32] W: -empty_dir: testing/util [16:32] W: -empty_dir: testing/webui [16:32] r10 = e63e0d1d42ef946d736f29ca9b40e29e748d9fb2 (refs/remotes/git-svn) [16:32] A __init__.py [16:37] kandarpk: ok. [16:37] kandarpk: We need to then find out a method for the same. [16:38] manusheel sir; its continuing to download. [16:38] just wanted to confirm if the partial output is ok [16:39] kandarpk, bernie is taking a shower.. he will be back soon. [16:40] kandarpk, what url did you use to run git-svn? I'll run it here. [16:40] dfarning: https://exe.svn.sourceforge.net/svnroot/exe/trunk exe [16:51] kandarpk: back [16:52] kandarpk: I've seen those warnings about empty dirs too, in the past. git cannot represent them, so they will not appear in the converted repository. [16:53] kandarpk: if the software needs those dirs, you'll have to create them from the makefile, or maybe put a dummy file in each one of them. [16:54] bernie: wanted to confirm if it is generating the desired output [17:02] kandarpk: I think it is. [17:02] bernie: Any concerns over the output? [17:03] bernie: I believe Kandarp can proceed to the next step. [17:03] manusheel sir: still downloading. [17:04] kandarpk: ok. [17:04] kandarpk: In the meantime, let us discuss your bugs. [17:05] manusheel sir: the server textbox bug isn't being faced by most of us. [17:06] Or on Lucid sugar emulator? [17:06] kandarpk: On Maverick? [17:06] manusheel sir: I am not facing it on Lucid. [17:06] kandarpk: How about bug no. 11? [17:06] dipankar too is using lucid I think [17:07] kandarpk: Dipankar will be taking Maverick from me tomorrow. [17:07] kandarpk: I did write in the e-mail. All testing has to be done on Maverick. [17:07] If we don't have Maverick, please let me know. [17:07] manusheel, kandarpk: yes, the warnings are expected if those dirs were really empty [17:07] manusheel sir: Ok. [17:08] bernie: Ok. [17:08] Nothing to worry about, right? [17:08] manusheel, they are no a problem [17:08] manusheel, kandarpk: the entire procedure is non-destructive... is we screw up for some reason we can always start over [17:12] bernie: Yes, absolutely. [17:13] dfarning: Yes. [17:13] +1 [17:13] manusheel sir, dfarning, bernie: download complete. [17:13] RA layer request failed: REPORT of '/svnroot/exe/!svn/vcc/default': SSL handshake failed: Secure connection truncated (https://exe.svn.sourceforge.net) at /usr/lib/git-core/git-svn line 5047 [17:16] kandarpk: Ok. [17:16] ankur_: Hi Ankur. [17:17] kandarpk: There seems to be some issue here. [17:17] Let us try to debug it. [17:17] First try searching on the error. [17:18] kandarpk: Sorry got dc. [17:18] manusheel sir: the directory contains nothing [17:18] kandarpk: Yes, what did you write last? [17:18] manusheel sir:^^ [17:18] kandarpk: It means there is a problem somewhere. [17:19] kandarpk: Did you google about the error? [17:19] manusheel sir: search result shows a bug report [17:20] http://www.google.com/search?client=ubuntu&channel=fs&q=RA+layer+request+failed%3A+REPORT&ie=utf-8&oe=utf-8 [17:20] manusheel sir: git-svn specific bug [17:20] kandarpk: Ok. === ankur__ is now known as ankur [17:21] kandarpk: That means we don't have a solution on it. [17:21] manusheel sir: I've the complete output generated [17:22] shall I mail it ? [17:22] kandarpk: But, there are no files right? [17:22] kandarpk: You have an FTP account right? [17:22] Instead of e-mailing, upload it over there? [17:22] kandarpk, you will have to check out a branch before you see anything. [17:22] manusheel sir: yes, no files, but I saved the output generated on the terminal [17:23] dfarning: Ok. [17:23] kandarpk: Did you checkout the branch? [17:24] dfarning: git add ., git commit ? [17:24] try 'git branch' to see what branches are available and then 'git checkout XXX'. [17:24] manusheel sir, dfarning: that doesn't show any branches. [17:25] kandarpk: Search a bit. [17:25] You'll find a similar command. [17:25] kandarpk, are you in the exe dir you just made? [17:26] dfarning: yes, it has a .git dir as well [17:26] $ git add . [17:26] kandarp@kandarp-desktop:~/eXe/exe$ git commit -m'Initial commit' [17:26] # On branch master [17:26] # [17:26] # Initial commit [17:26] # [17:26] nothing to commit (create/copy files and use "git add" to track) [17:27] kandarpk, what is the output of git branch [17:27] dfarning: nothing. [17:27] $ git branch [17:27] kandarp@kandarp-desktop:~/eXe/exe$ [17:29] kandarpk: everything should be already committed [17:29] kandarpk: "git svn clone" copies all the history. [17:29] kandarpk: so, have a look at the log to see if what I'm saying is actually true [17:30] bernie: ok. but no file is present in the folder. [17:30] bernie: $ git log [17:30] fatal: bad default revision 'HEAD' [17:31] kandarpk: odd [17:31] kandarpk: what does "git branch -a" say? [17:32] bernie: remotes/git-svn [17:33] kandarpk: odd... it looks almost like the conversion failed in the middle [17:34] kandarpk: wait, IT DID FAIL! [17:34] kandarpk: I've just looked at what you said earlier: [17:34] bernie: I have the output generated if that could help. [17:34] RA layer request failed: REPORT of '/svnroot/exe/!svn/vcc/default': SSL handshake failed: Secure connection truncated (https://exe.svn.sourceforge.net) at /usr/lib/git-core/git-svn line 5047 [17:34] kandarpk: this is a clear sign of a problem. [17:35] kandarpk: it might be that sourceforce has a timeout and your connection was too long [17:35] bernie: google search gives some bug reports [17:35] bernie: http://www.google.com/search?client=ubuntu&channel=fs&q=RA+layer+request+failed%3A+REPORT&ie=utf-8&oe=utf-8 [17:39] kandarpk: Yes. [17:39] kandarpk: It seems like a timeout issue. [17:40] Ok. [17:41] kandarpk: Let us see if we can arrive at a good conclusion on it. Can you try it once more, and see if we are getting the same errors. [17:42] kandarpk: manusheel: maybe "git svn" supports resuming the clone operation? [17:42] bernie: ok. [17:42] kandarpk: what happens if you do "git svn fetch" now? [17:43] kandarpk: see the manpage for more options [17:43] kandarpk_: which one of the two kandarpk is the real one? [17:43] bernie: I am for the time being [17:43] bernie: any workaround that you would like to suggest? [17:44] dipankar: Hi Dipankar. [17:45] manusheel, sorry sir, just the net was refreshing [17:45] bernie: git svn fetch is generating almost the same output. [17:45] dipankar: No worries. [17:45] kandarpk_: you might have missed this line: [17:45] kandarpk: manusheel: maybe "git svn" supports resuming the clone operation? [17:45] kandarpk: what happens if you do "git svn fetch" now? [17:46] kandarpk_: ah, ok. you did svn fetch already. does it fail with the same rev? [17:46] bernie: its fetching the files right now. [17:46] r1706 = 2cd70fb63c776da9f63067f6dcaaf60ed1bbb091 (refs/remotes/git-svn) [17:46] M exe/engine/idevicestore.py [17:46] M exe/engine/field.py [17:46] M exe/webui/scripts/common.js [17:46] M exe/webui/element.py [17:46] M exe/webui/builtinblocks.py [17:46] M exe/webui/imagemagnifierblock.py === kandarpk_ is now known as kandarpk [17:49] bernie: it seems to have continued from where it stopped. [17:51] kandarpk: aha [17:52] kandarpk: then I guess we'll get done in a few retries [17:52] kandarpk: how many revisions arethere? [17:52] kandarpk, my clone is taking forever.... it is still downloading.... [17:53] bernie: no idea, but it has reached 2100 [17:54] bernie, 3600 revs. and I am still on 500.... [17:54] dfarning, I am back :P [17:54] dfarning: that sounds very encouraging ! [17:55] hey dipankar lets go back to the full screen bug that is easier:) [17:55] dfarning, :) [17:56] dipankar, dfarning: whats the bug ? [17:56] kandarpk, This is a feature request actually. [17:57] dipankar: ok, to start sugar-emulator in full screen as default ? [17:57] kandarpk, here is some details: [17:57] " [17:57] * Reason: On small resolution laptops/desktops there is a noticeable cropping of xephyr [17:57] * Solution: The command to launch the sugar-emulator should be turned to : "sugar-emulator -f" [17:57] -f : flag for running xephyr in full screen [17:57] dip yes. [17:57] * Things I found: The command invoking the xephyr is called in a script in /usr/share (not sure of the path exactly) [17:57] " [17:58] dfarning; There are 3600 revisions, so it will complete soon. [17:59] kandarpk, I just made a list of stuff that needed to be fixed for manusheel yesterday. We should go through the full process of creating a bug in LP. Fix the bug. Determine if it should be pushed upstream, finally close the bug. [18:00] dfarning: hmmm. [18:00] dfarning: The bugs were assigned after you send the e-mail. [18:00] dfarning: Kandarp has 3 bugs assigned to him. [18:01] kandarpk, dipankar it is a lot of work.... but it is a process we must learn and get very good at using. [18:01] manusheel, ahh ok.... I am betting the the actual patch will be two characters long:) [18:01] dfarning : Ok [18:02] hi [18:02] dfarning: I have Ankur, Kandarp, Dipankar and Neeraj, who were assigned bugs. Neeraj will be here any moment. [18:02] dipankar: so what approach are you using ? [18:02] ankur, cool [18:03] kandarpk, I am trying to find where I can pass the flag [18:03] well , i looked where the sugar session should start [18:03] for that there was mentioned on net [18:03] sugar-shell on /usr/bin [18:03] but in my case it was not available [18:03] but instead i found [18:03] shell script [18:03] with name "sugar" [18:03] i inspected it [18:03] and it semed the right thing to start with [18:03] as in it was decided which flags should be accepted [18:03] dipankar: wont changing the .desktop file help ? [18:03] as you did earlier [18:03] n that , in the end [18:03] there was mentioning of [18:03] execution [18:03] of sugar-session [18:03] in that file, i am unable to grasp much of code [18:03] would need some help starting there :) [18:04] to set emulator to run in full screen mode [18:04] kandarpk, I have reached the file: /usr/share/applications/sugar-emulator.desktop [18:04] kandarpk, after that I moved on to another bug :P [18:04] kandarpk, how about I try changing the values from there and contact you in 5 minutes [18:04] dipankar, what script does *.desktop call [18:04] dipankar: Ok. [18:05] dfarning: but we do not need to change the script, do we ? [18:05] kandarpk, btw here is the .desktop file: [18:05] " [18:05] [Desktop Entry] [18:05] Encoding=UTF-8 [18:05] Name=Sugar [18:05] GenericName=Sugar Emulator [18:05] Comment=The emulator for the Sugar Desktop Environment [18:05] Exec=/usr/bin/sugar-emulator [18:05] Terminal=false [18:05] Type=Application [18:06] Icon=sugar-xo [18:06] Categories=Application;Emulator;Education [18:06] " [18:06] dipankar: yes, dfarning and you had edited it before as well. [18:06] IIRC [18:06] kandarpk, yeah. But Its not working [18:07] dipankar: that should fix the problem for you [18:07] dfarning: You can share the pointers at once. We can discuss at one ago. [18:07] Ok. [18:08] kandarpk, dfarning, I don't get it. The line Exec=/usr/bin/sugar-emulator is to run the script for emulator. will it accept any flag? [18:08] dipankar, try putting a -f after Exec=/usr/bin/sugar-emulator [18:08] dipankar: as far as I understand it, the exec line executes the command [18:08] dfarning, tried it [18:09] but not working. Will it accept any flag there? [18:09] dipankar, you might need to log out and back in of gnome. [18:11] dipankar, you can prove that it will work by right clicking on applications and then editing then editing the menu from there by adding a -f . [18:12] dfarning, the later part works. [18:12] dipankar, if that works we need to figure out why just adding a -f flag to the Exec line does not. [18:13] dfarning, ohk. How about I log out and in again? [18:14] * dipankar is restarting. back in 5 [18:14] dipankar, +1 [18:18] dipankar, know you hate reading.... but http://standards.freedesktop.org/desktop-entry-spec/latest/ar01s06.html === ankur_ is now known as ankur [18:19] dfarning, when the sugar app executes === dipankar_ is now known as dipankar [18:19] it executes the sugar-emulator file in /usr/bin [18:19] i was skimming through that [18:19] python -c "import sys; from jarabe.util import emulator; sys.argv[0]='$0'; emulator.main()" "$@" [18:19] dfarning, -1, it doesn't work [18:20] here [18:20] dipankar, know you hate reading.... but http://standards.freedesktop.org/desktop-entry-spec/latest/ar01s06.html [18:20] argv[0] stands for the flag we are giving right? [18:20] ankur, yes you are correct. [18:21] dfarning, ok. Makes sense [18:21] okay [18:22] i was working on changing the title in emulator winodws [18:22] any hints? [18:22] ankur, we can do it from desktop entry file. Just need to figure out how to deal with the 'space' in the exec line:) [18:23] ankur_, what you are suggesting for me is changing the bin file, which I don't think is a good idea [18:23] ankur sorry I though you were working the same bug as dipankar [18:23] dfarning, no prob :) [18:23] ankur is working on some other bug :P [18:24] well , why should we not change bin file ? any particular directions here? [18:25] ankur_, lets suppose if somebody doesn't need to run it in fullscreen, then? [18:25] dipankar, try putting " around the command in the Exec line. the parser is getting to the space and thinking it is the end of the line. [18:25] We are assuming here that most people would be going for a small screen laptop/palmtop or emulator on a virtual box [18:25] well we are only changing the default value [18:25] okay [18:26] ankur_ we want to make our changes as localized as possiable unless we decide to push them upstream. [18:28] ankur_, in this case we want to preserve the ability to open an emulator as a window.... just in the case of clicking the button in the emulator do we what it to open full screen. [18:29] dfarning: but the link you gave said flags can be space separated. [18:33] dfarning, its not working [18:33] :( [18:34] dipankar_: what does the EXEC line read ? === ankur_ is now known as ankur [18:37] Exec=/usr/bin/sugar-emulator "-f" [18:37] dfarning, kandarpk, ^^ [18:38] it should be Exec="/usr/bin/sugar-emulator -f" [18:41] dipankar_: any progress ? [18:41] dipankar_, in this case Exec is a variable(string) and it is assigned the value of "/usr/bin/sugar-emulator -f" === dipankar_ is now known as dipankar [18:42] kandarpk, I am on rev. 2100. 4000 more to go [18:42] dfarning, yeah. But my question still remains, am I adding the flag correctly? [18:43] it should be Exec="/usr/bin/sugar-emulator -f" [18:43] dfarning: 4000 ? aren't there 3600 in total ? [18:43] I am on 3100 by the way [18:43] kandarpk: Interesting. [18:43] kandarpk, yes I mixed up 3600 and 6300:( [18:43] thank god [18:44] dipankar: Did you get an answer to your question? [18:50] dipankar: around? [18:50] kandarpk: any questions on bugs? [18:50] manusheel, nope sir, I am trying different things [18:50] :( [18:51] * dipankar is logging off [18:51] dipankar: Ok. Take some time. This activity needs good patience at all times :-) [18:51] :) [18:52] manusheel sir: no sir. [18:53] kandarpk: Ok, that is great. [18:53] kandarpk: Any issues with browsing code, submitting patches. I would encourage you to have a discussion with Neeraj on it. [18:54] Neeraj did submit patches earlier, which were sponsored and approved. [18:59] dfarning, I tried changing the Exec= line to Exec="/usr/bin/sugar-emulator -f" [18:59] its still not working [19:00] dipankar: That is unfortunate. [19:01] dipankar: Let us try and spend some more time on it. [19:01] kandarpk, is it working on your system? if you are trying too [19:01] manusheel, sure sir [19:01] dfarning: will changing the file change the command in the menu bar ? [19:01] dipankar: Great. [19:01] dipankar: I dont have the desktop file at /usr/share/applications [19:01] ok [19:02] dipankar, here is how i fixed the issue [19:02] vim /user/share/applications/sugar-emulator.desktop [19:03] change that file to [19:03] [Desktop Entry] [19:03] Encoding=UTF-8 [19:03] Name=Sugar [19:03] GenericName=Sugar Emulator [19:03] Comment=The emulator for the Sugar Desktop Environment [19:03] Exec="/usr/bin/sugar-emulator -f" [19:03] Terminal=false [19:03] Type=Application [19:03] Icon=sugar-xo [19:03] Categories=Application;Emulator;Education [19:04] ran 'killall gnome-panel' (no quotes) to reload the panel. [19:06] dfarning, the process is not working on my system. is it working on yours? [19:07] dipankar, yes it is [19:07] dfarning, I think some other application is causing a problem on my system :( [19:08] hi, my net is back :) [19:08] dfarning, around? [19:09] dipankar, you bring me bad luck. I just tried it again and it failed:( [19:09] ankur, yes [19:09] dipankar, dfarning: not working fom me too [19:10] well , i was working on changing the title in emulator bar.Any pointers to get started on that? [19:11] dfarning, :( [19:11] ankur, I think you will want to see the xephyr script [19:12] and if I am not wrong, it must be something to do with gtk programming [19:12] yes [19:12] 'cause thats where you make a window and title is set there [19:12] :P [19:13] Well i too was thinking that it would be depending on gtk script, i even searched using grep but without sucsess [19:14] i might have used it inproperly.Okay Xephyr is wondows managar .. and it have it's interface coded as diff. application? [19:19] ankur, http://ubuntuforums.org/showthread.php?t=620003 [19:20] dipankar, was just looking at that :D [19:20] +1 [19:23] manusheel, what should I do now Sir? [19:23] it seems a very weird problem [19:25] dipankar, when you went to usr/share/application [19:25] how did you interpreted sugar application starting tehre [19:25] *there [19:25] bernie: download complete. [19:25] but I still dont see any files [19:26] bernie: master branch is present [19:26] $ git branch [19:26] * master [19:28] kandarpk: try "git checkout master" [19:29] D twisted/web/woven/tapestry.py [19:29] D twisted/web/woven/template.py [19:29] D twisted/web/woven/utils.py [19:29] D twisted/web/woven/view.py [19:29] D twisted/web/woven/widgets.py [19:29] D twisted/web/xmlrpc.py [19:29] D win-setup.py [19:29] Already on 'master' [19:29] bernie: tried ^^ [19:29] and no files? [19:29] nop [19:30] ankur, I am unable to get your questioin.:( [19:31] hmmmm [19:31] dipankar, i was looking for xephyr code [19:31] to work but was unable to find a lead [19:31] can you help [19:31] kandarpk: does "git log" show anything? [19:31] i found a Xephyr executable in bin folder [19:32] bernie: yes. [19:32] but form there to where? [19:32] bernie: the commit messages are there [19:33] ankur, there won't be any file for xephyr in usr/share/applications/ [19:34] bernie: do I need to 'git add .' first ? [19:34] yes [19:34] there was not [19:34] ankur, i meant .desktop file [19:35] kandarpk: can you cat .git/config and paste it into a pastebin? [19:35] kandarpk: no, don't add anything. files are already in the history [19:35] kandarpk: somehow, they're not being checked out [19:36] dipankar, can you elaborate? [19:36] kandarpk: you do "git add" when you want to add *new* files to your repo. which is not our case. [19:36] bernie: http://paste.ubuntu.com/473649/ [19:36] bernie: hmmm. [19:36] kandarpk: ok, it says "bare = false", which means that there should be files! [19:37] kandarpk: what branches are there? (git branch -a) [19:37] bernie: $ git branch -a [19:37] * master [19:37] remotes/git-svn [19:40] dipankar dipankar_ did you get it figured out? [19:40] we are making a really stupid mistake:( [19:41] dfarning: ?? [19:41] kandarpk, it has to do with the order in which setting paths are searched. [19:42] dfarning, nopes :( I am not getting any ideas [19:43] dfarning: are there other files as well which maintain these settings [19:43] ? [19:43] kandarpk, first it looks in your home dir under .local/share/applications/ for a file named sugar-emulator.desktop if it finds a file there it stops looking. [19:44] dfarning: Got it. [19:44] when we edited the file with the menu editor it made that file. which is taking presedence over the one we are editing. [19:45] hmmm [19:45] just delete it and we will get a proper error message:) [19:45] proper error !! [19:45] dfarning, unable to find the scripts to work upon in case of xephyr [19:46] something about can't fine path "/usr...." [19:46] ankur, .desktop file is for the menu entries [19:46] get rid of the quote which I suggested adding and it will work properly..... [19:47] argg. [19:47] dfarning: great :) [19:48] bernie: what should I do ? [19:48] ankur, those .desktop scripts invoke the script in /usr/bin/ [19:48] ankur, I guess you have to modify the xephyr script in /usr/bin/ itself [19:49] important lesson... when working with system settings make sure they are not being stepped on by a local user setting. [19:50] dipankar did it work for you? [19:50] dfarning: worked for me :) [19:50] dipankar, wel xephyr have only executable binary file in bin folder :( [19:50] dipankar, would you like to work on [19:50] view changing keys? [19:51] bug#10 [19:51] ankur, just a sec [19:52] dfarning, +1 worked :) [19:53] * I was having a feeling that the file that I found was not the one that actually had the effect on menus [19:53] :) [19:53] dfarning, I would like to go to sleep now. [19:53] I will contact tomorrow morning [19:53] dipankar_ cool turn it into a patch tomorrow and you can mark it patch committed:) [19:54] dfarning, thanks for helping out :) [19:54] * dipankar_ goodbye to all [19:54] :) [19:54] dipankar_ yah I erased the whole Exec line and it still worked.... made me think we were missing something important. [19:55] dfarning, +1 I did the same too to find the effect [19:55] ankur, are you still awake? should we look at your bug in detail? [19:56] dfarning, yes i was :) [19:56] could work for half an hour more [19:56] if that will be a good window to work by? [19:56] dfarning: I too should leave now. [19:56] good night [19:56] ankur, the sounds good. [19:56] kandarpk, ok see you tomorrow. [19:57] goodnight to my same time zone people. [19:57] and to others have a great day! [19:58] :) [19:58] dipankar, same to you [19:58] dfarning, i was working on to change the title [19:58] from xephyr 2.0 to Sugar-emulator [19:58] ankur, usually the gtk window takes it's name from the command used to call open the window. [19:59] dfarning, i looked at starting point where the gtk window was called [19:59] ankur, in our case sugar-emulator is doing a couple of things before it actually opens the window. [19:59] but was unable to find that [20:00] dfarning, okay [20:00] ankur, lets start by looking /usr/bin/sugar-emulator [20:02] that import the emulator module [20:02] and call [20:02] python as command [20:02] python -c "import sys; from jarabe.util import emulator; sys.argv[0]='$0'; emulator.main()" "$@" [20:03] the one i as asking before :) [20:04] ankur, go in and modify sugar-emulator like: [20:04] #!/bin/sh [20:04] if [ "$(id -u)" -eq 0 -o "$(id -ru)" -eq 0 ] ; then [20:04] echo Refusing to run as root. [20:04] exit 3 [20:04] fi [20:04] # Source debug definitions [20:04] if [ -f ~/.sugar/debug ]; then [20:04] . ~/.sugar/debug [20:04] fi [20:04] echo $0 [20:04] echo $@ [20:04] # Start emulator [20:04] #python -c "import sys; from jarabe.util import emulator; sys.argv[0]='$0'; emulator.main()" "$@" [20:04] ~ [20:05] ankur, we want to figure out what the contents of $0 and $@ hold [20:05] '~' you want that to be added as well? [20:05] ankur, sorry nope [20:06] ankur, then try running the command /usr/bin/sugar-emulator [20:06] doing that :) [20:07] i dont know my alt+f2 comibnation is not working [20:07] i use gksudo nautilus to edit sudo files [20:07] will do it from terminal [20:07] i meant the files requiring root permission [20:08] ankur, yes you will what to do this all from the a terminal so you can watch the output. [20:09] just a sec [20:10] neeraj__: Hi Neeraj. [20:10] Around? [20:10] manusheel sir, yes. will ping u in 15 min. [20:11] manusheel, we solved dipankar's bug now working on ankur's === neeraj__ is now known as neeraj [20:12] dfarning: Great. Yes, Dipankar is very happy today. [20:12] He is enjoying every bit of fixing bugs. [20:12] neeraj: Sure. [20:12] neeraj__: Sure. [20:13] will paste contents [20:13] http://paste.ubuntu.com/473665/ [20:13] it seems that $0 is path [20:13] to the sugar-emulator [20:14] $@ is null [20:14] ankur, nice c [20:14] ankur, then try running the command /usr/bin/sugar-emulator -f [20:14] i checked both of them one by one as well [20:14] okay [20:16] ankur, that is just to notice some important bash default variables [20:17] $0 is the first variable of the of the command line instruction used to call a script [20:17] and $@ is a list of everything else. [20:18] $@ stands for flag [20:18] it gave -f [20:18] as output [20:18] yes, [20:18] @ seems to be varaible for all the flags we will give [20:19] dfarning, isn't $0 always the command ? [20:19] now that we know that let's look at emulator.main and figure out what is happening. [20:19] i mean $1 $1 are the shell variables [20:19] dfarning, okay [20:20] ankur, yes they are the shell vars and $0 usually ends up being the command unless the developer does something weird. [20:22] ankur, can you find the file which contains emulator.main ? [20:23] ankur: Yes, Ankur. I think that should help. [20:24] neeraj_: Hi Neeraj. [20:24] dfarning, where can i find smulator.main() [20:24] *emulator [20:24] in [20:24] usr/share/sugar/data? is that a feasible place to look for? [20:24] i think [20:24] i can [20:24] just a sec [20:24] manusheel sir, hi.. [20:24] neeraj: Did you get a chance to study the control panel issue? [20:25] manusheel sir, yes [20:25] neeraj_: Any questions for us on that issue? [20:25] there was suppose to be a emulator.py in usr/share/sugar/shell [20:25] but there is no shell folder [20:26] i looked out that path by searching on net === neeraj_ is now known as neeraj [20:26] neeraj: This is the bug - 2. When opening the control panel some icons are cut off -- the control panel should calculate the spacing so no icons are cut off. [20:26] neeraj: Did you use Maverick Sugar for this issue? [20:26] neeraj: neeraj: This is the bug - 2. When opening the control panel some icons are cut off -- the control panel should calculate the spacing so no icons are cut off. [00:56] neeraj: Did you use Maverick Sugar for this [20:26] issue? [20:27] dfarning, no i was not able to find [20:27] ankur: Try again. [20:27] ankur: Spend sometime on it. [20:27] manusheel sir, icons in control panel are getting cropped because its not running in full screen mode. The icons are displayed acco. to assumption that sugar is running in full screen mode. [20:28] If we don't run it in full screen mode, then Items are bound to get cropped. [20:28] neeraj: Sure. [20:28] Did you send an e-mail on this issue? [20:28] dfarning, emulator.py signifies main function in emulator.py file? [20:28] ankur: Yes. [20:28] sorry , emulator.main [20:29] does emulator.main() signifies main() function in emulator file? [20:29] Though when we run it in reduced resolution, then there is an option of viewing items by using horizontal scroll bar. [20:29] ankur, a good place to start is in the install dir of sugar-jhbuild you will see all of the stuff installed by sugar.... and nothing else. [20:29] neeraj: Ok. [20:30] neeraj: We don't want to use reduced resolution. [20:30] That is not good. [20:30] manusheel sir, writing one now. I was first trying to figure out how can we modify original sugar package so that whenever we run sugar-emulator then it launches automatically in full screen mode. [20:30] ankur, emulator.main could also be a file called __init__.py in a dir name emulator/ [20:30] oops I kandarpk :-( [20:31] neeraj: Ok. That is a good direction. [20:31] manusheel sir, yes. That y we are trying to make it run in full screen mode. [20:31] bernie: No worries. Let me know your message. [20:31] bernie: I'll share it with Kandarp when he gets up in the morning tomorrow. [20:31] manusheel: for creating the patch, I think in the end we have to modify the original source of sugar folder. [20:31] manusheel: actually, I was unsure what to suggest. [20:32] neeraj: Yes, absolutely. [20:32] dfarning, okay and as i switched system some time back , i will have to check for jhbuild [20:32] just a sec [20:32] manusheel: he was in the correct branch and git log would show the history... so I was not sure why the files wouldn't show up [20:32] neeraj: We'll have to raise an issue at the bug tracker for this, and submit the patch. [20:32] manusheel sir, if I m not wrong, at present we just fixed it on our local machine by making changes in required file [20:33] manusheel: maybe someone else could try to reproduce it? we've got low bandwidth here... [20:33] neeraj: Right. [20:33] manusheel sir, +1. [20:33] bernie: Sure. [20:33] bernie: Interesting that there is an issue with that. [20:34] neeraj: You make a code patch out of our changes by doing unit testing on your local machine, and then submit the patch. [20:34] neeraj: Very much like what we do in all projects. [20:34] dfarning, preparing jhbuild on my system , might take some time [20:35] ankur, no problem. [20:35] manusheel sir, for that I was trying to find the required file in which we have to make changes. But I was nt able to find that. [20:36] dfarning, ankur can u please tell me the exact path and name of the file in which you people made changes? [20:36] sorry but I was not following irc all time.. [20:37] neeraj, the file you are looking for is /usr/share/applications/sugar-emulator.desktop ..... or something like that. [20:37] neeraj: Yes. [20:37] neeraj: Was just sending you an e-mail on it. [20:39] manusheel, I am trying to git svn clone again. [20:39] manusheel, if it works, I can just send you a tarball. [20:40] dfarning: That would be great. [20:40] dfarning: We'll try and work this out from there. [20:41] manusheel, do you understand the control panel issue. [20:42] dfarning: I don't think me and team members got a complete idea from the summary. Neeraj did try to hack on it. We were just about to send an e-mail on the list serv. [20:42] dfarning: Can we discuss that issue now? [20:43] ahh.. both me and kandarp we just browsing the folder and were unable to find the required file.. Just found the the sugar icon was sugar-emulator.desktop :) [20:43] neeraj: Great. [20:44] dfarning: regarding contol panel issue, R u facing that problem issue ? [20:44] dfarning: Sugar icons in the control panel are getting cropped because they are not running in full screen mode. The Sugar icons are displayed according to the assumption that sugar is running in full screen mode. [20:44] IMO, its was there only because the emulator was not running in full screen mode. [20:45] ^^ +1 [20:45] neeraj: Yes, this is what we arrived at. [20:45] dfarning: What are your thoughts on it? [20:46] neearj: Let us spend sometime with the file? [20:46] Try to arrive at an understanding. [20:48] dfarning, i am facing same problem :( [20:48] manusheel: I think I have found the file inside sugar source code :) [20:48] ankur: What problem are we facing? [20:48] neeraj: What is the file name? [20:48] Tell me along with the path. [20:48] its inside source/data/sugar-emulator.in [20:49] neeraj: Ok, great. [20:49] Let us try and find a solution from there. [20:49] manusheel, yes somewhere in the control panel code it is make some false assumtions about the width of the window, [20:50] manusheel, first we have to find where that assumption is being made. [20:51] dfarning: Ok, sure. [20:51] manusheel, then fix it:) [20:51] dfarning: Yes. Thanks for the pointer. [20:51] ankur: What problem are you facing? [20:51] ankur, I am looking [20:52] neeraj: So, it is a width issue that we were just discussing. [20:52] neeraj: Please make sure that we are not bargaining on the resolution. [20:52] That is very important. [20:53] dfarning: Ankur just send me a message. There is some IRC connectivity issue at his side. [20:53] Will be back. [20:54] manusheel, thanks [20:55] manusheel: ok sure :) [20:55] neeraj: Great. [21:00] sorry , it seems that i am unable to connect net to ubuntu from vbox [21:00] checking it [21:02] * ankur says there is dome problem with ubuntu settings.will check it.will see you tomorrow [21:03] gud nite to all :) [21:03] ankur, good night [21:03] neeraj, how are you comming/ [21:03] ? [21:05] dfarning: We are trying to arrive at a good conclusion on the width assumption for the cpanel. [21:05] dfarning: Neeraj is hacking at the file. [21:05] dfarning: I was trying to create a patch so that we can run emulator in full screen by default. [21:06] I will also try to hack cpanle file later. [21:07] neeraj, ok be sure to let dipkandar know you are working on the patch so he can pick up where you left off. [21:07] dfarning: in sugar-0.88 source folder, though I have found one file inside source dir/data/sugar-emulator.desktop.in file [21:08] but on building package its not updating rest of sugar-emulator.desktop file. [21:08] neeraj, yes what are the contents of that file? [21:09] dfarning: http://paste.ubuntu.com/473689/ [21:11] neeraj, in line 6 you need to add at -f flag. [21:11] does that work? [21:11] dfarning: yes, I have added the flag [21:12] but the problem is that when I run the build command its not updating the sugar-emulator.desktop file which will be used in the end. [21:15] neeraj, got it. is there a sugar-emulator.desktop.in file? [21:16] dfarning: yes. [21:16] inside data folder [21:17] neeraj, let me look. What is the url for source package on which you are working? [21:20] https://launchpad.net/ubuntu/+source/sugar-0.88/0.88.1-2ubuntu1 [21:22] neeraj, downloading [21:22] dfarning: ok [21:25] neeraj, yes you will want to edit data/sugar-emulator.desktop.in [21:26] dfarning: yes. [21:26] neeraj, from there you will have to ask lfarone if you have to do anything special to regerate sugar-emulator.desktop [21:27] dfarning: yes. I am confused how to do that. [21:27] neeraj, I don't understand the process of building sugar packages:( [21:27] dfarning: np. :) [21:28] neeraj: Let us first see if we can find documentation on that. [21:29] neeraj: If we'll be unable to find, we'll send an e-mail to Luke, and copy ubuntu-sugar team list serv on it. [21:29] neeraj: This is a common question for a lot of us. [21:29] Should be answered by CCing the list serv. [21:31] manusheel, neeraj I am going to take a nap. When I get up I will make the dextrose build system. [21:32] dfarning: Ok. [21:32] dfarning: Thank you. [21:32] dfarning: We'll continue working on the issue.