-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
failed saving scheduler state #2611
Comments
Do you have a space character in your path??? '/var/lib/luigi-server/s tate.pickle' Generally though the state.pickle file can safely be nuked after luigi upgrades. |
I am not trying to save the file. It seems to be happening automatically.
However the folder does not exist. Obviously I can create the path manually
and all is fine. However luigi should do the makedir before it creates the
file.
…On Wed, 9 Jan 2019 at 22:32, Arash Rouhani ***@***.***> wrote:
Do you have a space character in your path???
'/var/lib/luigi-server/s tate.pickle'
Generally though the state.pickle file can safely be nuked after luigi
upgrades.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2611 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABJN6cIs6vkvbIz0_T4EMKvHtLsv2PZXks5vBl2LgaJpZM4ZZ2Zv>
.
|
When you mentioned the space I thought maybe that was the issue so removed my "mkdirs". However the error is still there and there is no space in the actual error message - not sure where it came from! So there should be line to create the folder if it does not exist. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If closed, you may revisit when your time allows and reopen! Thank you for your contributions. |
I am having this issue. I am running Luigi 3.0.3 @simonm3 Did you managed to solve this issue? if yes how ?
|
This is a different problem. Probably related to this: |
Since upgrading (now on 2.8.2), I get this warning at the end of every pipeline:
WARNING:luigi.scheduler:Failed saving scheduler state
Traceback (most recent call last):
File "/anaconda3/lib/python3.7/site-packages/luigi/scheduler.py", line 458, in dump
with open(self._state_path, 'wb') as fobj:
FileNotFoundError: [Errno 2] No such file or directory: '/var/lib/luigi-server/s tate.pickle'
WARNING:luigi.scheduler:Failed saving scheduler state
Traceback (most recent call last):
File "/anaconda3/lib/python3.7/site-packages/luigi/scheduler.py", line 458, in dump
with open(self._state_path, 'wb') as fobj:
FileNotFoundError: [Errno 2] No such file or directory: '/var/lib/luigi-server/s tate.pickle'
The text was updated successfully, but these errors were encountered: