[Sugar-devel] Sugarizer Sugar-web ActivityTemplate broken?

2017-03-25 Thread Sebastian Silva
I'm creating my first web activity and I've used the ActivityTemplate from Sugarizer repository. However I'm failing to get my activity to run under Sugar. The same happens when I try to run any of the Sugar-web activities contained in `activities/` directory of Sugarizer repository. However whe

Re: [Sugar-devel] Sugarizer Sugar-web ActivityTemplate broken?

2017-03-25 Thread Lionel Laské
Hi Sebastian, When you said "no errors in the logs" do you mean the Sugar log ? Is there any error in the browser console error ? The symptom "activity icon not colored" always means that the activity failed to initialize Sugar-Web stack. Specifically it means that "activity.setup()" call failed

Re: [Sugar-devel] Sugarizer Sugar-web ActivityTemplate broken?

2017-03-25 Thread Sebastian Silva
Hi Lionel, Thanks for your response! Indeed there is an error in the Inspector Javascript Console: [Error] Invalid url for WebSocket ws://127.0.0.1:undefined (anonymous function) (sugaros.js:19) (anonymous function) (env.js:29) [Error] SyntaxError (DOM Exception 12): The string did not

Re: [Sugar-devel] Sugarizer Sugar-web ActivityTemplate broken?

2017-03-26 Thread Lionel Laské
Hi Sebastian, I had to do more testing but I think I know where it come from. It's related to a change made by Martin in Sugar 0.110 for Ubuntu 14.04 compatibility [1]. I'm going to fix it but I think that if you just change "ws://127.0.0.1" by "ws://0.0.0.0" it should work. I've opened a new issu

Re: [Sugar-devel] Sugarizer Sugar-web ActivityTemplate broken?

2017-03-26 Thread Sebastian Silva
Good Sunday Lionel, Thanks, I'll continue debugging the issue with you on the specified Github issue, as it remains. Regards! Sebastian On 26/03/17 04:35, Lionel Laské wrote: > Hi Sebastian, > > I had to do more testing but I think I know where it come from. It's > related to a change made by