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

zodbconvert skips blobs silently #12

Closed
jensens opened this issue May 7, 2014 · 3 comments
Closed

zodbconvert skips blobs silently #12

jensens opened this issue May 7, 2014 · 3 comments

Comments

@jensens
Copy link

jensens commented May 7, 2014

using as source a filesystem+blobstorage where blobstorage is not allowed access due to missing permissions, blobs are silently ignored. I'd expect here at least a warning.

@saily
Copy link

saily commented May 9, 2014

+1,

Thanks god i did not stumble over that issue...

@jamadden
Copy link
Member

If I understand correctly (the source is a FileStorage, and the user running zodbconvert doesn't have operating system permissions to access the blob-dir, so existing blob data is silently skipped), then that's an issue to raise on the zopefoundation/ZODB tracker: zodbconvert is essentially storage agnostic, it doesn't really know anything special about other storages or how they are laid out or what warnings they should/shouldn't raise.

@jamadden
Copy link
Member

AFAICS, the FileStorage code should raise an error on initialization if the blob-dir exists but isn't accessible. Please feel free to open a ZODB issue and link it back here if that's not the case. Please feel free to re-open if I misunderstand the problem.

It may be possible to neglect to specify the blob-dir in the zodbconvert configuration and that can lead to a similar issue in some cases (see #24).

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

3 participants