Coder Social home page Coder Social logo

imageproxy's People

Contributors

ablyler avatar danielsz avatar eahanson avatar johnrees avatar mahemoff avatar needfeed avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

imageproxy's Issues

undefined method `value' for nil:NilClass with 0.1.4

Using a clean install of 0.1.4 I get a 500 error when using the convert method.

bundle exec rackup
[2011-08-25 16:03:11] INFO  WEBrick 1.3.1
[2011-08-25 16:03:11] INFO  ruby 1.8.7 (2011-06-30) [i686-darwin11.1.0]
[2011-08-25 16:03:11] INFO  WEBrick::HTTPServer#start: pid=96484 port=9292
undefined method `value' for nil:NilClass
127.0.0.1 - - [25/Aug/2011 16:04:42] "GET /convert?resize=902x10&source=http://cdn01.tv4.se/polopoly_fs/1.2250419!picture/1797810002.jpg HTTP/1.1" 500 - 0.0652

If I revert back to version 0.1.3 it works as expected.

git reset --hard bb026
bundle exec rackup

[2011-08-25 16:06:41] INFO  WEBrick 1.3.1
[2011-08-25 16:06:41] INFO  ruby 1.8.7 (2011-06-30) [i686-darwin11.1.0]
[2011-08-25 16:06:41] INFO  WEBrick::HTTPServer#start: pid=96542 port=9292
127.0.0.1 - - [25/Aug/2011 16:06:43] "GET /convert?resize=902x10&source=http://cdn01.tv4.se/polopoly_fs/1.2215865.1311411724!image/1026142567.jpg_gen/derivatives/w219/1026142567.jpg HTTP/1.1" 200 - 0.4779

404 on Cloudfront-compatible URLs with Apache2/Passenger

Great project, thanks for putting this together! I had a documentation improvement I wanted to flag. By default Apache2 will give 404's if there are any encoded slashes in a URL, so the Cloudfront selftest example doesn't appear. There's an easy fix, but it took me a while to figure it out. Inside the configuration, add the following:

AllowEncodedSlashes NoDecode

It doesn't work in the main apache2.conf file, only within a vhost! It might be a good addition to the EC2 setup instructions.

Can't deploy on Heroku due to Command.rb

When deploying the code to Heroku I get the following error.

 2011-04-19T13:06:48+00:00 app[web.1]: /app/.bundle/gems/ruby/1.8/gems/rake-0.8.7/lib/rake.rb:2503:in `const_missing': uninitialized constant Command (NameError)
 2011-04-19T13:06:48+00:00 app[web.1]:  from ./lib/identify.rb:1
 2011-04-19T13:06:48+00:00 app[web.1]:  from ./imageproxy.rb:5:in `require'
 2011-04-19T13:06:48+00:00 app[web.1]:  from ./imageproxy.rb:5
 2011-04-19T13:06:48+00:00 app[web.1]:  from ./imageproxy.rb:5:in `each'
 2011-04-19T13:06:48+00:00 app[web.1]:  from ./imageproxy.rb:5
 2011-04-19T13:06:48+00:00 app[web.1]:  from /usr/ruby1.8.7/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'

If I copy the methods from Command.rb to the subclasses of Command and remove the inheritance it works.

uninitialized constant Server::Signature

When attempting to use signatures, I get the following in the apache error log:

  • uninitialized constant Server::Signature

The following message is displayed on the browser:

  • Sorry, an internal error occurred

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.