Ahh, ok. I came across this then as well and made the Sugar code more solid against it [1]. Defensive programming can nearly never hurt.

Simon

[1] http://git.sugarlabs.org/sugar/mainline/commit/5b2c88b621d684d8631655fb5fab03fc70fbd2bf


On 03/26/2013 04:33 PM, Gonzalo Odiard wrote:
Replying to my own mail:

if I do outside of sugar-build:

[gonzalo@localhost sugar-build]$ xdg-user-dir DOCUMENTS
/home/gonzalo/Documentos

but if I run sughar-buildd make run, and in the sugar terminal do the same

[gonzalo@localhost]$ xdg-user-dir DOCUMENTS
/home/gonzalo

The solution is copy:

cp /home/gonzalo/.config/user-dirs.dirs
/home/gonzalo/sugar-build/state/home/default/config/

and run again I have

[gonzalo@localhost]$ xdg-user-dir DOCUMENTS
/home/gonzalo/Documents

restarting sugar-build I see the Documents folder again in the Journal.

Daniel, If you can solve this issue in sugar-build better, if not should be
good have this documented.

Gonzalo


On Tue, Mar 26, 2013 at 12:06 PM, Gonzalo Odiard <gonz...@laptop.org> wrote:

After install sugar-build, I can't see my Documents folder in the journal,
and this issue produce other problems in palettes and different places.
While some issues are solved, not having access to Documents folder
difficult tests,
and is a important regression.
The first time I saw that, was when sugar-build moved configurations to a
private folder,
and Daniel helped me to solve the issue, but I don't remember how we did.
Anybody else have this problem? There are a standard solution?
Can we avoid the problem at all?
Thanks

Gonzalo




_______________________________________________
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

Reply via email to