Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error 500: /photos/scans on heroku, s3 backed. #34

Open
k-f- opened this issue Apr 24, 2012 · 1 comment
Open

Error 500: /photos/scans on heroku, s3 backed. #34

k-f- opened this issue Apr 24, 2012 · 1 comment

Comments

@k-f-
Copy link

k-f- commented Apr 24, 2012

After adding a file manually to s3 I visited /photos/scan produced server 500 error, log output below.

2012-04-24T19:27:03+00:00 heroku[router]: GET photos.kfring.com/photos/scan dyno=web.1 queue=0 wait=0ms service=50ms status=500 bytes=728
2012-04-24T19:27:03+00:00 heroku[nginx]: 74.92.73.117 - - [24/Apr/2012:19:27:03 +0000] "GET /photos/scan HTTP/1.1" 500 728 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/535.19
 (KHTML, like Gecko) Chrome/18.0.1025.163 Safari/535.19" photos.kfring.com
2012-04-24T19:27:06+00:00 app[web.1]: 
2012-04-24T19:27:06+00:00 app[web.1]: 
2012-04-24T19:27:06+00:00 app[web.1]: Started GET "/photos/scan" for 74.92.73.117 at 2012-04-24 12:27:06 -0700
2012-04-24T19:27:06+00:00 app[web.1]: analyze directory /app/public/uploads/files
2012-04-24T19:27:06+00:00 app[web.1]: Errno::ENOENT (No such file or directory - /app/public/uploads/files):
2012-04-24T19:27:06+00:00 app[web.1]: 
2012-04-24T19:27:06+00:00 app[web.1]:   lib/scan.rb:17:in `open'
2012-04-24T19:27:06+00:00 app[web.1]:   lib/scan.rb:17:in `entries'
2012-04-24T19:27:06+00:00 app[web.1]:   lib/scan.rb:17:in `ScanDirectory'
2012-04-24T19:27:06+00:00 app[web.1]:   app/controllers/photos_controller.rb:66:in `scan'
2012-04-24T19:27:06+00:00 app[web.1]:   lib/scan.rb:10:in `Scan'
2012-04-24T19:27:06+00:00 app[web.1]:   app/middleware/flash_session_cookie_middleware.rb:16:in `call'
2012-04-24T19:27:06+00:00 app[web.1]: 
2012-04-24T19:27:06+00:00 app[web.1]: 
2012-04-24T19:27:06+00:00 heroku[router]: GET photos.kfring.com/photos/scan dyno=web.1 queue=0 wait=0ms service=44ms status=500 bytes=728
2012-04-24T19:27:06+00:00 heroku[nginx]: 74.92.73.117 - - [24/Apr/2012:19:27:06 +0000] "GET /photos/scan HTTP/1.1" 500 728 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.163 Safari/535.19" photos.kfring.com
@espen
Copy link
Owner

espen commented May 10, 2012

The photoscan feature was developed to work locally, not with S3. I have updated this as a feature request. I do not have time or the need for this feature so a pull requests is very much welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants