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

The "create snapshot" endpoint hangs if no file exists at the specified path #283

Closed
exarkun opened this issue Aug 31, 2020 · 1 comment
Closed

Comments

@exarkun
Copy link
Member

exarkun commented Aug 31, 2020

The Eliot log contains

66cb664c-886f-462c-9b9a-cab66f309496
└── magic-folder:local-snapshot-creator:process-queue/1 ⇒ started 2020-08-31 14:48:25Z ⧖ 0.000s
    ├── relpath: /run/user/1000/mfjunk/magic/foo
    └── magic-folder:local-snapshot-creator:process-queue/2 ⇒ failed 2020-08-31 14:48:25Z
        ├── errno: 2
        ├── exception: exceptions.IOError
        └── reason: [Errno 2] No such file or directory: u'/run/user/1000/mfjunk/magic/foo'

e360e93c-2cc9-4bf3-811e-f8949d9f66ff
└── eliot:traceback/1 2020-08-31 14:48:25Z
    ├── errno: 2
    ├── exception: exceptions.IOError
    ├── reason: [Errno 2] No such file or directory: u'/run/user/1000/mfjunk/magic/foo'
    └── traceback: Traceback (most recent call last):⏎
          File "/home/exarkun/Work/python/magic-folder/src/magic_folder/magic_folder.py", line 819, in _process_queue⏎
          File "/home/exarkun/Scratch/magic-folder/lib/python2.7/site-packages/eliot/_generators.py", line 160, in wrapper⏎
        IOError: [Errno 2] No such file or directory: u'/run/user/1000/mfjunk/magic/foo'⏎
        

3d527a83-8d6e-4441-be6e-cbf1be53c31b
└── magic-folder:local-snapshots:add-file/1 ⇒ started 2020-08-31 14:48:25Z

and the request hangs indefinitely.

@meejah meejah added this to the private-storage milestone Apr 30, 2021
@meejah
Copy link
Collaborator

meejah commented Jun 18, 2021

It now reports an error properly.

@meejah meejah closed this as completed Jun 18, 2021
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