<div dir="ltr"><div dir="ltr"><br></div><div>Hi Aayush,</div><div><br></div><div>Look like you're trying to run Sugarizer locally in your browser but you don't give right permissions to do that.</div><div><br></div><div>See section " <strong>Sugarizer Application into the Web Browser</strong>" on <a href="https://github.com/llaske/sugarizer/tree/dev#sugarizer-application">https://github.com/llaske/sugarizer/tree/dev#sugarizer-application</a></div><div><br></div><div>Regards.</div><div><br></div><div>           Lionel.<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le sam. 29 févr. 2020 à 10:45, <<a href="mailto:sugar-devel-request@lists.sugarlabs.org">sugar-devel-request@lists.sugarlabs.org</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Date: Fri, 28 Feb 2020 20:32:14 +0300<br>
From: Srevin Saju <<a href="mailto:srevin03@gmail.com" target="_blank">srevin03@gmail.com</a>><br>
To: Aayush Tyagi <<a href="mailto:tyagiaayush5@gmail.com" target="_blank">tyagiaayush5@gmail.com</a>><br>
Cc: Sugar-dev Devel <<a href="mailto:sugar-devel@lists.sugarlabs.org" target="_blank">sugar-devel@lists.sugarlabs.org</a>><br>
Subject: Re: [Sugar-devel] Problem in setting the environment<br>
Message-ID:<br>
        <CANa8oYnsFERiS-CCUqa4iopcWnm95pcc=<a href="mailto:fKqx1gECmPT93Kung@mail.gmail.com" target="_blank">fKqx1gECmPT93Kung@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Thanks for the logs<br>
This seems to be related to sugarizer.<br>
Someone else who works on sugarizer might provide a better answer. Can you<br>
explain how you set up sugarizer? and Did you use `npm serve`  to serve<br>
sugarizer?<br>
and also, did you use this method?<br>
For Chrome, close ALL running instances of Chrome and re-launch it using<br>
the command line:<br>
chrome --allow-file-access-from-files  index.html<br>
On Windows, you should launch:<br>
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"<br>
--allow-file-access-from-files<br>
~ sugarizer documentation<br>
<br>
<br>
On Fri, Feb 28, 2020 at 8:24 PM Aayush Tyagi <<a href="mailto:tyagiaayush5@gmail.com" target="_blank">tyagiaayush5@gmail.com</a>> wrote:<br>
<br>
> Hi sir, thank you for replying. Here is the error.<br>
><br>
> Access to XMLHttpRequest at<br>
> 'file:///C:/Users/aayus/Downloads/sugarizer-dev/locale.ini' from origin<br>
> 'null' has been blocked by CORS policy: Cross origin requests are only<br>
> supported for protocol schemes: http, data, chrome, chrome-extension, https.<br>
> webL10n.js:67 [l10n]<br>
> file:///C:/Users/aayus/Downloads/sugarizer-dev/locale.ini not found.<br>
> consoleWarn @ webL10n.js:67<br>
> locale.ini:1 Failed to load resource: net::ERR_FAILED<br>
> settings.js:106 Uncaught TypeError: Cannot read property 'sort' of<br>
> undefined<br>
>     at Object.settings.updateEntries (settings.js:106)<br>
>     at settings.js:93<br>
>     at Object.html5storage.load (sugarizer.js:273)<br>
>     at Object.settings.load (settings.js:48)<br>
>     at loadpreference (app.js:48)<br>
>     at app.js:67<br>
>     at Object.execCb (require.js:1604)<br>
>     at Module.check (require.js:844)<br>
>     at Module.<anonymous> (require.js:1084)<br>
>     at require.js:129<br>
> index.html:1 Access to XMLHttpRequest at<br>
> 'file:///C:/Users/aayus/Downloads/sugarizer-dev/locale.ini' from origin<br>
> 'null' has been blocked by CORS policy: Cross origin requests are only<br>
> supported for protocol schemes: http, data, chrome, chrome-extension, https.<br>
> webL10n.js:67 [l10n]<br>
> file:///C:/Users/aayus/Downloads/sugarizer-dev/locale.ini not found.<br>
> consoleWarn @ webL10n.js:67<br>
> locale.ini:1 Failed to load resource: net::ERR_FAILED<br>
><br>
> On Fri, Feb 28, 2020 at 10:50 PM Srevin Saju <<a href="mailto:srevin03@gmail.com" target="_blank">srevin03@gmail.com</a>> wrote:<br>
><br>
>> Hello Aayush<br>
>> May I know what errors you have encountered while setting up the sugar<br>
>> desktop or the reason which you feel that sugar is not starting.<br>
>> Try to include logs so that adequate help can be provided<br>
>><br>
><br><br>
</blockquote></div></div>