/srv/irclogs.ubuntu.com/2010/10/06/#ubuntu-sugarteam.txt

=== manusheel is now known as manusheel_afk
=== manusheel_afk is now known as manusheel
manusheelishan: Check this http://pastebin.com/KTh829tB11:39
=== mukul_afk is now known as mukul
=== mukul is now known as mukul_afk
jelknerdfarning, are you here?14:27
jelknerhas anyone seen dfarning?14:31
manusheeljelkner: Hello.15:04
jelknermanusheel, hi!15:05
manusheeljelkner: David seems to be offline at this juncture. You can send him an e-mail.15:05
jelknerThanks, manusheel, I'm doing just that right now ;-)15:05
lfaraonejelkner: unless the bug is directly related to something in the USR PPA or disk images, please file bugs against the specific packages in ubuntu15:48
thangam_arundfarning, Hii15:54
thangam_arundfarning, I am waiting for your reply for VM access to create USR for Tamil language15:55
thangam_arunmanusheel, Hii16:04
dfarningthangam_arun, I don't understand how internationalization works.  Every time I look into it my head starts to swim:(16:17
dfarningthangam_arun, I really can't be of much help16:17
dfarningthangam_arun, do you understand how to create a language specif iso?16:18
thangam_arundfarning, We are as a team trying to promote Sugar with Ubuntu16:18
thangam_arunYa, i have done customization for ubuntu-10.04 using UCK tool16:19
thangam_arundfarning, Here people in Tamil Nadu part of India speaks Tamil as the Mother tonque. So inorder reach them we need regional language support16:20
dfarningthangam_arun, hmm so you can just take a ubuntu iso and respin it with language support using UCK?16:21
* dfarning installs UCK16:21
thangam_arundfarning, i am not sure will that help16:22
thangam_arundfarning, i have not tried yet16:22
dfarningthangam_arun, ok, do you know if sugar has been translated to tamil?16:23
thangam_arundfarning, Manusheel  form seeta team refered to approach for this work16:23
thangam_arundfarning, I am the Tamil language admin for sugarlabs projects16:24
thangam_arundfarning, I have done the translation. Its 100%16:24
dfarningthangam_arun, awesome.  That is 95% of the work!16:25
thangam_arundfarning, yes :-)16:26
dfarningIan_Daniher, do you know how to make a language specific spin?16:27
thangam_arundfarning, Refer this link also:  http://translate.sugarlabs.org/ta/16:27
dfarningthangam_arun, what is the iso code for tamil?16:30
thangam_arundfarning, You mean Locale ??16:31
thangam_arunta_IN is the locale code for Tamil16:32
dfarningthangam_arun, yes(i think) the two letter code for the lang.16:32
dfarningthangam_arun, thanks16:33
thangam_arundfarning, YEs16:33
dfarningthangam_arun, ok it looks like the ta .po files are correctly migrating from pootle to git.... see http://git.sugarlabs.org/projects/sugar/repos/mainline/trees/master/po16:38
thangam_arundfarning, oh good16:40
dfarningthangam_arun, what happens if you install sugar on maverick and switch your local to ta?16:42
dfarningthangam_arun, one thing I dont understan is that the version of sugar on maverick is .88 and I don't know if pootle applied your recent translations to that version or to .90(the most recent version.16:45
thangam_arundfarning, I have no Tamil Language option in the "USR-i386-20100907.iso" image16:46
thangam_arunin .90 version the updates will be there16:47
dfarningthangam_arun, I am going to try to use UCK to add tamil to the iso as a debugging step.16:55
thangam_arundfarning, okay16:55
dfarningthangam_arun, it looks like the UCK method is working.... But I cant read tamil well enough to read the menus.17:03
dfarningthangam_arun, would you mind 1) downloading the latestest usr iso 2) using UCK to modify the usr iso to set tamil as the default lang and 3) test the modified iso.17:05
dfarningthangam_arun, if that works, I will modify the standard USR build process to make a tamil based iso by default.17:06
thangam_arundfarning, Sure17:11
thangam_arundfarning, I will that by tmw and will update you the status :-)17:12
thangam_arundfarning, Also i am willing to take part in USR creation. Would like to contribute for the same17:13
dfarningthangam_arun, if that doesn't work we will have to create an iso of sugar .90 on maverick.17:13
dfarningthangam_arun, are you familar with shell scripting?17:14
thangam_arundfarning, Yes i am Linux Sys admin17:14
dfarningthangam_arun, nice!17:15
thangam_arundfarning, i  use Linux as my Desktop/Server :-)17:15
dfarningthangam_arun, nice.  The build script is pretty straight forward.... but it contains a lot of magic and is pretty brittle.  So we can't run it automatically.  would you be interested in running builds?17:18
thangam_arunYes, I will be happy in doing this work17:19
dfarningthangam_arun, NIICE. Can you send me you ssh key so I can give you access to the build machine?17:20
thangam_arundfarning, Sure17:21
dfarningthangam_arun, are you familar with the basic concepts of building a ubuntu live CD?17:21
thangam_arundfarning, i will send through mail. is that okay?17:21
thangam_arundfarning, Yes17:22
dfarningthangam_arun, yes dfarning@gmail.com17:22
thangam_arundfarning, okay i will send in 15 minutes.17:22
thangam_arundfarning, i am taking my dinner right now. :-)17:23
dfarningthangam_arun, I m going to lunch too.  I'll be back in about an hour.17:24
thangam_arundfarning, oh ok17:24
=== mukul_afk is now known as mukul
mukulalsroot: Around?18:14
alsrootmukul: yup18:14
mukulalsroot: I intend to make some change in logging.py and give a bolean value to a new variable. Then using the bolean value I want add an alert. Can you tell me which file should I use for add the alert function?18:15
alsrootmukul: do you mean popping up an alert from logging.py?18:17
mukulYes18:17
mukulalsroot: But I guess that can't be done directly. It doesn't have the GUI functions.18:17
alsrootmukul: that will be misusing of logging.py, it is only for non-gui stuff, you need to popup alerts from more high level18:18
mukulalsroot: Yes. I'll just create a new variable in logging.py which then would be used for popping up an alert. The problem is in which gui file should I use the variable and popup the alert.18:20
thangam_arundfarning, i am back18:21
thangam_arundfarning, Also sent a mail to your gmail with public ssh key18:22
alsrootmukul: could you explain what use case you mean (with such variable in logging.py)18:22
mukulalsroot: This is what I intend to do. whenever a function logging.error or logging.warn or logging.warning or logging.exception is called. I want it to display an alert saying "The requested operation could not be performed. Please check the logviewer activity for more details.". All this is with reference to the bug#2063. Am I on the right track?18:25
mukulalsroot: This is what I made out of the conversation between bernie and eben.18:26
alsrootmukul: well dunno about the way you've chosen, for me this feature smells bad -- for me, using something like bug report is more useful -- anyway about your Q about an alert, this exactly what don't like in this bug :)18:31
alsroots/what/what I/18:31
alsrootany method I can imagine sounds ugly18:32
mukulalsroot: Ok. I agree this might not be the ideal way.18:34
alsrootmukul: I meant the your way, but this feature itself18:35
alsroots/your/not your/18:35
mukulalsroot: However, wish if you could suggest a gui file which I could use to popup an alert.18:35
alsrootmukul: alrert classes are in sugar-toolkit/src/sugar/graphic/alert.py18:36
alsrootmukul: for the place alert might be popped up, well maybe from journal18:37
mukulalsroot: Yes but there alerts are defined. I need a GUI file as was (journalactivity.py) where in I could add an alert.18:37
alsroots/might be/only/18:37
alsrootmukul: sugar/src/jarabe/journal18:38
alsrootJournalActivity is the main class18:39
mukulalsroot: One more question, when it is written import logging... which file is being imported. I mean there are multiple copies of logging.py with different paths. How do I ensure it is being imported from the one I am making changes in?18:50
alsrootmukul: python uses PYTHONPATH envar + standard paths18:52
alsroot..including current one18:52
thangam_arun dfarning, Did you receive my mail ??19:12
mukulalsroot: journalactivity.py imports logging. I have introduced the a new variable at the logging.py. But when I use the variable using logging.CHECK_ALERT , the log says " The module object has no attribute CHECK_ALERT". There are 4 logging.py file in sugar-jhbuild. Any ideas how to resolve this?19:21
alsrootmukul: btw you shouldn't override standard "logging" import, the right way is creating new module and use it instead of standard one19:23
alsrootmukul: better to avoid name clashing19:25
thangam_arun dfarning_, Did you receive my mail ??19:36
dfarning_thangam_arun,   yes, I just got back from lunch and my bike ride.19:43
thangam_arun dfarning_, oh great19:43
thangam_arun dfarning_, oh great19:43
dfarning_thangam_arun, did modifing the USR iso with UCK work?19:45
thangam_arun dfarning_, Not yet. I have to dwonload the latest ISO. I will do it my tmw19:46
thangam_aruns/my/by/19:47
dfarning_thangam_arun,  Great.  what username should I use for your account on usr.sugarlabs.org?19:48
thangam_arunthangam.arunx19:49
dfarning_thangam_arun, can you ssh thangam.arunx@usr.sugarlabs.org19:57
thangam_arundfarning, i will do that now19:57
thangam_arundfarning, I just logged in19:59
dfarning_thangam_arun, can you sudo?20:01
thangam_arundfarning, Yes, i can20:02
=== mukul is now known as mukul_afk
dfarning_thangam_arun, great you will need to sudo to do a build.20:02
thangam_arundfarning, Oh okay20:03
dfarning_all of the build stuff is in my home dir under the usr dir.  can you copy that dir to your home dir, change the chown to your account and try to run a build?20:04
dfarning_thangam_arun, 'sudo ./usr-scratch.sh all i386' is the incantation to run a build.20:05
thangam_arunsure sure20:06
dfarning_thangam_arun, I think user-scratch is pretty straight forward for a sysadmin with a knowledge of customzation.20:08
thangam_arundfarning, Yes,  should be20:08
thangam_arundfarning, i have to copy the "usr" dir or "usr-scratch.sh" file alone ??20:12
thangam_arundfarning, the build folder is 4.8GB size20:13
dfarning_thangam_arun, you need usr-scratch and template/20:18
thangam_arundfarning, ok fine20:18
dfarning_thangam_arun, but the script might die. becuase of missing dir that you will have to add by hand.... or better yet have the script create the dirs as necessary20:20
thangam_arunoh ok20:20
thangam_arundfarning,thse dir's build/  logs/  output/ ??20:21
thangam_aruns/thse/these20:21
dfarning_thangam_arun, I just deleted the contents of build. so yo can copy the whole usr dir.20:23
thangam_arundfarning, oh ok20:24
dfarning_thangam_arun, to reduce network load I cache everything between builds20:24
thangam_arundfarning, ok20:25
dfarning_thangam_arun, build/ contains the chroot and image for a build of each arch20:25
dfarning_output/ contains the isos20:25
dfarning_logs/ contain the build logs20:26
thangam_arundfarning, All right20:26
dfarning_tempplate/ contains some file to prime the process.20:26
dfarning_thangam_arun, I think there are about 25G free on the harddrive so space is not too much of an issue20:27
thangam_arundfarning, ok ok20:29
thangam_arundfarning, Sugar-88 is not yet added to ubuntu maverick repo ??20:45
thangam_arundfarning, Some of the packages were need to be added in order to have suagr-0.88  or ??20:46
dfarning_thangam_arun, everything should be coming from maverick universe.20:46
thangam_arundfarning, In the script the default version is suagr-0.8620:47
dfarning_thangam_arun, where? sugar is install in line 13420:48
thangam_arunyes in 13520:49
dfarning_thangam_arun, line 135 installs a group of activites20:50
dfarning_thangam_arun, core is installed in 134.20:50
thangam_arunbernie, oh ok. then the versio is 0.88 or 0.86 ?20:51
thangam_arundfarning, oh ok. then the versio is 0.88 or 0.86 ?20:52
thangam_aruns/versio/version20:52
dfarning_thangam_arun, actually as your first change to the script you can delete line 135.  all of the activites are now included as part of usr-meta20:52
dfarning_thangam_arun,  it is .88.  there are a couple of activities name sugar-*activity-0.86 this is just a quirk that mean that activity only runs on ).86 or later.20:54
thangam_arundfarning, ok fine20:54
thangam_arundfarning, i will do that20:54
dfarning_thangam_arun, there was an api change between .84 and .86 which broke a bunch of activities20:55
thangam_arundfarning, Okay20:56
dfarning_thangam_arun,  sugar-ubuntu-remix is the equivlent of installing ubuntu-desktop or ubuntu-netbook20:58
thangam_arundfarning, Fine, What else got added if you use "sugar-ubuntu-remix" other then "ubuntu-desktop or ubuntu-netbook" ??20:59
dfarning_thangam_arun, it contain the entire distro stack.  the casper, prober,ubiquity... stuff is for the live cd and installer21:00
thangam_arundfarning, Oh okay21:00
dfarning_thangam_arun, sugar-ubuntu-remix is auto generated from a seed file21:01
dfarning_thangam_arun, see http://usr.sugarlabs.org/seeds/ubuntu-sugar-remix.maverick/ubuntu-sugar-remix21:01
thangam_arundfarning, yes21:02
dfarning_thangam_arun, most of it is a very standard ubuntu install there are a couple of sugar specif stuff in the last 20 lines (or so)21:03
thangam_arundfarning, ok21:03
dfarning_thangam_arun, we have removed a couple of things to save space.21:03
dfarning_thangam_arun, the usr seed file is a very slightly modified from the seed file used by ubuntu-netbook21:05
thangam_arundfarning, Okay21:05
dfarning_thangam_arun, this means that usr will run on every machine on which ubuntu runs:)21:06
thangam_arundfarning, got  it21:06
dfarning_thangam_arun, the use of the -meta, -setting, and other seed files is a bit convoluted.  The goal was for the build system to exactly match the upstream ubuntu build process.21:11
dfarning_thangam_arun, this will allow us to add USR to the upstream ubuntu build farm with little modification.21:12
thangam_arundfarning, to avoid the build breakups ?21:12
thangam_arundfarning, thats good21:12
dfarning_thangam_arun, my goal is for USR to be a 'community supported distro' for 11.04 and a 'canonical supported distro' by 11.1021:14
dfarning_thangam_arun, 11.10 will be a LTS release:)21:14
thangam_arundfarning, Okay21:14
thangam_arundfarning, Here in India its 2 am now :-)21:21
dfarning_thangam_arun, time for bed:)  ping me tomorrow with any more questions.21:22
thangam_arundfarning, Sure21:22
thangam_arundfarning, Thanks a lot for your kind support21:22
thangam_arundfarning, Gud night21:22
dfarning_thangam_arun, good night. I hope we can be of use to you.21:24
thangam_arundfarning, Yes Really :-)21:24
thangam_arundfarning,See you tmw21:24

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