I’ve read this wiki.
So I was just interested how it work but for me it didn’t work.
Python is already installed on my system.
Installing of PIL also worked. (testet with python selftest build)
Installing libgfortran3 also worked.
Export of path for libANN_char.so worked.
Trying to start osm-bundler worked (showed the help)
Starting with list of example photos crashed… Any ideas?
python RunBundler.py --photos=list.txt
Working directory created: /tmp/osm-bundler-wG6y5m
BundlerMatching executable path: /home/myubuntu/osm/osm-bundler/software/bundler/bin/KeyMatchFull
Sift executable path: /home/myubuntu/osm/osm-bundler/software/vlfeat/bin/glx/sift
Processing photo 'IMGP3417.jpg':
Copy of the photo has been scaled down to 1200x900
Extracting features with the SIFT method from VLFeat library...
Traceback (most recent call last):
File "RunBundler.py", line 9, in <module>
File "/home/myubuntu/osm/osm-bundler/osmbundler/__init__.py", line 134, in preparePhotos
File "/home/myubuntu/osm/osm-bundler/osmbundler/__init__.py", line 176, in _preparePhoto
File "/home/myubuntu/osm/osm-bundler/osmbundler/__init__.py", line 244, in extractFeatures
File "/home/myubuntu/osm/osm-bundler/osmbundler/features/siftvlfeat.py", line 16, in extract
subprocess.call([self.executable, "%s.jpg.pgm" % photo, "-o", "%s.key" % photo])
File "/usr/lib/python2.7/subprocess.py", line 486, in call
return Popen(*popenargs, **kwargs).wait()
File "/usr/lib/python2.7/subprocess.py", line 672, in __init__
File "/usr/lib/python2.7/subprocess.py", line 1213, in _execute_child
OSError: [Errno 13] Permission denied
Second problem was the permission-problem you described.
The solution is, to change the permission of the files in the subdirs of osm-bundler/software/ to executable.
In special the following command changes the permissions:
The third problem was something like “libgfortran could not be found”. Even though i installed the package.
I solved it in a very quick and dirty way:
I downloaded the amd64-deb package from http://packages.ubuntu.com/natty/amd64/lib32gfortran3/download and unpacked the file libgfortran.so.3.0.0 to software/bundler/bin/libgfortran.so.3