Skip to main content
Question

Error "Unable to open log file"

  • September 17, 2019
  • 4 replies
  • 1031 views

cheffing
Forum|alt.badge.img

I often get this error, while the Workspace-Runner was started with new parameters.

 

Reducing the log-level did not help

 

Any idea how to fix this? I found no comparable community-Item ..

 

I am calling a Workspace-Runner within the project. The workspace is called thousends of times. The calling workspace and the called one work each into their own log-Files. In this example 954 of 1461 calls crashed. In the logfile of the called wsp there are now errors mentionend.

Many workspace-calls crash because the newly initialized workspace can't access the logfile because the last call has not yet closed it.

This is the error description:

I would like to use the option with concurrent processes, but it increases the error rate.

The called wsp has one logger configured like this:

What else is needed to give you an idea of the problem?

Looking forward to a solutiion,

Christoph

 

4 replies

gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • September 17, 2019

@cheffing

 

Do you have more information?

Maybe the workbecnh or so?

 


erik_jan
Contributor
Forum|alt.badge.img+17
  • Contributor
  • September 17, 2019

Can you check if the folder for the log file exists?

That is the only time I have seen this error (trying to write a log file in a non existing folder).


cheffing
Forum|alt.badge.img
  • Author
  • September 17, 2019
erik_jan wrote:

Can you check if the folder for the log file exists?

That is the only time I have seen this error (trying to write a log file in a non existing folder).

Thanks for your support, Eric-Jan!

The folder and the file definitly exists, because it logs several times successful.


cheffing
Forum|alt.badge.img
  • Author
  • September 18, 2019

I found a workaround: Delete the logger in the called wsp and log by python-logger in its startup-srcript. But the problem still exists .. 8-(


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings