Wes wrote:> Huggs wrote:
>>
>> I''m assuming that the post important message is the one that
says API
>> Key has expired... does anyone know why this is? I just created it.
>> Does it take some time to become active or what?
>>
>> --Wes
>
> I have the same problem. I got my key about a week ago (and hadn''t
used
> it much) and it expired two days ago. It seems that the Typo crew ran
> into the same issue, they suggest registering a new api key.
> (http://scottstuff.net/blog/articles/2006/08/31/typo-flickr-fix). I
> applied for and recieved a new key and am still having the same
> problem.
>
> Any hints on how to resolve this would be appriciated.
>
> -- W
I am also having the same problem... long after these previous 2 are
dated. I followed the video on the rubyonrails.org to the T! and still,
I recieve the api error even with 2 valid brand new api keys.
RuntimeError in Flickr#search
Showing app/views/flickr/_photo.rhtml where line #1 raised:
Invalid API Key (Key has expired)
Extracted source (around line #1):
1: <img class="photo" src="<%
photo.sizes[0][''source''] %>">
RAILS_ROOT: ./script/../config/..
Application Trace | Framework Trace | Full Trace
C:/rails/ruby/lib/ruby/gems/1.8/gems/flickr-1.0.0/flickr.rb:67:in
`request''
C:/rails/ruby/lib/ruby/gems/1.8/gems/flickr-1.0.0/flickr.rb:142:in
`method_missing''
C:/rails/ruby/lib/ruby/gems/1.8/gems/flickr-1.0.0/flickr.rb:350:in
`sizes''
#{RAILS_ROOT}/app/views/flickr/_photo.rhtml:1:in
`_run_rhtml_flickr__photo''
#{RAILS_ROOT}/app/controllers/flickr_controller.rb:5:in `search''
-e:4
C:/rails/ruby/lib/ruby/gems/1.8/gems/flickr-1.0.0/flickr.rb:67:in
`request''
C:/rails/ruby/lib/ruby/gems/1.8/gems/flickr-1.0.0/flickr.rb:142:in
`method_missing''
C:/rails/ruby/lib/ruby/gems/1.8/gems/flickr-1.0.0/flickr.rb:350:in
`sizes''
C:/rails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/base.rb:314:in
`compile_and_render_template''
C:/rails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/base.rb:290:in
`render_template''
C:/rails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/base.rb:249:in
`render_file''
C:/rails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/base.rb:264:in
`render''
C:/rails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/partials.rb:59:in
`render_partial''
C:/rails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/benchmarking.rb:29:in
`benchmark''
C:/rails/ruby/lib/ruby/1.8/benchmark.rb:293:in `measure''
C:/rails/ruby/lib/ruby/1.8/benchmark.rb:307:in `realtime''
C:/rails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/benchmarking.rb:29:in
`benchmark''
C:/rails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/partials.rb:58:in
`render_partial''
C:/rails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/partials.rb:73:in
`render_partial_collection''
C:/rails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`each_with_index''
C:/rails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/partials.rb:71:in
`render_partial_collection''
C:/rails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/base.rb:734:in
`render_partial_collection''
C:/rails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/base.rb:651:in
`render_with_no_layout''
C:/rails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/layout.rb:251:in
`render_without_benchmark''
C:/rails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/benchmarking.rb:53:in
`render''
C:/rails/ruby/lib/ruby/1.8/benchmark.rb:293:in `measure''
C:/rails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/benchmarking.rb:53:in
`render''
C:/rails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/base.rb:910:in
`perform_action_without_filters''
C:/rails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/filters.rb:368:in
`perform_action_without_benchmark''
C:/rails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/benchmarking.rb:69:in
`perform_action_without_rescue''
C:/rails/ruby/lib/ruby/1.8/benchmark.rb:293:in `measure''
C:/rails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/benchmarking.rb:69:in
`perform_action_without_rescue''
C:/rails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/rescue.rb:82:in
`perform_action''
C:/rails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/base.rb:381:in
`process_without_filters''
C:/rails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/filters.rb:377:in
`process_without_session_management_support''
C:/rails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/session_management.rb:117:in
`process''
C:/rails/ruby/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/dispatcher.rb:38:in
`dispatch''
C:/rails/ruby/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/webrick_server.rb:115:in
`handle_dispatch''
C:/rails/ruby/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/webrick_server.rb:81:in
`service''
C:/rails/ruby/lib/ruby/1.8/webrick/httpserver.rb:104:in `service''
C:/rails/ruby/lib/ruby/1.8/webrick/httpserver.rb:65:in `run''
C:/rails/ruby/lib/ruby/1.8/webrick/server.rb:173:in `start_thread''
C:/rails/ruby/lib/ruby/1.8/webrick/server.rb:162:in `start_thread''
C:/rails/ruby/lib/ruby/1.8/webrick/server.rb:95:in `start''
C:/rails/ruby/lib/ruby/1.8/webrick/server.rb:92:in `start''
C:/rails/ruby/lib/ruby/1.8/webrick/server.rb:23:in `start''
C:/rails/ruby/lib/ruby/1.8/webrick/server.rb:82:in `start''
C:/rails/ruby/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/webrick_server.rb:67:in
`dispatch''
C:/rails/ruby/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/commands/servers/webrick.rb:59
C:/rails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require''
C:/rails/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in
`require''
C:/rails/ruby/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/commands/server.rb:30
C:/rails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require''
C:/rails/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in
`require''
script/server:3
C:/rails/ruby/lib/ruby/gems/1.8/gems/flickr-1.0.0/flickr.rb:67:in
`request''
C:/rails/ruby/lib/ruby/gems/1.8/gems/flickr-1.0.0/flickr.rb:142:in
`method_missing''
C:/rails/ruby/lib/ruby/gems/1.8/gems/flickr-1.0.0/flickr.rb:350:in
`sizes''
#{RAILS_ROOT}/app/views/flickr/_photo.rhtml:1:in
`_run_rhtml_flickr__photo''
C:/rails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/base.rb:314:in
`compile_and_render_template''
C:/rails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/base.rb:290:in
`render_template''
C:/rails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/base.rb:249:in
`render_file''
C:/rails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/base.rb:264:in
`render''
C:/rails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/partials.rb:59:in
`render_partial''
C:/rails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/benchmarking.rb:29:in
`benchmark''
C:/rails/ruby/lib/ruby/1.8/benchmark.rb:293:in `measure''
C:/rails/ruby/lib/ruby/1.8/benchmark.rb:307:in `realtime''
C:/rails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/benchmarking.rb:29:in
`benchmark''
C:/rails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/partials.rb:58:in
`render_partial''
C:/rails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/partials.rb:73:in
`render_partial_collection''
C:/rails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`each_with_index''
C:/rails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/partials.rb:71:in
`render_partial_collection''
C:/rails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/base.rb:734:in
`render_partial_collection''
C:/rails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/base.rb:651:in
`render_with_no_layout''
C:/rails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/layout.rb:251:in
`render_without_benchmark''
C:/rails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/benchmarking.rb:53:in
`render''
C:/rails/ruby/lib/ruby/1.8/benchmark.rb:293:in `measure''
C:/rails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/benchmarking.rb:53:in
`render''
#{RAILS_ROOT}/app/controllers/flickr_controller.rb:5:in `search''
C:/rails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/base.rb:910:in
`perform_action_without_filters''
C:/rails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/filters.rb:368:in
`perform_action_without_benchmark''
C:/rails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/benchmarking.rb:69:in
`perform_action_without_rescue''
C:/rails/ruby/lib/ruby/1.8/benchmark.rb:293:in `measure''
C:/rails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/benchmarking.rb:69:in
`perform_action_without_rescue''
C:/rails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/rescue.rb:82:in
`perform_action''
C:/rails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/base.rb:381:in
`process_without_filters''
C:/rails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/filters.rb:377:in
`process_without_session_management_support''
C:/rails/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/session_management.rb:117:in
`process''
C:/rails/ruby/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/dispatcher.rb:38:in
`dispatch''
C:/rails/ruby/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/webrick_server.rb:115:in
`handle_dispatch''
C:/rails/ruby/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/webrick_server.rb:81:in
`service''
C:/rails/ruby/lib/ruby/1.8/webrick/httpserver.rb:104:in `service''
C:/rails/ruby/lib/ruby/1.8/webrick/httpserver.rb:65:in `run''
C:/rails/ruby/lib/ruby/1.8/webrick/server.rb:173:in `start_thread''
C:/rails/ruby/lib/ruby/1.8/webrick/server.rb:162:in `start_thread''
C:/rails/ruby/lib/ruby/1.8/webrick/server.rb:95:in `start''
C:/rails/ruby/lib/ruby/1.8/webrick/server.rb:92:in `start''
C:/rails/ruby/lib/ruby/1.8/webrick/server.rb:23:in `start''
C:/rails/ruby/lib/ruby/1.8/webrick/server.rb:82:in `start''
C:/rails/ruby/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/webrick_server.rb:67:in
`dispatch''
C:/rails/ruby/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/commands/servers/webrick.rb:59
C:/rails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require''
C:/rails/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in
`require''
C:/rails/ruby/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/commands/server.rb:30
C:/rails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require''
C:/rails/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in
`require''
script/server:3
-e:4
Request
Parameters: {"commit"=>"Find",
"tags"=>"as"}
Show session dump
---
flash: !map:ActionController::Flash::FlashHash {}
Response
Headers: {"cookie"=>[],
"Cache-Control"=>"no-cache"}
if anyone could please shed some light on this it would be greatly
appreciated!
Thanks,
Dennis
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk
-~----------~----~----~----~------~----~------~--~---