question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Duplicate output in log file

See original GitHub issue

Rasa version: 1.1.8, commit e3ae94995d

Python version: 3.7 (I have to check once I get home)

Operating system (windows, osx, …): Observed on Ubuntu and Mac OS X

Issue: Both rasa train and rasa test tend to write output twice for no reason. This happens on my Ubuntu desktop and on Vova’s MacBook, but not on my MacBook.

Error (including full traceback): There is no error message generated. Here are a few lines of example output:

I0726 08:59:29.732669 140506679359296 test.py:537] Evaluation Results on CONVERSATION level:
2019-07-26 08:59:29 INFO     rasa.core.test  - Evaluation Results on CONVERSATION level:
I0726 08:59:29.732778 140506679359296 test.py:539] 	Correct:          83 / 250
2019-07-26 08:59:29 INFO     rasa.core.test  - 	Correct:          83 / 250

or

I0726 08:06:45.822660 140072724084544 generator.py:318] Finished phase (250 training samples found).
2019-07-26 08:06:45 DEBUG    rasa.core.training.generator  - Finished phase (250 training samples found).

Command or request that led to error:

rasa test core \
	--stories data/train \
	--out results/train \
	-vv &> test-train.out

or

rasa train core \
	--stories data/train \
	--domain domain.yml \
	--config config.yml \
	--fixed-model-name transformer \
	-vv &> train.out

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
erohmensingcommented, Oct 1, 2019

@dakshvar22 fixed this in 1.3 🚀

0reactions
Ghostvvcommented, Aug 16, 2019

@tmbo I think it appears on refactor-tf branch

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to duplicate sys.stdout to a log file? - Stack Overflow
Create a logger and attach two handlers, one would be writing to a file and the other to stdout or stderr.
Read more >
How do I clean up a log file to show consecutive repeated ...
I have log files that can have thousands of repeated lines, I want to copy the behaviour of chrome logs using bash/linux commands....
Read more >
Duplicate TCL-generated output to stdout to a logfile
Duplicate TCL-generated output to stdout to a logfile. 413 views ... I'm trying to introduce a logging function into an application that is...
Read more >
Generate error for duplicate files in publish output - .NET
Binary log files can be useful for finding the cause of the duplicated files. Alternatively, you can set the ErrorOnDuplicatePublishOutputFiles ...
Read more >
How to find duplicate line in log file? - UNIX and Linux Forums
I have a log file, and I have to find all lines that have "error" word, and then save this output in file,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found