Re: [Sugar-devel] Is it possible to access to my Host System home folder from sugar-build instance ?
On Sun, Sep 15, 2013 at 9:15 AM, Daniel Narvaez wrote: > On 15 September 2013 14:12, Walter Bender wrote: >> >> Another issue that activity developers encounter is lack of access to >> ~/Documents. xdg-user-dir find the chroot home rather than the >> developer's home. > > > Are you using ~/Documents to exchange stuff between your main desktop and > sugar? Yes.. Used by, for example, the Background cpsection. It is an integral part of Sugar that would be nice to be able to test in the devel environment. > >> >> Also, for some reason, I cannot get the debug file to be read by >> sugar. I've tried updating it in sugar-build, in /var/broot, and >> ~/.sugar but it seems to be ignored :( > > > Hmm something seems broken, a sugar-build/home/default/debug file is > supposed to exist, and at least here I don't see one. Probably one more bug > I didn't manage to fix with my set of patches. -- Walter Bender Sugar Labs http://www.sugarlabs.org ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Is it possible to access to my Host System home folder from sugar-build instance ?
On 15 September 2013 15:44, Daniel Narvaez wrote: > On 15 September 2013 15:15, Daniel Narvaez wrote: > >> On 15 September 2013 14:12, Walter Bender wrote: >> >>> Another issue that activity developers encounter is lack of access to >>> ~/Documents. xdg-user-dir find the chroot home rather than the >>> developer's home. >>> >> >> Are you using ~/Documents to exchange stuff between your main desktop and >> sugar? >> > > > What about sugar-build/home/documents? It should be possible to make that > work. > The only other alternative I can think of is to mount ~/Documents inside the chroot. I'm not really keen about that though, because if you (or sugar-build) accidentally deleted the chroot with ~/Documents mounted, you would also delete it's content from the host system... I'm not sure if there is a way around that, I think it's also the reason I decided to mount only sugar-build instead of the whole user home... ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Is it possible to access to my Host System home folder from sugar-build instance ?
On 15 September 2013 15:44, Daniel Narvaez wrote: > > Yeah one stupid mistake on my side and a more tricky bug... I'll see if I > can just move this to the sugar script, it should be called as early as > possible and it should look nicer in a shell script anyway. > > https://github.com/sugarlabs/sugar/pull/100 https://github.com/sugarlabs/sugar-toolkit-gtk3/pull/40 ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Is it possible to access to my Host System home folder from sugar-build instance ?
On 15 September 2013 15:15, Daniel Narvaez wrote: > On 15 September 2013 14:12, Walter Bender wrote: > >> Another issue that activity developers encounter is lack of access to >> ~/Documents. xdg-user-dir find the chroot home rather than the >> developer's home. >> > > Are you using ~/Documents to exchange stuff between your main desktop and > sugar? > What about sugar-build/home/documents? It should be possible to make that work. > > >> Also, for some reason, I cannot get the debug file to be read by >> sugar. I've tried updating it in sugar-build, in /var/broot, and >> ~/.sugar but it seems to be ignored :( >> > > Hmm something seems broken, a sugar-build/home/default/debug file is > supposed to exist, and at least here I don't see one. Probably one more bug > I didn't manage to fix with my set of patches. > Yeah one stupid mistake on my side and a more tricky bug... I'll see if I can just move this to the sugar script, it should be called as early as possible and it should look nicer in a shell script anyway. -- Daniel Narvaez ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Is it possible to access to my Host System home folder from sugar-build instance ?
On 15 September 2013 14:12, Walter Bender wrote: > Another issue that activity developers encounter is lack of access to > ~/Documents. xdg-user-dir find the chroot home rather than the > developer's home. > Are you using ~/Documents to exchange stuff between your main desktop and sugar? > Also, for some reason, I cannot get the debug file to be read by > sugar. I've tried updating it in sugar-build, in /var/broot, and > ~/.sugar but it seems to be ignored :( > Hmm something seems broken, a sugar-build/home/default/debug file is supposed to exist, and at least here I don't see one. Probably one more bug I didn't manage to fix with my set of patches. ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Is it possible to access to my Host System home folder from sugar-build instance ?
Another issue that activity developers encounter is lack of access to ~/Documents. xdg-user-dir find the chroot home rather than the developer's home. Also, for some reason, I cannot get the debug file to be read by sugar. I've tried updating it in sugar-build, in /var/broot, and ~/.sugar but it seems to be ignored :( -walter On Sat, Sep 14, 2013 at 7:18 PM, Daniel Narvaez wrote: > On 15 September 2013 01:15, Gonzalo Odiard wrote: >> >> On Sat, Sep 14, 2013 at 3:40 PM, Daniel Narvaez >> wrote: >> > With the latest sugar-build the user installed activities are in >> > sugar-build/activities. >> > >> >> Outside of broot? > > > Well, both inside and outside (the sugar-build directory is bind mounted > inside the chroot). > > ___ > Sugar-devel mailing list > Sugar-devel@lists.sugarlabs.org > http://lists.sugarlabs.org/listinfo/sugar-devel > -- Walter Bender Sugar Labs http://www.sugarlabs.org ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Is it possible to access to my Host System home folder from sugar-build instance ?
On 15 September 2013 01:15, Gonzalo Odiard wrote: > On Sat, Sep 14, 2013 at 3:40 PM, Daniel Narvaez > wrote: > > With the latest sugar-build the user installed activities are in > > sugar-build/activities. > > > > Outside of broot? > Well, both inside and outside (the sugar-build directory is bind mounted inside the chroot). ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Is it possible to access to my Host System home folder from sugar-build instance ?
On Sat, Sep 14, 2013 at 3:40 PM, Daniel Narvaez wrote: > With the latest sugar-build the user installed activities are in > sugar-build/activities. > Outside of broot? Gonzalo > > On 14 September 2013 20:17, Gonzalo Odiard wrote: >> >> We can't use the activities in the ~/Activities directory? >> >> Gonzalo >> >> On Sat, Sep 14, 2013 at 1:55 PM, Daniel Narvaez >> wrote: >> > Hmm yeah, a symlink won't actually work, sorry. You need to move the >> > directory inside the sugar-build directory. >> > >> > >> > On 14 September 2013 18:01, laurent bernabe >> > wrote: >> >> >> >> Hello, >> >> >> >> this is my sugar-build terminal output, which shows how is defined the >> >> symlink and what problem I am facing with it in sugar-build >> >> >> >> >> >> >> >> ___ >> >> >> >> bash: cd: HitTheBalls.activity: No such file or directory >> >> bash-4.2$ ls -l >> >> total 184 >> >> lrwxrwxrwx 1 broot broot96 Sep 14 09:47 HitTheBalls.activity -> >> >> >> >> /home/laurent-bernabe/LibrairiesProgrammation/Python/OLPCGames-1.6/skeleton/HitTheBalls.activity >> >> -rw-rw-r-- 1 broot broot 598 Sep 13 12:59 README.md >> >> drwxrwxr-x 8 broot broot 4096 Sep 13 19:01 at-spi2-atk >> >> drwxrwxr-x 15 broot broot 4096 Sep 13 19:01 at-spi2-core >> >> drwxrwxr-x 10 broot broot 4096 Sep 13 19:00 automake >> >> drwxrwxr-x 9 broot broot 4096 Sep 13 19:10 browse >> >> drwxrwxr-x 7 broot broot 4096 Sep 14 09:31 build >> >> drwxrwxr-x 9 broot broot 4096 Sep 13 19:10 chat >> >> drwxrwxr-x 9 broot broot 4096 Sep 13 19:10 clock-web >> >> drwxrwxr-x 8 broot broot 4096 Sep 13 14:55 docker >> >> drwxrwxr-x 10 broot broot 4096 Sep 13 19:06 flake8 >> >> drwxrwxr-x 6 broot broot 4096 Sep 13 14:51 grunt-cli >> >> drwxrwxr-x 9 broot broot 4096 Sep 13 19:10 gtd-activity >> >> drwxrwxr-x 7 broot broot 4096 Sep 13 19:02 gwebsockets >> >> drwxrwxr-x 4 broot broot 4096 Sep 13 19:10 home >> >> drwxrwxr-x 8 broot broot 4096 Sep 13 19:10 imageviewer >> >> drwxrwxr-x 6 broot broot 4096 Sep 13 14:55 js-beautify >> >> drwxrwxr-x 8 broot broot 4096 Sep 13 14:55 jshint >> >> drwxrwxr-x 8 broot broot 4096 Sep 13 19:10 jukebox >> >> drwxrwxr-x 12 broot broot 4096 Sep 13 19:03 karma >> >> drwxrwxr-x 10 broot broot 4096 Sep 13 19:02 libxklavier >> >> drwxrwxr-x 8 broot broot 4096 Sep 13 19:10 log >> >> -rwxrwxr-x 1 broot broot 12480 Sep 13 12:59 osbuild >> >> drwxrwxr-x 8 broot broot 4096 Sep 13 19:06 pep8 >> >> drwxrwxr-x 12 broot broot 4096 Sep 13 19:10 pippy >> >> drwxrwxr-x 8 broot broot 4096 Sep 13 19:06 pyflakes >> >> drwxrwxr-x 9 broot broot 4096 Sep 13 19:10 read >> >> drwxrwxr-x 7 broot broot 4096 Sep 13 14:55 recess >> >> drwxrwxr-x 11 broot broot 4096 Sep 13 19:08 sugar >> >> drwxrwxr-x 9 broot broot 4096 Sep 13 19:09 sugar-artwork >> >> drwxrwxr-x 7 broot broot 4096 Sep 13 19:07 sugar-base >> >> drwxrwxr-x 8 broot broot 4096 Sep 13 19:09 sugar-datastore >> >> drwxrwxr-x 4 broot broot 4096 Sep 13 17:56 sugar-docs >> >> drwxrwxr-x 10 broot broot 4096 Sep 13 19:10 sugar-runner >> >> drwxrwxr-x 9 broot broot 4096 Sep 13 19:07 sugar-toolkit >> >> drwxrwxr-x 10 broot broot 4096 Sep 13 19:08 sugar-toolkit-gtk3 >> >> drwxrwxr-x 6 broot broot 4096 Sep 13 18:07 sugar-web >> >> drwxrwxr-x 7 broot broot 4096 Sep 13 18:07 sugar-web-template >> >> drwxrwxr-x 4 broot broot 4096 Sep 13 19:10 sugar-web-test >> >> drwxrwxr-x 8 broot broot 4096 Sep 13 19:10 terminal >> >> drwxrwxr-x 15 broot broot 4096 Sep 13 19:10 turtleart >> >> drwxrwxr-x 9 broot broot 4096 Sep 13 14:51 volo >> >> drwxrwxr-x 6 broot broot 4096 Sep 13 18:07 webL10n >> >> bash-4.2$ cd HitTheBalls.activity >> >> bash: cd: HitTheBalls.activity: No such file or directory >> >> bash-4.2$ >> >> >> >> >> >> __ >> >> >> >> Is there a workaround for my problem ? >> >> >> >> Regards >> >> >> >> >> >
Re: [Sugar-devel] Is it possible to access to my Host System home folder from sugar-build instance ?
For completeness, it would be probably possible to change sugar-build to mount the whole home in the chroot. I tend to like keeping all self contained, but I didn't really think it through carefully. (If I remember correctly Chrome OS mounts the whole home directory, for what it's worth). ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Is it possible to access to my Host System home folder from sugar-build instance ?
With the latest sugar-build the user installed activities are in sugar-build/activities. On 14 September 2013 20:17, Gonzalo Odiard wrote: > We can't use the activities in the ~/Activities directory? > > Gonzalo > > On Sat, Sep 14, 2013 at 1:55 PM, Daniel Narvaez > wrote: > > Hmm yeah, a symlink won't actually work, sorry. You need to move the > > directory inside the sugar-build directory. > > > > > > On 14 September 2013 18:01, laurent bernabe > > wrote: > >> > >> Hello, > >> > >> this is my sugar-build terminal output, which shows how is defined the > >> symlink and what problem I am facing with it in sugar-build > >> > >> > >> > ___ > >> > >> bash: cd: HitTheBalls.activity: No such file or directory > >> bash-4.2$ ls -l > >> total 184 > >> lrwxrwxrwx 1 broot broot96 Sep 14 09:47 HitTheBalls.activity -> > >> > /home/laurent-bernabe/LibrairiesProgrammation/Python/OLPCGames-1.6/skeleton/HitTheBalls.activity > >> -rw-rw-r-- 1 broot broot 598 Sep 13 12:59 README.md > >> drwxrwxr-x 8 broot broot 4096 Sep 13 19:01 at-spi2-atk > >> drwxrwxr-x 15 broot broot 4096 Sep 13 19:01 at-spi2-core > >> drwxrwxr-x 10 broot broot 4096 Sep 13 19:00 automake > >> drwxrwxr-x 9 broot broot 4096 Sep 13 19:10 browse > >> drwxrwxr-x 7 broot broot 4096 Sep 14 09:31 build > >> drwxrwxr-x 9 broot broot 4096 Sep 13 19:10 chat > >> drwxrwxr-x 9 broot broot 4096 Sep 13 19:10 clock-web > >> drwxrwxr-x 8 broot broot 4096 Sep 13 14:55 docker > >> drwxrwxr-x 10 broot broot 4096 Sep 13 19:06 flake8 > >> drwxrwxr-x 6 broot broot 4096 Sep 13 14:51 grunt-cli > >> drwxrwxr-x 9 broot broot 4096 Sep 13 19:10 gtd-activity > >> drwxrwxr-x 7 broot broot 4096 Sep 13 19:02 gwebsockets > >> drwxrwxr-x 4 broot broot 4096 Sep 13 19:10 home > >> drwxrwxr-x 8 broot broot 4096 Sep 13 19:10 imageviewer > >> drwxrwxr-x 6 broot broot 4096 Sep 13 14:55 js-beautify > >> drwxrwxr-x 8 broot broot 4096 Sep 13 14:55 jshint > >> drwxrwxr-x 8 broot broot 4096 Sep 13 19:10 jukebox > >> drwxrwxr-x 12 broot broot 4096 Sep 13 19:03 karma > >> drwxrwxr-x 10 broot broot 4096 Sep 13 19:02 libxklavier > >> drwxrwxr-x 8 broot broot 4096 Sep 13 19:10 log > >> -rwxrwxr-x 1 broot broot 12480 Sep 13 12:59 osbuild > >> drwxrwxr-x 8 broot broot 4096 Sep 13 19:06 pep8 > >> drwxrwxr-x 12 broot broot 4096 Sep 13 19:10 pippy > >> drwxrwxr-x 8 broot broot 4096 Sep 13 19:06 pyflakes > >> drwxrwxr-x 9 broot broot 4096 Sep 13 19:10 read > >> drwxrwxr-x 7 broot broot 4096 Sep 13 14:55 recess > >> drwxrwxr-x 11 broot broot 4096 Sep 13 19:08 sugar > >> drwxrwxr-x 9 broot broot 4096 Sep 13 19:09 sugar-artwork > >> drwxrwxr-x 7 broot broot 4096 Sep 13 19:07 sugar-base > >> drwxrwxr-x 8 broot broot 4096 Sep 13 19:09 sugar-datastore > >> drwxrwxr-x 4 broot broot 4096 Sep 13 17:56 sugar-docs > >> drwxrwxr-x 10 broot broot 4096 Sep 13 19:10 sugar-runner > >> drwxrwxr-x 9 broot broot 4096 Sep 13 19:07 sugar-toolkit > >> drwxrwxr-x 10 broot broot 4096 Sep 13 19:08 sugar-toolkit-gtk3 > >> drwxrwxr-x 6 broot broot 4096 Sep 13 18:07 sugar-web > >> drwxrwxr-x 7 broot broot 4096 Sep 13 18:07 sugar-web-template > >> drwxrwxr-x 4 broot broot 4096 Sep 13 19:10 sugar-web-test > >> drwxrwxr-x 8 broot broot 4096 Sep 13 19:10 terminal > >> drwxrwxr-x 15 broot broot 4096 Sep 13 19:10 turtleart > >> drwxrwxr-x 9 broot broot 4096 Sep 13 14:51 volo > >> drwxrwxr-x 6 broot broot 4096 Sep 13 18:07 webL10n > >> bash-4.2$ cd HitTheBalls.activity > >> bash: cd: HitTheBalls.activity: No such file or directory > >> bash-4.2$ > >> > >> > __ > >> > >> Is there a workaround for my problem ? > >> > >> Regards > >> > >> > >> 2013/9/14 laurent bernabe > >>> > >>> Hi again, > >>> > >>> I've created a symlink over my project root with > >>> > >>> $> ln -s > >>> > /home/my_user_folder/LibrairiesProgrammation/Python/OLPCGames-1.6/skeleton/HitTheBalls.activity > >>> HitTheBalls.activity > >>> > >>> So I ended with "a new folder" HitThaBalls.activit
Re: [Sugar-devel] Is it possible to access to my Host System home folder from sugar-build instance ?
Ok, thanks, I'll work this way, so. 2013/9/14 Daniel Narvaez > On 14 September 2013 19:42, laurent bernabe wrote: > >> Thanks, >> >> I'll try this way. >> >> Just one more question please : what should be the best practice ? >> >>1. Either to copy the folder with new modifications each time ? >>2. Or (I bet it is this one) : copy the folder one for all in >>sugar-build, then always work on this copy, but after having installed the >>program with "python setup.py dev" ? >> >> > Yes, the second, work on the sources inside sugar-build, run setup.py dev > inside an osbuild shell. > ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Is it possible to access to my Host System home folder from sugar-build instance ?
We can't use the activities in the ~/Activities directory? Gonzalo On Sat, Sep 14, 2013 at 1:55 PM, Daniel Narvaez wrote: > Hmm yeah, a symlink won't actually work, sorry. You need to move the > directory inside the sugar-build directory. > > > On 14 September 2013 18:01, laurent bernabe > wrote: >> >> Hello, >> >> this is my sugar-build terminal output, which shows how is defined the >> symlink and what problem I am facing with it in sugar-build >> >> >> ___ >> >> bash: cd: HitTheBalls.activity: No such file or directory >> bash-4.2$ ls -l >> total 184 >> lrwxrwxrwx 1 broot broot96 Sep 14 09:47 HitTheBalls.activity -> >> /home/laurent-bernabe/LibrairiesProgrammation/Python/OLPCGames-1.6/skeleton/HitTheBalls.activity >> -rw-rw-r-- 1 broot broot 598 Sep 13 12:59 README.md >> drwxrwxr-x 8 broot broot 4096 Sep 13 19:01 at-spi2-atk >> drwxrwxr-x 15 broot broot 4096 Sep 13 19:01 at-spi2-core >> drwxrwxr-x 10 broot broot 4096 Sep 13 19:00 automake >> drwxrwxr-x 9 broot broot 4096 Sep 13 19:10 browse >> drwxrwxr-x 7 broot broot 4096 Sep 14 09:31 build >> drwxrwxr-x 9 broot broot 4096 Sep 13 19:10 chat >> drwxrwxr-x 9 broot broot 4096 Sep 13 19:10 clock-web >> drwxrwxr-x 8 broot broot 4096 Sep 13 14:55 docker >> drwxrwxr-x 10 broot broot 4096 Sep 13 19:06 flake8 >> drwxrwxr-x 6 broot broot 4096 Sep 13 14:51 grunt-cli >> drwxrwxr-x 9 broot broot 4096 Sep 13 19:10 gtd-activity >> drwxrwxr-x 7 broot broot 4096 Sep 13 19:02 gwebsockets >> drwxrwxr-x 4 broot broot 4096 Sep 13 19:10 home >> drwxrwxr-x 8 broot broot 4096 Sep 13 19:10 imageviewer >> drwxrwxr-x 6 broot broot 4096 Sep 13 14:55 js-beautify >> drwxrwxr-x 8 broot broot 4096 Sep 13 14:55 jshint >> drwxrwxr-x 8 broot broot 4096 Sep 13 19:10 jukebox >> drwxrwxr-x 12 broot broot 4096 Sep 13 19:03 karma >> drwxrwxr-x 10 broot broot 4096 Sep 13 19:02 libxklavier >> drwxrwxr-x 8 broot broot 4096 Sep 13 19:10 log >> -rwxrwxr-x 1 broot broot 12480 Sep 13 12:59 osbuild >> drwxrwxr-x 8 broot broot 4096 Sep 13 19:06 pep8 >> drwxrwxr-x 12 broot broot 4096 Sep 13 19:10 pippy >> drwxrwxr-x 8 broot broot 4096 Sep 13 19:06 pyflakes >> drwxrwxr-x 9 broot broot 4096 Sep 13 19:10 read >> drwxrwxr-x 7 broot broot 4096 Sep 13 14:55 recess >> drwxrwxr-x 11 broot broot 4096 Sep 13 19:08 sugar >> drwxrwxr-x 9 broot broot 4096 Sep 13 19:09 sugar-artwork >> drwxrwxr-x 7 broot broot 4096 Sep 13 19:07 sugar-base >> drwxrwxr-x 8 broot broot 4096 Sep 13 19:09 sugar-datastore >> drwxrwxr-x 4 broot broot 4096 Sep 13 17:56 sugar-docs >> drwxrwxr-x 10 broot broot 4096 Sep 13 19:10 sugar-runner >> drwxrwxr-x 9 broot broot 4096 Sep 13 19:07 sugar-toolkit >> drwxrwxr-x 10 broot broot 4096 Sep 13 19:08 sugar-toolkit-gtk3 >> drwxrwxr-x 6 broot broot 4096 Sep 13 18:07 sugar-web >> drwxrwxr-x 7 broot broot 4096 Sep 13 18:07 sugar-web-template >> drwxrwxr-x 4 broot broot 4096 Sep 13 19:10 sugar-web-test >> drwxrwxr-x 8 broot broot 4096 Sep 13 19:10 terminal >> drwxrwxr-x 15 broot broot 4096 Sep 13 19:10 turtleart >> drwxrwxr-x 9 broot broot 4096 Sep 13 14:51 volo >> drwxrwxr-x 6 broot broot 4096 Sep 13 18:07 webL10n >> bash-4.2$ cd HitTheBalls.activity >> bash: cd: HitTheBalls.activity: No such file or directory >> bash-4.2$ >> >> __ >> >> Is there a workaround for my problem ? >> >> Regards >> >> >> 2013/9/14 laurent bernabe >>> >>> Hi again, >>> >>> I've created a symlink over my project root with >>> >>> $> ln -s >>> /home/my_user_folder/LibrairiesProgrammation/Python/OLPCGames-1.6/skeleton/HitTheBalls.activity >>> HitTheBalls.activity >>> >>> So I ended with "a new folder" HitThaBalls.activity in the sugar-build (I >>> verified with ls -s command) >>> >>> But I still can't access to its contents : >>> If i try to get into it, I still get "No such file or directory" error >>> >>> => $> cd HitTheBalls.activity >>> "No such file or directory" >>> >>> So, what did I misunderstood ? >>> >>> Regards >>> >>> >>> 2013/9/14 laurent bernabe >>>> >>>> >>>> >>>> -- Forwarded message -- &
Re: [Sugar-devel] Is it possible to access to my Host System home folder from sugar-build instance ?
On 14 September 2013 19:42, laurent bernabe wrote: > Thanks, > > I'll try this way. > > Just one more question please : what should be the best practice ? > >1. Either to copy the folder with new modifications each time ? >2. Or (I bet it is this one) : copy the folder one for all in >sugar-build, then always work on this copy, but after having installed the >program with "python setup.py dev" ? > > Yes, the second, work on the sources inside sugar-build, run setup.py dev inside an osbuild shell. ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Is it possible to access to my Host System home folder from sugar-build instance ?
Thanks, I'll try this way. Just one more question please : what should be the best practice ? 1. Either to copy the folder with new modifications each time ? 2. Or (I bet it is this one) : copy the folder one for all in sugar-build, then always work on this copy, but after having installed the program with "python setup.py dev" ? Regards 2013/9/14 Daniel Narvaez > Hmm yeah, a symlink won't actually work, sorry. You need to move the > directory inside the sugar-build directory. > > > On 14 September 2013 18:01, laurent bernabe wrote: > >> Hello, >> >> this is my sugar-build terminal output, which shows how is defined the >> symlink and what problem I am facing with it in sugar-build >> >> >> ___ >> >> bash: cd: HitTheBalls.activity: No such file or directory >> bash-4.2$ ls -l >> total 184 >> lrwxrwxrwx 1 broot broot96 Sep 14 09:47 HitTheBalls.activity -> >> /home/laurent-bernabe/LibrairiesProgrammation/Python/OLPCGames-1.6/skeleton/HitTheBalls.activity >> -rw-rw-r-- 1 broot broot 598 Sep 13 12:59 README.md >> drwxrwxr-x 8 broot broot 4096 Sep 13 19:01 at-spi2-atk >> drwxrwxr-x 15 broot broot 4096 Sep 13 19:01 at-spi2-core >> drwxrwxr-x 10 broot broot 4096 Sep 13 19:00 automake >> drwxrwxr-x 9 broot broot 4096 Sep 13 19:10 browse >> drwxrwxr-x 7 broot broot 4096 Sep 14 09:31 build >> drwxrwxr-x 9 broot broot 4096 Sep 13 19:10 chat >> drwxrwxr-x 9 broot broot 4096 Sep 13 19:10 clock-web >> drwxrwxr-x 8 broot broot 4096 Sep 13 14:55 docker >> drwxrwxr-x 10 broot broot 4096 Sep 13 19:06 flake8 >> drwxrwxr-x 6 broot broot 4096 Sep 13 14:51 grunt-cli >> drwxrwxr-x 9 broot broot 4096 Sep 13 19:10 gtd-activity >> drwxrwxr-x 7 broot broot 4096 Sep 13 19:02 gwebsockets >> drwxrwxr-x 4 broot broot 4096 Sep 13 19:10 home >> drwxrwxr-x 8 broot broot 4096 Sep 13 19:10 imageviewer >> drwxrwxr-x 6 broot broot 4096 Sep 13 14:55 js-beautify >> drwxrwxr-x 8 broot broot 4096 Sep 13 14:55 jshint >> drwxrwxr-x 8 broot broot 4096 Sep 13 19:10 jukebox >> drwxrwxr-x 12 broot broot 4096 Sep 13 19:03 karma >> drwxrwxr-x 10 broot broot 4096 Sep 13 19:02 libxklavier >> drwxrwxr-x 8 broot broot 4096 Sep 13 19:10 log >> -rwxrwxr-x 1 broot broot 12480 Sep 13 12:59 osbuild >> drwxrwxr-x 8 broot broot 4096 Sep 13 19:06 pep8 >> drwxrwxr-x 12 broot broot 4096 Sep 13 19:10 pippy >> drwxrwxr-x 8 broot broot 4096 Sep 13 19:06 pyflakes >> drwxrwxr-x 9 broot broot 4096 Sep 13 19:10 read >> drwxrwxr-x 7 broot broot 4096 Sep 13 14:55 recess >> drwxrwxr-x 11 broot broot 4096 Sep 13 19:08 sugar >> drwxrwxr-x 9 broot broot 4096 Sep 13 19:09 sugar-artwork >> drwxrwxr-x 7 broot broot 4096 Sep 13 19:07 sugar-base >> drwxrwxr-x 8 broot broot 4096 Sep 13 19:09 sugar-datastore >> drwxrwxr-x 4 broot broot 4096 Sep 13 17:56 sugar-docs >> drwxrwxr-x 10 broot broot 4096 Sep 13 19:10 sugar-runner >> drwxrwxr-x 9 broot broot 4096 Sep 13 19:07 sugar-toolkit >> drwxrwxr-x 10 broot broot 4096 Sep 13 19:08 sugar-toolkit-gtk3 >> drwxrwxr-x 6 broot broot 4096 Sep 13 18:07 sugar-web >> drwxrwxr-x 7 broot broot 4096 Sep 13 18:07 sugar-web-template >> drwxrwxr-x 4 broot broot 4096 Sep 13 19:10 sugar-web-test >> drwxrwxr-x 8 broot broot 4096 Sep 13 19:10 terminal >> drwxrwxr-x 15 broot broot 4096 Sep 13 19:10 turtleart >> drwxrwxr-x 9 broot broot 4096 Sep 13 14:51 volo >> drwxrwxr-x 6 broot broot 4096 Sep 13 18:07 webL10n >> bash-4.2$ cd HitTheBalls.activity >> bash: cd: HitTheBalls.activity: No such file or directory >> bash-4.2$ >> >> __ >> >> Is there a workaround for my problem ? >> >> Regards >> >> >> 2013/9/14 laurent bernabe >> >>> Hi again, >>> >>> I've created a symlink over my project root with >>> >>> $> ln -s >>> /home/my_user_folder/LibrairiesProgrammation/Python/OLPCGames-1.6/skeleton/HitTheBalls.activity >>> HitTheBalls.activity >>> >>> So I ended with "a new folder" HitThaBalls.activity in the sugar-build >>> (I verified with ls -s command) >>> >>> But I still can't access to its contents : >>> If i try to get into it, I still get "No such file or directory" error >>> >>> => $> cd HitTheBalls.activity >>> "No such file or directory"
Re: [Sugar-devel] Is it possible to access to my Host System home folder from sugar-build instance ?
Hmm yeah, a symlink won't actually work, sorry. You need to move the directory inside the sugar-build directory. On 14 September 2013 18:01, laurent bernabe wrote: > Hello, > > this is my sugar-build terminal output, which shows how is defined the > symlink and what problem I am facing with it in sugar-build > > > ___ > > bash: cd: HitTheBalls.activity: No such file or directory > bash-4.2$ ls -l > total 184 > lrwxrwxrwx 1 broot broot96 Sep 14 09:47 HitTheBalls.activity -> > /home/laurent-bernabe/LibrairiesProgrammation/Python/OLPCGames-1.6/skeleton/HitTheBalls.activity > -rw-rw-r-- 1 broot broot 598 Sep 13 12:59 README.md > drwxrwxr-x 8 broot broot 4096 Sep 13 19:01 at-spi2-atk > drwxrwxr-x 15 broot broot 4096 Sep 13 19:01 at-spi2-core > drwxrwxr-x 10 broot broot 4096 Sep 13 19:00 automake > drwxrwxr-x 9 broot broot 4096 Sep 13 19:10 browse > drwxrwxr-x 7 broot broot 4096 Sep 14 09:31 build > drwxrwxr-x 9 broot broot 4096 Sep 13 19:10 chat > drwxrwxr-x 9 broot broot 4096 Sep 13 19:10 clock-web > drwxrwxr-x 8 broot broot 4096 Sep 13 14:55 docker > drwxrwxr-x 10 broot broot 4096 Sep 13 19:06 flake8 > drwxrwxr-x 6 broot broot 4096 Sep 13 14:51 grunt-cli > drwxrwxr-x 9 broot broot 4096 Sep 13 19:10 gtd-activity > drwxrwxr-x 7 broot broot 4096 Sep 13 19:02 gwebsockets > drwxrwxr-x 4 broot broot 4096 Sep 13 19:10 home > drwxrwxr-x 8 broot broot 4096 Sep 13 19:10 imageviewer > drwxrwxr-x 6 broot broot 4096 Sep 13 14:55 js-beautify > drwxrwxr-x 8 broot broot 4096 Sep 13 14:55 jshint > drwxrwxr-x 8 broot broot 4096 Sep 13 19:10 jukebox > drwxrwxr-x 12 broot broot 4096 Sep 13 19:03 karma > drwxrwxr-x 10 broot broot 4096 Sep 13 19:02 libxklavier > drwxrwxr-x 8 broot broot 4096 Sep 13 19:10 log > -rwxrwxr-x 1 broot broot 12480 Sep 13 12:59 osbuild > drwxrwxr-x 8 broot broot 4096 Sep 13 19:06 pep8 > drwxrwxr-x 12 broot broot 4096 Sep 13 19:10 pippy > drwxrwxr-x 8 broot broot 4096 Sep 13 19:06 pyflakes > drwxrwxr-x 9 broot broot 4096 Sep 13 19:10 read > drwxrwxr-x 7 broot broot 4096 Sep 13 14:55 recess > drwxrwxr-x 11 broot broot 4096 Sep 13 19:08 sugar > drwxrwxr-x 9 broot broot 4096 Sep 13 19:09 sugar-artwork > drwxrwxr-x 7 broot broot 4096 Sep 13 19:07 sugar-base > drwxrwxr-x 8 broot broot 4096 Sep 13 19:09 sugar-datastore > drwxrwxr-x 4 broot broot 4096 Sep 13 17:56 sugar-docs > drwxrwxr-x 10 broot broot 4096 Sep 13 19:10 sugar-runner > drwxrwxr-x 9 broot broot 4096 Sep 13 19:07 sugar-toolkit > drwxrwxr-x 10 broot broot 4096 Sep 13 19:08 sugar-toolkit-gtk3 > drwxrwxr-x 6 broot broot 4096 Sep 13 18:07 sugar-web > drwxrwxr-x 7 broot broot 4096 Sep 13 18:07 sugar-web-template > drwxrwxr-x 4 broot broot 4096 Sep 13 19:10 sugar-web-test > drwxrwxr-x 8 broot broot 4096 Sep 13 19:10 terminal > drwxrwxr-x 15 broot broot 4096 Sep 13 19:10 turtleart > drwxrwxr-x 9 broot broot 4096 Sep 13 14:51 volo > drwxrwxr-x 6 broot broot 4096 Sep 13 18:07 webL10n > bash-4.2$ cd HitTheBalls.activity > bash: cd: HitTheBalls.activity: No such file or directory > bash-4.2$ > > __ > > Is there a workaround for my problem ? > > Regards > > > 2013/9/14 laurent bernabe > >> Hi again, >> >> I've created a symlink over my project root with >> >> $> ln -s >> /home/my_user_folder/LibrairiesProgrammation/Python/OLPCGames-1.6/skeleton/HitTheBalls.activity >> HitTheBalls.activity >> >> So I ended with "a new folder" HitThaBalls.activity in the sugar-build (I >> verified with ls -s command) >> >> But I still can't access to its contents : >> If i try to get into it, I still get "No such file or directory" error >> >> => $> cd HitTheBalls.activity >> "No such file or directory" >> >> So, what did I misunderstood ? >> >> Regards >> >> >> 2013/9/14 laurent bernabe >> >>> >>> >>> -- Forwarded message -- >>> From: laurent bernabe >>> Date: 2013/9/14 >>> Subject: Re: [Sugar-devel] Is it possible to access to my Host System >>> home folder from sugar-build instance ? >>> To: Daniel Narvaez >>> >>> >>> Thank you :) >>> >>> >>> 2013/9/14 Daniel Narvaez >>> >>>> Hi, >>>> >>>> you can only access the sugar-build dir. I suggest you put your project >>>> inside it (or symlink it). >>>> >>&
Re: [Sugar-devel] Is it possible to access to my Host System home folder from sugar-build instance ?
Hello, this is my sugar-build terminal output, which shows how is defined the symlink and what problem I am facing with it in sugar-build ___ bash: cd: HitTheBalls.activity: No such file or directory bash-4.2$ ls -l total 184 lrwxrwxrwx 1 broot broot96 Sep 14 09:47 HitTheBalls.activity -> /home/laurent-bernabe/LibrairiesProgrammation/Python/OLPCGames-1.6/skeleton/HitTheBalls.activity -rw-rw-r-- 1 broot broot 598 Sep 13 12:59 README.md drwxrwxr-x 8 broot broot 4096 Sep 13 19:01 at-spi2-atk drwxrwxr-x 15 broot broot 4096 Sep 13 19:01 at-spi2-core drwxrwxr-x 10 broot broot 4096 Sep 13 19:00 automake drwxrwxr-x 9 broot broot 4096 Sep 13 19:10 browse drwxrwxr-x 7 broot broot 4096 Sep 14 09:31 build drwxrwxr-x 9 broot broot 4096 Sep 13 19:10 chat drwxrwxr-x 9 broot broot 4096 Sep 13 19:10 clock-web drwxrwxr-x 8 broot broot 4096 Sep 13 14:55 docker drwxrwxr-x 10 broot broot 4096 Sep 13 19:06 flake8 drwxrwxr-x 6 broot broot 4096 Sep 13 14:51 grunt-cli drwxrwxr-x 9 broot broot 4096 Sep 13 19:10 gtd-activity drwxrwxr-x 7 broot broot 4096 Sep 13 19:02 gwebsockets drwxrwxr-x 4 broot broot 4096 Sep 13 19:10 home drwxrwxr-x 8 broot broot 4096 Sep 13 19:10 imageviewer drwxrwxr-x 6 broot broot 4096 Sep 13 14:55 js-beautify drwxrwxr-x 8 broot broot 4096 Sep 13 14:55 jshint drwxrwxr-x 8 broot broot 4096 Sep 13 19:10 jukebox drwxrwxr-x 12 broot broot 4096 Sep 13 19:03 karma drwxrwxr-x 10 broot broot 4096 Sep 13 19:02 libxklavier drwxrwxr-x 8 broot broot 4096 Sep 13 19:10 log -rwxrwxr-x 1 broot broot 12480 Sep 13 12:59 osbuild drwxrwxr-x 8 broot broot 4096 Sep 13 19:06 pep8 drwxrwxr-x 12 broot broot 4096 Sep 13 19:10 pippy drwxrwxr-x 8 broot broot 4096 Sep 13 19:06 pyflakes drwxrwxr-x 9 broot broot 4096 Sep 13 19:10 read drwxrwxr-x 7 broot broot 4096 Sep 13 14:55 recess drwxrwxr-x 11 broot broot 4096 Sep 13 19:08 sugar drwxrwxr-x 9 broot broot 4096 Sep 13 19:09 sugar-artwork drwxrwxr-x 7 broot broot 4096 Sep 13 19:07 sugar-base drwxrwxr-x 8 broot broot 4096 Sep 13 19:09 sugar-datastore drwxrwxr-x 4 broot broot 4096 Sep 13 17:56 sugar-docs drwxrwxr-x 10 broot broot 4096 Sep 13 19:10 sugar-runner drwxrwxr-x 9 broot broot 4096 Sep 13 19:07 sugar-toolkit drwxrwxr-x 10 broot broot 4096 Sep 13 19:08 sugar-toolkit-gtk3 drwxrwxr-x 6 broot broot 4096 Sep 13 18:07 sugar-web drwxrwxr-x 7 broot broot 4096 Sep 13 18:07 sugar-web-template drwxrwxr-x 4 broot broot 4096 Sep 13 19:10 sugar-web-test drwxrwxr-x 8 broot broot 4096 Sep 13 19:10 terminal drwxrwxr-x 15 broot broot 4096 Sep 13 19:10 turtleart drwxrwxr-x 9 broot broot 4096 Sep 13 14:51 volo drwxrwxr-x 6 broot broot 4096 Sep 13 18:07 webL10n bash-4.2$ cd HitTheBalls.activity bash: cd: HitTheBalls.activity: No such file or directory bash-4.2$ __ Is there a workaround for my problem ? Regards 2013/9/14 laurent bernabe > Hi again, > > I've created a symlink over my project root with > > $> ln -s > /home/my_user_folder/LibrairiesProgrammation/Python/OLPCGames-1.6/skeleton/HitTheBalls.activity > HitTheBalls.activity > > So I ended with "a new folder" HitThaBalls.activity in the sugar-build (I > verified with ls -s command) > > But I still can't access to its contents : > If i try to get into it, I still get "No such file or directory" error > > => $> cd HitTheBalls.activity > "No such file or directory" > > So, what did I misunderstood ? > > Regards > > > 2013/9/14 laurent bernabe > >> >> >> ------ Forwarded message ------ >> From: laurent bernabe >> Date: 2013/9/14 >> Subject: Re: [Sugar-devel] Is it possible to access to my Host System >> home folder from sugar-build instance ? >> To: Daniel Narvaez >> >> >> Thank you :) >> >> >> 2013/9/14 Daniel Narvaez >> >>> Hi, >>> >>> you can only access the sugar-build dir. I suggest you put your project >>> inside it (or symlink it). >>> >>> >>> On 14 September 2013 10:38, laurent bernabe >>> wrote: >>> >>>> Hello, >>>> >>>> From the sugar-build emulator, I tried to access to my host system home >>>> folder - let's say for example /home/me_as_user/ - but when I try >>>> cd /home/me_as_user/, I get an error "No such file or directory", >>>> though it does exists. >>>> >>>> So is it possible to access this folder from Sugar-build ? >>>> >>>> Regards >>>> >>>> ___ >>>> 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] Is it possible to access to my Host System home folder from sugar-build instance ?
Hi again, I've created a symlink over my project root with $> ln -s /home/my_user_folder/LibrairiesProgrammation/Python/OLPCGames-1.6/skeleton/HitTheBalls.activity HitTheBalls.activity So I ended with "a new folder" HitThaBalls.activity in the sugar-build (I verified with ls -s command) But I still can't access to its contents : If i try to get into it, I still get "No such file or directory" error => $> cd HitTheBalls.activity "No such file or directory" So, what did I misunderstood ? Regards 2013/9/14 laurent bernabe > > > -- Forwarded message -- > From: laurent bernabe > Date: 2013/9/14 > Subject: Re: [Sugar-devel] Is it possible to access to my Host System home > folder from sugar-build instance ? > To: Daniel Narvaez > > > Thank you :) > > > 2013/9/14 Daniel Narvaez > >> Hi, >> >> you can only access the sugar-build dir. I suggest you put your project >> inside it (or symlink it). >> >> >> On 14 September 2013 10:38, laurent bernabe wrote: >> >>> Hello, >>> >>> From the sugar-build emulator, I tried to access to my host system home >>> folder - let's say for example /home/me_as_user/ - but when I try >>> cd /home/me_as_user/, I get an error "No such file or directory", though >>> it does exists. >>> >>> So is it possible to access this folder from Sugar-build ? >>> >>> Regards >>> >>> ___ >>> 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] Is it possible to access to my Host System home folder from sugar-build instance ?
Hi, you can only access the sugar-build dir. I suggest you put your project inside it (or symlink it). On 14 September 2013 10:38, laurent bernabe wrote: > Hello, > > From the sugar-build emulator, I tried to access to my host system home > folder - let's say for example /home/me_as_user/ - but when I try > cd /home/me_as_user/, I get an error "No such file or directory", though > it does exists. > > So is it possible to access this folder from Sugar-build ? > > Regards > > ___ > 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] Is it possible to access to my Host System home folder from sugar-build instance ?
Hello, >From the sugar-build emulator, I tried to access to my host system home folder - let's say for example /home/me_as_user/ - but when I try cd /home/me_as_user/, I get an error "No such file or directory", though it does exists. So is it possible to access this folder from Sugar-build ? Regards ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel