[CoLoCo] bash question

Jim Hutchinson jim at ubuntu-rocks.org
Sat Aug 20 14:22:35 UTC 2011


Thanks David,

It still does the same error with just using one specific file. Is there
something in the format of the data in the file that it doesn't like? I
can't change that as I'd have to manually edit them all.

Jim

On Sat, Aug 20, 2011 at 8:08 AM, David Overcash <funnylookinhat at gmail.com>wrote:

> The error is coming from the file where it reads a file... and because it
> runs for a while, my guess is that it's looping a few files and then getting
> the error on a specific one.  It definitely should be only reading .txt
> files with those params.
>
> Go ahead and try running the program with just one text file to verify it
> works correctly.
>
> i.e.
> python averages.py AED.txt
>
>
> On Sat, Aug 20, 2011 at 8:02 AM, Jim Hutchinson <jim at ubuntu-rocks.org>wrote:
>
>> David,
>>
>> It errors out on the .py script itself. Shouldn't the *.txt tell it to
>> skip any non .txt file? Guess I need to point it to a dir with just the
>> files.
>>
>> Thanks.
>>
>> Kevin,
>>
>> As soon as I figure out if I have ruby on my laptop I'll give that a try.
>> Thanks for the help and lesson. Much easier to understand what it's doing
>> that way.
>>
>> Jim
>>
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-us-co/attachments/20110820/df3540d3/attachment.html>


More information about the Ubuntu-us-co mailing list