Skip to content

Missing distance space after error messages (before file fullpath) #121

Closed

Description

@pediRAM

Missing a space character at the end of the main error message string

Example error-messages from real world:

[ERROR] Could not open input: Invalid data found when processing inputography\2001 - Stiff Upper Lib (Tour Edition)\.@__thumb
[ERROR] Could not find audio stream c\Albums_Sorted\D\Drum 'n Base\mp3s_from_JZ\St. Germain
[ERROR] Could not open input: Invalidargumenttiert\_Groups\Rave\Hyper Hyper

This error messages were procued by: rsgain-3.5.1-win64 ; running on Win 11 Pro 23H2

Activity

  1. complexlogic commented on Jul 20, 2024

    @complexlogic
    Owner

    I'm guessing this is because the FFmpeg error buffer size was limited to 256 bytes, and the message is being truncated. Could you try the test build here and let me know if it fixes the problem? Use it on the same files if possible.

  2. pediRAM commented on Jul 21, 2024

    @pediRAM
    Author

    Hello @complexlogic. Thank you for your quick fix and feedback.
    I've tested it by using following parameters rsgain.exe easy -l -16 -m 4 D:\ILAMI.
    This was the result:

    [ERROR] Could not open input: Invalid data found when processing input
    [ERROR] Could not find audio streamI\Sima Bina
    [ERROR] Could not find audio streamI\Siavash ghomeyshi
    [ERROR] Could not find audio streamop_Hits_90s\Die Prinzen
    [ERROR] Could not open input: Invalid argument_90s\Enya
    [ERROR] Could not open input: Invalid argument_90s\Gospels
    
  3. complexlogic commented on Aug 4, 2024

    @complexlogic
    Owner

    The root cause of this issue is the method that is used to output to the screen during the multithreading mode. The multithreading progress messages don't create a newline, using a carriage return instead. This causes error messages to overlap on top of the normal progress messages, which creates the formatting issue you reported above. So, I'm just going to disable the error messages while a multithreading scan is in progress. Users will still have the end-of-scan error reports.

    Thanks for your help on this one.

  4. added a commit that references this issue on Sep 16, 2026
    c654e71
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions