email parsing automation

Email Parser

Extract data from emails and automate your workflow

The forum is now read only. Please, go to the the main Email Parser website if you need help.
Post here if you experience problems or get unexpected errors.
Hi,
I'm running imports of legacy data with emailparser and I'm running into an issue that it keeps stalling. It'll be running fine and then it will just stop and I then have to process the emails manually or copy them out of the folder and then back in again.

This happen while reading an attachment.

I'm using Ver 5.3 (beta) build 10/09/2019

Here's a segment of the debug output:
[02-10-2019 11:26:39] [EmailParserBackend] OutputHandler::SendEvent(): item_is_running

Reading attached file <filename Here>.pdf.

[02-10-2019 11:26:39] [EmailParserBackend] Service::GetEmail()

[02-10-2019 11:26:39] [EmailParserBackend] Service::GetEmailLog()

[02-10-2019 11:26:39] [EmailParserBackend] Service::GetAttachmentSize()

[02-10-2019 11:26:39] [EmailParserUI] PanelEmailViewer::SelectField()

[02-10-2019 11:26:39] [EmailParserUI] PanelEmailViewer::listbox_email_fields_SelectionChanged()

[02-10-2019 11:26:39] [EmailParserUI] TabManager::tabcontrol_SelectionChanged()

[02-10-2019 11:26:39] [EmailParserUI] PanelEmailViewer::listbox_email_fields_SelectionChanged()

[02-10-2019 11:26:39] [EmailParserUI] PanelEmailViewer::SelectField()

[02-10-2019 11:26:39] [EmailParserUI] PanelEmailViewer::listbox_email_fields_SelectionChanged()

[02-10-2019 11:26:41] [EmailParserUI] Connection to the backend lost at Server stack trace: at System.ServiceModel.Channels.CommunicationObject.ThrowIfDisposedOrNotOpen() at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at EmailParserUI.State.Service.GetOutput(UInt64 from_history_id) at EmailParserUI.State.WrapperBackend.E(UInt64 K) at EmailParserUI.MainWindow.Background_worker_continuosly_read_output_DoWork(Object sender, DoWorkEventArgs e)---The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state.

[02-10-2019 11:26:41] [EmailParserUI] Connecting to State. Attempt number 0

[02-10-2019 11:26:41] [EmailParserUI] TabManager::UIStateHasChanged()

[02-10-2019 11:26:41] [EmailParserUI] TabManager::SetRunningAnimation()

[02-10-2019 11:26:41] [EmailParserUI] State.WrapperBackend::Initialize()

[02-10-2019 11:26:41] [EmailParserUI] State.WrapperBackend::LoadEmailSourcesParsersActionsAndPanelsFromBackend()

[02-10-2019 11:26:41] [EmailParserUI] There was no endpoint listening at net.pipe://localhost/EmailParserBackendService that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.

[02-10-2019 11:26:41] [EmailParserUI] Server stack trace: at System.ServiceModel.Channels.PipeConnectionInitiator.GetPipeName(Uri uri, IPipeTransportFactorySettings transportFactorySettings) at System.ServiceModel.Channels.PipeConnectionInitiator.PrepareConnect(Uri remoteUri, TimeSpan timeout, String& resolvedAddress, BackoffTimeoutHelper& backoffHelper) at System.ServiceModel.Channels.PipeConnectionInitiator.Connect(Uri remoteUri, TimeSpan timeout) at System.ServiceModel.Channels.BufferedConnectionInitiator.Connect(Uri uri, TimeSpan timeout) at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout) at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout) at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout) at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.CallOpenOnce.System.ServiceModel.Channels.ServiceChannel.ICallOnce.Call(ServiceChannel channel, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade) at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at EmailParserUI.State.Service.GetList(ServiceListType list_type, Int32 parent_item_id) at EmailParserUI.State.WrapperBackend.LoadEmailSourcesParsersActionsAndPanelsFromBackend() at EmailParserUI.State.WrapperBackend.Initialize(RunMode run_mode) at EmailParserUI.MainWindow.Background_worker_check_backend_connection_DoWork(Object sender, DoWorkEventArgs e)

[02-10-2019 11:26:41] [EmailParserUI] The pipe endpoint 'net.pipe://localhost/EmailParserBackendService' could not be found on your local machine.

[02-10-2019 11:26:41] [EmailParserUI]

[02-10-2019 11:26:41] [EmailParserUI] Connecting to State. Attempt number 1

[02-10-2019 11:26:41] [EmailParserUI] State.WrapperBackend::Initialize()

[02-10-2019 11:26:41] [EmailParserUI] State.WrapperBackend::LoadEmailSourcesParsersActionsAndPanelsFromBackend()

[02-10-2019 11:26:41] [EmailParserUI] There was no endpoint listening at net.pipe://localhost/EmailParserBackendService that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.

[02-10-2019 11:26:41] [EmailParserUI] Server stack trace: at System.ServiceModel.Channels.PipeConnectionInitiator.GetPipeName(Uri uri, IPipeTransportFactorySettings transportFactorySettings) at System.ServiceModel.Channels.PipeConnectionInitiator.PrepareConnect(Uri remoteUri, TimeSpan timeout, String& resolvedAddress, BackoffTimeoutHelper& backoffHelper) at System.ServiceModel.Channels.PipeConnectionInitiator.Connect(Uri remoteUri, TimeSpan timeout) at System.ServiceModel.Channels.BufferedConnectionInitiator.Connect(Uri uri, TimeSpan timeout) at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout) at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout) at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout) at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.CallOpenOnce.System.ServiceModel.Channels.ServiceChannel.ICallOnce.Call(ServiceChannel channel, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade) at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at EmailParserUI.State.Service.GetList(ServiceListType list_type, Int32 parent_item_id) at EmailParserUI.State.WrapperBackend.LoadEmailSourcesParsersActionsAndPanelsFromBackend() at EmailParserUI.State.WrapperBackend.Initialize(RunMode run_mode) at EmailParserUI.MainWindow.Background_worker_check_backend_connection_DoWork(Object sender, DoWorkEventArgs e)

[02-10-2019 11:26:41] [EmailParserUI] The pipe endpoint 'net.pipe://localhost/EmailParserBackendService' could not be found on your local machine.

[02-10-2019 11:26:41] [EmailParserUI]

[02-10-2019 11:26:41] [EmailParserUI] Connecting to State. Attempt number 2

[02-10-2019 11:26:41] [EmailParserUI] State.WrapperBackend::Initialize()

[02-10-2019 11:26:41] [EmailParserUI] State.WrapperBackend::LoadEmailSourcesParsersActionsAndPanelsFromBackend()

[02-10-2019 11:26:41] [EmailParserUI] There was no endpoint listening at net.pipe://localhost/EmailParserBackendService that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.

[02-10-2019 11:26:41] [EmailParserUI] Server stack trace: at System.ServiceModel.Channels.PipeConnectionInitiator.GetPipeName(Uri uri, IPipeTransportFactorySettings transportFactorySettings) at System.ServiceModel.Channels.PipeConnectionInitiator.PrepareConnect(Uri remoteUri, TimeSpan timeout, String& resolvedAddress, BackoffTimeoutHelper& backoffHelper) at System.ServiceModel.Channels.PipeConnectionInitiator.Connect(Uri remoteUri, TimeSpan timeout) at System.ServiceModel.Channels.BufferedConnectionInitiator.Connect(Uri uri, TimeSpan timeout) at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout) at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout) at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout) at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.CallOpenOnce.System.ServiceModel.Channels.ServiceChannel.ICallOnce.Call(ServiceChannel channel, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade) at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at EmailParserUI.State.Service.GetList(ServiceListType list_type, Int32 parent_item_id) at EmailParserUI.State.WrapperBackend.LoadEmailSourcesParsersActionsAndPanelsFromBackend() at EmailParserUI.State.WrapperBackend.Initialize(RunMode run_mode) at EmailParserUI.MainWindow.Background_worker_check_backend_connection_DoWork(Object sender, DoWorkEventArgs e)

[02-10-2019 11:26:41] [EmailParserUI] The pipe endpoint 'net.pipe://localhost/EmailParserBackendService' could not be found on your local machine.

[02-10-2019 11:26:41] [EmailParserUI]

[02-10-2019 11:26:42] [EmailParserUI] Connecting to State. Attempt number 3

[02-10-2019 11:26:42] [EmailParserUI] State.WrapperBackend::Initialize()

[02-10-2019 11:26:42] [EmailParserUI] State.WrapperBackend::LoadEmailSourcesParsersActionsAndPanelsFromBackend()

[02-10-2019 11:26:42] [EmailParserUI] There was no endpoint listening at net.pipe://localhost/EmailParserBackendService that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.

[02-10-2019 11:26:42] [EmailParserUI] Server stack trace: at System.ServiceModel.Channels.PipeConnectionInitiator.GetPipeName(Uri uri, IPipeTransportFactorySettings transportFactorySettings) at System.ServiceModel.Channels.PipeConnectionInitiator.PrepareConnect(Uri remoteUri, TimeSpan timeout, String& resolvedAddress, BackoffTimeoutHelper& backoffHelper) at System.ServiceModel.Channels.PipeConnectionInitiator.Connect(Uri remoteUri, TimeSpan timeout) at System.ServiceModel.Channels.BufferedConnectionInitiator.Connect(Uri uri, TimeSpan timeout) at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout) at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout) at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout) at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.CallOpenOnce.System.ServiceModel.Channels.ServiceChannel.ICallOnce.Call(ServiceChannel channel, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade) at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at EmailParserUI.State.Service.GetList(ServiceListType list_type, Int32 parent_item_id) at EmailParserUI.State.WrapperBackend.LoadEmailSourcesParsersActionsAndPanelsFromBackend() at EmailParserUI.State.WrapperBackend.Initialize(RunMode run_mode) at EmailParserUI.MainWindow.Background_worker_check_backend_connection_DoWork(Object sender, DoWorkEventArgs e)

[02-10-2019 11:26:42] [EmailParserUI] The pipe endpoint 'net.pipe://localhost/EmailParserBackendService' could not be found on your local machine.

[02-10-2019 11:26:42] [EmailParserUI]

[02-10-2019 11:26:44] [EmailParserUI] Connecting to State. Attempt number 4

[02-10-2019 11:26:44] [EmailParserUI] State.WrapperBackend::Initialize()

[02-10-2019 11:26:44] [EmailParserUI] State.WrapperBackend::LoadEmailSourcesParsersActionsAndPanelsFromBackend()

[02-10-2019 11:26:44] [EmailParserUI] State.WrapperBackend::GetOutputAndEventsLastHistoryIds()

[02-10-2019 11:26:44] [EmailParserUI] State.WrapperBackend::GetLicenseStatus()

[02-10-2019 11:26:44] [EmailParserUI] State.WrapperBackend::GetEmailSourceStatus()

[02-10-2019 11:26:44] [EmailParserUI] State.WrapperBackend::GetEmailSourceStatus()

[02-10-2019 11:26:44] [EmailParserUI] TabManager::UIStateHasChanged()

[02-10-2019 11:26:44] [EmailParserUI] TabManager::SetRunningAnimation()

[02-10-2019 11:26:44] [EmailParserBackend] Service::GetLicenseStatus()

[02-10-2019 11:26:44] [EmailParserBackend] Service::GetItemStatus()

[02-10-2019 11:26:44] [EmailParserBackend] Service::GetItemStatus()

[02-10-2019 11:26:53] [EmailParserBackend] OutputHandler::SendEvent(): item_status_changed · Connected. Waiting for new emails.

[02-10-2019 11:26:54] [EmailParserUI] PanelAvailableEmailsInEmailSource::ReloadEmailList()

[02-10-2019 11:26:54] [EmailParserUI] State.WrapperBackend::GetEmailSourceSupportedFeatures()

[02-10-2019 11:26:54] [EmailParserUI] PanelAvailableEmailsInEmailSource::ReloadEmailList()

[02-10-2019 11:26:54] [EmailParserUI] PanelAvailableEmailsInEmailSource::GetListOfBriefEmailsFromEmailSource()

[02-10-2019 11:26:54] [EmailParserUI] State.WrapperBackend::BeginGetEmailUids()

[02-10-2019 11:26:54] [EmailParserUI] State.WrapperBackend::ResultGetEmailUids()

[02-10-2019 11:26:54] [EmailParserBackend] Service::GetEmailSourceSupportedFeatures()

[02-10-2019 11:26:54] [EmailParserBackend] Service::BeginGetEmailUids()

[02-10-2019 11:26:54] [EmailParserBackend] Service::ResultGetEmailUids()

[02-10-2019 11:26:54] [EmailParserUI] State.WrapperBackend::ResultGetEmailUids()

[02-10-2019 11:26:54] [EmailParserUI] State.WrapperBackend::GetListOfBriefEmails()

[02-10-2019 11:26:54] [EmailParserBackend] Service::ResultGetEmailUids()

[02-10-2019 11:26:55] [EmailParserBackend] Service::GetListOfBriefEmails()

[02-10-2019 11:26:55] [EmailParserUI] PanelAvailableEmailsInEmailSource::datagridview_email_list_SelectionChanged()


Cheers,

Gareth
Hi, have you had a chance to look at this? Can we at least have an option to re-process the entire folder as it takes ages to select all the emails 200 at a time to mark for processing?