[lively-kernel] Linux install script broken link.

Nikolay Suslov nsuslovi at gmail.com
Mon Jan 28 22:55:43 CET 2013


I am using Cent OS 6.3, Node 0.9.8-pre, npm 1.2.2

First error I got, server could not start:
---------------
[root at krestianstvo livelykernel-scripts]# lk server
Selected life_star
Server with pid 25589 is now running at http://localhost:9001
Serving files from
/usr/local/lib/node_modules/livelykernel-scripts/workspace/lk

/usr/local/lib/node_modules/livelykernel-scripts/node_modules/life_star/node_modules/jsDAV/lib/shared/base.js:80
            var base = this.UUID = 0;
                                 ^
TypeError: Cannot assign to read only property 'UUID' of #<Object>
    at Object.merge
(/usr/local/lib/node_modules/livelykernel-scripts/node_modules/life_star/node_modules/jsDAV/lib/shared/base.js:80:34)
    at Object.extend
(/usr/local/lib/node_modules/livelykernel-scripts/node_modules/life_star/node_modules/jsDAV/lib/shared/base.js:199:45)
    at Object.<anonymous>
(/usr/local/lib/node_modules/livelykernel-scripts/node_modules/life_star/node_modules/jsDAV/lib/DAV/interfaces/iNode.js:16:41)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous>
(/usr/local/lib/node_modules/livelykernel-scripts/node_modules/life_star/node_modules/jsDAV/lib/DAV/node.js:10:19)
[root at krestianstvo livelykernel-scripts]#
-----------------------

After correcting base.js file, server could be started, but an error
appears, after requesting any page from the client web-browser:

-----------------------
[root at krestianstvo ~]# lk server
Selected life_star
Server with pid 26269 is now running at http://localhost:9001
Serving files from
/usr/local/lib/node_modules/livelykernel-scripts/workspace/lk
[2013-01-29 01:49:07.374] [INFO] console - getPropertiesForPath 0 { path:
'/usr/local/lib/node_modules/livelykernel-scripts/workspace/lk/welcome.html'
} true

/usr/local/lib/node_modules/livelykernel-scripts/node_modules/life_star/node_modules/jsDAV/lib/DAV/handler.js:1649
                             node.getProperties(propertyNames,
function(err, p
                                  ^
TypeError: Object #<Object> has no method 'getProperties'
    at
/usr/local/lib/node_modules/livelykernel-scripts/node_modules/life_star/node_modules/jsDAV/lib/DAV/handler.js:1649:35
    at handler
(/usr/local/lib/node_modules/livelykernel-scripts/node_modules/life_star/node_modules/jsDAV/node_modules/asyncjs/lib/async.js:148:21)
    at
/usr/local/lib/node_modules/livelykernel-scripts/node_modules/life_star/node_modules/jsDAV/node_modules/asyncjs/lib/async.js:149:25
    at
/usr/local/lib/node_modules/livelykernel-scripts/node_modules/life_star/node_modules/jsDAV/node_modules/asyncjs/lib/plugins/utils.js:19:17
    at handler
(/usr/local/lib/node_modules/livelykernel-scripts/node_modules/life_star/node_modules/jsDAV/node_modules/asyncjs/lib/async.js:148:21)
    at Object.next
(/usr/local/lib/node_modules/livelykernel-scripts/node_modules/life_star/node_modules/jsDAV/node_modules/asyncjs/lib/async.js:449:13)
    at next
(/usr/local/lib/node_modules/livelykernel-scripts/node_modules/life_star/node_modules/jsDAV/node_modules/asyncjs/lib/async.js:144:20)
    at next
(/usr/local/lib/node_modules/livelykernel-scripts/node_modules/life_star/node_modules/jsDAV/node_modules/asyncjs/lib/async.js:144:20)
    at end
(/usr/local/lib/node_modules/livelykernel-scripts/node_modules/life_star/node_modules/jsDAV/node_modules/asyncjs/lib/async.js:368:16)
    at afterGetChildren
(/usr/local/lib/node_modules/livelykernel-scripts/node_modules/life_star/node_modules/jsDAV/lib/DAV/handler.js:1786:23)
[root at krestianstvo ~]#
-----------

Regards,
Nikolay Suslov


On Tue, Jan 29, 2013 at 1:24 AM, Robert Krahn <robert.krahn at gmail.com>wrote:

> An can you please report what error message you got? Thanks :)
>
>
> On Mon, Jan 28, 2013 at 1:21 PM, Robert Krahn <robert.krahn at gmail.com>wrote:
>
>> Thanks for reporting the issue. Actually that should have been fixed in
>> jsDAV master with that pull request:
>> https://github.com/mikedeboer/jsDAV/pull/61. Which OS are you using?
>>
>>
>> On Sun, Jan 27, 2013 at 8:30 AM, Nikolay Suslov <nsuslovi at gmail.com>wrote:
>>
>>> Robert,
>>>
>>> Thanks for the detailed instruction and correcting links.
>>> But nevertheless I had a problems with running lk server with life_star
>>> from https://github.com/LivelyKernel/life_star.
>>> All pitfalls gone away, when I use the repository
>>> https://github.com/fbornhofen/life_star
>>> It has a fix in package.json:
>>> -  "jsDAV": "https://github.com/mikedeboer/jsDAV/tarball/master",
>>> + "jsDAV": "
>>> https://github.com/fbornhofen/jsDAV/tarball/dontrewriteheaders",
>>>
>>>
>>> Regards,
>>> Nikolay Suslov
>>>
>>>
>>>
>>>
>>> On Thu, Jan 24, 2013 at 12:39 PM, Robert Krahn <robert.krahn at gmail.com>wrote:
>>>
>>>> Thanks for reporting, http://lively-kernel.org/install.sh is available
>>>> now.
>>>>
>>>> As for the install procedure, it's written down here:
>>>> https://github.com/LivelyKernel/LivelyKernel/wiki/Install-Guide. On
>>>> any platform this will install the livelykernel-scripts toolsuite (
>>>> https://github.com/LivelyKernel/LivelyKernel/wiki/livelykernel-scripts)
>>>> which in turn include life_star and jsDAV.
>>>>
>>>> In case you encounter problems you can also do three steps manually on
>>>> a command line:
>>>> $ npm install -g livelykernel-scripts
>>>> $ git clone https://github.com/LivelyKernel/LivelyKernel.git
>>>> $ lk server --lk-dir ./LivelyKernel
>>>>
>>>> http://localhost:9001/welcome.html should then point to a Lively world
>>>>
>>>>
>>>>  On Wed, Jan 23, 2013 at 6:28 AM, Nikolay Suslov <nsuslovi at gmail.com>wrote:
>>>>
>>>>>  Hello,
>>>>>
>>>>> Great to see fantastic progress in Lively-Kernel project day by day!
>>>>> Please, could you elaborate on life_star&jsDAV install procedure and
>>>>> where to find (http://lively-kernel.org/install.sh) broken script
>>>>> link for Linux install?
>>>>>
>>>>> Best regards,
>>>>> Nikolay
>>>>> _______________________________________________
>>>>> lively-kernel mailing list
>>>>> lively-kernel at hpi.uni-potsdam.de
>>>>> http://lists.hpi.uni-potsdam.de/listinfo/lively-kernel
>>>>>
>>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hpi.uni-potsdam.de/archive/lively-kernel/attachments/20130129/1fe1279a/attachment-0001.html>


More information about the lively-kernel mailing list