[lively-kernel] Report: Installing Lively Core locally from GitHub - a few issues and a question

Milan Zimmermann milan.zimmermann at gmail.com
Sun Feb 26 06:18:47 CET 2012


On Sat, Feb 25, 2012 at 9:29 PM, Milan Zimmermann
<milan.zimmermann at gmail.com> wrote:
> Hi:
>
> I installed Lively core from Github. Basically I have it working but
> not in a useful way - right mouse click on the world shows the menu,
> but clicking any item , I get an error or nothing happens.
>
> e.g. PartsBIn
> Error in handleEvent when calling
> <lively.morphic.Text#2C915...>>>onMouseUpEntry: TypeError: Cannot call
> method 'openInWorld' of undefined
>
> I was hoping the referred
>
> https://github.com/rksm/LivelyKernel/wiki/How-to-make-PartsBin-work
>
> will give me some hints but it does not seem to exist yet.
>
> Is there anything I can do about the errors?

made some progress by running
    make install_partsbin

Now parts and parts bin can be dragged out, but then I am getting:

Error when trying to update
AttributeConnection(WebResource(http://localhost:9001/PartsBin/).contentDocument
--> WebResource(http://localhost:9001/PartsBin/).pvtProcessPropfindForSubElements)
with value :
Error: Cannot access subElements of http://localhost:9001/PartsBin/
Error: Cannot access subElements of http://localhost:9001/PartsBin/
    at WebResource.pvtProcessPropfindForSubElements
(http://localhost:9001/core/lively/Network.js?1330232383038:1586:19)
    at http://localhost:9001/core/lively/bindings/Core.js?1330232383486:178:19
    at AttributeConnection.update
(http://localhost:9001/core/lively/bindings/Core.js?1330232383486:188:5)
    at WebResource.contentDocument
(http://localhost:9001/core/lively/bindings/Core.js?1330232383486:246:8)
    at Object.setResponseXML
(http://localhost:9001/core/lively/Network.js?1330232383038:1160:74)
    at http://localhost:9001/core/lively/bindings/Core.js?1330232383486:178:19
    at AttributeConnection.update
(http://localhost:9001/core/lively/bindings/Core.js?1330232383486:188:5)
    at NetRequest.connectionWrapper [as setResponseXML]
(http://localhost:9001/core/lively/bindings/Core.js?1330232383486:271:17)
    at NetRequest.onReadyStateChange
(http://localhost:9001/core/lively/Network.js?1330232383038:505:22)
    at XMLHttpRequest.bound [as onreadystatechange]
(http://localhost:9001/core/lively/bootstrap.js:853:37)

Would there be any hints for that -

Thanks
milan
>
> Thanks!
>
>
> Installation notes - there were some issues that I managed to fix -
> may be useful to others
> ==================================================================
>
> # see https://github.com/rksm/LivelyKernel#readme
>
> # get code
>   # Instructions do NOT work here: git clone
> git at github.com:rksm/LivelyKernel.git ~/software/lively/LivelyKernel
> git clone git://github.com/rksm/LivelyKernel.git
> ~/software/lively/LivelyKernel # works
>
> # init project dependencies
> cd ~/software/lively/LivelyKernel
> npm install
>
> received error :
> --------------------
>        ../src/microtime.cc:1:16: fatal error: v8.h: No such file or directory
>        compilation terminated.
>
>        solution : had to
>        -----------------------
>                SWITCH libv8-3 package to get from NodeJS repo (not opensuse base)
>                install v8-devel and v8-private-headers-devel from NodeJS repo
>
> # start http server on 9001
> make start_server
>
> received error:
> -----------------------
> mzimmermann at home-server:~/software/lively/LivelyKernel> make start_server
> minimal server starting: http://localhost:9001/
> ./node_modules/nodemon/nodemon.js --watch ./minimal_server
> ./minimal_server/serve.js 9001
> ,,,
> node.js:201
>        throw e; // process.nextTick error, or 'error' event on first tick
> Error: Cannot find module 'formidable'
> ....
>        solution : had to
>        -----------------------
>    npm install formidable
>
> # visitted
> http://localhost:9001/blank.xhtml
>   # page looks OK but clicking anything in world menu, I get an error
> or nothing happens.
>
> # You can install all the cool tools from Webwerkstatt's PartsBin.
> Have a look at the HOWTO - does not exist.
> https://github.com/rksm/LivelyKernel/wiki/How-to-make-PartsBin-work


More information about the lively-kernel mailing list