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

=== mukul_afk is now known as mukul
=== manusheel_afk is now known as manusheel
manusheelhttp://activities.sugarlabs.org/en-US/sugar/addons/versions/408212:21
mukulhi alsroot12:32
alsrootmukul: hi12:32
mukulalsroot, I am trying to add an alert whenever a file fails to startup as a result of no activity to run the file. I'm making changes to misc.py. Firstly, Am I making the changes in the correct file? Secondly, if you could check my changes in the code.12:35
alsrootmukul: misc.py might be wrong place for alerts (it could raise an exception which will be processed in ui part ie in journal). What code you mean?12:37
mukulhttp://typewith.me/GE7h2HNQJ012:37
mukulalsroot, so changes should be made in journalactivity.py right?12:38
alsrootmukul: that was just my imho12:38
mukulalsroot, Ok.12:39
mukulCan you give me an example how to raise an exception from misc?12:39
mukulShould I create an Extra Variable and check?12:40
anubhavalsroot: hi12:42
alsrootanubhav: hi12:42
anubhavalsroot: i am working on bug #2164 (Downgrading activities not allowed)12:43
ubot2Launchpad bug 2164 in launchpad-foundations "Login form should ask for e-mail address only once (heat: 1)" [Medium,Fix released] https://launchpad.net/bugs/216412:43
alsrootmukul: maybe at the end exception is not good (there could some code that doesn't catch it), you can just return boolean flag to state that bundle was(not) installed12:44
anubhavalsroot:i was looking at bundleregistry file in model in jarabe folder is it the right location12:44
alsrootanubhav: yup, it is only one place where buncldes could be installed12:45
alsrootmukul: s/installed/launched/12:46
anubhavalsroot: actually i made changes in the file but the alreadyInstalledException is not thrown in the sugar emulator and XO1.512:47
alsrootanubhav: but is it fine if bundles will be silently downgraded12:48
anubhavalsroot: yes but,  they are downgraded and no exception in the logs as shown in the bug12:49
alsrootanubhav: I mean maybe better to popup confirmation alert, btw it could invasive in case of user experience and having replies to email sent to sugar-devel@ w/ tag [DESIGN] will be useful12:51
=== mukul is now known as mukul_afk
=== mukul_afk is now known as mukul
* dipankar is away: Away16:40
=== mukul is now known as mukul_afk
=== dfarning is now known as dfarning_afk

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