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

Converting doesn't work in ZEO cluster with non-shared blobs #47

Open
lewicki opened this issue Oct 3, 2014 · 0 comments
Open

Converting doesn't work in ZEO cluster with non-shared blobs #47

lewicki opened this issue Oct 3, 2014 · 0 comments

Comments

@lewicki
Copy link

lewicki commented Oct 3, 2014

There is a problem with converting of documents in ZEO cluster when blobs are not shared. Do I have a wrong setup or it is just a bug? It is far better in async setup when I configure the worker to share blobs with ZEO server, but I still had to patch 'can_convert' method as it is checking blobs even if job is going to be in a queue.

Original traceback:
Module collective.documentviewer.subscribers, line 36, in handle_file_creation
Module collective.documentviewer.async, line 139, in queueJob
Module collective.documentviewer.convert, line 379, in can_convert
Module collective.documentviewer.convert, line 366, in initialize_filehash
Module collective.documentviewer.convert, line 160, in get
Module collective.documentviewer.convert, line 120, in _run_command
Exception: Command /usr/bin/md5sum /my_zeo_client/var/blobstorage/972/46.03a974a129334c11.blob finished with return code 1 and output: /usr/bin/md5sum: /my_zeo_client/var/blobstorage/972/46.03a974a129334c11.blob: No such file or directory

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