ObjectGraphLinearizer is trying to deserializer instance of lively.Presentation.PageMorph but this class cannot be found

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

ObjectGraphLinearizer is trying to deserializer instance of lively.Presentation.PageMorph but this class cannot be found

Andy Burnett
Hello

I am playing around with the parts in the PartsBin - on my own server - and get this error message. The version of the lively-kernel server does work. So, am I missing something from my copy of the PartsBin (seems likely), or is there an add-on to the server that I don't have in my environment?

And, related to the first question, how do I keep my copy of the PartsBin up to date? is there an svn update built into the server?

Cheers
Andy

_______________________________________________
lively-kernel mailing list
[hidden email]
http://lists.hpi.uni-potsdam.de/listinfo/lively-kernel
Reply | Threaded
Open this post in threaded view
|

Re: ObjectGraphLinearizer is trying to deserializer instance of lively.Presentation.PageMorph but this class cannot be found

Robert Krahn-4
This message appears because one object that you wanted to load is an instance
of a class defined in a module that could not be loaded. In particular the
core repository does not include the module lively.Presentation (because we do
not consider this as part of the core). So this is not a problem with your
installation but you could consider it as conceptional issue of using a
"remote" PartsBin, or, going one step farther of differentiating between
"objects" and "source code" at all.

This issue didn't came up until now because usage of the PartsBin only
happened from within the Webwerkstatt environment where all dependencies are
available.

To solve this problem for now you can


or

2. Create a working copy of webwerkstatt locally using "lk workspace
--checkout-ww" and then start the server with "lk server --lk-dir `lk
scripts-dir`/workspace/ww" (all lk-scripts commands are documented here:
This gives you a complete copy of webwerkstatt.

or

3. Manually copy the required modules into "`lk scripts-dir`/workspace/lk"


Since we want to go towards a model of distributed Lively installations that
share object repositories like Webwerkstatt's PartsBin (as opposed to just
have the Webwerkstatt) we will work on a better and more general solution for
that problem. As of now I can just offer you the solutions above.

Hope that helps,
Robert


On Thu, Sep 6, 2012 at 9:13 AM, Andy Burnett <[hidden email]> wrote:
Hello

I am playing around with the parts in the PartsBin - on my own server - and get this error message. The version of the lively-kernel server does work. So, am I missing something from my copy of the PartsBin (seems likely), or is there an add-on to the server that I don't have in my environment?

And, related to the first question, how do I keep my copy of the PartsBin up to date? is there an svn update built into the server?

Cheers
Andy

_______________________________________________
lively-kernel mailing list
[hidden email]
http://lists.hpi.uni-potsdam.de/listinfo/lively-kernel



_______________________________________________
lively-kernel mailing list
[hidden email]
http://lists.hpi.uni-potsdam.de/listinfo/lively-kernel
Reply | Threaded
Open this post in threaded view
|

Re: ObjectGraphLinearizer is trying to deserializer instance of lively.Presentation.PageMorph but this class cannot be found

Andy Burnett
Thanks for the options.

I tried using the --checkout-ww command. It pulled down a complete copy of the core BUT the PartsBin folder only contained a single folder called zp, which was empty.

I did a lk partsbin, and that seemed to bring down the full partsbin. However, looking at the error messages, it seems as though the core - as installed by the osx app doesn't include much in the apps directory.  I am currently shuffling things around to try to get one complete image.

Cheers
Andy

On Fri, Sep 7, 2012 at 2:58 AM, Robert Krahn <[hidden email]> wrote:
This message appears because one object that you wanted to load is an instance
of a class defined in a module that could not be loaded. In particular the
core repository does not include the module lively.Presentation (because we do
not consider this as part of the core). So this is not a problem with your
installation but you could consider it as conceptional issue of using a
"remote" PartsBin, or, going one step farther of differentiating between
"objects" and "source code" at all.

This issue didn't came up until now because usage of the PartsBin only
happened from within the Webwerkstatt environment where all dependencies are
available.

To solve this problem for now you can


or

