On Fri, 3 Oct 2014, Mytts wrote:

The error stack is as following:

NetNameResolver class(Object)>>error:
NetNameResolver class(Object)>>primitiveFailed
NetNameResolver class>>primNameResolverStatus
NetNameResolver class>>resolverStatus
NetNameResolver class>>initializeNetworkIfFail:
Socket>>initializeNetwork
HTTPSocket class>>httpGetDocument:args:accept:request:
HTTPSocket class>>httpGetDocument:args:accept:
HTTPSocket class>>httpGet:args:accept:
HTTPSocket class>>httpGet:accept:

I'm not entirely sure how to check wat version the image is, but i did find
that it was created in a squeak 2.8 environment.

I suspect that the VM you're using is "too new" for that image. Squeak 2.8 used numbered primitives for network access, while current Squeak images use named primitives and a separate plugin (SocketPlugin). I suspect that the 4.1.1 VM doesn't support those numbered primitives anymore[1]. I suggest you to try running the image with a Scratch-compatible VM, or if you're up for some challenges, you can try using the named primitives.


Levente

[1] http://bugs.squeak.org/view.php?id=7454




--
View this message in context: 
http://forum.world.st/I-can-t-find-any-HTTPSocket-examples-tp4781987p4782331.html
Sent from the Squeak - Beginners mailing list archive at Nabble.com.
_______________________________________________
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners

_______________________________________________
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners

Reply via email to