Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate

#sugar-newbies, 2010-10-06

 « Previous day | Index | Today | Next day »     Channels | Search | Join

All times shown according to UTC.

Time Nick Message
02:12 tabs <tabs!~Tabitha@203.110.5.16> has joined #sugar-newbies
03:31 tabs has quit IRC
03:36 manusheel is now known as manusheel_afk
05:02 walterbender <walterbender!~chatzilla@201.192.97.46> has joined #sugar-newbies
05:20 walterbender has quit IRC
07:14 MephistoM <MephistoM!~mykmak@70.25.20.46> has joined #sugar-newbies
07:14 MephistoM got some great news for you guys
07:15 I've figured out a way to make SUGAR on a stick to be loadable (with just a click!)
07:15 in a windows environment
07:15 who should I talk to bout sharing/ideas/feedback?
07:18 alsroot satellit_: ^
07:20 MephistoM: there is also some info on http://wiki.sugarlabs.org/go/Downloads#MS_Windows
07:32 MephistoM lol yup :) but one of the problems that teachers I was talking to is that they don't want to/know how to access the bios.  Instead, we are using virtualization within windows
07:35 alsroot MephistoM: so, you can accomplish these wiki instructions to make life easier for other people ;)
07:38 MephistoM: to week wiki you just need to login on http://wiki.sugarlabs.org/inde[…]ecial:OpenIDLogin via OpenID
07:38 MephistoM: and start tweaking/composing wiki pages
07:39 MephistoM: there are also VirtualBox how-to on wiki, you can tweak them as well
07:40 MephistoM: satellit_ knows more about this part of sugar (but looks like he is afk)
09:01 manusheel_afk is now known as manusheel
10:08 ishan <ishan!~ishan@115.240.115.141> has joined #sugar-newbies
10:20 anuragc <anuragc!~anurag@115.240.105.152> has joined #sugar-newbies
10:39 manusheel ishan: How about this - http://pastebin.com/KTh829tB
10:41 ishan manusheel, how about adding the check as if the language is still same then pass else recall the get translation function
10:41 manusheel ishan: Yes, makes sense.
10:42 ishan: +1
10:44 ishan: Try to do this, and get back to me with the result.
10:45 ishan manusheel, sir i am confused as to where this check has to be added
10:49 mukul_afk is now known as mukul
10:53 mukul hi alsroot
10:53 alsroot mukul: hi
10:53 mukul alsroot: Can you give me some pointers on sl 2063
10:55 alsroot mukul: where are you stuck?
10:55 ..in your investigation
10:58 mukul alsroot: From what I have understood, I have to make some kind of an ErrorAlert whenever a specific action could not be performed by the user. But I have not understood, where exactly the code has to be modified. Where exactly an incomplete event is logged?
11:00 alsroot: how to know whether an unhandled python exception has occured?
11:01 alsroot mukul: did you discuss your plan w/ designers (would be useful before implementation)
11:02 doesn't have any ideas about this feature, it sounds too impractical for me, at least for now
11:08 mukul alsroot: ok
11:15 MephistoM has left #sugar-newbies
11:50 dipankar <dipankar!~dipankar@120.56.165.76> has joined #sugar-newbies
12:40 walterbender <walterbender!~chatzilla@201.192.97.46> has joined #sugar-newbies
12:47 ayushg <ayushg!~ayush@59.177.14.45> has joined #sugar-newbies
12:55 ishan has quit IRC
12:55 ishan <ishan!~ishan@115.240.115.141> has joined #sugar-newbies
12:56 mukul is now known as mukul_afk
12:57 ayushg has quit IRC
13:01 ayushg <ayushg!~ayush@120.56.139.237> has joined #sugar-newbies
13:04 dipankar has quit IRC
13:07 ayushg has quit IRC
13:12 ayushg <ayushg!~ayush@59.177.5.95> has joined #sugar-newbies
13:16 walterbender has quit IRC
13:17 anuragc alsroot: hello
13:18 alsroot anuragc: hi
13:21 anuragc alsroot: i was trying to test some of my code changes directly on a xo but they dont seem to reflect in the changes , is it possible to directly change the code and work out for bugs directly in a xo?
13:22 alsroot anuragc: if these are changes in sugar itlsef, you need to restart it (for activities, restart only activity)
13:22 anuragc these are sugar realted in sugar.graphics
13:23 related*
13:23 alsroot anuragc: restart sugar
13:23 anuragc so i think i will need to restart the xo
13:23 sure , thanks
13:24 alsroot anuragc: btw you don't need to restart XO, just sugar. try in Terminal or in console, `init 3` then from console, `init 5`
13:24 ..in Terminal, you need to be root
13:24 ayush_ <ayush_!~ayushg@59.177.10.54> has joined #sugar-newbies
13:25 ayushg has quit IRC
13:25 ayush_ is now known as ayushg
13:30 ishan has quit IRC
13:37 anuragc has quit IRC
13:48 anuragc <anuragc!~anurag@115.242.45.127> has joined #sugar-newbies
14:07 ayushg has quit IRC
14:15 walterbender <walterbender!~chatzilla@201.192.97.46> has joined #sugar-newbies
14:28 walterbender has quit IRC
15:30 ayushg <ayushg!~ayushg@59.177.13.155> has joined #sugar-newbies
16:03 ayushg has quit IRC
16:03 ayushg <ayushg!~ayushg@59.177.13.155> has joined #sugar-newbies
16:34 anuragc has quit IRC
16:45 mukul_afk is now known as mukul
16:46 shan <shan!73f05d75@gateway/web/freenode/ip.115.240.93.117> has joined #sugar-newbies
16:54 anuragc <anuragc!~anurag@115.242.21.156> has joined #sugar-newbies
17:09 anuragc has quit IRC
17:15 shan has quit IRC
17:19 shachi__ <shachi__!~shachi@122.163.131.13> has joined #sugar-newbies
17:51 shachi__ has quit IRC
17:56 shan <shan!~cuil@115.240.93.117> has joined #sugar-newbies
17:56 shan alsroot, hi
17:57 ishan <ishan!~ishan@115.242.75.128> has joined #sugar-newbies
17:58 alsroot shan: hi
17:58 shan is bundle id unique for each activity or for each activity version ?
17:58 alsroot shan: bundle_id is unique only activity, ie the same for all verisons
17:59 shan okay, i thought so, just confirming. thanks
18:58 ayushg has quit IRC
19:02 mukul is now known as mukul_afk
19:19 shan has quit IRC
19:22 shan <shan!~cuil@115.240.93.117> has joined #sugar-newbies
19:51 shan has quit IRC
19:54 ishan_ <ishan_!~ishan@115.242.75.128> has joined #sugar-newbies
19:55 ishan_ has left #sugar-newbies
20:06 shan <shan!~cuil@115.240.62.81> has joined #sugar-newbies
20:16 tabs <tabs!~Tabitha@203.110.5.16> has joined #sugar-newbies
20:19 shan alsroot, there?
20:20 alsroot shan: yup
20:20 shan what would be the difference between registry.install(bundle, metadata['uid']) and registry.install(bundle)
20:20 ?
20:22 registry = bundleregistry.get_registry()
20:22 in journal activity
20:23 alsroot shan: you can answer to your question by looking to install() sources :)
20:23 ishan has quit IRC
20:24 shan i already had a look there, confused about metadata.
20:26 alsroot shan: what do you mean?
20:27 shan alsroot, i am getting confused about issue 2164, could you help me out a bit, i could explain you the situation, and the problem i am facing.
20:30 alsroot shan: what is your implementation plan for this bug?
20:33 shan alsroot, in bundleregistry, where the AlreadyInstalledException is raised, i plan to use the exception handler in journalactvity.py , just as similar to registrationexception
20:35 alsroot shan: ok, whats the problem you've encountered?
20:36 shan just as registrationexception goes to to its handler in journalactivity.py, i am unable to get AlreadyInstalledException in that.
20:37 in its handler so that in log we get Could not install bundle .... even when alreadyinstalledexception is caught.
20:42 alsroot shan: did you find the place where install() invoked?
20:44 shan it is called in _check_for_bundle(...) in journalactivity.py
20:46 alsroot shan: put debug output to make sure that "AlreadyInstalledException" will be thrown for from "registry.install(bundle)" and and processed in except block
21:00 shan yeah, i tried doing that, what i did was, imported AlreadyInstalledException from bundle.py in journalactivity as it is not already imported
21:01 then modified  this -->  except (ZipExtractException, RegistrationException):
21:01 to --> except (ZipExtractException, RegistrationException, AlreadyInstalledException)
21:02 alsroot shan: and what you got?
21:04 shan the logging.exception isn't getting executed.
21:04 instead in the logs it just shows AlreadyInstalledActivityException
21:06 alsroot shan: so, I guess you found wrong install() invocation then
21:11 shan http://pastebin.com/Md8v4kN0
21:11 alsroot, do take a look at the above pastebin link
21:13 alsroot shan: and didn't get any errors in shell.log while executing this code?
21:15 shan nope, i imported AlreadyInstalledException from bundle.py
21:16 alsroot shan: but code uses "AlreadyInstalledActivit" not "AlreadyInstalledException"
21:16 shan and changed to except (ZipExtractException, RegistrationException, AlreadyInstalledException *):
21:16 * is out of the box
21:16 i just saw that
21:17 alsroot shan: you didn't get "Could not install bundle" for already install actiivty?
21:17 *installed
21:18 shan alsroot, no why do you ask so?
21:20 alsroot shan: if except block didn't process AlreadyInstalledException, you need to find another install() invocation in code
21:22 shan okay.
21:23 alsroot ..because AlreadyInstalledException was thrown from another install()
21:26 shan has quit IRC
21:28 shan <shan!~cuil@115.240.93.175> has joined #sugar-newbies
21:29 shan alsroot, the final fucntions being called will be the same whether we install a activity using terminal or journal . right?
21:31 alsroot shan: yes, if you are talking about BundleRegistry.install
21:32 shan: nope looks like, sugar-install-bundle command uses Bundle.install directly
22:33 shan has quit IRC
22:34 shan <shan!~cuil@115.240.93.175> has joined #sugar-newbies
22:34 shan alsroot, hey, i think i found the file it should be misc.py in journal. Could you please have a look?
23:44 walterbender <walterbender!~chatzilla@201.192.97.46> has joined #sugar-newbies

 « Previous day | Index | Today | Next day »     Channels | Search | Join

Powered by ilbot/Modified.
Webmaster