Skip to content

Phantom log entries (log entries duplicated and reduplicated) #71

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
CatamountJack opened this issue Feb 27, 2025 · 0 comments
Open

Comments

@CatamountJack
Copy link

Since version 1.3.0, the program loads duplicate copies of log entries on startup and then continues to add additional duplicate copies during use.

Using an example short JSONL file I found on the internet (from here: https://github.com/yangjianxin1/Firefly/blob/master/data/dummy_dpo.jsonl), here is an example of how the the logs load in v1.4.0:

Image
Note: This particular file can't be loaded in v1.5.0 (presumably due to #55)

The entire log file is only 16 lines long, but after line 16 in TooLong, you can see log messages from line 2 begin repeating on line 18, and then again on line 26.

When scrolling the file, sometimes additional duplicates will be added, as shown in this GIF:

Image

This issue did not appear in version 1.2.1, but appears in 1.3.0, 1.4.0, and 1.5.0. Replicated with JSONL and non-JSONL log files.

Environment: Windows 11, x64 with Python 3.13.2 and Python 3.10.14
Run via uvk: uvx --from toolong@1.4.0 tl <filename>

Happy to provide any additional information that may be helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant