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

"[Error] undefined" and "500 Internal Server Error" when using rotation #172

Open
Seudo3 opened this issue Feb 23, 2022 · 0 comments
Open

Comments

@Seudo3
Copy link

Seudo3 commented Feb 23, 2022

Using rotation produces a "[Error] undefined" error when previewing with some files.

The following message appears (in red): [Error] undefined

When I check the network flow (Firefox 91.4.0esr), I can see the following request:

URL: https://croptool.toolforge.org/api/file/crop?height=3446&method=precise&page=3&rotate=-2&site=commons.wikimedia.org&title=Jean+Petithuguenin+Une+Mission+dans+la+Lune+1926.djvu&width=5718&x=1262&y=1219
State: 500 Internal Server Error

Apparently, this error does not occur when rotating 90° (see https://commons.wikimedia.org/wiki/Commons_talk:CropTool/Archive_2#Rotation). A screenshot is also available at https://commons.wikimedia.org/wiki/File:Croperrorundefined.png

Thanks for developing this tool!

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
@Seudo3 and others