-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
dbt reporting FileExistsError [WinError 183] #1865
Labels
bug
Something isn't working
Milestone
Comments
This looks like this bug: getlogbook/logbook#280 There's a lot of weird stuff here though, and I think it's because logbook's |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When running any dbt commands when UTC timezone is 1 calendar day ahead of the local timezone dbt can't create a new log file. The error returned is:
FileExistsError: [WinError 183] Cannot create a file when that file already exists: 'logs\\dbt.log' ->
This occurred running dbt 15b2 on a windows based OS.
Steps To Reproduce
Check to see if your local time is 1 calendar date behind UTC. A use-case maybe running dbt at or near midnight local-time (UTC-5 in my case) and attempt to compile a dbt project.
Expected behavior
dbt will return an FileExistError: [WinError 183].
Screenshots and log output
System information
Which database are you using dbt with?
The output of
dbt --version
:The operating system you're using:
Windows 10
The output of
python --version
:Python 3.7.2
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: