Re: [Sugar-devel] Journal not opening

2013-07-28 Thread Suraj K S
On 28 July 2013 13:20, Suraj K S suraj.gilles...@gmail.com wrote:

 There is so much in shell.log.


 On 28 July 2013 04:13, Gonzalo Odiard gonz...@laptop.org wrote:

 Anything in shell.log?

 Gonzalo


 On Sat, Jul 27, 2013 at 8:43 AM, Suraj K S suraj.gilles...@gmail.comwrote:

 After I cleaned a did a new sugar-build, the journal doesn't open in
 Sugar.
 When i click on the journal icon nothing happens.

 This is what I found in datastore.log

 1374924813.221366 WARNING org.laptop.sugar.DataStore: Rebuilding index
 in /tmp/sugar-datastore-index-V0KK8T
 1374924813.399288 WARNING org.laptop.sugar.DataStore: Attempting to move
 tempfs index to disk
 ~




 How can I resolve this?

 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel






shell.log.tar.gz
Description: GNU Zip compressed data
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Build broken, sugar

2013-07-28 Thread Daniel Narvaez
Miguel,

can you please send a patch for this as soon as possible? The build has
been broken for a few days now...


On 24 July 2013 08:59, Daniel Narvaez dwnarv...@gmail.com wrote:

 Being shell code I think it's fine to assume the locale has been set. So
 I'd go for 1.


 On Wednesday, 24 July 2013, Miguel González wrote:

 In this case in extensions/cpsection/modemconfiguration/model.py:299

 language_code = locale.getdefaultlocale()[0]

 returns None

 so one of the test fails:

 ==
 ERROR: test_go_trough_all_combo_options
 (test_modemconfiguration.ServiceProvidersTest)
 --
 Traceback (most recent call last):
   File /home/broot/sugar-build/sugar/tests/test_modemconfiguration.py,
 line 128, in setUp
 self.db = ServiceProviders()
   File
 /home/broot/sugar-build/build/out/install/share/sugar/extensions/cpsection/modemconfiguration/model.py,
 line 274, in __init__
 country_code, provider_name, plan_idx = self._get_initials()
   File
 /home/broot/sugar-build/build/out/install/share/sugar/extensions/cpsection/modemconfiguration/model.py,
 line 309, in _get_initials
 country_code = self._guess_country_code()
   File
 /home/broot/sugar-build/build/out/install/share/sugar/extensions/cpsection/modemconfiguration/model.py,
 line 299, in _guess_country_code
 lc_list = language_code.split('_')
 AttributeError: 'NoneType' object has no attribute 'split'

 --

 So:

 1) Must set a locale in test environment?

 2) Make code handle this scenario?

 3) Both?




 On Tue, Jul 23, 2013 at 11:56 PM, Daniel Narvaez dwnarv...@gmail.comwrote:

 Still failing. Could that error be due to non functional gconf?


 http://buildbot.sugarlabs.org/builders/quick/builds/46/steps/shell_2/logs/log

 I see a gconf error earlier in the log. I haven't yet looked at what is
 going on with it. Maybe just a missing dependency.


 On Tuesday, 23 July 2013, Miguel González wrote:

 https://github.com/sugarlabs/sugar-build/pull/22

 diff --git a/build/root.json b/build/root.json
 index dd496e2..5a72922 100644
 --- a/build/root.json
 +++ b/build/root.json
 @@ -67,6 +67,7 @@
  gstreamer-plugins-espeak,
  telepathy-salut,
  telepathy-gabble,
 +mobile-broadband-provider-info,
  gnome-themes-standard,
  xorg-x11-drv-evdev,
  xorg-x11-drv-modesetting,




 On Tue, Jul 23, 2013 at 12:53 PM, Daniel Narvaez dwnarv...@gmail.comwrote:

 Yes!


 On Tuesday, 23 July 2013, Miguel González wrote:

 It fails again [1] because does not find
 /usr/share/mobile-broadband-provider-info/serviceproviders.xml.

 It seems this file is included in package mobile-broadband-provider-info
 [2].

 May I add this package to on root.json sugar group too?

 [1]
 http://buildbot.sugarlabs.org/builders/quick/builds/41/steps/shell_2/logs/stdio


 [2]
 https://apps.fedoraproject.org/packages/mobile-broadband-provider-info/


 On Tue, Jul 23, 2013 at 9:52 AM, Miguel González 
 migonzal...@activitycentral.com wrote:

 I guess is somethinks like this:

 From 47824c6e7622d0a59c4cf7960b97f63ece3d3623 Mon Sep 17 00:00:00 2001
 From: Miguel Gonzalez migonzal...@activitycentral.com
 Date: Tue, 23 Jul 2013 09:45:56 +0200
 Subject: [PATCH] Add python-mock dependency

 ---
  build/root.json | 1 +
  1 file changed, 1 insertion(+)

 diff --git a/build/root.json b/build/root.json
 index a826029..dd496e2 100644
 --- a/build/root.json
 +++ b/build/root.json
 @@ -53,6 +53,7 @@
  dbus-python,
  python-telepathy,
  python-dateutil,
 +python-mock,
  gtksourceview3,
  dconf,
  gsettings-desktop-schemas,
 --
 1.8.1.6


 https://github.com/sugarlabs/sugar-build/pull/21


 On Tue, Jul 23, 2013 at 8:45 AM, Daniel Narvaez dwnarv...@gmail.comwrote:

 We need to add python-mock to build/root.json, sugar group (chroot
 branch).

 My fault for forgetting about it when approving the pull request, but I
 can't fix it myself for a few days.


 --
 Daniel Narvaez




 --
 Miguel González
 Activity Central: http://www.activitycentral.com





 --
 Daniel Narvaez




-- 
Daniel Narvaez
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Journal not opening

2013-07-28 Thread Daniel Narvaez
Looks like one of your mounts is associated with an icon which is not a
GThemedIcon. I guess that should be handled properly  in the code, but I'm
not sure why it started happening. Do you have any external device attached
which you didn't have before?


On 28 July 2013 14:10, Suraj K S suraj.gilles...@gmail.com wrote:




 On 28 July 2013 13:20, Suraj K S suraj.gilles...@gmail.com wrote:

 There is so much in shell.log.


 On 28 July 2013 04:13, Gonzalo Odiard gonz...@laptop.org wrote:

 Anything in shell.log?

 Gonzalo


 On Sat, Jul 27, 2013 at 8:43 AM, Suraj K S suraj.gilles...@gmail.comwrote:

 After I cleaned a did a new sugar-build, the journal doesn't open in
 Sugar.
 When i click on the journal icon nothing happens.

 This is what I found in datastore.log

 1374924813.221366 WARNING org.laptop.sugar.DataStore: Rebuilding index
 in /tmp/sugar-datastore-index-V0KK8T
 1374924813.399288 WARNING org.laptop.sugar.DataStore: Attempting to
 move tempfs index to disk
 ~




 How can I resolve this?

 ___
 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




-- 
Daniel Narvaez
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] Feature freeze due in 3 days (July 31)

2013-07-28 Thread Daniel Narvaez
Hello,

the feature freeze is due on July 31. I think all the features we
originally planned landed already, thanks and congratulations to everyone
involved.

Work on web activities is and probably should be continuing. We need to
figure out how that interacts with the freeze (I'll try to follow up on
this but comments would be welcome. I would especially like to know how
Manuel and Suraj feels about it).

There is a pull request by Gonzalo, implementing a small feature, which
needs to land as soon as possible to make the freeze.

https://github.com/sugarlabs/sugar/pull/67

-- 
Daniel Narvaez
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Journal not opening

2013-07-28 Thread Suraj K S
Nope.
I never added any external device.


On 28 July 2013 20:05, Daniel Narvaez dwnarv...@gmail.com wrote:

 Looks like one of your mounts is associated with an icon which is not a
 GThemedIcon. I guess that should be handled properly  in the code, but I'm
 not sure why it started happening. Do you have any external device attached
 which you didn't have before?


 On 28 July 2013 14:10, Suraj K S suraj.gilles...@gmail.com wrote:




 On 28 July 2013 13:20, Suraj K S suraj.gilles...@gmail.com wrote:

 There is so much in shell.log.


 On 28 July 2013 04:13, Gonzalo Odiard gonz...@laptop.org wrote:

 Anything in shell.log?

 Gonzalo


 On Sat, Jul 27, 2013 at 8:43 AM, Suraj K S 
 suraj.gilles...@gmail.comwrote:

 After I cleaned a did a new sugar-build, the journal doesn't open in
 Sugar.
 When i click on the journal icon nothing happens.

 This is what I found in datastore.log

 1374924813.221366 WARNING org.laptop.sugar.DataStore: Rebuilding index
 in /tmp/sugar-datastore-index-V0KK8T
 1374924813.399288 WARNING org.laptop.sugar.DataStore: Attempting to
 move tempfs index to disk
 ~




 How can I resolve this?

 ___
 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




 --
 Daniel Narvaez

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Journal not opening

2013-07-28 Thread Daniel Narvaez
Unless someone knows what is going on, it would be good to log info
about the mount, like the path and the icon... That should help
understanding the issue.

On Sunday, 28 July 2013, Suraj K S wrote:

 Nope.
 I never added any external device.


 On 28 July 2013 20:05, Daniel Narvaez dwnarv...@gmail.comjavascript:_e({}, 
 'cvml', 'dwnarv...@gmail.com');
  wrote:

 Looks like one of your mounts is associated with an icon which is not a
 GThemedIcon. I guess that should be handled properly  in the code, but I'm
 not sure why it started happening. Do you have any external device attached
 which you didn't have before?


 On 28 July 2013 14:10, Suraj K S 
 suraj.gilles...@gmail.comjavascript:_e({}, 'cvml', 
 'suraj.gilles...@gmail.com');
  wrote:




 On 28 July 2013 13:20, Suraj K S 
 suraj.gilles...@gmail.comjavascript:_e({}, 'cvml', 
 'suraj.gilles...@gmail.com');
  wrote:

 There is so much in shell.log.


 On 28 July 2013 04:13, Gonzalo Odiard 
 gonz...@laptop.orgjavascript:_e({}, 'cvml', 'gonz...@laptop.org');
  wrote:

 Anything in shell.log?

 Gonzalo


 On Sat, Jul 27, 2013 at 8:43 AM, Suraj K S 
 suraj.gilles...@gmail.comjavascript:_e({}, 'cvml', 
 'suraj.gilles...@gmail.com');
  wrote:

 After I cleaned a did a new sugar-build, the journal doesn't open in
 Sugar.
 When i click on the journal icon nothing happens.

 This is what I found in datastore.log

 1374924813.221366 WARNING org.laptop.sugar.DataStore: Rebuilding
 index in /tmp/sugar-datastore-index-V0KK8T
 1374924813.399288 WARNING org.laptop.sugar.DataStore: Attempting to
 move tempfs index to disk
 ~




 How can I resolve this?

 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org javascript:_e({}, 'cvml',
 'Sugar-devel@lists.sugarlabs.org');
 http://lists.sugarlabs.org/listinfo/sugar-devel





 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org javascript:_e({}, 'cvml',
 'Sugar-devel@lists.sugarlabs.org');
 http://lists.sugarlabs.org/listinfo/sugar-devel




 --
 Daniel Narvaez




-- 
Daniel Narvaez
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Journal not opening

2013-07-28 Thread Martin Abente
Suraj, could you test this patch? (git am, on Sugar)

On Sun, Jul 28, 2013 at 11:13 AM, Daniel Narvaez dwnarv...@gmail.comwrote:

 Unless someone knows what is going on, it would be good to log info
 about the mount, like the path and the icon... That should help
 understanding the issue.


 On Sunday, 28 July 2013, Suraj K S wrote:

 Nope.
 I never added any external device.


 On 28 July 2013 20:05, Daniel Narvaez dwnarv...@gmail.com wrote:

 Looks like one of your mounts is associated with an icon which is not a
 GThemedIcon. I guess that should be handled properly  in the code, but I'm
 not sure why it started happening. Do you have any external device attached
 which you didn't have before?


 On 28 July 2013 14:10, Suraj K S suraj.gilles...@gmail.com wrote:




 On 28 July 2013 13:20, Suraj K S suraj.gilles...@gmail.com wrote:

 There is so much in shell.log.


 On 28 July 2013 04:13, Gonzalo Odiard gonz...@laptop.org wrote:

 Anything in shell.log?

 Gonzalo


 On Sat, Jul 27, 2013 at 8:43 AM, Suraj K S suraj.gilles...@gmail.com
  wrote:

 After I cleaned a did a new sugar-build, the journal doesn't open in
 Sugar.
 When i click on the journal icon nothing happens.

 This is what I found in datastore.log

 1374924813.221366 WARNING org.laptop.sugar.DataStore: Rebuilding
 index in /tmp/sugar-datastore-index-V0KK8T
 1374924813.399288 WARNING org.laptop.sugar.DataStore: Attempting to
 move tempfs index to disk
 ~




 How can I resolve this?

 ___
 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




 --
 Daniel Narvaez




 --
 Daniel Narvaez


 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel




0001-Check-for-get_icons-.props.names-absence.patch
Description: Binary data
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Journal not opening

2013-07-28 Thread Suraj K S
Thanks Martin.
Journal seems to work now.


On 28 July 2013 23:10, Martin Abente martin.abente.lah...@gmail.com wrote:

 You need to apply it while standing at ../sugar-build/sugar/

 On Sun, Jul 28, 2013 at 1:35 PM, Suraj K S suraj.gilles...@gmail.comwrote:

 Done.
 This is what I got:

 Applying: Check for get_icons().props.names absence
 error: extensions/deviceicon/volume.py: does not exist in index
 error: src/jarabe/journal/palettes.py: does not exist in index
 Patch failed at 0001 Check for get_icons().props.names absence
 The copy of the patch that failed is found in:
/home/suraj/sugar-build/.git/rebase-apply/patch
 When you have resolved this problem, run git am --resolved.
 If you prefer to skip this patch, run git am --skip instead.
 To restore the original branch and stop patching, run git am --abort.



 On 28 July 2013 22:42, Martin Abente martin.abente.lah...@gmail.comwrote:

 Suraj, could you test this patch? (git am, on Sugar)


 On Sun, Jul 28, 2013 at 11:13 AM, Daniel Narvaez dwnarv...@gmail.comwrote:

 Unless someone knows what is going on, it would be good to log info
 about the mount, like the path and the icon... That should help
 understanding the issue.


 On Sunday, 28 July 2013, Suraj K S wrote:

 Nope.
 I never added any external device.


 On 28 July 2013 20:05, Daniel Narvaez dwnarv...@gmail.com wrote:

 Looks like one of your mounts is associated with an icon which is not
 a GThemedIcon. I guess that should be handled properly  in the code, but
 I'm not sure why it started happening. Do you have any external device
 attached which you didn't have before?


 On 28 July 2013 14:10, Suraj K S suraj.gilles...@gmail.com wrote:




 On 28 July 2013 13:20, Suraj K S suraj.gilles...@gmail.com wrote:

 There is so much in shell.log.


 On 28 July 2013 04:13, Gonzalo Odiard gonz...@laptop.org wrote:

 Anything in shell.log?

 Gonzalo


 On Sat, Jul 27, 2013 at 8:43 AM, Suraj K S 
 suraj.gilles...@gmail.com wrote:

 After I cleaned a did a new sugar-build, the journal doesn't open
 in Sugar.
 When i click on the journal icon nothing happens.

 This is what I found in datastore.log

 1374924813.221366 WARNING org.laptop.sugar.DataStore: Rebuilding
 index in /tmp/sugar-datastore-index-V0KK8T
 1374924813.399288 WARNING org.laptop.sugar.DataStore: Attempting
 to move tempfs index to disk
 ~




 How can I resolve this?

 ___
 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




 --
 Daniel Narvaez




 --
 Daniel Narvaez


 ___
 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


Re: [Sugar-devel] Object oriented programming in JS

2013-07-28 Thread Daniel Narvaez
I like the version without helper more too. Thanks for investigating this!


On 24 July 2013 16:37, Manuel Quiñones ma...@laptop.org wrote:

 Hi,

 I'm looking the best way to do OOP in JavaScript, which we need in
 sugar-web.  I don't mind not doing classical OOP.  I think we should
 aim to do what suits better the JavaScript language: Prototypal
 Inheritance.

 Here is Mozilla documentation:

 -
 https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Inheritance_and_the_prototype_chain
 -
 https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Inheritance_Revisited

 The first article gives an introduction of prototypes.  The latter
 gives a real example of inheritance.

 There is also another option, using a helper like stated in:

 - http://stackoverflow.com/a/4389429/1178541

 I have tried both in a git repo with testscases.  Here is the spec:

 - https://github.com/manuq/oop-js/blob/master/src/SuperHero.js

 And here are the two implementations:

 - https://github.com/manuq/oop-js/blob/master/src/SuperHero.js
 - https://github.com/manuq/oop-js/blob/master/src/SuperHeroWithHelper.js

 Now I think the option without helper is better.  Although it seems a
 bit more verbose and nested.  Thoughts?  Any other options?


 --
 .. manuq ..
 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel




