[Sugar-devel] text to speech not working in write activity
Hi, I was writing a new test for write activity and was unable to run the text to speech module in it. Below is the log of the write activity Unknown option -b 1407932703.790916 WARNING root: icon_size is deprecated. Use pixel_size instead. 1407932703.858896 ERROR root: EXCEPTION: request-clear-area signal not available 1407932703.859038 ERROR root: EXCEPTION: unset-clear-area signal not available 1407932703.892632 WARNING root: No Gtk.AccelGroup in the top level window. 1407932703.892860 WARNING root: No Gtk.AccelGroup in the top level window. 1407932703.895286 WARNING root: No Gtk.AccelGroup in the top level window. 1407932703.895427 WARNING root: No Gtk.AccelGroup in the top level window. 1407932703.897857 WARNING root: No Gtk.AccelGroup in the top level window. 1407932703.938677 WARNING root: No Gtk.AccelGroup in the top level window. 1407932703.940959 WARNING root: No Gtk.AccelGroup in the top level window. 1407932703.943282 WARNING root: No Gtk.AccelGroup in the top level window. 1407932703.943678 WARNING root: icon_size is deprecated. Use pixel_size instead. 1407932703.948022 WARNING root: icon_size is deprecated. Use pixel_size instead. 1407932703.948741 WARNING root: icon_size is deprecated. Use pixel_size instead. 1407932703.949507 WARNING root: icon_size is deprecated. Use pixel_size instead. 1407932703.950242 WARNING root: icon_size is deprecated. Use pixel_size instead. 1407932703.973063 WARNING root: icon_size is deprecated. Use pixel_size instead. 1407932703.973874 WARNING root: icon_size is deprecated. Use pixel_size instead. 1407932703.974614 WARNING root: icon_size is deprecated. Use pixel_size instead. 1407932703.975319 WARNING root: icon_size is deprecated. Use pixel_size instead. 1407932703.975979 WARNING root: icon_size is deprecated. Use pixel_size instead. 1407932703.976659 WARNING root: icon_size is deprecated. Use pixel_size instead. 1407932703.997298 WARNING root: No Gtk.AccelGroup in the top level window. 1407932703.998548 WARNING root: No Gtk.AccelGroup in the top level window. 1407932703.998671 WARNING root: No Gtk.AccelGroup in the top level window. 1407932703.998790 WARNING root: No Gtk.AccelGroup in the top level window. 1407932703.998890 WARNING root: No Gtk.AccelGroup in the top level window. 1407932703.999003 WARNING root: No Gtk.AccelGroup in the top level window. 1407932704.49 WARNING root: No Gtk.AccelGroup in the top level window. 1407932704.000161 WARNING root: No Gtk.AccelGroup in the top level window. 1407932704.000271 WARNING root: No Gtk.AccelGroup in the top level window. 1407932704.000368 WARNING root: No Gtk.AccelGroup in the top level window. 1407932704.000476 WARNING root: No Gtk.AccelGroup in the top level window. 1407932704.001866 WARNING root: No Gtk.AccelGroup in the top level window. 1407932704.001986 WARNING root: No Gtk.AccelGroup in the top level window. 1407932704.007061 WARNING root: No Gtk.AccelGroup in the top level window. 1407932704.008153 WARNING root: No Gtk.AccelGroup in the top level window. 1407932704.008312 WARNING root: No Gtk.AccelGroup in the top level window. 1407932704.008430 WARNING root: No Gtk.AccelGroup in the top level window. 1407932704.022146 ERROR write-activity: We are creating an activity /usr/lib64/python2.7/site-packages/gi/overrides/GObject.py:464: Warning: gsignal.c:2515: instance '0x1fac1c0' has no handler with id '1809' GObjectModule.signal_handler_block(_get_instance_for_signal(obj), handler_id) /usr/lib64/python2.7/site-packages/gi/overrides/GObject.py:581: Warning: gsignal.c:2557: instance '0x1fac1c0' has no handler with id '1809' return func(*args, **kwargs) 1407932704.069520 ERROR write-activity: Loading keybindings 1407932704.072539 ERROR root: Setting default font to Sans 12 in new documents 1407932704.146753 ERROR write-activity: use gst-plugins-espeak 1407932704.149525 ERROR root: Default voice ['default', 'c', ''] 1407932711.249304 ERROR root: Paused False Terminated by signal 11, pid 18699 data (None, ', mode 'w' at 0x1f74c90>, 'b305c3116d1fc9a2227f55cf0c3325d988d3652d') I was able to run the text to speech module in Read activity, but not in Write activity. Any help, regarding the same will help me complete the further tests for Write and gladly appreciated. Thanks, Gaurav ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] How to resolve a GError while writing UI tests for Read
Hi Gonzalo, It does the work as required for the use case. Thanks a lot for the help. I will get on to complete the tests for Read and I will apply the same for imageviewer to open the images. Thanks, Gaurav On Mon, Jul 28, 2014 at 10:24 PM, Gonzalo Odiard wrote: > Hi Gaurav, > > I think I have found a solution to how open a file in Read, hopefully can > be useful in a more general case. > I am not an expert on testing, then would be good if others can confirm > this is the right way: > > I have added a method run_activity_with_uri in the UITestCase class > > https://github.com/sugarlabs/sugar-toolkit-gtk3/pull/155 > > Also modified the activity Read to be able to manage the uri > > > https://git.sugarlabs.org/read/mainline/commit/77cc1020f4c7527b0066538028a12567e168fd07 > > Then your test_operations.py can be implemented in this way: > > #!/usr/bin/python > # -*- coding: UTF-8 -*- > > import os > import logging > import time > from sugar3.test import unittest > from sugar3.test import uitree > from jarabe.journal import model > > class OperationsTest(unittest.UITestCase): > > def setUp(self): > unittest.UITestCase.setUp(self) > self.bundle_id = "org.laptop.sugar.ReadActivity" > > def test_open_file(self): > uri = 'file://' + os.getcwd() + '/tests/integration/test.txt' > logging.error('OPEN WITH URI %s', uri) > with self.run_activity_with_uri(uri): > root = uitree.get_root() > activity = root.find_child(name="Read Activity", > role_name="frame") > try: > logging.error(activity.dump()) > except: > logging.error("E : Error") > pass > > Is this a good solution? The change to Read is already pushed, > the change in sugar-toolkit-gtk3 need review. > > Gonzalo > > > > On Sun, Jul 27, 2014 at 3:53 AM, Gaurav Parida > wrote: > >> I am trying to write tests for Read activity and am facing a 'GError : >> timeout from dbind' while writing the test for it. The test that I am >> trying to write is to open a file in Read Activity. After, searching on the >> error, I found out that as soom as Read starts, it has some dbus settings >> but as soon as I open the objectchooser to open the files, it takes the >> dbus settings of the journal and hence leading to atspi to assume that the >> read activity has stuck and thus giving the above error. >> >> I have attached the test that I have written for Read till now. In order >> to run it, please follow the given steps- >> >> 1. cd sugar-build/activities/Read.activity >> 2. mkdir -p tests/integration >> 3. cd tests/integration >> 4. cp /test_operations.py ./ >> cp /test.txt ./ >> 5. Now run sugar build ./osbuild run >> 6. Open Terminal activity >> 7. cd ~/activities/Read.activity >> 8. ./setup.py check integration #this runs the test >> 9. If everything runs fine, then you can see a tree like structure >> showing the heirarchial arrangement of the activity as seen by atspi. >> 10. If you stumbled with GError, then you see "E : Error" in the >> terminal activity. >> >> I am attaching the test_operations.py (test file) , test.txt(sample file >> that has to be opened in Read activity), screenshot of my Terminal after >> running the test. >> >> If anyone has been able to resolve this problem, then it would be a great >> help to know on how to solve it. Thanks. >> >> ___ >> Sugar-devel mailing list >> Sugar-devel@lists.sugarlabs.org >> http://lists.sugarlabs.org/listinfo/sugar-devel >> >> > > > -- > Gonzalo Odiard > > SugarLabs - Software for children learning > ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] How to resolve a GError while writing UI tests for Read
I am trying to write tests for Read activity and am facing a 'GError : timeout from dbind' while writing the test for it. The test that I am trying to write is to open a file in Read Activity. After, searching on the error, I found out that as soom as Read starts, it has some dbus settings but as soon as I open the objectchooser to open the files, it takes the dbus settings of the journal and hence leading to atspi to assume that the read activity has stuck and thus giving the above error. I have attached the test that I have written for Read till now. In order to run it, please follow the given steps- 1. cd sugar-build/activities/Read.activity 2. mkdir -p tests/integration 3. cd tests/integration 4. cp /test_operations.py ./ cp /test.txt ./ 5. Now run sugar build ./osbuild run 6. Open Terminal activity 7. cd ~/activities/Read.activity 8. ./setup.py check integration #this runs the test 9. If everything runs fine, then you can see a tree like structure showing the heirarchial arrangement of the activity as seen by atspi. 10. If you stumbled with GError, then you see "E : Error" in the terminal activity. I am attaching the test_operations.py (test file) , test.txt(sample file that has to be opened in Read activity), screenshot of my Terminal after running the test. If anyone has been able to resolve this problem, then it would be a great help to know on how to solve it. Thanks. This is a first test file now. #!/usr/bin/python # -*- coding: UTF-8 -*- import os import shutil import time from sugar3.test import unittest from sugar3.test import uitree from jarabe.journal import model class OperationsTest(unittest.UITestCase): def setUp(self): unittest.UITestCase.setUp(self) self.bundle_id = "org.laptop.sugar.ReadActivity" def test_open_file(self): with self.run_activity(): root = uitree.get_root() activity = root.find_child(name="Read Activity", role_name="frame") src = os.getcwd() src += '/tests/integration/test.txt' dst = model.get_documents_path() dst += '/test.txt' shutil.copyfile(src,dst) choose = root.find_child(name="Choose something to read", role_name="push button") #print activity.dump() choose.do_action('click') try: print activity.dump() except: print "E : Error" pass ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Unable to open files in Read Activity
The version of Sugar that I am running is 0.100.0 and the version of the Read activity is 112. Thanks, Gaurav On Sun, Jul 6, 2014 at 2:33 AM, Gonzalo Odiard wrote: > Thanks for reporting. What version of Sugar and Read activity are you > using? > > Gonzalo > > > On Sat, Jul 5, 2014 at 7:17 AM, Gaurav Parida wrote: > >> I am trying to open a txt file in Read activity, but unable to do so. >> I have attached the log file of the activity. >> >> -- Gaurav >> >> ___ >> Sugar-devel mailing list >> Sugar-devel@lists.sugarlabs.org >> http://lists.sugarlabs.org/listinfo/sugar-devel >> >> > > > -- > Gonzalo Odiard > > SugarLabs - Software for children learning > ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] Unable to open files in Read Activity
I am trying to open a txt file in Read activity, but unable to do so. I have attached the log file of the activity. -- Gaurav 1404552926.495604 DEBUG root: cannot open path /home/broot/sugar-build/build/out/install/share/sugar/activities/Read.activity/locale/C/activity.linfo 1404552926.833162 WARNING root: icon_size is deprecated. Use pixel_size instead. 1404552926.850184 DEBUG root: datastore.get 1404552926.866809 DEBUG root: Calling GetActivity on /org/freedesktop/Telepathy/Account/salut/local_xmpp/account0 1404552926.869997 DEBUG root: There's no shared activity with the id effd9a8d2136ac072153238fb360aaeaba74ef42 1404552926.870164 DEBUG root: *** Act effd9a8d2136ac072153238fb360aaeaba74ef42, mesh instance None, scope private 1404552926.870564 DEBUG read-activity: Starting Read... 1404552926.870753 DEBUG read-activity: Setting dpi to 95.00 1404552926.874258 WARNING root: icon_size is deprecated. Use pixel_size instead. 1404552926.878125 WARNING root: icon_size is deprecated. Use pixel_size instead. 1404552926.925113 WARNING root: No Gtk.AccelGroup in the top level window. 1404552926.935014 WARNING root: No Gtk.AccelGroup in the top level window. 1404552926.942189 WARNING root: No Gtk.AccelGroup in the top level window. 1404552927.050052 WARNING root: No Gtk.AccelGroup in the top level window. 1404552927.051907 WARNING root: No Gtk.AccelGroup in the top level window. 1404552927.052197 WARNING root: No Gtk.AccelGroup in the top level window. 1404552927.052412 WARNING root: No Gtk.AccelGroup in the top level window. 1404552927.053910 WARNING root: No Gtk.AccelGroup in the top level window. 1404552927.054166 WARNING root: No Gtk.AccelGroup in the top level window. 1404552927.054376 WARNING root: No Gtk.AccelGroup in the top level window. 1404552927.065644 INFO read-activity: Hardware manager service not found, no idle suspend. 1404552927.070749 DEBUG read-activity: ReadActivity.read_file: /home/broot/sugar-build/home/dotsugar/default/data/a6058ac8-1d18-4f60-855a-468974af0ffa_gUkZwM.bin 1404552927.080725 ERROR read-activity: Can not load document: File type plain text document (text/plain) is not supported 1404552927.082434 DEBUG root: loading 0 bookmarks Traceback (most recent call last): File "/home/broot/sugar-build/build/out/install/bin/sugar-activity", line 164, in main() File "/home/broot/sugar-build/build/out/install/bin/sugar-activity", line 159, in main instance = create_activity_instance(activity_constructor, activity_handle) File "/home/broot/sugar-build/build/out/install/bin/sugar-activity", line 44, in create_activity_instance activity = constructor(handle) File "/home/broot/sugar-build/build/out/install/share/sugar/activities/Read.activity/readactivity.py", line 371, in __init__ self.read_file(self._jobject.file_path) File "/home/broot/sugar-build/build/out/install/share/sugar/activities/Read.activity/readactivity.py", line 743, in read_file self._load_document('file://' + tempfile) File "/home/broot/sugar-build/build/out/install/share/sugar/activities/Read.activity/readactivity.py", line 978, in _load_document self._update_toc() File "/home/broot/sugar-build/build/out/install/share/sugar/activities/Read.activity/readactivity.py", line 625, in _update_toc if self._view.update_toc(self): File "/home/broot/sugar-build/build/out/install/share/sugar/activities/Read.activity/evinceadapter.py", line 273, in update_toc doc = self._model.get_document() AttributeError: EvinceViewer instance has no attribute '_model' 1404552927.085010 DEBUG root: _cleanup_temp_files Exited with status 1, pid 5181 data (None, ', mode 'w' at 0x94c1a70>, dbus.ByteArray('effd9a8d2136ac072153238fb360aaeaba74ef42', variant_level=1)) ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] Unable to setup the sugar environment
Hi, On running ./osbuild shell and then build in it, it gives me the following error ayush@ayushPC:~/gparida/sugar-build$ ./osbuild shell $ sudo broot run osbuild shell = Setup the broot build system = * Create the python virtualenv * Install python packages = Available commands = karma run docs dist check build See also http://developer.sugarlabs.org/dev-environment.md.html [osbuild sugar-build]$ build = Building = * Building sugar-web Command failed: volo -nostamp -f add Error: connect ECONNREFUSED Retrying (attempt 1) in 1 minute I am unable to figure out, how to solve it. Thanks. -Gaurav ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] Stuck in writing tests for sugar activities
Hello, I am currently writing some UI tests for sugar activities and one of the main task at hand is to write more tests except the basic ones, and those tests involve user input to be given. For example: after opening the terminal activity, if we type 'ls' then it should have some output, then we can match it with the correct output. The code that is being used for the UI tests is present in sugar-toolkit-gtk3/src/sugar3/test/uitree.py. I haven't been successful to find any way to provide input to those UI elements till now, any pointers in how to proceed over it would be great. Thanks, Gaurav (gp94) ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] GSoC Update on writing Tests for activities
Greetings, I have made a post on my blog, about the project. http://gp94me.tumblr.com/post/87280690565/introduction-to-testing-in-python All the gsoc related posts have been tagged. To see them, http://gp94me.tumblr.com/tagged/gsoc Suggestions are welcome. Thanks, Gaurav (gp94) PS- also sent a mail to the planetmaster for adding the blog feeds to the planet. ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Error in creating sample web activity
The code that I wrote, is just to change the name of the activity from activity.info and index.html and also change the bundleID from activity.info. The changes were done on the sample-web-template. ("volo create my-activity ./sugar-web-template") here is the link of the docs http://developer.sugarlabs.org/activity.md.html On Mon, Mar 24, 2014 at 8:15 PM, Daniel Narvaez wrote: > Try to post your code. > > > On Monday, 24 March 2014, Gaurav Parida wrote: > >> Using the steps given on developers.sugarlabs.org >> I have made the same activity earlier, but now on doing the same steps I >> am unable to create the activity. >> >> This is the traceback that I get in the log >> >> Traceback (most recent call last): >> File >> "/home/broot/sugar-build/build/out/install/lib/python2.7/site-packages/sugar3/activity/webactivity.py", >> line 124, in _app_scheme_cb >> request.finish(Gio.File.new_for_path(path).read(None), >> gi._glib.GError: Error opening file: No such file or directory >> >> >> Thanks. >> > > > -- > Daniel Narvaez > > ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] Error in creating sample web activity
Using the steps given on developers.sugarlabs.org I have made the same activity earlier, but now on doing the same steps I am unable to create the activity. This is the traceback that I get in the log Traceback (most recent call last): File "/home/broot/sugar-build/build/out/install/lib/python2.7/site-packages/sugar3/activity/webactivity.py", line 124, in _app_scheme_cb request.finish(Gio.File.new_for_path(path).read(None), gi._glib.GError: Error opening file: No such file or directory Thanks. ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] Interest in Cordova/PhoneGap container for Sugar Project as a part of GSoC 14
Hello, I am Gaurav Parida, a student from IIIT Hyderabad, India. I was looking at the ideas list and the Cordova container for sugar interested me. I have had experience in Python, HTML, Javascript and consider myself fluent in them. I have been using them as a part of major college coursework and other projects of mine.I have had been developing web applications using web2py,GAE. I have used phonegap once to convert a web app to an android app. Here is my github profile <https://github.com/gauravp94> that contain the projects that I have successfully completed till now. I have been an active contributor for the Sugarlabs community since a few months. (I have done a few small bug fixes and also added a verbosity feature for sugar-toolkit-gtk3 and also reported some bugs and added some points to the docs.) It would be great, it someone could clarify some of my questions. I am not clear on -- 1. How should I approach this project, make web activities or look at the Cordova code and ask the Cordova folks on how to make a new container. 2. Any other useful pointers for the project, that might help? 3. Any existing documentation/ code that has been done in regard to this project? Till then, I will be looking at the code for web activities in sugar and also make a sample web activity. As soon as I get some instructions, I will get on to work on it and keep this thread updated about my progress. Thanks, Gaurav (gp94 on IRC) PS - I have another thread on the mailing lists regarding the Platipy project, since I don't want things to get mixed up.So, I have created this thread. ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] Interest in Platipy Project as a part of GSoC '14
Hello, I am Gaurav Parida, a student from IIIT Hyderabad, India. I came across the Platipy project listed in the ideas section for Google Summer Of Code 2014 and find it very interesting to be taken as a GSoC project. I have been using python since last two years as a part of coursework assignments, and many projects. I have had used Pygame and know the basics of it (learnt it here <http://inventwithpython.com/pygame/chapters/>).I have also had experience in game development with openGL. Here is my github profile <https://github.com/gauravp94>, listing all my past projects. I have been an active contributor for the Sugarlabs community since a few months. Currently, I am going over the documentation<http://platipy.readthedocs.org/en/latest/index.html>of Spyral and I will read more on PyGame and will set up the example.activity by tomorrow and I will keep the community updated with my progress in it. I would be really grateful if the mentors could give me some pointers on 1. How to proceed with the project as of now ? 2. What are the major hurdles that need to be accomplished ? 3. Are there tasks for Spyral that can be done now? (so that I could get familiarized with the specific code and work on it 4. Informal / Optional: Are there students who are working on Spyral, applying for the project? (I am asking so that I won't cross over other's work and interrupt their progress) Thanks, Gaurav ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] My GSoC Proposal for "activity unit tests"
Hi, Ok I will make the changes the changes in the timeline of the proposal. and keep the etoys as optional as of now. Yes I think dogtail is used by gnome people to do their UI tests. "I'm not sure what is you issue with ATK exactly. The current sugar.test.uitree stuff is really low level, you could build something more friendly on it perhaps (or use dogtail even, I gave up on it because it was too complicated and racy but things might have improved now that ATK is more stable). But there might also be an issue with the amount of information ATK exposes, some of our controls doesn't quite show up in the tree I think. Though that might also be fixable, by improving our accessibility story at the same time :)" I will get on to UI tests and see dogtail too as soon as my exams get over. My 3 Questions :) 1. What is the repo named "Image" as given in the link of the list of activities in fructose http://download.sugarlabs.org/sources/sucrose/fructose/ 2. Do I need to write an analysis on how tests work and how it will be done with reference to the activities in the proposal? 3. @org administrator (walter) Please review my proposal at google melange whenever you are free and give the feedback so that I could modify it before the deadline. Thanks, Gaurav On Thu, Mar 13, 2014 at 7:33 PM, Daniel Narvaez wrote: > On 13 March 2014 14:20, Sai Vineet wrote: > >> Question: is there no other way to write UI tests? ATK is a pain. >> > You need some kind of out-of-process mechanism to click around, "see" the > UI etc. I'm not sure there is anything better than atk for that. > >> And if I'm not wrong ATK is a accessibility related thing, so we're using >> the using the wrong way to test? >> > > Well, dogtail, which is far as I know is the only alive test automation > framework for gtk, uses ATK in the same way. Also using the accessibility > toolkit for UI test is something seen in several other toolkits. You need > the same kind of things... > > I'm not sure what is you issue with ATK exactly. The current > sugar.test.uitree stuff is really low level, you could build something more > friendly on it perhaps (or use dogtail even, I gave up on it because it was > too complicated and racy but things might have improved now that ATK is > more stable). But there might also be an issue with the amount of > information ATK exposes, some of our controls doesn't quite show up in the > tree I think. Though that might also be fixable, by improving our > accessibility story at the same time :) > ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] My GSoC Proposal for "activity unit tests"
Hi, Uptill now I have been successful in installing all the activities except etoys(there is some file opeing error in the log) and I can't find the repository named "image" as specfied in the list of the activities at http://download.sugarlabs.org/sources/sucrose/fructose/ I thought that after the exams I would bug people on IRC and get the etoys issue fixed and run it. @ignacio On Thu, Mar 13, 2014 at 5:23 AM, Ignacio RodrÃguez wrote: > > > I like you'r apply, but by the way.. How do you do with Etoys? This is > really weird! > > -- > Ignacio RodrÃguez. > Have I missed something? I am guessing that etoys is not at all supprted or what? Thanks, Gaurav ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] My GSoC Proposal for "activity unit tests"
Hello all, Since, my college mid-semester exams are starting from tomorrow, I won't be much active on IRC till 15th, March. So, thought of posting this here. As the GSoC project, I am planning to take up the "activity unit tests" project, I have written my first draft of the proposal and submitted both on melange and wiki.sugarlabs. link - http://wiki.sugarlabs.org/go/Summer_of_Code/2014/Gp94/Activity_Unit_Tests It would be great if the mentors and the contributors can find time from their busy schedule and evaluate my proposal and give their feedback, so that I can make alterations and make a better proposal. I also have one question, do we need to add a detailed analysis on how the project will be implemented, like how the tests in python work and how it will be run with the activities? Awaiting for the feedback :) Thanks, Gaurav (gp94 on IRC) PS - have cc'ed the mail to walter and daniel because they are the mentors for this project. ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] Logs of the #sugar irc channel
Hi guys, Since, I always can't keep my computer switched on for IRC logs, I built this bot with the help of ignacio which keeps the logs of the #sugar IRC channel. It is built using python and twisted library. It is currently deployed by ignacio at http://elsalvador.treehouse.su/ignacio/sugar-IRC-LogBot/ The code is welcome for tweaks and improvements. Here is link of the repository https://github.com/gauravp94/sugar-IRC-LogBot It is not perfect in terms of UI, but it works :) It is not the official logs of #sugar. Just wanted to share the link so that the community could benefit from it. Thanks, --Gaurav (gp94 on IRC) ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] osbuild check fails during running
Hi, I want to run pep8, so I need to do osbuild check for it. On running osbuild check for it, I am getting this traceback. http://fpaste.org/83897/ I could install the library manually, should I do so? Daniel told that the dependencies are installed automatically, so what could be the reason of failure? I am running internet behind a college proxy, so maybe that may cause problems. It did cause problems in installing sugar-build earlier on. --Gaurav ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Sugar 0.101.3 (unstable)
Keeping the commit messages, will help in knowing the changes done in a release. The documentation aspect of a new release will be easily handled. +1 for the idea. On Mon, Mar 10, 2014 at 2:35 AM, Walter Bender wrote: > Just as a rough sketch of what pulling the commit messages would look > like, I've set up http://wiki.sugarlabs.org/go/0.102/Notes > > -walter > > The mockups look good. It would be great if each one them also has the link to the merge request. In my opinion, the commit messages will be more understandable, if we put some guidelines for them. like preappend the commit messages with with [Feature] / [Bug Fix #] / [Defect] / [Upgrade] from now on... ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] sugar-build on archlinux without broot
So, is sugar-build now installed as a dual-boot with ArchLinux ? I didn't know that we could set up sugar-build in such a way. when I get time, I will also try to do it with Ubuntu. +1 for adding it to the docs. On Sun, Mar 9, 2014 at 8:40 AM, Sam Parkinson wrote: > Thanks for the tips :) We should definitely put a link in the docs > On Mar 9, 2014 2:07 PM, "Sebastian Silva" > wrote: > >> Hello, >> My machine is somewhat constrained in ram and diskspace so running Fedora >> on a chroot was slow enough >> that I decided to set *"use_broot":false* on *prefs.json* with the >> intention of running the latest sugar natively. >> >> I face a few issues: >> >> First, *automake* gave me some issues, it was refusing to build with a >> cryptic error, it was because I needed to install the *ccache* package. >> Then, automake wanted to install to /usr/local/bin, so I changed group >> permissions to /usr/local (I did chgrp wheel /usr/local/*;; chmod g+w >> /usr/local/*). This installed automake. >> By the way, I don't think this process was required because my system's >> automake is newer than the one sugar-build installed. I'll look into this. >> >> Then issues ocurred with gwebsockets. It persistently tried to use >> python3.3, my system's default, instead of python2.7. Finally I found the >> culprit, in >> ./out/sandbox/install/lib/python2.7/site-packages/osbuild/build.py I >> replaced in line 190 one instance of "python" for "python2.7" and it worked >> after that. >> >> Finally when building sugar-base I had to set up the environment variable >> PYTHON=/usr/bin/python2.7 in order for it to build. >> Also, when building sugar, I had to manually create the directory >> "./out/install/etc/gconf/" or it would fail to install >> >> I know this is unsupported but I just wanted to share in case somebody >> would like to setup a dev environment in archlinux. I like that it's >> rolling release and I won't have to worry about ever upgrading to the next >> version. My main intention is to have a nice setup for building activities, >> test latest sugar and also try to help diagnose the performance issues gtk3 >> sugar has. >> >> Regards, >> Sebastian >> >> ___ >> Sugar-devel mailing list >> Sugar-devel@lists.sugarlabs.org >> http://lists.sugarlabs.org/listinfo/sugar-devel >> >> > ___ > Sugar-devel mailing list > Sugar-devel@lists.sugarlabs.org > http://lists.sugarlabs.org/listinfo/sugar-devel > > ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel