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

exiftran don't turn CIFS files (RESOLVED) #230

Open
GoogleCodeExporter opened this issue May 4, 2015 · 0 comments
Open

exiftran don't turn CIFS files (RESOLVED) #230

GoogleCodeExporter opened this issue May 4, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Mount a CFIS disk from a samba server
2. Try to rotate a picture
3. exiftran do nothing and say Permission denied

What is the expected output? What do you see instead?
When i turn un picture, the thumbnail do not turn.

What version of the product are you using? On what operating system?
 0.3.338-0.6.svn338, Fedora18

Please provide any additional information below.
In tools.py, I have insert the Molecola patch and modify it with "..." to deal 
file's name with SPACEs :
            # Molecola patch
            #ret= _Command._run( [_Command._exiftran,opt,'-i',self.__file] ) # exiftran rotate internal exif thumb
            _Command._run( [_Command._exiftran,opt,self.__file,'-o',self.__file+'__tmp__.JPG'] ) # exiftran rotate internal exif thumb
            os.system('mv -f "%s" "%s"' % (self.__file+'__tmp__.JPG', self.__file))

and 
                # Molecola patch
                #ret= _Command._run( [_Command._exiftran,exiftranOpt,
                #              '-i',self.__file] )
                _Command._run( [_Command._exiftran,exiftranOpt,
                self.__file,'-o',self.__file+'__tmp__.JPG'] )
                os.system('mv -f "%s" "%s"' % (self.__file+'__tmp__.JPG', self.__file))

Original issue reported on code.google.com by [email protected] on 6 Oct 2014 at 5:48

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant