LemmaLegalConsulting / docassemble-Covid19debt

A docassemble extension.
MIT License
0 stars 0 forks source link

Error when adding second debt type: private parking charges debt #91

Closed stevejaubz closed 2 years ago

stevejaubz commented 2 years ago

Screen Shot 2022-03-23 at 10 43 58 PM

Error asouza@su.suffolk.edu Error Retry

Interview has an error. There was a reference to a variable 'debt[1].emergency_dict_temp' that could not be looked up in the question file (for language 'en') or in any of the files incorporated by reference into the question file. History Ran initial code at 0.00208s id: set currency initial: True code: | set_locale(currency_symbol='£') Tried to run mandatory code at 0.00209s id: interview order mandatory: True code: | user_saw_introduction user_saw_preparation debt_signpost user.name.first user.name.last if user.dob.plus(years=18) > today(): under18_kickout if not user.uk: nonUKresident_kickout if not user.uk_debt: nonUKdebt_kickout user.work user.uk_debt

user_provided_personal_info

user.house_status if user.house_status == 'Renting': if user.renting_status == 'Joint tenants': user.house_status_rentshare if user.house_status == 'Home owner': if user.homeowner_status == 'Joint Mortgage': user.house_status_mortshare if user.house_status == 'Living with family': share_housing = True if user.house_status == 'Homeless': share_housing = False user.house_num = 1 user.house_aware = False if share_housing == True: user.house_num else: user.house_num = 1 if user.house_status == 'Homeless': user_contact_information_homeless else: user_contact_information user.marriage

current_insolvency debt_info_signpost

user_identified_priority_debts

user_identified_nonpriority_debts

debt_parent_list[0] debt.total() finance_signpost jobs.total() other_income.total() assets.total() add_review_to_menu = True expenses.total()

documents_uploaded

summary signpost_bs_solutions user_saw_standard_bs user_saw_mentalh_bs user_saw_debt_solutions

user_signed

predocx_variables letter_and_end Needed definition of debt[1].complete at 0.00223s Tried to run block at 0.00239s id: Debt complete order generic object: Debt code: | x.type x.value x.creditor x.name if temp_other_name_exists: x.other_name = temp_other_name x.urgency x.priority x.court_action x.first_miss_date x.notes x.complete = True Needed definition of debt[1].urgency at 0.00251s Tried to run block at 0.00266s id: calculates .urgency from .urgency_reason if appropriate generic object: Debt code: | if len(x.emergency_dict.true_values()) > 0: x.urgency = x.emergency_dict.true_values().comma_and_list() else: x.urgency = "None" Needed definition of debt[1].emergency_dict at 0.00277s Considered using block at 0.00292s if: number_of_emergency_choices > 1 generic object: Debt question: Emergency information about ${ x.name } subquestion: | Are you at risk of any of the following? Check any that apply. fields:

stevejaubz commented 2 years ago

occured again with personal loan debt

tobyfey commented 2 years ago

I think I fixed this by commenting out an old code block. I need to go through and clean out the code. I think ALKiln should be working, so hopefully that catches problems if I do that.

It seems to be working but I should check again in the morning.

In emergency_dict_type branch - 4d6ad206d6c4c1be09145c256fd827f3503c9ff4

tobyfey commented 2 years ago

9ee361684afc624539784140f7b4600198130f78

still want to test more and remove commented blocks before closing