Comments (6)
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.
@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.
Yes sure you my consent to use the image
from exif-py.
OK thank you
from exif-py.
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.
Should be fixed now (sorry for the wait).
from exif-py.
Related Issues (20)
- struct.error: unpack requires a buffer of 8 bytes HOT 3
- Assertion error when reading from HEIC file rotated by the Windows Photos app
- Unexpected/unhandled segment type or file content: possibly incomplete read of data
- IdfTag.__str__() returns a list
- Any Documentation for exifread?
- KeyError: hdlr HOT 5
- infinite loop for one rare image HOT 1
- can't read EXIF 0220 or EXIF 0221 version GPS information
- Many useless warnings HOT 2
- str/bytes problems
- exifread return incorrect value HOT 1
- Error: int too big to convert
- Corrupted image causes huge resource consumption HOT 1
- exifread.heic.NoParser: hdlr HOT 1
- KeyError 'E' in process_file HOT 1
- exifread returns empty dict
- readme has faulty param
- Bug in function Ratio.decimal (probably very easy to fix ZeroDivisionError)
- Bug in exifread.utils.get_gps_coordinates function (very easy to fix)
- Accessing EXIF MakerNote as bytes
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from exif-py.