Re: issue moving from 3.4.0 to latest
johnf <[email protected]>
| Newsgroups | gmane.comp.python.reportlab.user |
|---|---|
| Message-ID | <[email protected]> |
I should have added that I am using python 3.6.x, on OpenSuse 15.1.
But I believe the same is happening on windows 10 with python 3.7.x
I have attached a file - not sure what I should do to make it simple -
I believe there is data at the bottom.
Johnf
On 9/6/19 7:13 AM, James PK wrote:
> > I'm upgrading reportlab from 3.4.0 to 3.5.x issue with _do_post_text()
>
> You have upgraded reportlab, I assume that your Python version is
> still the same.
>
> Is the 'issue' an exception or that the output looks different in 3.5.x?
>
>
> > which is returning a string of zero length ('') and not a number.
> > I can fix the issue by changing the lw value to 0 (zero).
>
> From the repository it looks like _usCon() (added in commit in March
> 2018) and it does look like its intention is to return a number.
>
>
> Do you have a slimmed down source file your could email for testing
> purposes?
>
> James
>
>
>
> On 06/09/2019 03:13, johnf wrote:
>>
>> Hi everyone,
>>
>>
>> I'm upgrading reportlab from 3.4.0 to 3.5.x issue with _do_post_text()
>>
>> I'm upgrading reportlab from 3.4.0 to 3.5.x and there is a change in
>> paragraph.py -> _do_post_text(). In that method there is a line of code:
>>
>> lw = _isConv(w,values,default=tx._defaultLineWidth)
>>
>> which is returning a string of zero length ('') and not a number. I
>> can fix the issue by changing the lw value to 0 (zero).
>>
>> But I wonder where I should be looking for the root of the issue????
>> Is it in my rxml file. The file print fine with reportlab 3.4.0.
>>
>>
>> Johnf
>>
>>
>>
>> _______________________________________________
>> reportlab-users mailing list
>> [email protected]
>> https://pairlist2.pair.net/mailman/listinfo/reportlab-users
>>
> _______________________________________________
> reportlab-users mailing list
> [email protected]
> https://pairlist2.pair.net/mailman/listinfo/reportlab-users
ReminderLetter1.rfxml
(text/xml, 21.3 KB)
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<!--
This is a Dabo report form xml (rfxml) document, describing a
report form. It was generated by the Dabo Report Writer, and can
be edited by hand or by using the Dabo Report Designer.
-->
<Report>
<title>Sample Report</title>
<Subject>"http://dabodev.com"</Subject>
<Author>"Dabo Report Writer"</Author>
<Keywords>("dabo", "report", "writer", "banded", "free")</Keywords>
<Defaults></Defaults>
<page>
<MarginBottom>".25 in"</MarginBottom>
<marginLeft>".5 in"</marginLeft>
<marginRight>".5 in"</marginRight>
<MarginTop>".25 in"</MarginTop>
<orientation>"portrait"</orientation>
<size>"letter"</size>
</page>
<pageHeader>
<Objects>
<String>
<expr>'Pacific Educational Services, Inc.'</expr>
<FontName>'Helvetica-Bold'</FontName>
<FontSize>10</FontSize>
<width>'221.0 pt'</width>
<x>'34.8 pt'</x>
<y>'80.6 pt'</y>
</String>
<Memo>
<expr>self.Report.Variables['LetterHeader']</expr>
<fontName>"Helvetica"</fontName>
<FontSize>10</FontSize>
<Height>'57.0 pt'</Height>
<BorderWidth>0</BorderWidth>
<padBottom>4</padBottom>
<padTop>4</padTop>
<vAnchor>"top"</vAnchor>
<width>'3.0657 in'</width>
<x>'0.4909 in'</x>
<y>'77.5 pt'</y>
</Memo>
<String>
<expr>datetime.datetime.now().strftime("%m/%d/%Y")</expr>
<FontSize>10</FontSize>
<Height>'13.0 pt'</Height>
<width>'69.0 pt'</width>
<x>'0.4861 in'</x>
<y>'3.0 pt'</y>
</String>
</Objects>
<Height>102.9</Height>
</pageHeader>
<detail>
<Objects>
<String>
<expr>self.detail_line</expr>
<FontName>'Courier'</FontName>
<FontSize>10</FontSize>
<Height>'12.0 pt'</Height>
<width>'496.0 pt'</width>
<x>'35.0 pt'</x>
<y>'1.0 pt'</y>
</String>
</Objects>
<Height>None</Height>
</detail>
<PageFooter>
<Objects>
<String>
<expr>'PES Enrollment ID: '+str(self.Cursor[max(0,self.RecordNumber-1)]['enrollid']).ljust(30)+'Page '+str(self._pageNumber).ljust(30)+("(continued on next page)" if self.RecordNumber<len(self.Cursor) and (self.Cursor[self.RecordNumber-1]['enrollid'] ==self.Cursor[self.RecordNumber]['enrollid'] or self.being_deferred==True) else "")</expr>
<FontSize>10</FontSize>
<Height>'11.0 pt'</Height>
<Width>'450 pt'</Width>
<x>'35.0 pt'</x>
<y>'3.0 pt'</y>
</String>
<String>
<expr>self.RecordNumber</expr>
<FontSize>10</FontSize>
<Height>'11.0 pt'</Height>
<Show>False</Show>
<Width>'50 pt'</Width>
<x>'108.0 pt'</x>
<y>'2.0 pt'</y>
</String>
<String>
<expr>len(self.Cursor)</expr>
<FontSize>10</FontSize>
<Height>'11.0 pt'</Height>
<Show>False</Show>
<Width>'50 pt'</Width>
<x>'168.0 pt'</x>
<y>'2.0 pt'</y>
</String>
<String>
<expr>self.Cursor[self.RecordNumber-1]['enrollid']</expr>
<FontSize>10</FontSize>
<Height>'11.0 pt'</Height>
<Show>False</Show>
<Width>'50 pt'</Width>
<x>'230.0 pt'</x>
<y>'2.0 pt'</y>
</String>
<String>
<expr>self.Cursor[self.RecordNumber]['enrollid']</expr>
<FontSize>10</FontSize>
<Height>'11.0 pt'</Height>
<Show>False</Show>
<Width>'50 pt'</Width>
<x>'287.0 pt'</x>
<y>'2.0 pt'</y>
</String>
<String>
<expr>self.being_deferred</expr>
<FontSize>10</FontSize>
<Height>'11.0 pt'</Height>
<Show>False</Show>
<Width>'50 pt'</Width>
<x>'346.0 pt'</x>
<y>'2.0 pt'</y>
</String>
</Objects>
<Height>16.5</Height>
</PageFooter>
<pageBackground>
<Objects></Objects>
</pageBackground>
<PageForeground>
<Objects></Objects>
</PageForeground>
<ReportBegin>
<Objects></Objects>
</ReportBegin>
<ReportEnd>
<Objects></Objects>
</ReportEnd>
<Groups>
<Group>
<GroupHeader>
<Objects>
<Memo>
<expr>self.Record['toaddress']</expr>
<fontName>"Helvetica"</fontName>
<FontSize>10</FontSize>
<Height>'60.0 pt'</Height>
<BorderWidth>0</BorderWidth>
<padBottom>1</padBottom>
<padTop>1</padTop>
<vAnchor>"top"</vAnchor>
<width>'2.9962 in'</width>
<x>'.5 in'</x>
<y>'136.5 pt'</y>
</Memo>
<Memo>
<expr>self.Report.Variables['Greeting']+u'\n\n'+self.Report.Variables['MergeText1']</expr>
<fontName>"Helvetica"</fontName>
<FontSize>10</FontSize>
<Height>None</Height>
<BorderWidth>0</BorderWidth>
<calculatedHeight>42</calculatedHeight>
<padBottom>1</padBottom>
<padTop>1</padTop>
<vAnchor>"top"</vAnchor>
<width>'6.9160 in'</width>
<x>'.5 in'</x>
<y>'53.0 pt'</y>
</Memo>
<String>
<expr>'REMINDER FOR CLASS'</expr>
<FontName>'Helvetica-Bold'</FontName>
<FontSize>10</FontSize>
<width>'221.0 pt'</width>
<x>'193.8 pt'</x>
<y>'174.6 pt'</y>
</String>
</Objects>
<Height>None</Height>
</GroupHeader>
<GroupFooter>
<Objects>
<Memo>
<expr>self.Report.Variables['MergeText2']</expr>
<fontName>"Helvetica"</fontName>
<FontSize>10</FontSize>
<Height>None</Height>
<Show>True</Show>
<BorderWidth>0</BorderWidth>
<calculatedHeight>None</calculatedHeight>
<FrameId>'footer'</FrameId>
<padBottom>1</padBottom>
<padTop>1</padTop>
<vAnchor>"top"</vAnchor>
<width>'6.9160 in'</width>
<x>'0.5 in'</x>
<y>'30 pt'</y>
</Memo>
<Line>
<Height>'5.0 pt'</Height>
<width>'503.0 pt'</width>
<x>'0.5 in'</x>
<y>'35.0 pt'</y>
</Line>
</Objects>
<Height>None</Height>
</GroupFooter>
<expr>self.Record['enrollid']</expr>
<ReprintHeaderOnNewPage>True</ReprintHeaderOnNewPage>
<ResetPageNumber>True</ResetPageNumber>
<StartOnNewPage>True</StartOnNewPage>
</Group>
<Group>
<GroupHeader>
<Objects>
<String>
<expr>self.Record['courseloc']</expr>
<FontSize>10</FontSize>
<Height>'11.0 pt'</Height>
<width>'245.0 pt'</width>
<x>'.5 in'</x>
<y>'34.0 pt'</y>
</String>
<String>
<expr>self.Record['courseadd']</expr>
<FontSize>10</FontSize>
<Height>'11.0 pt'</Height>
<width>'430.0 pt'</width>
<x>'.5 in'</x>
<y>'22.0 pt'</y>
</String>
<Line>
<Height>'5.0 pt'</Height>
<width>'487.0 pt'</width>
<x>'.5 in'</x>
<y>'46.0 pt'</y>
</Line>
<String>
<expr>' Class Dates and Time'.ljust(38)+(' Class Dates and Time' if len(self.detail_line.strip())>50 else '')</expr>
<FontName>'Courier'</FontName>
<FontSize>10</FontSize>
<Height>'12.0 pt'</Height>
<width>'432.0 pt'</width>
<x>'35.0 pt'</x>
<y>'3.0 pt'</y>
</String>
</Objects>
<Height>50.9</Height>
</GroupHeader>
<GroupFooter>
<Objects></Objects>
<Height>None</Height>
</GroupFooter>
<expr>self.Record['locationid']</expr>
<ReprintHeaderOnNewPage>True</ReprintHeaderOnNewPage>
<ResetPageNumber>False</ResetPageNumber>
</Group>
</Groups>
<Variables>
<Variable>
<expr>'11837 Kemper Road, Ste 2\nAuburn, CA 95603\n(530)888-1010 * (800)346-5891\[email protected]'</expr>
<Name>LetterHeader</Name>
<ResetAt>self.Record['enrollid']</ResetAt>
</Variable>
<Variable>
<expr>'Dear '+self.Record['clientname'].strip()+','</expr>
<Name>Greeting</Name>
<ResetAt>self.Record['enrollid']</ResetAt>
</Variable>
<Variable>
<expr>'You are enrolled in the '+self.Record['program'].strip()+ u' program. Your program balance is '+(u'TBD' if (self.Record['course_cost'] is None) else (u'$ '+str(self.Record['course_cost']-(0 if self.Record['paid_amt'] is None else self.Record['paid_amt']))))+u'. Your class schedule is as follows:'</expr>
<InitialValue>None</InitialValue>
<Name>MergeText1</Name>
<ResetAt>self.Record['enrollid']</ResetAt>
</Variable>
<Variable>
<expr>u'To ensure admittance to the class, your balance must be paid in full. Payments are accepted over the phone with an ATM or credit card at 800-346-5891. If you are unable to pay over the phone, please call 800-346-5891 to make arrangements.\n\nYOU WILL NOT BE ALLOWED INTO CLASS UNLESS PROGRAM FEES ARE PAID IN FULL.\n\nPLEASE CALL OUR OFFICE TO CONFIRM YOU WILL BE ATTENDING.\n\nREMEMBER:\n\n1) You must attend all sessions on the above dates. If you fail to attend the above date(s) you will be assessed $ 30.00 ($ 20.00 for youth programs) per date missed.\n2) You must arrive on time and stay until the session ends to receive credit.\n3) After attending the class, your file will be reviewed for completion by the PES administrative staff.\n4) <u>You may have other obligations to fulfill</u> prior to the release of a completion.\n\nPlease call (530)888-1010 or (800)346-5891 with any questions.\n\nSincerely,\n\nPacific Educational Services'</expr>
<InitialValue>None</InitialValue>
<Name>MergeText2</Name>
<ResetAt>self.Record['enrollid']</ResetAt>
</Variable>
<Variable>
<Name>BodyInfo</Name>
<ResetAt>self.Record['enrollid']</ResetAt>
</Variable>
<Variable>
<expr>None</expr>
<InitialValue>((u'Restitution:'.ljust(20)+(u'N/A' if self.Record['restitution']==0 else (u'$ '+(u'%10.2f'%(self.Record['restitution'])).strip())).ljust(20)).ljust(50)+ (u' Balance: '+(u'PAID' if (self.Record['restitution']-self.Record['restitution_paid'])<=0 else u'$ '+(u'%10.2f'%((self.Record['restitution']-self.Record['restitution_paid']))).strip())) if self.Record['restitution']>0 and self.Record['restitution']-self.Record['restitution_paid']>0.0 else '')+u'\nCommunity Service:'.ljust(30)+('COMPLETED' if (self.Record['com_serv'] is not None and (self.Record['com_serv']-self.Record['comserv_hrs'])<=0) else 'N/A' if (self.Record['com_serv'] is None or self.Record['com_serv']==0) else (str(self.Record['comserv_hrs']) +' of '+str(self.Record['com_serv'])+' Hrs served') ) +u'\n\n'</InitialValue>
<Name>Restituion_and_Comserv_info</Name>
<ResetAt>self.Record['enrollid']</ResetAt>
</Variable>
<Variable>
<expr>''</expr>
<InitialValue>'(cont\'d on next page)'</InitialValue>
<Name>continued</Name>
<ResetAt>self.enrollid</ResetAt>
</Variable>
<Variable>
<expr>self.enrollid if selfNone</expr>
<InitialValue>'***'</InitialValue>
<Name>lastenrollid</Name>
<ResetAt>self.enrollid</ResetAt>
</Variable>
</Variables>
<TestCursor>
<record address="u'740 PECAN ST. '" city="u'West Sacramento '" clientid="u'100'" clientname="u'Andrew Adams'" com_serv="30" comserv_hrs="30" course_cost="100" courseadd="u'123 Main St, Sacramento, CA '" courseid="187" courseloc="u'West Sacramento '" detail_line="u'Saturday, 08/01/2009 9:00AM-3:00PM Sunday, 08/02/2009 9:00AM-3:00PM'" endtime="u'3:30 PM'" enrolled="datetime.date(1999, 12, 29)" enrollid="u'123'" fname="u'Jordan '" homephone="u'9163749084'" lname="u'Garcia '" locationid="u'1'" name_1="u'YOUTH CHOICES, CHANGES, CHAL '" paid_amt="0" pkid="1" program="u'ANGER MANAGEMENT and some other long desc '" restitution="10000" restitution_paid="2500" schedule="datetime.date(2009, 6, 20)" starttime="u'9:00 AM'" state_1="u'CA'" toaddress="u'~ClientName~\n~address~\n~address2~\n~city~, ~state_1~ ~zip~'" workphone="u'(916) 372-9692 '" />
<record address="u'7325 SYLVAN GROVE WAY '" city="u'Citrus Heights '" clientid="u'100'" clientname="u'Andrew Adams'" com_serv="30" comserv_hrs="30" course_cost="100" courseadd="u'123 Main St, Sacramento, CA'" courseid="182" courseloc="u'West Sacramento '" detail_line="u'Saturday, 08/08/2009 9:00AM-3:00PM Sunday, 08/09/2009 9:00AM-3:00PM'" endtime="u'3:30 PM'" enrolled="datetime.date(1999, 12, 29)" enrollid="u'123'" fname="u'Jeremy '" homephone="u'9167257288'" lname="u'Bradley '" locationid="u'1'" name_1="u'ADULT THEFT EDUCATION - 2 '" paid_amt="0" pkid="2" program="u'ANGER MANAGEMENT'" restitution="10000" restitution_paid="2500" schedule="datetime.date(2009, 6, 27)" starttime="u'9:00 AM'" state_1="u'CA'" toaddress="u'~ClientName~\n~address~\n~address2~\n~city~, ~state_1~ ~zip~'" workphone="u'( ) - '" />
<record address="u'740 PECAN ST. '" city="u'West Sacramento '" clientid="u'100'" clientname="u'Andrew Adams'" com_serv="30" comserv_hrs="30" course_cost="100" courseadd="u'123 Main St, Sacramento, CA '" courseid="187" courseloc="u'West Sacramento '" detail_line="u'Saturday, 08/15/2009 9:00AM-3:00PM '" endtime="u'3:30 PM'" enrolled="datetime.date(1999, 12, 29)" enrollid="u'123'" fname="u'Jordan '" homephone="u'9163749084'" lname="u'Garcia '" locationid="u'1'" name_1="u'YOUTH CHOICES, CHANGES, CHAL '" paid_amt="0" pkid="3" program="u'ANGER MANAGEMENT and some other long desc '" restitution="10000" restitution_paid="2500" schedule="datetime.date(2009, 6, 20)" starttime="u'9:00 AM'" state_1="u'CA'" toaddress="u'~ClientName~\n~address~\n~address2~\n~city~, ~state_1~ ~zip~'" workphone="u'(916) 372-9692 '" />
<record address="u'740 PECAN ST. '" city="u'West Sacramento '" clientid="u'100'" clientname="u'Andrew Adams'" com_serv="30" comserv_hrs="30" course_cost="100" courseadd="u'123 Main St, Sacramento, CA '" courseid="187" courseloc="u'West Sacramento '" detail_line="u'Saturday, 08/01/2009 9:00AM-3:00PM Sunday, 08/02/2009 9:00AM-3:00PM'" endtime="u'3:30 PM'" enrolled="datetime.date(1999, 12, 29)" enrollid="u'123'" fname="u'Jordan '" homephone="u'9163749084'" lname="u'Garcia '" locationid="u'1'" name_1="u'YOUTH CHOICES, CHANGES, CHAL '" paid_amt="0" pkid="4" program="u'ANGER MANAGEMENT and some other long desc '" restitution="10000" restitution_paid="2500" schedule="datetime.date(2009, 6, 20)" starttime="u'9:00 AM'" state_1="u'CA'" toaddress="u'~ClientName~\n~address~\n~address2~\n~city~, ~state_1~ ~zip~'" workphone="u'(916) 372-9692 '" />
<record address="u'740 PECAN ST. '" city="u'West Sacramento '" clientid="u'100'" clientname="u'Andrew Adams'" com_serv="30" comserv_hrs="30" course_cost="100" courseadd="u'123 Main St, Sacramento, CA '" courseid="187" courseloc="u'West Sacramento '" detail_line="u'Saturday, 08/01/2009 9:00AM-3:00PM Sunday, 08/02/2009 9:00AM-3:00PM'" endtime="u'3:30 PM'" enrolled="datetime.date(1999, 12, 29)" enrollid="u'123'" fname="u'Jordan '" homephone="u'9163749084'" lname="u'Garcia '" locationid="u'1'" name_1="u'YOUTH CHOICES, CHANGES, CHAL '" paid_amt="0" pkid="5" program="u'ANGER MANAGEMENT and some other long desc '" restitution="10000" restitution_paid="2500" schedule="datetime.date(2009, 6, 20)" starttime="u'9:00 AM'" state_1="u'CA'" toaddress="u'~ClientName~\n~address~\n~address2~\n~city~, ~state_1~ ~zip~'" workphone="u'(916) 372-9692 '" />
<record address="u'740 PECAN ST. '" city="u'West Sacramento '" clientid="u'100'" clientname="u'Andrew Adams'" com_serv="30" comserv_hrs="30" course_cost="100" courseadd="u'123 Main St, Sacramento, CA '" courseid="187" courseloc="u'West Sacramento '" detail_line="u'Saturday, 08/01/2009 9:00AM-3:00PM Sunday, 08/02/2009 9:00AM-3:00PM'" endtime="u'3:30 PM'" enrolled="datetime.date(1999, 12, 29)" enrollid="u'123'" fname="u'Jordan '" homephone="u'9163749084'" lname="u'Garcia '" locationid="u'1'" name_1="u'YOUTH CHOICES, CHANGES, CHAL '" paid_amt="0" pkid="6" program="u'ANGER MANAGEMENT and some other long desc '" restitution="10000" restitution_paid="2500" schedule="datetime.date(2009, 6, 20)" starttime="u'9:00 AM'" state_1="u'CA'" toaddress="u'~ClientName~\n~address~\n~address2~\n~city~, ~state_1~ ~zip~'" workphone="u'(916) 372-9692 '" />
<record address="u'740 PECAN ST. '" city="u'West Sacramento '" clientid="u'100'" clientname="u'Andrew Adams'" com_serv="30" comserv_hrs="30" course_cost="100" courseadd="u'123 Main St, Sacramento, CA '" courseid="187" courseloc="u'West Sacramento '" detail_line="u'Saturday, 08/01/2009 9:00AM-3:00PM Sunday, 08/02/2009 9:00AM-3:00PM'" endtime="u'3:30 PM'" enrolled="datetime.date(1999, 12, 29)" enrollid="u'123'" fname="u'Jordan '" homephone="u'9163749084'" lname="u'Garcia '" locationid="u'1'" name_1="u'YOUTH CHOICES, CHANGES, CHAL '" paid_amt="0" pkid="7" program="u'ANGER MANAGEMENT and some other long desc '" restitution="10000" restitution_paid="2500" schedule="datetime.date(2009, 6, 20)" starttime="u'9:00 AM'" state_1="u'CA'" toaddress="u'~ClientName~\n~address~\n~address2~\n~city~, ~state_1~ ~zip~'" workphone="u'(916) 372-9692 '" />
<record address="u'740 PECAN ST. '" city="u'West Sacramento '" clientid="u'100'" clientname="u'Andrew Adams'" com_serv="30" comserv_hrs="30" course_cost="100" courseadd="u'123 Main St, Sacramento, CA '" courseid="187" courseloc="u'West Sacramento '" detail_line="u'Saturday, 08/01/2009 9:00AM-3:00PM Sunday, 08/02/2009 9:00AM-3:00PM'" endtime="u'3:30 PM'" enrolled="datetime.date(1999, 12, 29)" enrollid="u'123'" fname="u'Jordan '" homephone="u'9163749084'" lname="u'Garcia '" locationid="u'1'" name_1="u'YOUTH CHOICES, CHANGES, CHAL '" paid_amt="0" pkid="8" program="u'ANGER MANAGEMENT and some other long desc '" restitution="10000" restitution_paid="2500" schedule="datetime.date(2009, 6, 20)" starttime="u'9:00 AM'" state_1="u'CA'" toaddress="u'~ClientName~\n~address~\n~address2~\n~city~, ~state_1~ ~zip~'" workphone="u'(916) 372-9692 '" />
<record address="u'740 PECAN ST. '" city="u'West Sacramento '" clientid="u'100'" clientname="u'Andrew Adams'" com_serv="30" comserv_hrs="30" course_cost="100" courseadd="u'123 Main St, Sacramento, CA '" courseid="187" courseloc="u'West Sacramento '" detail_line="u'Saturday, 08/01/2009 9:00AM-3:00PM Sunday, 08/02/2009 9:00AM-3:00PM'" endtime="u'3:30 PM'" enrolled="datetime.date(1999, 12, 29)" enrollid="u'123'" fname="u'Jordan '" homephone="u'9163749084'" lname="u'Garcia '" locationid="u'1'" name_1="u'YOUTH CHOICES, CHANGES, CHAL '" paid_amt="0" pkid="9" program="u'ANGER MANAGEMENT and some other long desc '" restitution="10000" restitution_paid="2500" schedule="datetime.date(2009, 6, 20)" starttime="u'9:00 AM'" state_1="u'CA'" toaddress="u'~ClientName~\n~address~\n~address2~\n~city~, ~state_1~ ~zip~'" workphone="u'(916) 372-9692 '" />
<record address="u'740 PECAN ST. '" city="u'West Sacramento '" clientid="u'100'" clientname="u'Andrew Adams'" com_serv="30" comserv_hrs="30" course_cost="100" courseadd="u'123 Main St, Sacramento, CA '" courseid="187" courseloc="u'West Sacramento '" detail_line="u'Saturday, 08/01/2009 9:00AM-3:00PM Sunday, 08/02/2009 9:00AM-3:00PM'" endtime="u'3:30 PM'" enrolled="datetime.date(1999, 12, 29)" enrollid="u'123'" fname="u'Jordan '" homephone="u'9163749084'" lname="u'Garcia '" locationid="u'1'" name_1="u'YOUTH CHOICES, CHANGES, CHAL '" paid_amt="0" pkid="10" program="u'ANGER MANAGEMENT and some other long desc '" restitution="10000" restitution_paid="2500" schedule="datetime.date(2009, 6, 20)" starttime="u'9:00 AM'" state_1="u'CA'" toaddress="u'~ClientName~\n~address~\n~address2~\n~city~, ~state_1~ ~zip~'" workphone="u'(916) 372-9692 '" />
</TestCursor>
</Report>