LearningOOPWithPharo icon indicating copy to clipboard operation
LearningOOPWithPharo copied to clipboard

Error getting French Isograms

Open offray opened this issue 5 years ago • 2 comments

  • revision: Master @ 0638b16 (PDF)
  • page: 51

Both code snippets for getting the French isograms:

(ZnClient new
get: 'https://raw.githubusercontent.com/SquareBracketAssociates/
LearningOOPWithPharo/
master/resources/listeDeMotsAFrancaisUTF8.txt') lines

and

(ZnClient new
get: 'https://raw.githubusercontent.com/SquareBracketAssociates/
LearningOOPWithPharo/
master/resources/listeDeMotsFrancaisFrGutUTF8.txt') lines

throw the error Instance of ByteArray did not understand #lines.

This one works properly:

(ZnEasy 
get: 'https://raw.githubusercontent.com/SquareBracketAssociates/LearningOOPWithPharo/master/resources/listeDeMotsAFrancaisUTF8.txt') contents lines 

BTW, does GitHub support some kind of url shorter to make the url more readable?

offray avatar Feb 07 '20 00:02 offray

The problem should be elsewhere because you should get a superlarge array

Ducasse avatar Feb 07 '20 07:02 Ducasse

404: Not Found is not what we are supposed to have.

Ducasse avatar Feb 07 '20 07:02 Ducasse