Re: Inconsistency with split() - Script, OS, or Package Problem?

2011-05-09 Thread James Wright
Sorry Alex, and thank you. On Mon, May 9, 2011 at 4:02 PM, Alex Willmer wrote: > (Direct reply to me, reposted on Jame's behalf) > > > > Hi Alex, > > On Mon, May 9, 2011 at 3:21 PM, Alex Willmer > wrote: >> On May 9, 8:10 pm, James Wright wrote: >>&g

Re: Inconsistency with split() - Script, OS, or Package Problem?

2011-05-09 Thread James Wright
Hello Ethan, On Mon, May 9, 2011 at 4:04 PM, Ethan Furman wrote: > James Wright wrote: >> >> On Mon, May 9, 2011 at 3:36 PM, Ethan Furman wrote: >>> >>> Change your print line to: >>> >>>   print("D4[%s] = %s" % (report, each_value))

Re: Inconsistency with split() - Script, OS, or Package Problem?

2011-05-09 Thread James Wright
On Mon, May 9, 2011 at 3:36 PM, Ethan Furman wrote: > James Wright wrote: >> >> Thank you Ethan, >> >> This is what I see now: >> >> # python render4.py >> current each_value is: vsr >> Traceback (most recent call last): >>  File "

Re: Inconsistency with split() - Script, OS, or Package Problem?

2011-05-09 Thread James Wright
Hello Ian, It does indeed to seem that way. However the script works just fine on other machines, with the same input file. Thanks, James On Mon, May 9, 2011 at 2:41 PM, Ian Kelly wrote: > On Mon, May 9, 2011 at 12:10 PM, James Wright wrote: >> Hello, >> >> I have b

Re: Inconsistency with split() - Script, OS, or Package Problem?

2011-05-09 Thread James Wright
, 09 May 2011 14:10:21 -0400, James Wright wrote: > >> Hello, >> >> I have been using a script on several boxes that have been around for a >> while, and everything works just fine.  I am finding though, that on >> some new OS installs the script fails with: >>

Re: Inconsistency with split() - Script, OS, or Package Problem?

2011-05-09 Thread James Wright
nks, James On Mon, May 9, 2011 at 2:56 PM, Ethan Furman wrote: > James Wright wrote: >> >> Hello, > > Howdy! > >> def create_report_index(report):  #Here we are creating a simple >> index.html file from data in a text file >>    newfile = open(report +

Inconsistency with split() - Script, OS, or Package Problem?

2011-05-09 Thread James Wright
Hello, I have been using a script on several boxes that have been around for a while, and everything works just fine. I am finding though, that on some new OS installs the script fails with: Traceback (most recent call last): File "render4.py", line 114, in create_report_index(each_item)