[Glass] Gemstone error in Seaside 3.1 callback

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

[Glass] Gemstone error in Seaside 3.1 callback

GLASS mailing list
Hi guys,

I have an scenario that was working before with my old Seaside 3.0 and gem native code disabled. Now with seaside 3.1, latest GLASS etc, native code enabled, I am getting this error:

a LookupError occurred (error 2053), The instance variable #'X' was not found in evaluating a path expression for the object nil.

I have no clue what it is. I tried to wrap the variable X in a ValueHolder but same issue.

Any clue?

Thanks, 

--
Mariano
http://marianopeck.wordpress.com

_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: [Glass] Gemstone error in Seaside 3.1 callback

GLASS mailing list
It sounds like somewhere you are using a variable that looks like:

   varname.X

or an error along the same lines from a index expression ...

I would really like to see a stack with the error and the method source that is causing the error...

Dale

On Fri, Oct 17, 2014 at 12:29 PM, Mariano Martinez Peck via Glass <[hidden email]> wrote:
Hi guys,

I have an scenario that was working before with my old Seaside 3.0 and gem native code disabled. Now with seaside 3.1, latest GLASS etc, native code enabled, I am getting this error:

a LookupError occurred (error 2053), The instance variable #'X' was not found in evaluating a path expression for the object nil.

I have no clue what it is. I tried to wrap the variable X in a ValueHolder but same issue.

Any clue?

Thanks, 

--
Mariano
http://marianopeck.wordpress.com

_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass



_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

[Glass] Kaliningrad issue

GLASS mailing list
Hi Dale,

I’ve setup Kaliningrad to learn about Amber and have encountered an issue serving files from the KORestfulHandler.

Specifically, the XHR’s have a url like:

http://localhost:8383/Kaliningrad/js/compat.js?_=1413670070444

…which should hit:

KORestfulHandler-#load: path package: packageU
        <get>
        <path: '/{1}/{2}’>

…but isn’t. If I remove the query string, it hits and responds as usual. It appears that the route is not found because it fails the matchesParameters: test...

WAComplexRoute-#matchesParameters: aDictionary

  parameterMatches size = aDictionary size
    ifFalse: [ ^ false ].

This appears to be working in Pharo (don’t know why yet - will keep looking).

Background:

I started by trying to setup SmalltalkHub (a good example of Amber) in Pharo - it runs and I can register users that appear as “recently registered users” but can not login. There are no docs and since this probably isn’t a project that many people setup, I didn’t get any response from the Seaside list to my query.

So I started in GS/S 3.2.2 and have loaded Kaliningrad, made a component to serve the loadAmber script, then hit this issue.

Will keep looking :)

Thanks for any advice.

Cheers,

Jupiter
_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass