Skip to content
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

Everytime I do something in the Splits menu of LiveSplit, SourceSplit always gives me this error message. #11

Open
flannpud opened this issue Feb 17, 2024 · 1 comment

Comments

@flannpud
Copy link

flannpud commented Feb 17, 2024

"Encountered one or more problems while writing to log file. Logging will be disabled for this session of SourceSplit.

------EXCEPTIONS------

[0] System.IO.IOException
Message: The process cannot access the file 'C:\Users\[myname]\OneDrive\Desktop\LiveSplit\SourceSplit\logs\2024-02-17.csv' because it is being used by another process.
Source: mscorlib
Stacktrace:
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

       at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)

       at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)

       at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)

       at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)

       at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding)

       at System.IO.File.InternalAppendAllText(String path, String contents, Encoding encoding)

       at LiveSplit.SourceSplit.Utilities.Logging.WriteToFile(Message msg)

"

@thekovic
Copy link

Don't run LiveSplit from inside a folder that's getting synced to cloud via OneDrive. Put it into something local like C:\LiveSplit

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

2 participants