core icon indicating copy to clipboard operation
core copied to clipboard

Error in log: OC_Image->fixOrientation() Exif module not enabled.

Open radoeka opened this issue 11 years ago • 13 comments

Obtained the following error in owncloud log:

Debug core OC_Image->fixOrientation() Orientation: -1 2014-12-26T13:03:15+00:00 Debug core OC_Image->fixOrientation() Exif module not enabled. 2014-12-26T13:03:15+00:00 Debug core Generating preview for "/some-song.mp3" with "OC\Preview\MP3"

Looks a module is not present. I installed php5_exif, assuming that this is the missing module.
Shouldn´t OC be checking for this module at: http:///owncloud/index.php/settings/admin

OC: 7.0.4 Owncloud from openSUSE rpms. Linux: 3.11

Steps to reproduce

Unclear, probably uploading an mp3 without image.

Expected behaviour

The missing php_exif module is displayed at the Admin page, and is shown in red or green depending on whether it is missing or installed.

Actual behaviour

There is no check for the php_exif module, and its status is not displayed at the admin page.

Server configuration

Operating system: Linux

Web server: Apache

Database: sqlite3

PHP version: 5.4.20

ownCloud version: 7.0.4

Updated from an older ownCloud or fresh install: Updated

radoeka avatar Dec 27 '14 13:12 radoeka

Hi,

@radoeka the module check for the exif module is added in my pull request:

https://github.com/owncloud/apps/pull/1905

but this is not merged because of the reasons posted here:

https://github.com/owncloud/apps/pull/1905#issuecomment-54156503

@karlitschek Maybe merge it until OC8 with the new app dependency is released?

ghost avatar Dec 27 '14 14:12 ghost

Maybe merge it until OC8 with the new app dependency is released?

the new app dependencies will be released with OC8 - the related code already has been merged into master.

What we miss:

  • [ ] display an overview of missing modules
  • [ ] define dependencies for core

Hopefully I get this done for OC8

DeepDiver1975 avatar Dec 27 '14 15:12 DeepDiver1975

@DeepDiver1975 But that new app dependency won't be backported to OC7?

ghost avatar Dec 27 '14 15:12 ghost

But that new app dependency won't be backported to OC7?

no - so fixing this for OC7 within https://github.com/owncloud/apps/pull/1905 would be a solution - thx

DeepDiver1975 avatar Dec 27 '14 15:12 DeepDiver1975

no - so fixing this for OC7 within owncloud/apps#1905 would be a solution - thx

Sounds good. Before merging some one should definitely have a deeper look at the text snippets as i just have collected them from various sources. But the changes itself where already used by some users at the forums: https://forum.owncloud.org/viewtopic.php?f=29&t=23441 so they should be save to merge.

ghost avatar Dec 27 '14 15:12 ghost

Hello, I don't know if it's related, but I have something similar, in my debug log :

Debug core OC_Image->fixOrientation() Orientation: -1 Debug core OC_Image->fixOrientation() No readable file path set. Debug core OC_Image::loadFromFileHandle(): Trying

OC: 7.0.3 Owncloud from debian

What can I do in order to help you for the dubug ?

Greeting, J.

johan27hack avatar Dec 28 '14 10:12 johan27hack

Hi,

i think those are just debugging messages. Have a look at the file which is included in this log message. The file is probably a non-image file (like .txt) which just can't be rotated.

At least those are not related to this issue about a missing php exif module. If your image rotation is working just lower your debug level in your config.php

ghost avatar Dec 28 '14 10:12 ghost

Hello . Yes you were right.

But now I analyze my log file and found also this :

Debug core OC_Image->fixOrientation() Orientation: -1 2014-12-27T12:09:09+00:00 Debug core Generating preview for "/clientsync/Projets/xxxx/xxxx/selection photos/retravaillés/fond4.jpg" with "OC\Preview\Image" 2014-12-27T12:09:09+00:00 Debug OC\Files\Cache\Scanner !!! Path 'thumbnails/213696' is not readable !!! 2014-12-27T12:09:09+00:00

But here it's really an image.

Is there anything I can do to help this ?

johan27hack avatar Dec 28 '14 12:12 johan27hack

Hi,

unfortunately this is still not related to the original issue.

If you have any problems originating from this debug message which should be fixed please create a new issue using the issue template as described in the guidelines for contributing.

ghost avatar Dec 28 '14 13:12 ghost

Ok, new issue reported here : https://github.com/owncloud/core/issues/13044

Have a nice day :)

johan27hack avatar Dec 29 '14 09:12 johan27hack

Are you still seeing this issue with OC 8.2.2 ?

PVince81 avatar Mar 02 '16 14:03 PVince81

I don't see it anymore at 8.2.2

radoeka avatar Mar 03 '16 09:03 radoeka

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock[bot] avatar Aug 05 '19 19:08 lock[bot]