Re: [Sugar-devel] [Systems] Error on trac reading a bug #4863

2015-07-27 Thread Bernie Innocenti
1. We need monitoring for containers health with notifications when 
parameters go off thresholds. Similar to what Munin does.


2. Containers should autorestart if they crash for any reason (with the 
usual measures to deal with services which crash repeatedly).


3. Since high-profile services have been deployed using Docker for a 
while, software for doing (1) and (2) certainly exists already :-)



On 27/07/15 22:32, Samuel Cantero wrote:

I didn't shut it down. The trac container was already off when I checked
it.

On Mon, Jul 27, 2015 at 9:40 PM, Sam P. mailto:sam@sam.today>> wrote:

Did you check the logs before you shut it down?


On Tue, 28 Jul 2015 9:38 am Samuel Cantero mailto:s...@sugarlabs.org>> wrote:

Hi Gonzalo,

The trac container was down. I just recently turned it on.

Somebody turned it off for some reason? If it not the case,
maybe the container has reached its maximum memory or processor
limit. The docker container stops in that case.

Greetings,



On Mon, Jul 27, 2015 at 5:01 PM, Gonzalo Odiard
mailto:godi...@sugarlabs.org>> wrote:

Today, I get a error

502 Bad Gateway
nginx/1.8.0

when try access trac.

Gonzalo

On Sat, Jul 25, 2015 at 8:40 PM, Gonzalo Odiard
mailto:godi...@sugarlabs.org>> wrote:

Thanks Sams :)

On Sat, Jul 25, 2015 at 3:58 PM, Samuel Cantero
mailto:s...@sugarlabs.org>> wrote:

Hi All,

I just recently check this email. The good news is
that Sam P already dockerized this service and now
we have the 1.0.7 Trac version.

Greetings,

On Fri, Jul 24, 2015 at 11:06 AM, Gonzalo Odiard
mailto:godi...@sugarlabs.org>> wrote:

I am pretty sure dnarvaez updated the trac
instance a time ago.

On Fri, Jul 24, 2015 at 12:03 PM, Bernie
Innocenti mailto:ber...@codewiz.org>> wrote:

On 07/24/2015 10:34 AM, Gonzalo Odiard wrote:
> When try to read 
bughttp://bugs.sugarlabs.org/ticket/4863
> get the following error:"Genshi 
UnicodeEncodeError error while rendering
> template (unknown template location)"
>
> A quick google search show this bug [1]
>
> The error is originated by simply enter a link 
like this
> ""
> to a ticket. According to this [2] the bug is 
already solved on Trac 1.0.2
>
> Then:
> Developers: Please don't add links between <> 
until the error is solved.
> Systems: I don't know what version of trac we 
have running, could be
> possible update?

Who's maintaining Trac these days? The wiki
points at dnarvaez and me,
but the former is MIA and the latter has
installed it in 2008 and not
touched it ever since:

https://wiki.sugarlabs.org/go/Service/bugs

Perhaps one of the two Sams would like to
upgrade Trac in-place or move
it into a docker container?

--
  _ // Bernie Innocenti
  \X/ http://codewiz.org




--
Gonzalo Odiard

SugarLabs - Software [for | by] children learning

___
Systems mailing list
syst...@lists.sugarlabs.org

http://lists.sugarlabs.org/listinfo/systems





--
Gonzalo Odiard

SugarLabs - Software [for | by] children learning




--
Gonzalo Odiard

SugarLabs - Software [for | by] children learning


___
Systems mailing list
syst...@lists.sugarlabs.org 
http://lists.sugarlabs.org/listinfo/systems




___
Systems mailing list
syst...@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/systems




--
 _ // Bernie Innocenti
 \X/  http://codewiz.or

Re: [Sugar-devel] [Systems] Error on trac reading a bug #4863

2015-07-27 Thread Sam P.
Did you check the logs before you shut it down?

On Tue, 28 Jul 2015 9:38 am Samuel Cantero  wrote:

> Hi Gonzalo,
>
> The trac container was down. I just recently turned it on.
>
> Somebody turned it off for some reason? If it not the case, maybe the
> container has reached its maximum memory or processor limit. The docker
> container stops in that case.
>
> Greetings,
>
>
>
> On Mon, Jul 27, 2015 at 5:01 PM, Gonzalo Odiard 
> wrote:
>
>> Today, I get a error
>>
>> 502 Bad Gateway
>> nginx/1.8.0
>>
>> when try access trac.
>>
>> Gonzalo
>>
>> On Sat, Jul 25, 2015 at 8:40 PM, Gonzalo Odiard 
>> wrote:
>>
>>> Thanks Sams :)
>>>
>>> On Sat, Jul 25, 2015 at 3:58 PM, Samuel Cantero 
>>> wrote:
>>>
 Hi All,

 I just recently check this email. The good news is that Sam P already
 dockerized this service and now we have the 1.0.7 Trac version.

 Greetings,

 On Fri, Jul 24, 2015 at 11:06 AM, Gonzalo Odiard >>> > wrote:

> I am pretty sure dnarvaez updated the trac instance a time ago.
>
> On Fri, Jul 24, 2015 at 12:03 PM, Bernie Innocenti  > wrote:
>
>> On 07/24/2015 10:34 AM, Gonzalo Odiard wrote:
>> > When try to read bug http://bugs.sugarlabs.org/ticket/4863
>> > get the following error:"Genshi UnicodeEncodeError error while
>> rendering
>> > template (unknown template location)"
>> >
>> > A quick google search show this bug [1]
>> >
>> > The error is originated by simply enter a link like this
>> > ""
>> > to a ticket. According to this [2] the bug is already solved on
>> Trac 1.0.2
>> >
>> > Then:
>> > Developers: Please don't add links between <> until the error is
>> solved.
>> > Systems: I don't know what version of trac we have running, could be
>> > possible update?
>>
>> Who's maintaining Trac these days? The wiki points at dnarvaez and me,
>> but the former is MIA and the latter has installed it in 2008 and not
>> touched it ever since:
>>
>>   https://wiki.sugarlabs.org/go/Service/bugs
>>
>> Perhaps one of the two Sams would like to upgrade Trac in-place or
>> move
>> it into a docker container?
>>
>> --
>>  _ // Bernie Innocenti
>>  \X/  http://codewiz.org
>>
>
>
>
> --
> Gonzalo Odiard
>
> SugarLabs - Software [for | by] children learning
>
> ___
> Systems mailing list
> syst...@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/systems
>
>

>>>
>>>
>>> --
>>> Gonzalo Odiard
>>>
>>> SugarLabs - Software [for | by] children learning
>>>
>>
>>
>>
>> --
>> Gonzalo Odiard
>>
>> SugarLabs - Software [for | by] children learning
>>
>
> ___
> Systems mailing list
> syst...@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/systems
>
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [Systems] Error on trac reading a bug #4863

2015-07-27 Thread Gonzalo Odiard
Today, I get a error

502 Bad Gateway
nginx/1.8.0

when try access trac.

Gonzalo

On Sat, Jul 25, 2015 at 8:40 PM, Gonzalo Odiard 
wrote:

> Thanks Sams :)
>
> On Sat, Jul 25, 2015 at 3:58 PM, Samuel Cantero  wrote:
>
>> Hi All,
>>
>> I just recently check this email. The good news is that Sam P already
>> dockerized this service and now we have the 1.0.7 Trac version.
>>
>> Greetings,
>>
>> On Fri, Jul 24, 2015 at 11:06 AM, Gonzalo Odiard 
>> wrote:
>>
>>> I am pretty sure dnarvaez updated the trac instance a time ago.
>>>
>>> On Fri, Jul 24, 2015 at 12:03 PM, Bernie Innocenti 
>>> wrote:
>>>
 On 07/24/2015 10:34 AM, Gonzalo Odiard wrote:
 > When try to read bug http://bugs.sugarlabs.org/ticket/4863
 > get the following error:"Genshi UnicodeEncodeError error while
 rendering
 > template (unknown template location)"
 >
 > A quick google search show this bug [1]
 >
 > The error is originated by simply enter a link like this
 > ""
 > to a ticket. According to this [2] the bug is already solved on Trac
 1.0.2
 >
 > Then:
 > Developers: Please don't add links between <> until the error is
 solved.
 > Systems: I don't know what version of trac we have running, could be
 > possible update?

 Who's maintaining Trac these days? The wiki points at dnarvaez and me,
 but the former is MIA and the latter has installed it in 2008 and not
 touched it ever since:

   https://wiki.sugarlabs.org/go/Service/bugs

 Perhaps one of the two Sams would like to upgrade Trac in-place or move
 it into a docker container?

 --
  _ // Bernie Innocenti
  \X/  http://codewiz.org

>>>
>>>
>>>
>>> --
>>> Gonzalo Odiard
>>>
>>> SugarLabs - Software [for | by] children learning
>>>
>>> ___
>>> Systems mailing list
>>> syst...@lists.sugarlabs.org
>>> http://lists.sugarlabs.org/listinfo/systems
>>>
>>>
>>
>
>
> --
> Gonzalo Odiard
>
> SugarLabs - Software [for | by] children learning
>



-- 
Gonzalo Odiard

SugarLabs - Software [for | by] children learning
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] license of layout.py in Sugar Calculate activity

2015-07-27 Thread Gonzalo Odiard
I din't _changed_ the license, just made explicit in the file the license
used in the activity.
Didn't asked to anybody. Feel free to start a research and ask to everybody
of who contributed,
if you don't trust in my judgment.
If anybody of them do not agree (and I am _pretty_sure_ that will not be
the case)
I will remove the code if needed.

Gonzalo

On Mon, Jul 27, 2015 at 11:39 AM, Jonas Smedegaard  wrote:

> Quoting Gonzalo Odiard (2015-07-27 15:02:05)
> > I already added license to layout.py
> >
> > https://github.com/godiard/sugarlabs-calculate/commit/
> > 95302e66919ac89338a7a91575f9002dadb9218c
> >
> > Aneesh is not the copyright holder, he only contributed and added his
> name:
> >
> > https://github.com/godiard/sugarlabs-calculate/commit/
> > e088b4a0cfbbe6fe7eab2c4ccf8e8b2f98553206
>
> Uhm, above URLs proves - if anything - that indeed Aneesh a) did
> contribute code to that file and b) explicitly stated copyright claim
> for that contribution.
>
> Others may have written other parts - majority parts even - which makes
> them _also_ copyright holders.  *All* copyright holders should be
> consulted when granting/changing licensing terms for a work.
>
> Who did you consult, leading to the change in licensing that you did?
>
>
> Kind regards,
>
>  - Jonas
>
> --
>  * Jonas Smedegaard - idealist & Internet-arkitekt
>  * Tlf.: +45 40843136  Website: http://dr.jones.dk/
>
>  [x] quote me freely  [ ] ask before reusing  [ ] keep private
>
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>


-- 
Gonzalo Odiard

SugarLabs - Software [for | by] children learning
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] license of layout.py in Sugar Calculate activity

2015-07-27 Thread Jonas Smedegaard
Quoting Gonzalo Odiard (2015-07-27 15:02:05)
> I already added license to layout.py 
> 
> https://github.com/godiard/sugarlabs-calculate/commit/
> 95302e66919ac89338a7a91575f9002dadb9218c
> 
> Aneesh is not the copyright holder, he only contributed and added his name:
> 
> https://github.com/godiard/sugarlabs-calculate/commit/
> e088b4a0cfbbe6fe7eab2c4ccf8e8b2f98553206

Uhm, above URLs proves - if anything - that indeed Aneesh a) did 
contribute code to that file and b) explicitly stated copyright claim 
for that contribution.

Others may have written other parts - majority parts even - which makes 
them _also_ copyright holders.  *All* copyright holders should be 
consulted when granting/changing licensing terms for a work.

Who did you consult, leading to the change in licensing that you did?


Kind regards,

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private


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


Re: [Sugar-devel] license of layout.py in Sugar Calculate activity

2015-07-27 Thread Gonzalo Odiard
I already added license to layout.py

https://github.com/godiard/sugarlabs-calculate/commit/95302e66919ac89338a7a91575f9002dadb9218c

Aneesh is not the copyright holder, he only contributed and added his name:

https://github.com/godiard/sugarlabs-calculate/commit/e088b4a0cfbbe6fe7eab2c4ccf8e8b2f98553206

On Mon, Jul 27, 2015 at 5:06 AM, Jonas Smedegaard  wrote:

> Hi Aneesh,
>
> Quoting Aneesh Dogra (2015-07-27 08:45:11)
> > Sorry. I was on a long vacation. Getting back on my emails now. Can I do
> > something about this?
>
> If you wrote that code originally, then simply posting an email here
> stating e.g. "Sre, I am fine that licensing for layout.py file in
> the Calculate activity is same as generally for that activity" or "I
> hereby license layout.py file in the Calculate activity as GPL version
> to or newer."
>
> Such a statement means others can rely on that and a) add licensing to
> the upstream code and/or b) add notes about your out-of-band licensing
> statement when redistributing e.g. for Debian.
>
> Even better would be - still only if you are the copyright holder - if
> you have write access to the upstream git and edit the file to include
> licensing statement :-)
>
>
> Thanks,
>
>  - Jonas
>
> --
>  * Jonas Smedegaard - idealist & Internet-arkitekt
>  * Tlf.: +45 40843136  Website: http://dr.jones.dk/
>
>  [x] quote me freely  [ ] ask before reusing  [ ] keep private
>
> ___
> Sugar-devel mailing list
> Sugar-devel@lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>


-- 
Gonzalo Odiard

SugarLabs - Software [for | by] children learning
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] license of layout.py in Sugar Calculate activity

2015-07-27 Thread Jonas Smedegaard
Hi Aneesh,

Quoting Aneesh Dogra (2015-07-27 08:45:11)
> Sorry. I was on a long vacation. Getting back on my emails now. Can I do
> something about this?

If you wrote that code originally, then simply posting an email here 
stating e.g. "Sre, I am fine that licensing for layout.py file in 
the Calculate activity is same as generally for that activity" or "I 
hereby license layout.py file in the Calculate activity as GPL version 
to or newer."

Such a statement means others can rely on that and a) add licensing to 
the upstream code and/or b) add notes about your out-of-band licensing 
statement when redistributing e.g. for Debian.

Even better would be - still only if you are the copyright holder - if 
you have write access to the upstream git and edit the file to include 
licensing statement :-)


Thanks,

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private


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