Re: [Sugar-devel] unable to launch record activity in sugar development environment

2014-04-07 Thread Gonzalo Odiard
I am not sure if we are talking about the same error. Do you have more information? Gonzalo On Fri, Apr 4, 2014 at 11:14 AM, Flavio Danesse fdane...@gmail.com wrote: This is a bug that has been present for a while. It occurs when your code have the same name for a class for the file that

Re: [Sugar-devel] unable to launch record activity in sugar development environment

2014-04-07 Thread Flavio Danesse
If you have for example a package called Record and into a file called Record.py and within a class are called Record you ought to do: import Record from Record.Record import Record That does not work in sugar. 2014-04-07 15:36 GMT-03:00 Gonzalo Odiard godi...@gmail.com: I am not sure if we

Re: [Sugar-devel] unable to launch record activity in sugar development environment

2014-04-04 Thread Sam Parkinson
Hi, Try copying your ssh keys to [dot sugar dir]/default/. You should copy the id_rsa.pub to owner.key.pub Have a look at this for how to make ssh keys if you need to: https://help.github.com/articles/generating-ssh-keys Hope that helps :) Sam On Apr 4, 2014 8:15 PM, Puneet Kaur

Re: [Sugar-devel] unable to launch record activity in sugar development environment

2014-04-04 Thread Daniel Narvaez
You can see the /home/broot path inside an osbuild shell, it corresponds to sugar-build/home. On Friday, 4 April 2014, Puneet Kaur puneet.gk...@gmail.com wrote: I am unable to launch the record activity in my sugar development environment due to the following (as seen in the log): **

Re: [Sugar-devel] unable to launch record activity in sugar development environment

2014-04-04 Thread Daniel Narvaez
Aren't the keys supposed to be created by sugar on first start? On Friday, 4 April 2014, Sam Parkinson sam.parkins...@gmail.com wrote: Hi, Try copying your ssh keys to [dot sugar dir]/default/. You should copy the id_rsa.pub to owner.key.pub Have a look at this for how to make ssh keys if

Re: [Sugar-devel] unable to launch record activity in sugar development environment

2014-04-04 Thread Gonzalo Odiard
Record is a gtk2 activity, then is using sugar.profile, not sugar3.profile, and is not looking at the broot directory, but to .sugar/default/ I think we discussed this issue about the compatibility with gtk2 activities before, but don't remember what we decided. Gonzalo On Fri, Apr 4, 2014 at

Re: [Sugar-devel] unable to launch record activity in sugar development environment

2014-04-04 Thread Daniel Narvaez
Oooh damn gtk2... This needs to be backported to sugar-toolkit commit fe192be798ac1a9bd13983d197cb5775b7da2ad5 Author: Daniel Narvaez dwnarv...@gmail.com Date: Wed Sep 11 16:36:31 2013 +0200 Add a SUGAR_HOME environment variable We should really use XDG directories but that will be a

Re: [Sugar-devel] unable to launch record activity in sugar development environment

2014-04-04 Thread Gonzalo Odiard
Should we move sugar-toolkit to github too? Gonzalo On Fri, Apr 4, 2014 at 7:46 AM, Daniel Narvaez dwnarv...@gmail.com wrote: Oooh damn gtk2... This needs to be backported to sugar-toolkit commit fe192be798ac1a9bd13983d197cb5775b7da2ad5 Author: Daniel Narvaez dwnarv...@gmail.com Date:

Re: [Sugar-devel] unable to launch record activity in sugar development environment

2014-04-04 Thread Puneet Kaur
Hey, The key is already there in owner.key.pub file inside /home/dotsugar/default directory. On Fri, Apr 4, 2014 at 2:59 PM, Sam Parkinson sam.parkins...@gmail.comwrote: Hi, Try copying your ssh keys to [dot sugar dir]/default/. You should copy the id_rsa.pub to owner.key.pub Have a look

Re: [Sugar-devel] unable to launch record activity in sugar development environment

2014-04-04 Thread Gonzalo Odiard
Can you copy the file in the directory ~/.sugar/default ? Gonzalo On Fri, Apr 4, 2014 at 8:48 AM, Puneet Kaur puneet.gk...@gmail.com wrote: Hey, The key is already there in owner.key.pub file inside /home/dotsugar/default directory. On Fri, Apr 4, 2014 at 2:59 PM, Sam Parkinson

Re: [Sugar-devel] unable to launch record activity in sugar development environment

2014-04-04 Thread Puneet Kaur
yup that solved the problem. copied owner.key.pub file to ~/.sugar/default and now it runs :-) Thanks, On Fri, Apr 4, 2014 at 5:19 PM, Gonzalo Odiard godi...@gmail.com wrote: Can you copy the file in the directory ~/.sugar/default ? Gonzalo On Fri, Apr 4, 2014 at 8:48 AM, Puneet Kaur

Re: [Sugar-devel] unable to launch record activity in sugar development environment

2014-04-04 Thread Gonzalo Odiard
Ok, we are looking at solving this issue in sugar-toolkit, then copy the file is not needed in the future. Gonzalo On Fri, Apr 4, 2014 at 8:55 AM, Puneet Kaur puneet.gk...@gmail.com wrote: yup that solved the problem. copied owner.key.pub file to ~/.sugar/default and now it runs :-)

Re: [Sugar-devel] unable to launch record activity in sugar development environment

2014-04-04 Thread Puneet Kaur
cool ! :-) On Fri, Apr 4, 2014 at 5:27 PM, Gonzalo Odiard godi...@gmail.com wrote: Ok, we are looking at solving this issue in sugar-toolkit, then copy the file is not needed in the future. Gonzalo On Fri, Apr 4, 2014 at 8:55 AM, Puneet Kaur puneet.gk...@gmail.comwrote: yup that solved

Re: [Sugar-devel] unable to launch record activity in sugar development environment

2014-04-04 Thread Flavio Danesse
This is a bug that has been present for a while. It occurs when your code have the same name for a class for the file that contains it. For example, this fails: from Record import Record 2014-04-04 9:01 GMT-03:00 Puneet Kaur puneet.gk...@gmail.com: cool ! :-) On Fri, Apr 4, 2014 at 5:27