2. Create a working copy of webwerkstatt locally using "lk workspace
--checkout-ww" and then start the server with "lk server --lk-dir `lk
scripts-dir`/workspace/ww" (all lk-scripts commands are documented here:
This gives you a complete copy of webwerkstatt.

or

3. Manually copy the required modules into "`lk scripts-dir`/workspace/lk"


Since we want to go towards a model of distributed Lively installations that
share object repositories like Webwerkstatt's PartsBin (as opposed to just
have the Webwerkstatt) we will work on a better and more general solution for
that problem. As of now I can just offer you the solutions above.

Hope that helps,
Robert


On Thu, Sep 6, 2012 at 9:13 AM, Andy Burnett <[hidden email]> wrote:
Hello

I am playing around with the parts in the PartsBin - on my own server - and get this error message. The version of the lively-kernel server does work. So, am I missing something from my copy of the PartsBin (seems likely), or is there an add-on to the server that I don't have in my environment?

And, related to the first question, how do I keep my copy of the PartsBin up to date? is there an svn update built into the server?

Cheers
Andy

_______________________________________________
lively-kernel mailing list
[hidden email]
http://lists.hpi.uni-potsdam.de/listinfo/lively-kernel




_______________________________________________
lively-kernel mailing list
[hidden email]
http://lists.hpi.uni-potsdam.de/listinfo/lively-kernel
Reply | Threaded
Open this post in threaded view
|

Re: ObjectGraphLinearizer is trying to deserializer instance of lively.Presentation.PageMorph but this class cannot be found

Robert Krahn-4
You can simply link the PartsBin:

workspace=`lk scripts-dir`/workspace
ln -s $workspace/PartsBin $workspace/ww/PartsBin

The next version of livelykernel-scripts will do that automatically.

Best,
Robert

On Fri, Sep 7, 2012 at 1:11 PM, Andy Burnett <[hidden email]> wrote:
Thanks for the options.

I tried using the --checkout-ww command. It pulled down a complete copy of the core BUT the PartsBin folder only contained a single folder called zp, which was empty.

I did a lk partsbin, and that seemed to bring down the full partsbin. However, looking at the error messages, it seems as though the core - as installed by the osx app doesn't include much in the apps directory.  I am currently shuffling things around to try to get one complete image.

Cheers
Andy


On Fri, Sep 7, 2012 at 2:58 AM, Robert Krahn <[hidden email]> wrote:
This message appears because one object that you wanted to load is an instance
of a class defined in a module that could not be loaded. In particular the
core repository does not include the module lively.Presentation (because we do
not consider this as part of the core). So this is not a problem with your
installation but you could consider it as conceptional issue of using a
"remote" PartsBin, or, going one step farther of differentiating between
"objects" and "source code" at all.

This issue didn't came up until now because usage of the PartsBin only
happened from within the Webwerkstatt environment where all dependencies are
available.

To solve this problem for now you can


or

2. Create a working copy of webwerkstatt locally using "lk workspace
--checkout-ww" and then start the server with "lk server --lk-dir `lk
scripts-dir`/workspace/ww" (all lk-scripts commands are documented here:
This gives you a complete copy of webwerkstatt.

or

3. Manually copy the required modules into "`lk scripts-dir`/workspace/lk"


Since we want to go towards a model of distributed Lively installations that
share object repositories like Webwerkstatt's PartsBin (as opposed to just
have the Webwerkstatt) we will work on a better and more general solution for
that problem. As of now I can just offer you the solutions above.

Hope that helps,
Robert


On Thu, Sep 6, 2012 at 9:13 AM, Andy Burnett <[hidden email]> wrote:
Hello

I am playing around with the parts in the PartsBin - on my own server - and get this error message. The version of the lively-kernel server does work. So, am I missing something from my copy of the PartsBin (seems likely), or is there an add-on to the server that I don't have in my environment?

And, related to the first question, how do I keep my copy of the PartsBin up to date? is there an svn update built into the server?

Cheers
Andy

_______________________________________________
lively-kernel mailing list
[hidden email]
http://lists.hpi.uni-potsdam.de/listinfo/lively-kernel





_______________________________________________
lively-kernel mailing list
[hidden email]
http://lists.hpi.uni-potsdam.de/listinfo/lively-kernel