I'm trying to get osm-bundler to work, but I run into this problem:
Traceback (most recent call last):
File "RunBundler.py", line 9, in <module>
manager.preparePhotos()
File "/Users/PeterE/Downloads/osm-bundler/osmbundler/__init__.py", line 121, in preparePhotos
self._preparePhoto(photoInfo)
File "/Users/PeterE/Downloads/osm-bundler/osmbundler/__init__.py", line 176, in _preparePhoto
self.extractFeatures(photo)
File "/Users/PeterE/Downloads/osm-bundler/osmbundler/__init__.py", line 244, in extractFeatures
self.featureExtractor.extract(photo, self.photoDict[photo])
File "/Users/PeterE/Downloads/osm-bundler/osmbundler/features/siftvlfeat.py", line 16, in extract
subprocess.call([self.executable, "%s.jpg.pgm" % photo, "-o", "%s.key" % photo])
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 523, in call
return Popen(*popenargs, **kwargs).wait()
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 711, in __init__
errread, errwrite)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1343, in _execute_child
raise child_exception
OSError: [Errno 8] Exec format error
This is caused when I run this command:
python RunBundler.py --photos="/Users/PeterE/Desktop/osmbundlertest"
I can put in any relevant lines from the Python scripts, but I have no idea which one it is now. The output before the error is:
Working directory created: /var/folders/rq/5mypbx554jgflr6c8097zltc0000gn/T/osm-bundler-CXSOEi
BundlerMatching executable path: /Users/PeterE/Downloads/osm-bundler/software/bundler/bin/KeyMatchFull
Sift executable path: /Users/PeterE/Downloads/osm-bundler/software/vlfeat/bin/glx/sift
Processing photo 'IMG_0055.JPG':
Entry for the camera 'Apple', 'iPod touch' does not exist in the camera database
Can't estimate focal length in pixels for the photo '/Users/PeterE/Desktop/osmbundlertest/IMG_0055.JPG'
Copy of the photo has been scaled down to 1200x896
Extracting features with the SIFT method from VLFeat library...