/srv/irclogs.ubuntu.com/2010/11/01/#ubuntu-sugarteam.txt

=== satellit_afk is now known as satellit_
=== satellit_ is now known as satellit_afk
=== manusheel is now known as manusheel_afk
satellitUSR-1010ubuntu 10.10 installed to 250 GB external USB HD. with sudo-apt-get install ubuntu-sugar-remix08:29
satellitUSR-1010seems to work fine.....congratulations08:29
satellit_afkfirefox 6 still fails to quit correctly ( It is not properly sugarized) get pulsing icon for about a minute then message "Firefox failed to start" (Stop) which works08:33
=== satellit_afk is now known as satellit_
dfarningsatellit_, yes thangam_arun is going to be doing the builds.11:59
satellit_dfarning: did you see my report on Ubuntu 10.10 and 10.04 installs with USR?12:04
satellit_sent it by e-mail12:05
thangam_arundfarning: Any solution for ssh login ??12:09
thangam_arundfarning: I have to go out for course 7-10 Indian Time12:10
thangam_arundfarning: see you later in the night12:10
anubhavalsroot: hi14:04
alsrootanubhav: hi14:04
anubhavalsroot: i am working on followinf feature request http://wiki.sugarlabs.org/go/Features/Write_to_journal_anytime14:05
anubhavalsroot: the flowchart  which is being followed  1. activity.py(sugar.activity)  --  wm (sugar)  -- shell.py ( jarabe.model ) (Activity class whose objects are cretaed when we clich in the forum) --frame .py -- palettes.py(jarabe.view)  we are getting the activity id and bundle id which is transfered from wm as an property of window but we need a datastore object from activity ( activity.py is saving that object in .sugar d14:05
anubhavalsroot: I tried making a static list in activity.py to save all the running instance by appending self but i was not able to succeed could you give me any pointers regarding this14:05
alsrootanubhav: in my mind it is wrong way, you need to add to ActivityService (see sugar-toolkit) new dbus method Save and call it from the Shell14:09
alsrootanubhav: should should not track what objects_id is being used for what actiivty, instead, it just asks activity to save its status14:09
alsroots/should should/shell should/14:10
alsrootanubhav: btw do you work in close cooperation w/ walterbender (on #sugar) who is an dev/coordinator of http://wiki.sugarlabs.org/go/Features/Write_to_journal_anytime14:14
anubhavalsroot: but for calling save from shell.py , shell.py must have the current metadata  for the object or the jobject but shell .py doesn't have that14:14
alsrootanubhav: should should not have it, it just calls Save() w/o any arguments, only actiivty itself knows what is current object(metadata)14:15
alsroot*shell14:15
anubhavalsroot: but from where do we get the activity , shell.py does not have an instance of activity ( it only has the window of activity and not an object of sugar.activity.Activity) and for calling ActivityServices we need an insytance of sugar.activity.Activity14:19
alsrootanubhav: ActivityService is a class to wrap dbus service, so shell calls it via dbus. see how shell is doing that (by grepping how it calls ActivityService's dbus methods) and do the same for Save()14:21
alsrootanubhav: what about walterbender? did you contact w/ him, he may already coded this14:22
anubhavalsroot: no, i did not contact him ,14:23
alsrootanubhav: so do it :), of couse having several implementation is good, but..14:24
anubhavalsroot: sure , i will soon get in touch with him14:24
anubhavalsroot: thanks14:25
alsrootnp14:25
=== manusheel_afk is now known as manusheel
USR-10-04LTSdfarning: I just edited Ubuntu wiki.ubuntu.com  for install to 10.04LTS16:42
anubhavalsroot: hi16:47
alsrootanubhav: do not ask to ask, just ask :)16:48
anubhavalsroot: tried following script but didn't work http://paste.ubuntu.com/523945/ could you provide pointers on that16:50
alsrootanubhav: what is your plan?16:53
anubhavalsroot: when we click on the panell button on write to jounral this shell.py fuction is callled to give the namingalert.py the metadata16:54
anubhavalsroot: as when the signal of the click sends an object of shell.activity with it16:55
alsrootanubhav: but if got Feature page right, it is exactly about avoiding name alert?16:55
alsrootanubhav: hint, walterbender is online on #sugar16:55
anubhavalsroot : thanks, will talk to him right away16:56
alsrootanubhav: btw do you mean to popup an alert from shell?16:56
anubhavalsroot: i meant calling namingalert.py on palattes.py with the metadata got from shell.py -- activityservice.py16:58
anubhavalsroot : s/on /in16:58
alsrootanubhav: as I said, you don't need to pass metadata from activity to shell, just call Save() from shell to let activity do what it prefers to save an jobject16:59
anubhavalsroot: my first concirn is getting to activityservice.py as any logging.debug is also not called17:01
anubhavalsroot: in Getmetadata function17:01
alsrootanubhav: if sugar doesn't log any error, your code never starts or it was called17:03
anubhavalsroot:  and also if i use save() function then original script of namingalert.py cannot be used17:03
alsrootanubhav: why? you have an activity instance, so it should be possible to popup an alert17:04
anubhavalsroot: it needs the metadata of the activity the instance that we have in palettes.py is of shell.Activity hence no metadata in it17:05
anubhavalsroot: it is quoting an error as  UnknownMethodException: org.freedesktop.DBus.Error.UnknownMethod: Unknown method: Getmetadata is not a valid method of interface org.laptop.Activity17:07
alsrootanubhav: I was talking about activity object on activity side, sugar.activity.Activity has metadata property17:07
alsrootanubhav: the key phrase "Getmetadata is not a valid method", it should be GetmetaData (more exactly Save)17:08
alsrootanubhav: hmm, forget about "Getmetadata is not..."17:09
alsrootanubhav: isn't it "GetMetadata"17:10
anubhavalsroot: yes.. bad name calling now the logging .debug is working over there thanks17:13
=== mukul_afk is now known as mukul
satellit_defarning: what is a good installer to use with Ubuntu10.04LTS I have Maple-syrup v02-v03 and I only have the 4GB limit from Startup Disk Creator available Is there a "liveinst"(Anaconda in Fedora) type program I can install?20:12
=== mukul is now known as mukul_afk
=== mukul_afk is now known as mukul
M-syrup-8GBUSBrunning Maple-syrup v02-v03 on 8 GB USB23:10
M-syrup-8GBUSBafter a large number of updates23:10
=== mukul is now known as mukul_afk

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