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

in-place rotate should indicate jpegtran failure #43

Closed
derf opened this issue Apr 27, 2011 · 0 comments
Closed

in-place rotate should indicate jpegtran failure #43

derf opened this issue Apr 27, 2011 · 0 comments
Assignees
Labels
Milestone

Comments

@derf
Copy link
Owner

derf commented Apr 27, 2011

https://bugs.launchpad.net/ubuntu/+source/feh/+bug/768496


When I try to rotate an image using feh's inplace editing (right-clicking the image,
and chosing "Rotate 90 CW" for example), nothing happens. The picture does not rotate.

Feh does not display any error message, but when I run feh from the command line,
I get the following error message (the picture I'm trying to rotate is called "p1000065.jpg":

---
jpegtran: can't open p1000065.jpg for writing
feh WARNING: lossless rotate: Got exitcode 1 from jpegtran. Commandline was:
jpegtran -copy all -rotate -1076465748 -outfile p1000065.jpg p1000065.jpg

---

When I try to run the jpegtran command directly from the command line,
all I get is the help menu, so the command feh is trying to run isn't working for some reason.

Edited to add:
The reason for this error was that the file I was trying to rotate was read-only.
However, feh didn't give any indication of what the problem was, it just failed silently.
It would be nice if there was some kind of indication why the action failed,
or perhaps the options shouldn't be available when the picture cannot be written.
@ghost ghost assigned derf Apr 27, 2011
@derf derf closed this as completed in 65b5d9c Apr 30, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant