caomw / osm-bundler

Automatically exported from code.google.com/p/osm-bundler
0 stars 0 forks source link

running #8

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

using the download of osm-bundler.zip on linux 64 bit system
1.

dave@dave-desktop:~/Downloads/osm-bundler$ python RunBundler.py 
--photos=example_OldTownHall/
Working directory created: /tmp/osm-bundler-xUoC86
BundlerMatching executable path: 
/home/dave/Downloads/osm-bundler/software/bundler/bin/KeyMatchFull
Sift executable path: 
/home/dave/Downloads/osm-bundler/software/vlfeat/bin/glx/sift

Processing photo 'IMGP3428.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>
    manager.preparePhotos()
  File "/home/dave/Downloads/osm-bundler/osmbundler/__init__.py", line 121, in preparePhotos
    self._preparePhoto(photoInfo)
  File "/home/dave/Downloads/osm-bundler/osmbundler/__init__.py", line 176, in _preparePhoto
    self.extractFeatures(photo)
  File "/home/dave/Downloads/osm-bundler/osmbundler/__init__.py", line 244, in extractFeatures
    self.featureExtractor.extract(photo, self.photoDict[photo])
  File "/home/dave/Downloads/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 493, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

What is the expected output? What do you see instead?

something other than an error

What version of the product are you using? On what operating system?

latest

Please provide any additional information below.

also tried the full distribution (osm-bundler-pmvs2-cmvs-full-32-64.zip) and 
got this

dave@dave-desktop:~/Downloads/osm-bundler$ python RunBundler.py 
--photos=examples/kermit/
Traceback (most recent call last):
  File "RunBundler.py", line 2, in <module>
    import osmbundler
ImportError: No module named osmbundler

Original issue reported on code.google.com by david.te...@googlemail.com on 15 May 2013 at 9:47

GoogleCodeExporter commented 9 years ago
Distributed binaries need execution permissions. Just provide permission to fix 
it.

chmod a+x /complete_path/osm-bundler/software/vlfeat/bin/glx/sift

Original comment by jlmadu...@gmail.com on 31 May 2013 at 10:32

GoogleCodeExporter commented 9 years ago
thanks for your help, 

Original comment by david.te...@googlemail.com on 31 May 2013 at 11:39