-
Notifications
You must be signed in to change notification settings - Fork 0
Queues That Won't Load #138
Comments
webmaster Queue FixThe issue stemmed from a lack of error handling for empty header information from additional info supplied from user sections. That has now been fixed with #140 Additional info supplied by user structure: === Additional information supplied by user ===
Subject: Subject Line Here
From: "From_Name" <email@aol.com>
Cc: "epicsite@ecn.purdue.edu" <epicsite@ecn.purdue.edu>,
"CC Name One" <ccone@purdue.edu>,
"CC Name Two" <cctwo@purdue.edu>,
"CC Name Three" <ccthree@aol.com>
Date: Mon, 19 Jan 2015 11:30:44 -0500
content...
=============================================== The structure consists of a beginning delimiter, a newline indicating header information, header information, a new line indicating the end of the header information and the beginning of the content, two new lines and the ending delimiter. However, the below queue resulted in an error during the date sort within the api: === Additional information supplied by user ===
content
=============================================== The problem with the section above (taken from webmaster 137 in the live queue) was with the handling of the header information. The api does not expect a fixed number of lines within the header, meaning that 0 lines of header information can be included within the reply-from-user section and still result in a successful parse for the rest of the section. However, a line indicating the date of the section must be provided in the header so that the script can sort the section by date, something that was not checked. |
root-mail 798Contents of the
Two things are wrong with this item:
Fixed with this comit in Bugfix-Queues-That-Won't-Load |
me 14Header info from the
|
machelp 46Issue with additional-information-from-user section header-date: same problem as webmaster Queue fix from above |
Parsing issues should be moved from custom logic to a proper parsing grammar. |
Not sure if this can be closed. Asked @benne238 in Slack for an update. |
dave 42Some header information doesn't get parsed, this might be due to the formatting of long strings within the header information. The current method of extracting header information involves the use of the python Continuing to use the email parser might still be possible, but a method for accommodating for multi length header values will need to be implemented |
These changes can be merged in for now but the parsing of an item should be moved to a formal grammar. See #159 |
We are aware that the following queues are not loading and are looking into them. If the queue you are having issues with is not listed here please add it in the comment below.
The text was updated successfully, but these errors were encountered: