DeniR / Gigapan-Downloader-and-stitcher

Gigapan Downloader and Stitcher with export to Photoshop PSB or TIFF
21 stars 9 forks source link

OSError: [Errno 2] No such file or directory #1

Closed martinber closed 10 years ago

martinber commented 10 years ago

I was trying the program in Linux and I was having an error, here is the output:

python gigapanDownloader2.py 2427 600 174 256 3 1 1 Stitching... Traceback (most recent call last): File "gigapanDownloader2.py", line 76, in subprocess.call('/usr/bin/montage -depth 8 -geometry 256x256+0+0 -mode concatenate -tile 2x 2427/_.jpg 2427-giga.tif') File "/usr/lib/python2.7/subprocess.py", line 522, in call return Popen(_popenargs, kwargs).wait() File "/usr/lib/python2.7/subprocess.py", line 709, in init errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1326, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory**

I dont know about python, but googling I solved the problem modyfing the line 76 like this: subprocess.call('"'+imagemagick+'" -depth 8 -geometry 256x256+0+0 -mode concatenate -tile '+str(wt)+'x '+str(photo_id)+'*.jpg '+str(photo_id)+'-giga.'+outputformat, shell=True)