Git Product home page Git Product logo

Comments (6)

altendky avatar altendky commented on May 26, 2024

My gut says this is related to issue #33 which I just submitted. After finding my issue I looked here and was able to recreate this issue with the example image above.

altendky@lt:~/ex$ git --git-dir=/tmp/exif-py/.git pull
Already up-to-date.
altendky@lt:~/ex$ git --git-dir=/tmp/exif-py/.git rev-parse HEAD
bce80b49d1b9ac7a178e6cae19416ba3712109f5
altendky@lt:~/ex$ python3
Python 3.3.2+ (default, Oct  9 2013, 14:50:09) 
[GCC 4.8.1] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import exifread
>>> exifread.__version__
'2.0.0'
>>> f = open('ex2.jpg', 'rb')
>>> tags = exifread.process_file(f)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.3/dist-packages/ExifRead-2.0.0-py3.3.egg/exifread/__init__.py", line 209, in process_file
    hdr.dump_ifd(exif_off.values[0], 'EXIF', stop_tag=stop_tag)
  File "/usr/local/lib/python3.3/dist-packages/ExifRead-2.0.0-py3.3.egg/exifread/classes.py", line 120, in dump_ifd
    entries = self.s2n(ifd, 2)
  File "/usr/local/lib/python3.3/dist-packages/ExifRead-2.0.0-py3.3.egg/exifread/classes.py", line 72, in s2n
    self.file.seek(self.offset + offset)
TypeError: unsupported operand type(s) for +: 'int' and 'str'

from exif-py.

ianare avatar ianare commented on May 26, 2024

@fjgonzalezm , would you allow this image to be added to the sample images repo for testing?

https://github.com/ianare/exif-samples

TIA,

ianaré

from exif-py.

fjgonzalezm avatar fjgonzalezm commented on May 26, 2024

Yes sure you my consent to use the image

from exif-py.

ianare avatar ianare commented on May 26, 2024

OK thank you

from exif-py.

Christophe31 avatar Christophe31 commented on May 26, 2024

unrelated, I saw @altendky used python3, souldn't you update your setup.py classifier accordingly?

caniusepython3.com said me you don't support python3.

from exif-py.

ianare avatar ianare commented on May 26, 2024

Should be fixed now (sorry for the wait).

from exif-py.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.