Thank you for reporting the problem, now we know that we have to pay attention to the Zinc version in 1.4 as it is getting a bit old. On 19 Dec 2012, at 21:07, Hernán Morales Durand <hernan.morales@gmail.com> wrote:
Hi Sven,
Thanks for your quick answer. Finally I was able to fix the request in 1.4 by loading the latest ConfigurationOf from http://mc.stfx.eu/ZincHTTPComponents. For now I only use Pharo 1.4 but I hope to test it in the future using the 2.0 enhacements. Best regards,
Hernán
2012/12/19 Sven Van Caekenberghe <sven@stfx.eu> Hernán,
On 19 Dec 2012, at 19:04, Sven Van Caekenberghe <sven@stfx.eu> wrote:
I'll see what my 1.4 image doesâ¦
OK, this is a bug that was fixed in the beginning of August:
==== Name: Zinc-HTTP-SvenVanCaekenberghe.291 Author: SvenVanCaekenberghe Time: 2 August 2012, 11:26:02.302 am UUID: 3d8c50cd-2d7b-459f-89f3-b77a23dccfdd Ancestors: Zinc-HTTP-SvenVanCaekenberghe.290
various fixes to ZnChunkedReadStream>>#readInto:startingAt:count: (thx Chris Bailey for reporting the problem); added ZnLimitedReadStream>>#nextInto: as it is used by Fuel =====
One way to upgrade is loading ConfigurationOfZincHTTPComponents from
MCHttpRepository location: 'http://mc.stfx.eu/ZincHTTPComponents' user: '' password: ''
by doing
ConfigurationOfZincHTTPComponents load
This will not load the very latest version, but
a MetacelloFetchingMCSpecLoader(linear load : linear load : 1.8.2 [ConfigurationOfZincHTTPComponents] load : Zinc-FileSystem-Legacy-SvenVanCaekenberghe.3 load : Zinc-Pharo-Forward-Compatibility-SvenVanCaekenberghe.1 load : Zinc-HTTP-SvenVanCaekenberghe.300 load : Zinc-Tests-SvenVanCaekenberghe.155 load : Zinc-Patch-HTTPSocket-SvenVanCaekenberghe.1)
which is enough to fix the problem in 1.4 (I tested it). But this does not give you all green tests for Zn (stable for 1.4 is outdated apparently).
BTW, the latest Zinc-HTTP for Pharo 2.0 is 328. You could also try
ConfigurationOfZincHTTPComponents project latestVersion load.
which loads
a MetacelloFetchingMCSpecLoader(linear load : linear load : 2.1 [ConfigurationOfZincHTTPComponents] load : Zinc-Character-Encoding-Core-SvenVanCaekenberghe.2 load : Zinc-Resource-Meta-Core-SvenVanCaekenberghe.3 load : Zinc-HTTP-SvenVanCaekenberghe.328 load : Zinc-Tests-SvenVanCaekenberghe.169)
and does give all green tests.
HTH,
Sven
-- Sven Van Caekenberghe http://stfx.eu Smalltalk is the Red Pill