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

#sugar-newbies, 2016-07-07

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

All times shown according to UTC.

Time Nick Message
10:58 meeting <meeting!~sugaroid@rev-18-85-44-69.sugarlabs.org> has joined #sugar-newbies
16:12 iamutkarshtiwari <iamutkarshtiwari!0e8bee62@gateway/web/freenode/ip.> has joined #sugar-newbies
16:21 iamutkarshtiwari has quit IRC
16:38 iamutkarshtiwari <iamutkarshtiwari!0e8bee62@gateway/web/freenode/ip.> has joined #sugar-newbies
16:45 iamutkarshtiwari has quit IRC
16:49 iamutkarshtiwari <iamutkarshtiwari!0e8bee62@gateway/web/freenode/ip.> has joined #sugar-newbies
17:01 tony37 <tony37!~tony@78-0-102-222.adsl.net.t-com.hr> has joined #sugar-newbies
17:02 tony37 hello
17:02 iamutkarshtiwari Hello
17:02 #startmeeting
17:02 meeting Meeting started Thu Jul  7 17:02:31 2016 UTC. The chair is iamutkarshtiwari. Information about MeetBot at http://wiki.debian.org/MeetBot.
17:02 Useful Commands: #action #agreed #help #info #idea #link #topic #endmeeting
17:02 iamutkarshtiwari Did you test the 'resume activity' patch on your XO ?
17:03 tony37 I tried the resume on my xo-1.75. I went into a reboot loop.
17:03 iamutkarshtiwari How will you fix that?
17:04 tony37 Probably reflash the laptop
17:04 iamutkarshtiwari Where did you place those files?
17:04 Could you please elaborate?
17:04 tony37 Unfortunately, to get internet access I have to move to the restaurant and so only have my ubuntu laptop
17:06 hello
17:06 in /usr/lib/python2.7/site-packages/jarabe/desktop for the three python files and /usr/share/glib2.0/schemas for the xml file
17:06 iamutkarshtiwari Locations are right. Bootloop is strange. :?
17:07 :/
17:07 Is there any other place where gsettings' xml are placed?
17:07 tony37 sorry, talking to a person here
17:08 iamutkarshtiwari It's ok.
17:08 tony37 I doubt the gsettings schema is the problem. The python files are used to display the home page. If there is a problem, this bootloop seems to happen.
17:08 Probably an exception and so the software retries.
17:09 iamutkarshtiwari Possiblity is that the .xml need to placed in some other location besides - /usr/share/glib2.0/schemas
17:09 I need to figure that out.
17:09 tony37 What you did on the schema looks ok. Did you try the files on your xo-1.75?
17:10 iamutkarshtiwari What was the error you were facing on your Ubuntu Sugar ?
17:10 Nopes :P
17:10 Now I am afraid to :D
17:11 tony37 It simply didn't work. I got the default resume behavior whether the setting was set to true or to false. I tried to reboot to see if that was necessary to enable the settings. That also made no difference
17:12 Also the gsetting command line got an error 'no resume-activity setting found'
17:13 iamutkarshtiwari I got it.
17:13 There is another location where this files need to be placed.
17:13 Give me a moment.
17:15 in my sugar-build
17:15 there is a location "sugar-build/sugar/data"
17:16 Try pasting that xml file into that ^ folder
17:16 And copy those python files in
17:17 sugar-build/sugar/src/jarabe/desktop
17:18 tony37 Naturally, I don't have the sugar-build and so that is not possible.
17:19 iamutkarshtiwari I meant try the above ^ steps on your Ubuntu Sugar
17:19 Meanwhile I'll try to figure out the fix for the XO bootloop.
17:20 This feature is almost complete. It just a discrepancy with .xml path which I'll fix.
17:20 tony37 Why do you believe my problem was caused by the gsettings xml file?
17:20 iamutkarshtiwari Because when the homewindow.py
17:20 file is executed
17:21 it call Gio.gsettings('org.sugarlabs.user')
17:21 setting.get_boolean('resume-activity')
17:21 If it won't be able to find that^ boolean in the schema
17:21 tony37 and this may cause an exception
17:22 iamutkarshtiwari It;s will probably give an exception
17:22 Yes.
17:22 tony37 Again, did you test this on the xo-1.75?
17:22 iamutkarshtiwari Don't worry I'll find the fix for this bootloop.
17:22 No. I just tested it on my sugar-build
17:23 It was working fine so couldn't wait to share it with you.
17:23 tony37 Test it on the xo-1.75. When that works send me the files and I'll give it a test.
17:23 iamutkarshtiwari Ok
17:23 #SaveAs
17:23 tony37 Go
17:24 iamutkarshtiwari Was it performing the operations exactly as you expected?
17:24 tony37 Yes
17:24 iamutkarshtiwari You
17:24 wanted some changes
17:24 in the UI ?
17:24 tony37 On the alert
17:26 iamutkarshtiwari I read you mail.
17:26 I'll change the UI as you ask.
17:26 I also have to port 'sugar-toolkit's activity.py file for the same.
17:27 tony37 Is the alert designed so that you control the text?
17:28 iamutkarshtiwari Yes. I can change the text on the alert exactly as you would want me to.
17:28 ;)
17:28 tony37 OK - but you need to make the same changes for the sugar case?
17:28 iamutkarshtiwari Like?
17:28 sugar case?
17:28 tony37 vs sugar3
17:29 iamutkarshtiwari yes. 'sugar-toolkit' is based on gtk whereas 'sugar-toolkit-gtk3' is based on Gtk3
17:29 tony37 right
17:30 iamutkarshtiwari I can port that easily.
17:30 Will send you a patch by tomorrow for 'sugar-toolkit'
17:30 tony37 Next?
17:30 iamutkarshtiwari #GetSlicer
17:30 tony37 go
17:30 iamutkarshtiwari &InfoSlicer.
17:30 How shall I proceed with them?
17:31 Let's first discuss about 'GetSlicer
17:31 #GetSlicer
17:31 tony37 You need to read the code and determine how the internet is being accessed. In my brief scan, it looks like there is a hook for accessing a school server
17:32 I think it is infoslicer - the other one is getBooks
17:32 iamutkarshtiwari GetBooks* sorry :D
17:32 tony37 Since Walter wrote both, the mechanisms should be similar
17:33 iamutkarshtiwari What changes do I need to do to #GetBooks? Both in UI and backend?
17:33 tony37 The goal is to allow a user of getBooks to get the books from the school server instead of the internet
17:34 iamutkarshtiwari For that we need to provide an option in the UI for providing
17:34 the url to the school server content ?
17:35 tony37 Exactly. The school server will probably have more than one collection of ebooks (e.g. Gutenberg collection, Rachel, Ole Nepal
17:36 iamutkarshtiwari And from that url (of the school server) the activity will browse and carry on itself?
17:37 tony37 Look at the existing activity, it also provides for access of ebooks from different collections
17:37 iamutkarshtiwari I just need to provide the feature to specify the url of the school server and to opt between internet/school server
17:37 tony37 Agreed. Probably the activity should check school server connectivity or internet connectivity.
17:38 Again, don't make the user take an action when the necessary information is available to the activity
17:38 iamutkarshtiwari If internet not availabe then it should resort to school server ?
17:39 What necessary information?
17:39 tony37 What collections are accessible.
17:39 iamutkarshtiwari Ok
17:39 tony37 Some schoolservers provide access to the internet (internet sharing)
17:40 You should be able to leverage the existing code and UX for most of this
17:40 iamutkarshtiwari How to handle this case? - "some schoolserver provide access to the internet (internet sharing)"
17:41 tony37 This means that a url like http://www.google.com gets a response along with http;//schoolserver/gutenberg
17:41 Look at the code and see how it provides a list of sources - add the schoolserver to this list
17:42 iamutkarshtiwari Besides Raspberry pi what else do I need to buy for testing purpose?
17:43 tony37 If the schoolserver is available then it should be accessible
17:43 Raspberry Pi 3 includes internal wifi plus an ethernet port. The earlier versions have only an ethernet port. XSCE has software support which can be downloaded
17:44 So for an RPI 3 - only an AC adapter and case is needed (RPi has a standard case which is quite handy).
17:45 iamutkarshtiwari Do the manufacturers provide AC adapters with RPI 3 ?
17:45 tony37 For immediate testing, I would recommend adding e-pustakalaya to the available sources (http://www.olenepal.org and then go to pustakalya)
17:46 I believe the AC adapter is extra, the RPI can be powered by usb but draws enough current that the recommended solution is a powered usb hub
17:46 You would need a usb-micro usb cable (like the ones used to charge phones)
17:47 iamutkarshtiwari Will 64Gb micro SD card suffice ?
17:47 tony37 Yes, but the bigger the better because you will want to put the book collections on the sd card.
17:48 The software takes a small part of the space
17:48 iamutkarshtiwari To summarize - I need a 'RPI 3' , micro SD card, usb cable
17:48 and for the downloads - I need to download -
17:48 tony37 I think also a powered usb hub
17:48 iamutkarshtiwari 1) XSCE software for RPI 3
17:49 2) ?
17:49 tony37 Yes - there are many configurations of that software so when you have an RPI ready, we can work with the XSCE folks to get what you need
17:49 iamutkarshtiwari Where will I download the school server content from ?
17:49 tony37 I can provide you with that
17:50 iamutkarshtiwari How?
17:50 tony37 However, XSCE also has copies of most of the content.
17:51 Currently, XSCE uses a Kiwix server to deliver the Gutenberg books from a compressed file set. Rachel is accessed by standard html links. XSCE does not provide pustakalaya
17:52 iamutkarshtiwari How would we the size of the complete school server content?
17:52 An estimate ?
17:53 tony37 The full set of content includes a lot beyond ebooks and is currently about 500GB total. However, for testing purposes you only need to load the content you are working with and which fits the card you have
17:54 iamutkarshtiwari You mean I'll download only a sampled data out of 500gb which would be around 50gb (based on the 64gb card i'll will use) ?
17:55 tony37 That is possible - but will take some work at both ends to set up
17:55 iamutkarshtiwari both ends?
17:55 tony37 The source end and your end
17:55 iamutkarshtiwari oh..
17:57 We'll try to wrap up 'save as'  and 'resume activity' by 10 July.
17:57 tony37 Where are we with Fiddler?
17:57 iamutkarshtiwari After that we'll start with #GetBooks
17:57 #Fiddler
17:58 You said that 'Open' option was working fine at your end?
17:58 In one of your last 'fiddler' mails*
17:58 tony37 yes - so far as I remember everything worked.
17:58 iamutkarshtiwari Toggle is working fine.
17:58 Open is working fine.
17:59 Prettifying had already been achieved with BS
17:59 except the JS part.
17:59 Right?
18:00 tony37 JS is also cool
18:00 As far as I know, I only had some cosmetic concerns
18:00 iamutkarshtiwari How did you prettify JS ? AFAIK BS is not capable of prettifying JS code ?
18:01 tony37 What is written is good enough. It doesn't give one long line as before
18:01 iamutkarshtiwari By 'cosmetic concerns' you mean ~ the toolbar icons svgs?
18:02 tony37 This I think we can defer fixing until we get some testing by Sebastian and the community. What we probably need are some gif animations showing the various scenarios
18:03 iamutkarshtiwari Sure. I'll make some.
18:03 Could you please specify all the scenarios ?
18:04 tony37 Oh - I don't remember but I need one special case. If the user opens not in fiddler mode Browse should unzip the folder in the Journal and display the root index.html
18:04 iamutkarshtiwari Ok.
18:05 Could you please mail me all the scenarios after the meeting?
18:05 tony37 I think I have at least twice in previous emails. Very briefly, open fiddler and enter html, css, js and try. Save this. Resume the saved case and continue work.
18:05 Add an image. Set the img element in the html. Display the image. Save and then show the image in the re-opened project.
18:06 This case is important because I have lessons stored on the school server in this zipped format. This way the student can download the lesson and open it in Browse.
18:07 iamutkarshtiwari Sure.
18:08 tony37 One case is a student who creates an html file using a text editor (e.g. nano) and then copies it to the Journal. The student should be able to resume it in fiddler, test it, and then save the updated version back to the Journal.
18:08 iamutkarshtiwari Did you test this ^ case on the fiddler ?
18:09 tony37 Yes and it works fine. The only concern is that the user could name his main html file project.html not index.html. If there is not an index.html, the system should look for project.html.
18:09 I am using a package Zim Desktop and this is its convention for naming the root html.
18:10 iamutkarshtiwari Ok.
18:10 I'll make all the gifs of the above mentioned cases ^
18:11 Will also update you with the progress on 'save as' and 'resume' via mail
18:11 And our next meeting timings.
18:12 tony37 Great! I am trying the byzanz on the Ubuntu Sugar. I have to run the record command in the Terminal activity so I can switch to the screen to record quickly and then estimate the time to be taken for the script since I don't know how to edit it afterwards.
18:12 This is a neat tool!
18:12 iamutkarshtiwari Yes it is ;)
18:13 Will meet in the next meeting
18:13 tony37 See you at the next meeting - request by email. I suppose we should try for the Friday meeting tomorrow at 12:00 UTC
18:14 iamutkarshtiwari Yes. We need to update the community with our progress.
18:14 We'll meet tomorrow then.
18:14 Bye.
18:14 #endmeeting
18:14 tony37 The next push on my part is to get Manash moving on the remotejournal, Bye
18:14 meeting Meeting ended Thu Jul  7 18:14:42 2016 UTC. Information about MeetBot at http://wiki.debian.org/MeetBot. (v 0.1.4)
18:14 Minutes: http://meeting.sugarlabs.org/s[…]-07T17:02:31.html
18:14 Log:     http://meeting.sugarlabs.org/s[…]16-07-07T17:02:31
18:14 tony37 has quit IRC
18:15 iamutkarshtiwari has quit IRC

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

Powered by ilbot/Modified.