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

Slim application error #195

Open
Seudo3 opened this issue Feb 21, 2024 · 0 comments
Open

Slim application error #195

Seudo3 opened this issue Feb 21, 2024 · 0 comments

Comments

@Seudo3
Copy link

Seudo3 commented Feb 21, 2024

When calling CropTool on this file, I get a HTTP 500 error when Firefox tries to load https://croptool.toolforge.org/api/file/info?page=1&site=commons.wikimedia.org&title=Gautier - Isoline et la Fleur Serpent, Charavay frères, 1882.djvu. Here is part of the output in the Firefox inspector (I don't have this problem with other documents):

Response headers:

HTTP/2 500 Internal Server Error
via: proxy A
date: Wed, 21 Feb 2024 08:42:14 GMT
pragma: no-cache
server: nginx/1.14.2
expires: Thu, 19 Nov 1981 08:52:00 GMT
content-type: application/json
cache-control: no-store, no-cache, must-revalidate
x-clacks-overhead: GNU Terry Pratchett
permissions-policy: browsing-topics=()
strict-transport-security: max-age=31622400
content-security-policy-report-only: default-src 'self' 'unsafe-eval' 'unsafe-inline' blob: data: filesystem: mediastream: *.toolforge.org wikibooks.org *.wikibooks.org wikidata.org *.wikidata.org wikimedia.org *.wikimedia.org wikinews.org *.wikinews.org wikipedia.org *.wikipedia.org wikiquote.org *.wikiquote.org wikisource.org *.wikisource.org wikiversity.org *.wikiversity.org wikivoyage.org *.wikivoyage.org wiktionary.org *.wiktionary.org *.wmcloud.org *.wmflabs.org wikimediafoundation.org mediawiki.org *.mediawiki.org wss://croptool.toolforge.org; report-uri https://csp-report.toolforge.org/collect;
X-Firefox-Spdy: h2

Response contents:

{
    "message": "Slim Application Error",
    "exception": [
        {
            "type": "pastuhov\\Command\\CommandException",
            "code": 0,
            "message": "Command \"convert '/workspace/public_html/files/7a84bdb41903197518f01cf0907638afe0223cac.djvu.page1.jpg.tiff' '/workspace/public_html/files/7a84bdb41903197518f01cf0907638afe0223cac.djvu.page1.jpg' 2>&1\" exited with code 137: Killed",
            "file": "/workspace/vendor/pastuhov/php-exec-command/src/Command.php",
            "line": 45
        }
    ]
}
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