Wow!!! thanks!! Not easy to guess!
Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > On May 9, 2016, at 3:13 PM, Alistair Grant <[email protected]> wrote: > > On Mon, May 09, 2016 at 03:06:38PM -0300, Alexandre Bergel wrote: >> The following script still raises an error… No idea why… >> >> >> urlAsString := >> 'https://github.com/sudar/pig-samples/raw/master/data/tweets.csv'. >> (NeoCSVReader on: urlAsString asUrl retrieveContents readStream) >> skipHeader; >> upToEnd. >> >> Apparently SmallInteger>>codePoint does not exist... > > I think you need to convert the contents to a string first... > > > | urlAsString contents | > > urlAsString := > 'https://github.com/sudar/pig-samples/raw/master/data/tweets.csv'. > contents := urlAsString asUrl retrieveContents asString. > (NeoCSVReader on: contents readStream) > skipHeader; > upToEnd. > > > Cheers, > Alistair > >
