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

Fabian Bornhofen fbornhofen at googlemail.com
Sun Feb 26 06:50:12 CET 2012


Hi Milan -

the main purpose of minimal_server is to run a few tests. SCB or
PartsBin Browser do not work at this point.
The reason for this is that it does not implement WebDAV (yet). It is
not that big of a deal to make some basic commands work.

A few thoughts on that:
- Thanks for pointing out that we need to make this point clear (I
guess we just assumed everybody would run LK from Apache)!
- WebDAV in the node.js server might not be something that belongs
into the core repository ...
- ... but then, that would be extremely valuable to our efforts to go
viral. People would not have to set up Apache anymore, but would use a
small node server instead. Makes sense to me :).

Best
Fabian

On Sat, Feb 25, 2012 at 9:18 PM, Milan Zimmermann
<milan.zimmermann at gmail.com> wrote:
> 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
> _______________________________________________
> lively-kernel mailing list
> lively-kernel at hpi.uni-potsdam.de
> http://lists.hpi.uni-potsdam.de/listinfo/lively-kernel


More information about the lively-kernel mailing list