=== mukul_afk is now known as mukul | ||
=== manusheel_afk is now known as manusheel | ||
manusheel | http://activities.sugarlabs.org/en-US/sugar/addons/versions/4082 | 12:21 |
---|---|---|
mukul | hi alsroot | 12:32 |
alsroot | mukul: hi | 12:32 |
mukul | alsroot, 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 |
alsroot | mukul: 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 |
mukul | http://typewith.me/GE7h2HNQJ0 | 12:37 |
mukul | alsroot, so changes should be made in journalactivity.py right? | 12:38 |
alsroot | mukul: that was just my imho | 12:38 |
mukul | alsroot, Ok. | 12:39 |
mukul | Can you give me an example how to raise an exception from misc? | 12:39 |
mukul | Should I create an Extra Variable and check? | 12:40 |
anubhav | alsroot: hi | 12:42 |
alsroot | anubhav: hi | 12:42 |
anubhav | alsroot: i am working on bug #2164 (Downgrading activities not allowed) | 12:43 |
ubot2 | Launchpad bug 2164 in launchpad-foundations "Login form should ask for e-mail address only once (heat: 1)" [Medium,Fix released] https://launchpad.net/bugs/2164 | 12:43 |
alsroot | mukul: 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) installed | 12:44 |
anubhav | alsroot:i was looking at bundleregistry file in model in jarabe folder is it the right location | 12:44 |
alsroot | anubhav: yup, it is only one place where buncldes could be installed | 12:45 |
alsroot | mukul: s/installed/launched/ | 12:46 |
anubhav | alsroot: actually i made changes in the file but the alreadyInstalledException is not thrown in the sugar emulator and XO1.5 | 12:47 |
alsroot | anubhav: but is it fine if bundles will be silently downgraded | 12:48 |
anubhav | alsroot: yes but, they are downgraded and no exception in the logs as shown in the bug | 12:49 |
alsroot | anubhav: 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 useful | 12:51 |
=== mukul is now known as mukul_afk | ||
=== mukul_afk is now known as mukul | ||
* dipankar is away: Away | 16: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!