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

genPreviewGen in databook.re fired for unprocessable file types? #1

Open
michael-conway opened this issue Sep 23, 2014 · 0 comments
Open

Comments

@michael-conway
Copy link

databook.re contains this stanza

postProcForPut {     
        on(include($objPath)) {
                postProcForCreateCommon($objPath, $dataSize, true);
                # preview must be generated after the file is uploaded
                # genPreviewGen($objPath, *previewThumbPath, *previewPath);
        }
        or {
                succeed;              
        }
}


And genPreviewGen needed to be commented out otherwise it threw errors for files like PNG and jpg

      }
        "
Sep 23 08:24:27 pid:9503 NOTICE: writeLine: inString = getFileType: /dfc1/home/dvn/demo/diffview.PNG, /var/lib/irods/iRODS/Vault/home/dvn/demo/diffview.PNG
Sep 23 08:24:27 pid:9503 NOTICE: writeLine: inString = file  "-b"  "/var/lib/irods/iRODS/Vault/home/dvn/demo/diffview.PNG"
Sep 23 08:24:27 pid:9581 NOTICE: execCmd: argv: "-b"  "/var/lib/irods/iRODS/Vault/home/dvn/demo/diffview.PNG"
Sep 23 08:24:27 pid:9503 ERROR: _rsExecCmd: waitpid status = 9581, myExecCmdOut->status = 0, childStatus = 256
Sep 23 08:24:27 pid:9503 DEBUG: msiExecCmd: rsExecCmd failed for file, status = -344000
Sep 23 08:24:27 pid:9503 NOTICE: cannot find rule in condIndex: genPreviewGen
Sep 23 08:24:27 pid:9503 NOTICE: writeLine: inString = getFileType: /dfc1/home/dvn/demo/diffview.PNG, /var/lib/irods/iRODS/Vault/home/dvn/demo/diffview.PNG
Sep 23 08:24:27 pid:9503 NOTICE: writeLine: inString = file  "-b"  "/var/lib/irods/iRODS/Vault/home/dvn/demo/diffview.PNG"
Sep 23 08:24:27 pid:9582 NOTICE: execCmd: argv: "-b"  "/var/lib/irods/iRODS/Vault/home/dvn/demo/diffview.PNG"
Sep 23 08:24:27 pid:9503 ERROR: _rsExecCmd: waitpid status = 9582, myExecCmdOut->status = 0, childStatus = 256
Sep 23 08:24:27 pid:9503 DEBUG: msiExecCmd: rsExecCmd failed for file, status = -344000
Sep 23 08:24:27 pid:9503 NOTICE: writeLine: inString = genPreview: unsupported file type for /dfc1/home/dvn/demo/diffview.PNG, ext = 
Sep 23 08:24:27 pid:15080 NOTICE: Agent process 9528 exited with status 0
Sep 23 08:24:27 pid:15080 NOTICE: Agent process 9583 started for puser=dvn and cuser=dvn from 152.54.15.222
Sep 23 08:24:28 pid:9583 NOTICE: readAndProcClientMsg: received disconnect msg from client
Sep 23 08:24:28 pid:9583 NOTICE: Agent exiting with status = 0
Sep 23 08:24:46 pid:9503 NOTICE: caught a signal and exiting
Sep 23 08:24:46 pid:9503 NOTICE: Agent exiting with status = -7000
Sep 23 08:24:46 pid:15080 NOTICE: rodsServer caught signal 2, exiting


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