invalid characters in path

You found a bug or have any issues? Please post them here!
Post Reply
Steve FamilyRadio
Posts: 14
Joined: 11 Jul 2020 12:15
invalid characters in path

Post by Steve FamilyRadio »

Hello Bernd,

we get the following error every day, it states that there is a problem with "invalid characters in path".
could you tell us by looking at the error message, if this is a path in the music library, cartwall lib, scrpts, scheduler...?
We can't see anything invalid or not loaded (broken paths).

15/11/2022 9:18:53 [v4.3.3.1]:********** Error/Exception Information **********
Error Message: Ongeldige tekens in pad.
Error Type: System.ArgumentException
Error Source: mscorlib.Void CheckInvalidPathChars(System.String, Boolean)
********** System Stack Trace **********
bij System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional)
bij System.IO.Path.GetFileName(String path)
bij System.IO.FileSystemWatcher.MatchPattern(String relativePath)
bij System.IO.FileSystemWatcher.NotifyFileSystemEventArgs(Int32 action, String name)
bij System.IO.FileSystemWatcher.CompletionStatusChanged(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* overlappedPointer)
bij System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)
********** End **********

Thank you!
Steve
User avatar
radio42
Site Admin
Posts: 8295
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: invalid characters in path

Post by radio42 »

As the exception is thrown inside the FileSystemWatcher, it is actually coming from the "AutoWatch" feature; i.e. it does throw this exception, when it detects a change with an illegal path in it. This is quite strange, as I have not much of an influence and I don't even know if it a Media or Cartwall Lib. But it is a lib using the "AutoWatch" option. So I guess you need to check them all.
However, I also guess it might come from a folder located e.g. on a NAS - as these sometimes allow illegal paths/folders or files, e.g. using a whitespace in it.

Can you please send me the full Error.log file, maybe I can spot more inside it and even see, if the exception is graceful handled (only recorded in the log or if I can prevent that from happening at all). THX
User avatar
radio42
Site Admin
Posts: 8295
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: invalid characters in path

Post by radio42 »

Any news?

Post Reply