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

Cannot log a stream to a file - Invalid path! Path not found #11

Open
SeptenJDT opened this issue Aug 30, 2024 · 0 comments
Open

Cannot log a stream to a file - Invalid path! Path not found #11

SeptenJDT opened this issue Aug 30, 2024 · 0 comments

Comments

@SeptenJDT
Copy link

When trying to configure the log file name , I get above error, unless the file already exists, While this is ok for a script file, a log file is mostly a new file. Following changes were made in Stream.py line 511

    if os.path.exists(new_file_name):

to
if os.path.dirname(new_file_name) == "" or os.path.exists(os.path.dirname(new_file_name)):
self.logging_file = new_file_name

Furthermore for clarity, line 736 in TerminalUserinterface.py was changed from
print("Enter a name for the Script file")
to
print("Enter a name for the log file")

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