[Pharo-project] Zinc intermittently returning nil

Sean P. DeNigris sean at clipperadams.com
Tue Jun 26 23:33:07 EDT 2012


The following all intermittently return nil. When I do the same thing in
Safari, I always seem to get the correct answer (plain text).

(ZnEasy get:
'https://ci.lille.inria.fr/pharo/job/Pharo-2.0/lastSuccessfulBuild/api/xml?xpath=%2F%2A%2Fdescription%2Ftext%28%29')
contents.

(ZnClient new get:
'https://ci.lille.inria.fr/pharo/job/Pharo-2.0/lastSuccessfulBuild/api/xml?xpath=%2F%2A%2Fdescription%2Ftext%28%29')
contents.

(ZnUrl fromString:
'https://ci.lille.inria.fr/pharo/job/Pharo-2.0/lastSuccessfulBuild/api/xml?xpath=%2F%2A%2Fdescription%2Ftext%28%29')
retrieveContents.

Even this returns nil intermittently (maybe less frequently, not sure):
client := ZnClient new.
client
	systemPolicy;
	url:
'https://ci.lille.inria.fr/pharo/job/Pharo-2.0/lastSuccessfulBuild/api/xml?xpath=%2F%2A%2Fdescription%2Ftext%28%29';
	accept: ZnMimeType textPlain.
	
client get contents.

Sean

--
View this message in context: http://forum.world.st/Zinc-intermittently-returning-nil-tp4636820.html
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.




More information about the Pharo-dev mailing list