-- 
Daniel Narvaez
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Android ActionBar and Activity Toolbar

2013-07-28 Thread Daniel Narvaez
On 26 July 2013 17:15, Manuel Quiñones ma...@laptop.org wrote:

 Andrew pointed me to the Android ActionBar:

 - http://developer.android.com/guide/topics/ui/actionbar.html
 - http://developer.android.com/design/patterns/actionbar.html

 It is pretty standard on Android apps, and gives consistency between
 them.  For Sugar activities running on Android, we should aim to keep
 that consistency.  And according to their documentation, it is one of
 the most important design elements that developers can implement.

 The good news is that the ActionBar really is very similar to our
 Activity Toolbar:

 - has the app icon on the left
 - tends to have icon-only buttons
 - has a drop-down menu

 Next to the App Icon, the bar can have a View Control, to switch
 views.  Sugar activities don't usually have different views, so we can
 ignore this difference.

 The drop-down menu is for the buttons that overflow, and for less
 often used buttons.  We have the first in GTK, not the second.

 Android also have split action bars, which is very interesting for a
 solution to the design issue we were bumping with in GTK: toolbars
 whose elements don't fit in portrait mode.

 So the question is: what kind of consistency will we favor?

 - consistency between sugar activities and other android apps?
 - consistency between sugar activities in any platform?
 - or can we find something in between?

 To make sugar activities more like other Android apps, we could
 programmatically replace the HTML toolbar with an Android ActionBar.
 But then we'll lose Sugar palettes and the Sugar theme.  Or we'll have
 to implement the Sugar theme on Android.

 After all this considerations I conclude that we should make the HTML
 toolbar imitate the ActionBar in style and behaviour.


You mean we should do that cross-platform or just when running on Android?
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Journal not opening

2013-07-28 Thread Martin Abente
Suraj,

Could you apply this patch (on top of the one I just sent)? Please post
here the log messages, it will helps us to understand what is happening.

Thanks!

On Sun, Jul 28, 2013 at 1:48 PM, Suraj K S suraj.gilles...@gmail.comwrote:

 Thanks Martin.
 Journal seems to work now.


 On 28 July 2013 23:10, Martin Abente martin.abente.lah...@gmail.comwrote:

 You need to apply it while standing at ../sugar-build/sugar/

 On Sun, Jul 28, 2013 at 1:35 PM, Suraj K S suraj.gilles...@gmail.comwrote:

 Done.
 This is what I got:

 Applying: Check for get_icons().props.names absence
 error: extensions/deviceicon/volume.py: does not exist in index
 error: src/jarabe/journal/palettes.py: does not exist in index
 Patch failed at 0001 Check for get_icons().props.names absence
 The copy of the patch that failed is found in:
/home/suraj/sugar-build/.git/rebase-apply/patch
 When you have resolved this problem, run git am --resolved.
 If you prefer to skip this patch, run git am --skip instead.
 To restore the original branch and stop patching, run git am --abort.



 On 28 July 2013 22:42, Martin Abente martin.abente.lah...@gmail.comwrote:

 Suraj, could you test this patch? (git am, on Sugar)


 On Sun, Jul 28, 2013 at 11:13 AM, Daniel Narvaez 
 dwnarv...@gmail.comwrote:

 Unless someone knows what is going on, it would be good to log info
 about the mount, like the path and the icon... That should help
 understanding the issue.


 On Sunday, 28 July 2013, Suraj K S wrote:

 Nope.
 I never added any external device.


 On 28 July 2013 20:05, Daniel Narvaez dwnarv...@gmail.com wrote:

 Looks like one of your mounts is associated with an icon which is
 not a GThemedIcon. I guess that should be handled properly  in the code,
 but I'm not sure why it started happening. Do you have any external 
 device
 attached which you didn't have before?


 On 28 July 2013 14:10, Suraj K S suraj.gilles...@gmail.com wrote:




 On 28 July 2013 13:20, Suraj K S suraj.gilles...@gmail.com wrote:

 There is so much in shell.log.


 On 28 July 2013 04:13, Gonzalo Odiard gonz...@laptop.org wrote:

 Anything in shell.log?

 Gonzalo


 On Sat, Jul 27, 2013 at 8:43 AM, Suraj K S 
 suraj.gilles...@gmail.com wrote:

 After I cleaned a did a new sugar-build, the journal doesn't
 open in Sugar.
 When i click on the journal icon nothing happens.

 This is what I found in datastore.log

 1374924813.221366 WARNING org.laptop.sugar.DataStore: Rebuilding
 index in /tmp/sugar-datastore-index-V0KK8T
 1374924813.399288 WARNING org.laptop.sugar.DataStore: Attempting
 to move tempfs index to disk
 ~




 How can I resolve this?

 ___
 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




 --
 Daniel Narvaez




 --
 Daniel Narvaez


 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel








0001-Log-icon-class-when-it-fails.patch
Description: Binary data
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Journal not opening

2013-07-28 Thread Suraj K S
Sure.
I've attached it.


On 29 July 2013 01:43, Martin Abente martin.abente.lah...@gmail.com wrote:

 Suraj,

 Could you apply this patch (on top of the one I just sent)? Please post
 here the log messages, it will helps us to understand what is happening.

 Thanks!


 On Sun, Jul 28, 2013 at 1:48 PM, Suraj K S suraj.gilles...@gmail.comwrote:

 Thanks Martin.
 Journal seems to work now.


 On 28 July 2013 23:10, Martin Abente martin.abente.lah...@gmail.comwrote:

 You need to apply it while standing at ../sugar-build/sugar/

 On Sun, Jul 28, 2013 at 1:35 PM, Suraj K S suraj.gilles...@gmail.comwrote:

 Done.
 This is what I got:

 Applying: Check for get_icons().props.names absence
 error: extensions/deviceicon/volume.py: does not exist in index
 error: src/jarabe/journal/palettes.py: does not exist in index
 Patch failed at 0001 Check for get_icons().props.names absence
 The copy of the patch that failed is found in:
/home/suraj/sugar-build/.git/rebase-apply/patch
 When you have resolved this problem, run git am --resolved.
 If you prefer to skip this patch, run git am --skip instead.
 To restore the original branch and stop patching, run git am --abort.



 On 28 July 2013 22:42, Martin Abente martin.abente.lah...@gmail.comwrote:

 Suraj, could you test this patch? (git am, on Sugar)


 On Sun, Jul 28, 2013 at 11:13 AM, Daniel Narvaez 
 dwnarv...@gmail.comwrote:

 Unless someone knows what is going on, it would be good to log info
 about the mount, like the path and the icon... That should help
 understanding the issue.


 On Sunday, 28 July 2013, Suraj K S wrote:

 Nope.
 I never added any external device.


 On 28 July 2013 20:05, Daniel Narvaez dwnarv...@gmail.com wrote:

 Looks like one of your mounts is associated with an icon which is
 not a GThemedIcon. I guess that should be handled properly  in the 
 code,
 but I'm not sure why it started happening. Do you have any external 
 device
 attached which you didn't have before?


 On 28 July 2013 14:10, Suraj K S suraj.gilles...@gmail.com wrote:




 On 28 July 2013 13:20, Suraj K S suraj.gilles...@gmail.comwrote:

 There is so much in shell.log.


 On 28 July 2013 04:13, Gonzalo Odiard gonz...@laptop.org wrote:

 Anything in shell.log?

 Gonzalo


 On Sat, Jul 27, 2013 at 8:43 AM, Suraj K S 
 suraj.gilles...@gmail.com wrote:

 After I cleaned a did a new sugar-build, the journal doesn't
 open in Sugar.
 When i click on the journal icon nothing happens.

 This is what I found in datastore.log

 1374924813.221366 WARNING org.laptop.sugar.DataStore:
 Rebuilding index in /tmp/sugar-datastore-index-V0KK8T
 1374924813.399288 WARNING org.laptop.sugar.DataStore:
 Attempting to move tempfs index to disk
 ~




 How can I resolve this?

 ___
 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




 --
 Daniel Narvaez




 --
 Daniel Narvaez


 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel









logs.tar.gz
Description: GNU Zip compressed data
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Journal not opening

2013-07-28 Thread Martin Abente
Thanks Suraj!

This is the interesting part:
1375042813.429235 ERROR root: Cannot find icon names for FileIcon object
at 0xbfdf324 (GFileIcon at 0xa24e100), __main__.GProxyMount object at
0xa58fedc (GProxyMount at 0xa162368)

On Sun, Jul 28, 2013 at 4:26 PM, Suraj K S suraj.gilles...@gmail.comwrote:

 Sure.
 I've attached it.


 On 29 July 2013 01:43, Martin Abente martin.abente.lah...@gmail.comwrote:

 Suraj,

 Could you apply this patch (on top of the one I just sent)? Please post
 here the log messages, it will helps us to understand what is happening.

 Thanks!


 On Sun, Jul 28, 2013 at 1:48 PM, Suraj K S suraj.gilles...@gmail.comwrote:

 Thanks Martin.
 Journal seems to work now.


 On 28 July 2013 23:10, Martin Abente martin.abente.lah...@gmail.comwrote:

 You need to apply it while standing at ../sugar-build/sugar/

 On Sun, Jul 28, 2013 at 1:35 PM, Suraj K S 
 suraj.gilles...@gmail.comwrote:

 Done.
 This is what I got:

 Applying: Check for get_icons().props.names absence
 error: extensions/deviceicon/volume.py: does not exist in index
 error: src/jarabe/journal/palettes.py: does not exist in index
 Patch failed at 0001 Check for get_icons().props.names absence
 The copy of the patch that failed is found in:
/home/suraj/sugar-build/.git/rebase-apply/patch
 When you have resolved this problem, run git am --resolved.
 If you prefer to skip this patch, run git am --skip instead.
 To restore the original branch and stop patching, run git am --abort.



 On 28 July 2013 22:42, Martin Abente 
 martin.abente.lah...@gmail.comwrote:

 Suraj, could you test this patch? (git am, on Sugar)


 On Sun, Jul 28, 2013 at 11:13 AM, Daniel Narvaez dwnarv...@gmail.com
  wrote:

 Unless someone knows what is going on, it would be good to log info
 about the mount, like the path and the icon... That should help
 understanding the issue.


 On Sunday, 28 July 2013, Suraj K S wrote:

 Nope.
 I never added any external device.


 On 28 July 2013 20:05, Daniel Narvaez dwnarv...@gmail.com wrote:

 Looks like one of your mounts is associated with an icon which is
 not a GThemedIcon. I guess that should be handled properly  in the 
 code,
 but I'm not sure why it started happening. Do you have any external 
 device
 attached which you didn't have before?


 On 28 July 2013 14:10, Suraj K S suraj.gilles...@gmail.comwrote:




 On 28 July 2013 13:20, Suraj K S suraj.gilles...@gmail.comwrote:

 There is so much in shell.log.


 On 28 July 2013 04:13, Gonzalo Odiard gonz...@laptop.orgwrote:

 Anything in shell.log?

 Gonzalo


 On Sat, Jul 27, 2013 at 8:43 AM, Suraj K S 
 suraj.gilles...@gmail.com wrote:

 After I cleaned a did a new sugar-build, the journal doesn't
 open in Sugar.
 When i click on the journal icon nothing happens.

 This is what I found in datastore.log

 1374924813.221366 WARNING org.laptop.sugar.DataStore:
 Rebuilding index in /tmp/sugar-datastore-index-V0KK8T
 1374924813.399288 WARNING org.laptop.sugar.DataStore:
 Attempting to move tempfs index to disk
 ~




 How can I resolve this?

 ___
 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




 --
 Daniel Narvaez




 --
 Daniel Narvaez


 ___
 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


Re: [Sugar-devel] Usage of sugar-build

2013-07-28 Thread Daniel Narvaez
On 26 July 2013 23:00, James Simmons nices...@gmail.com wrote:

 I probably will not do much updating to MYOSA on sugar-build until the
 chroot branch has been merged, then.  As long as Xephyr is still in there
 the instructions I have should be tolerable.  I might put in something
 about the need to update the sudoers table with visudo and give an
 example, as that could be a stumbling block for some.


Removing Xephyr usage was discussed but at the moment I have no solid plans
for it. Certainly it's not removed in the chroot branch.


 I am a bit puzzled about profile not working.  I *think* I'm doing it
 right.



You might have misunderstood what the pref does. It's supposed to put sugar
data in ~/.sugar/$profile, it doesn't affect user name as you seem to
expect.
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel