Skip to content

New Install, Reschedule from zayo is failing #33

@dnyt84

Description

@dnyt84

Hello,

when processing the inbox I have a Rescheduled Maintenance from Zayo that it is failing on:

[2020-10-19 15:36:15,405] INFO in Providers: attempting to process email RESCHEDULE NOTIFICATIONXXX IncZAYO TTN-XXX
Planned***
[2020-10-19 15:36:15,414] INFO in Providers: attempting to mark maintenance rescheduled
[2020-10-19 15:36:15,418] INFO in Providers: attempting to add new maint from email RESCHEDULE NOTIFICATIONXXX IncZAYO TTN-XXX
Planned***
Job "run_now (trigger: date[2020-10-19 15:36:13 UTC], next run at: 2020-10-19 15:36:13 UTC)" raised an exception
Traceback (most recent call last):
File "/opt/janitor/venv/lib64/python3.6/site-packages/apscheduler/executors/base.py", line 125, in run_job
retval = job.func(*job.args, **job.kwargs)
File "/opt/janitor/app/jobs/main.py", line 169, in process
process_provider(client, mail, p)
File "/opt/janitor/app/jobs/main.py", line 129, in process_provider
result = provider.process(em)
File "/opt/janitor/app/Providers.py", line 734, in process
result = self.add_reschedule_maint(soup, email)
File "/opt/janitor/app/Providers.py", line 544, in add_reschedule_maint
self.add_new_maint(soup, email)
File "/opt/janitor/app/Providers.py", line 602, in add_new_maint
window = line.next_sibling.strip().split('-')
TypeError: 'NoneType' object is not callable

I have no maintenances listed currently

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions