[Sugar-devel] Starting a new web activity : problem when closing activity, and with icon design
Lionel Laské
lionel at olpc-france.org
Mon Dec 1 09:14:58 EST 2014
Look like you didn't launch Chrome using the
"--allow-file-access-from-files" option.
See [1]. Seeing the Chrome console error log could help too.
Lionel.
[1] http://sugarizer.org/#client
2014-12-01 14:52 GMT+01:00 laurent bernabe <laurent.bernabe at gmail.com>:
> Apologizing, I forgot to attach the screenshot
>
> Regards
>
> 2014-12-01 11:44 GMT+01:00 Lionel Laské <lionel at olpc-france.org>:
>
>> Hi Laurent,
>>
>> No screenshot include :-(
>>
>> Lionel.
>>
>> 2014-11-30 15:20 GMT+01:00 laurent bernabe <laurent.bernabe at gmail.com>:
>>
>>> Hello again,
>>>
>>> I've just copied my activity inside Sugarizer, updated activity.json,
>>> but I can't launch any activity inside my Sugarizer session (I've joined a
>>> screenshot).
>>> Also, I don't know if I can find a log file so that I could join it to
>>> the mail also.
>>>
>>> Regards
>>>
>>> 2014-11-30 15:10 GMT+01:00 laurent bernabe <laurent.bernabe at gmail.com>:
>>>
>>>> Thank you, I could launch a chrome session with file access with the
>>>> second link (Cliff's answer).
>>>> Now I am going to try my activity into Sugarizer, and will report
>>>> issues if anyone occurs.
>>>>
>>>> Regards
>>>>
>>>> 2014-11-30 15:04 GMT+01:00 Iain Brown Douglas <
>>>> iain at browndouglas.plus.com>:
>>>>
>>>>> try
>>>>>
>>>>>
>>>>> http://askubuntu.com/questions/369310/how-to-fix-missing-libudev-so-0-for-chrome-to-start-again
>>>>>
>>>>> or
>>>>>
>>>>>
>>>>> http://askubuntu.com/questions/288821/how-do-i-resolve-a-cannot-open-shared-object-file-libudev-so-0-error
>>>>>
>>>>> On Sun, 2014-11-30 at 12:02 +0100, laurent bernabe wrote:
>>>>> > Thank you for your answer.
>>>>> >
>>>>> >
>>>>> > I've installed the official ubuntu package for Chrome, with the
>>>>> > command
>>>>> >
>>>>> >
>>>>> > sudo dpkg -i <chrome_pakage>
>>>>> >
>>>>> >
>>>>> > So I am able to launch chrome from the Kubuntu menu icon.
>>>>> >
>>>>> >
>>>>> > Meanwhile, I get an error when I launch it from terminal (problem
>>>>> with
>>>>> > libudev)
>>>>> >
>>>>> _______________________________________________________________________________________________
>>>>> >
>>>>> >
>>>>> > $> /opt/google/chrome$ ./chrome --allow-file-access-from-files
>>>>> > ./chrome: error while loading shared libraries: libudev.so.0: cannot
>>>>> > open shared object file: No such file or directory
>>>>> >
>>>>> ________________________________________________________________________________________________
>>>>> >
>>>>> >
>>>>> > Regards
>>>>> >
>>>>> >
>>>>> >
>>>>> > 2014-11-29 21:43 GMT+01:00 Lionel Laské <lionel at olpc-france.org>:
>>>>> >
>>>>> >
>>>>> > Hi Laurent,
>>>>> >
>>>>> >
>>>>> > Could you try your activity in Sugarizer Client ?
>>>>> > Just change the sugar web library to get the one compatible
>>>>> > both with Sugar/Sugarizer and it should work.
>>>>> > Instruction here [1] and here [2].
>>>>> >
>>>>> >
>>>>> > Lionel.
>>>>> >
>>>>> >
>>>>> > [1] http://developer.sugarlabs.org/activity.md.html
>>>>> > [2] http://sugarizer.org/#client
>>>>> >
>>>>> >
>>>>> >
>>>>> > Date: Fri, 28 Nov 2014 23:10:47 +0100
>>>>> > From: laurent bernabe <laurent.bernabe at gmail.com>
>>>>> > To: Gonzalo Odiard <godiard at sugarlabs.org>
>>>>> > Cc: Sugar Devel <sugar-devel at lists.sugarlabs.org>
>>>>> > Subject: Re: [Sugar-devel] Starting a new web
>>>>> > activity : problem when
>>>>> > closing activity, and with icon design
>>>>> > Message-ID:
>>>>> >
>>>>> > <CAH8mndKz6f7-kSnTZJqWujuPkoTi7FMX=
>>>>> BfwkjM6qsE5O005SA at mail.gmail.com>
>>>>> > Content-Type: text/plain; charset="utf-8"
>>>>> >
>>>>> > Hi,
>>>>> >
>>>>> > I've just pulled the latest version of sugar-build,
>>>>> > but I still can't close
>>>>> > the activity.
>>>>> >
>>>>> > My icon does not shows up well on the home view : no
>>>>> > token inside the grid,
>>>>> > it seems empty.
>>>>> >
>>>>> > Regards
>>>>> >
>>>>> > 2014-11-28 21:21 GMT+01:00 Gonzalo Odiard
>>>>> > <godiard at sugarlabs.org>:
>>>>> >
>>>>> > > Be sure the version of sugar-web included in your
>>>>> > activity is updated.
>>>>> > > A error avoiding close the activity was solved
>>>>> > recently.
>>>>> > >
>>>>> > > Gonzalo
>>>>> > >
>>>>> > >
>>>>> > > On Fri, Nov 28, 2014 at 11:00 AM, laurent bernabe <
>>>>> > > laurent.bernabe at gmail.com> wrote:
>>>>> > >
>>>>> > >>
>>>>> > >> Hello everyone,
>>>>> > >>
>>>>> > >> I am starting a new activity in order to get
>>>>> > started with Web Actvity
>>>>> > >> development : a simple tic tac toe : github
>>>>> project
>>>>> > >>
>>>>> > <
>>>>> https://github.com/loloof64/olpc-simple-tictactoe-activity>
>>>>> > >>
>>>>> > >> But when I launch the activity from inside
>>>>> > sugar-build :
>>>>> > >>
>>>>> > >> - the icon design seems to be weird, though
>>>>> I've
>>>>> > tried to follow
>>>>> > >> advices at
>>>>> > http://wiki.laptop.org/go/Making_SVG_Icons_for_Sugar
>>>>> > >> - I don't manage to close the application
>>>>> > >>
>>>>> > >> I've sent the log file that I could read in
>>>>> > >> <sugar-build>/home/dotsugar/default/logs, but I
>>>>> > don't understand it.
>>>>> > >>
>>>>> > >> What is the best workaround ?
>>>>> > >>
>>>>> > >> Regards
>>>>> > >>
>>>>> > >> --
>>>>> > >> Laurent Bernab?
>>>>> > >>
>>>>> > >> laurent.bernabe at gmail.com
>>>>> > >>
>>>>> > >> _______________________________________________
>>>>> > >> Sugar-devel mailing list
>>>>> > >> Sugar-devel at lists.sugarlabs.org
>>>>> > >> http://lists.sugarlabs.org/listinfo/sugar-devel
>>>>> > >>
>>>>> > >>
>>>>> > >
>>>>> > >
>>>>> > > --
>>>>> > > Gonzalo Odiard
>>>>> > >
>>>>> > > SugarLabs - Software for children learning
>>>>> > >
>>>>> >
>>>>> >
>>>>> >
>>>>> > --
>>>>> > Laurent Bernab?
>>>>> >
>>>>> > laurent.bernabe at gmail.com
>>>>> >
>>>>> >
>>>>> >
>>>>> >
>>>>> > _______________________________________________
>>>>> > Sugar-devel mailing list
>>>>> > Sugar-devel at lists.sugarlabs.org
>>>>> > http://lists.sugarlabs.org/listinfo/sugar-devel
>>>>> >
>>>>> >
>>>>> >
>>>>> >
>>>>> >
>>>>> > --
>>>>> > Laurent Bernabé
>>>>> >
>>>>> >
>>>>> > laurent.bernabe at gmail.com
>>>>> > _______________________________________________
>>>>> > Sugar-devel mailing list
>>>>> > Sugar-devel at lists.sugarlabs.org
>>>>> > http://lists.sugarlabs.org/listinfo/sugar-devel
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Laurent Bernabé
>>>>
>>>> laurent.bernabe at gmail.com
>>>>
>>>
>>>
>>>
>>> --
>>> Laurent Bernabé
>>>
>>> laurent.bernabe at gmail.com
>>>
>>
>>
>
>
> --
> Laurent Bernabé
>
> laurent.bernabe at gmail.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20141201/31252153/attachment.html>
More information about the Sugar-devel
mailing list