Error signing up: No project exists with the given API key+discussion
You can check your gem versions against what we recommend/support at What gems do I need and what version should they be?. Addressing your error more substantially will have to wait (probably not long) for someone else to take a look at this. --John Abbe
Thanks for the input. I have checked all my gem versions and made necessary changes according to the "What gems do I need and what version should they be?" but the error is still there. I think it is probably not related to the gem versions.
--evanyw.....Tue Feb 08 17:34:02 -0800 2011
Well, if you actually want to use Hoptoad, you probably need something like this:
HoptoadNotifier.configure do |config|
config.api_key = '1234......'
end
But, chances are, you just want it to run without it. It works fine for me locally without that, so I'll have to keep digging.
--Ethan McCutchen.....Tue Feb 08 18:07:50 -0800 2011
Is there currently any mention of hoptoad in your wagn.rb?
--Ethan McCutchen.....Tue Feb 08 19:12:00 -0800 2011
if you uninstall hoptoad, what happens?
--Ethan McCutchen.....Tue Feb 08 19:18:07 -0800 2011
Here is what in my wagn.rb:
System.base_url = "http://mywebsite.com"
System.max_renders = 8
ExceptionNotifier.exception_recipients = ['xx@xx.com','person2@website.org']
ExceptionNotifier.sender_address = '"Wagn Error" '
ExceptionNotifier.email_prefix = "[Wagn]"
--evanyw.....Tue Feb 08 19:39:48 -0800 2011
After I uninstalled the gem hoptoad_notifier, I got the following error:
===begin of err msg===
#./script/server -e production -p 80
=> Booting WEBrick
=> Rails 2.3.5 application starting on http://0.0.0.0:80
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010. Use #requirement
Missing these required gems:
hoptoad_notifier
You're running:
ruby 1.8.7.253 at /opt/ruby-enterprise-1.8.7-2010.02/bin/ruby
rubygems 1.3.7 at /root/.gem/ruby/1.8, /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8
Run `rake gems:install` to install the missing gems.
===end of err msg===
I can't even do rake wagn:create without hoptoad_notifier. It said
===begin of err msg===
#rake wagn:create
(in /root/wagn)
Running without hoptoad
Missing these required gems:
hoptoad_notifier
You're running:
ruby 1.8.7.253 at /opt/ruby-enterprise-1.8.7-2010.02/bin/ruby
rubygems 1.3.7 at /root/.gem/ruby/1.8, /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8
Run `rake gems:install` to install the missing gems.
===end of err msg===
--evanyw.....Tue Feb 08 19:45:18 -0800 2011
ok, got it. thanks.
--Ethan McCutchen.....Tue Feb 08 20:15:23 -0800 2011
np. Here is the msg I got from console by "rake hoptoad:test":
====begin of msg====
#rake hoptoad:test
(in /root/wagn)
SQL (0.1ms) SET client_min_messages TO 'panic'
SQL (0.1ms) SET client_min_messages TO 'notice'
SQL (1.7ms) select count(*) from cards
Cache hit: xxx/development/cache_id ({})
SQL (2.4ms)
select distinct ct.class_name, c.name, c.key, p.party_type, p.party_id
from cardtypes ct
join cards c on c.extension_id=ct.id and c.type='Cardtype'
join permissions p on p.card_id=c.id and p.task='create'
Cache read: xxx/development/129723238616ph/basic+*type
Cache read: xxx/development/129723238616ph/basic+*type+*content
Cache read: xxx/development/129723238616ph/basic+*type+*default
Cache read: xxx/development/129723238616ph/*all
Cache read: xxx/development/129723238616ph/*all+*content
Cache read: xxx/development/129723238616ph/*all+*default
Cache write: xxx/development/129723238616ph/*head
Cache write: xxx/development/129723238616ph/*alert
Cache write: xxx.com/development/129723238616ph/*foot
Cache write: xxx.com/development/129723238616ph/*navbox
Cache write: xxx.com/development/129723238616ph/*version
Cache write: xxx.com/development/129723238616ph/*account_link
Cache write: xxx.com/development/129723238616ph/*now
----------- Wagn Initialization Complete -----------
Hoptoad needs an API key configured! Check the README to see how to add it.
====end of msg===
Then I tried
#script/generate hoptoad --api-key 'wagn_production'
and got the following:
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010. Use #requirement
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/mime_type.rb:80: warning: already initialized constant CSS
exists lib/tasks
identical lib/tasks/hoptoad_notifier_tasks.rake
overwrite config/initializers/hoptoad.rb? (enter "h" for help) [Ynaqdh] Y
force config/initializers/hoptoad.rb
rake rake hoptoad:test --trace
(in /root/wagn)
** Invoke hoptoad:test (first_time)
** Invoke hoptoad:log_stdout (first_time)
** Execute hoptoad:log_stdout
** Invoke environment (first_time)
** Invoke setup (first_time)
** Execute setup
** Execute environment
** [Hoptoad] Notifier 2.3.8 ready to catch errors
SQL (0.1ms) SET client_min_messages TO 'panic'
SQL (0.1ms) SET client_min_messages TO 'notice'
SQL (1.5ms) select count(*) from cards
Cache hit: xxx.com/development/cache_id ({})
SQL (2.6ms)
select distinct ct.class_name, c.name, c.key, p.party_type, p.party_id
from cardtypes ct
join cards c on c.extension_id=ct.id and c.type='Cardtype'
join permissions p on p.card_id=c.id and p.task='create'
Cache read: xxx/development/129723238616ph/basic+*type
Cache read: xxx/development/129723238616ph/basic+*type+*content
Cache read: xxx/development/129723238616ph/basic+*type+*default
Cache read: xxx/development/129723238616ph/*all
Cache read: xxx/development/129723238616ph/*all+*content
Cache read: xxx/development/129723238616ph/*all+*default
Cache write: xxx/development/129723238616ph/*head
Cache write: xxx/development/129723238616ph/*alert
Cache write: xxx.com/development/129723238616ph/*foot
Cache write: xxx.com/development/129723238616ph/*navbox
Cache write: xxx.com/development/129723238616ph/*version
Cache write: xxx.com/development/129723238616ph/*account_link
Cache write: xxx.com/development/129723238616ph/*now
----------- Wagn Initialization Complete -----------
** Execute hoptoad:test
Configuration:
proxy_port: nil
development_lookup: true
protocol: "http"
environment_name: "development"
notifier_name: "Hoptoad Notifier"
proxy_host: nil
http_open_timeout: 2
host: "hoptoadapp.com"
framework: "Rails: 2.3.5"
notifier_url: "http://hoptoadapp.com"
js_notifier: false
http_read_timeout: 5
port: 80
api_key: "wagn_production"
notifier_version: "2.3.8"
ignore: ["ActiveRecord::RecordNotFound", "ActionController::Rou
proxy_user: nil
params_filters: ["password", "password_confirmation"]
development_environments: []
ignore_by_filters: []
secure: false
backtrace_filters: [#<Proc:0x0949be94@/opt/ruby-enterprise-1.8.7-2010.02/l
project_root: "/root/wagn"
ignore_user_agent: []
proxy_pass: nil
Setting up the Controller.
Processing request.
Raising 'HoptoadTestingException' to simulate application failure.
Sending request to http://hoptoadapp.com/notifier_api/v2/notices/:
<?xml version="1.0" encoding="UTF-8"?><notice version="2.0"><api-key>wagn_production</api-key><notifier><name>Hoptoad Notifier</name><version>2.3.8</version><url>http://hoptoadapp.com</url></notifier><error><class>HoptoadTestingException</class><message>HoptoadTestingException: Testing hoptoad via "rake hoptoad:test". If you can see this, it works.</message><backtrace><line file="[GEM_ROOT]/gems/activesupport-2.3.5/lib/active_support/callbacks.rb" method="send" number="178"/><line file="[GEM_ROOT]/gems/activesupport-2.3.5/lib/active_support/callbacks.rb" method="evaluate_method" number="178"/><line file="[GEM_ROOT]/gems/activesupport-2.3.5/lib/active_support/callbacks.rb" method="call" number="166"/><line file="[GEM_ROOT]/gems/actionpack-2.3.5/lib/action_controller/filters.rb" method="call" number="225"/><line file="[GEM_ROOT]/gems/actionpack-2.3.5/lib/action_controller/filters.rb" method="run_before_filters" number="629"/><line file="[GEM_ROOT]/gems/actionpack-2.3.5/lib/action_controller/filters.rb" method="call_filters" number="615"/><line file="[GEM_ROOT]/gems/actionpack-2.3.5/lib/action_controller/filters.rb" method="perform_action_without_benchmark" number="610"/><line file="[GEM_ROOT]/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb" method="perform_action_without_rescue" number="92"/><line file="[GEM_ROOT]/gems/actionpack-2.3.5/lib/action_controller/rescue.rb" method="perform_action_without_flash" number="160"/><line file="[GEM_ROOT]/gems/actionpack-2.3.5/lib/action_controller/flash.rb" method="perform_action" number="146"/><line file="[GEM_ROOT]/gems/actionpack-2.3.5/lib/action_controller/base.rb" method="send" number="532"/><line file="[GEM_ROOT]/gems/actionpack-2.3.5/lib/action_controller/base.rb" method="process_without_filters" number="532"/><line file="[GEM_ROOT]/gems/actionpack-2.3.5/lib/action_controller/filters.rb" method="process" number="606"/><line file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="call" number="636"/><line file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="execute" number="636"/><line file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="each" number="631"/><line file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="execute" number="631"/><line file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="invoke_with_call_chain" number="597"/><line file="/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/1.8/monitor.rb" method="synchronize" number="242"/><line file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="invoke_with_call_chain" number="590"/><line file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="invoke" number="583"/><line file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="invoke_task" number="2051"/><line file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="top_level" number="2029"/><line file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="each" number="2029"/><line file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="top_level" number="2029"/><line file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="standard_exception_handling" number="2068"/><line file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="top_level" number="2023"/><line file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="run" number="2001"/><line file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="standard_exception_handling" number="2068"/><line file="[GEM_ROOT]/gems/rake-0.8.7/lib/rake.rb" method="run" number="1998"/><line file="[GEM_ROOT]/gems/rake-0.8.7/bin/rake" method="" number="31"/><line file="/opt/ruby-enterprise-1.8.7-2010.02/bin/rake" method="load" number="19"/><line file="/opt/ruby-enterprise-1.8.7-2010.02/bin/rake" method="" number="19"/></backtrace></error><request><url>http://test.host/</url><component></component><action></action><cgi-data><var key="SERVER_NAME">example.org</var><var key="rack.url_scheme">http</var><var key="HTTP_USER_AGENT">Rails Testing</var><var key="CONTENT_LENGTH">0</var><var key="action_controller.request.request_parameters"></var><var key="rack.errors">#<StringIO:0xac9d4fc></var><var key="rack.version">10</var><var key="REMOTE_ADDR">0.0.0.0</var><var key="rack.run_once">false</var><var key="PATH_INFO">/</var><var key="SCRIPT_NAME"></var><var key="rack.multithread">true</var><var key="rack.multiprocess">true</var><var key="action_controller.request.path_parameters"></var><var key="REQUEST_URI">/hoptoad_verification_controller</var><var key="SERVER_PORT">80</var><var key="REQUEST_METHOD">GET</var><var key="QUERY_STRING"></var><var key="rack.input">#<StringIO:0xac9d4c0></var></cgi-data></request><server-environment><project-root>/root/wagn</project-root><environment-name>development</environment-name></server-environment></notice>
** [Hoptoad] Failure: Net::HTTPClientError
** [Hoptoad] Environment Info: [Ruby: 1.8.7] [Rails: 2.3.5] [Env: development]
** [Hoptoad] Response from Hoptoad:
<?xml version="1.0" encoding="UTF-8"?>
<errors>
<error>No project exists with the given API key.</error>
</errors>
===end of msg===
But the strange thing is hoptoad never asked me for an API key before. And I don't think I will need an exception notifier... So where can I get an valid API key or can I start wagn correctly without this annoying gem (if I uninstall hoptoad_notifier, it would complain an missing gem as my previous comment said while starting the server)?
Thank you.
--evanyw.....Wed Feb 09 00:05:59 -0800 2011
The idea is that you shouldn't have to use the exception notifier -- it's not supposed to run if you don't have the key set up. I'm confused as to why that's happening to you. I'm not able to reproduce the problem locally (I don't have a key set up on my development box).
Can you try one more thing? What happens if you uninstall the gem and try running wagn with env RUN_CODE_RUN=true?
--Ethan McCutchen.....Wed Feb 09 06:25:41 -0800 2011
Thank you. But can you tell me where I can find the env variable RUN_CODE_RUN?
If you mean ./script/server -p 80 -e RUN_CODE_RUN=true, here are what I got:
=> Booting WEBrick
=> Rails 2.3.5 application starting on http://0.0.0.0:80
/root/wagn/config/wagn_initializer.rb:51:in `set_default_rails_config': undefined method `[]' for nil:NilClass (NoMethodError)
from /root/wagn/config/environment.rb:15
from /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:111:in `run'
from /root/wagn/config/environment.rb:11
from /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `require'
from /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:521:in `new_constants_in'
from /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `require'
from /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/commands/server.rb:84
from /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from ./script/server:3
Thanks.
--evanyw.....Wed Feb 09 08:29:15 -0800 2011
try this:
env RUN_CODE_RUN=true ./script/server -p 80
--Ethan McCutchen.....Wed Feb 09 09:13:27 -0800 2011
when I tried, wagn was able to start without hoptoad, unfortunately I got an "action controller: Exception caught" page w/ name "NoMethodError in CardController#index" while browing to the index page. Below is the content:
undefined method `system_prefix=' for nil:NilClass
RAILS_ROOT: /root/wagn
Full Trace
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/whiny_nil.rb:52:in `method_missing'
/root/wagn/lib/wagn/cache.rb:33:in `re_initialize_for_new_request'
/root/wagn/app/controllers/application_controller.rb:50:in `per_request_setup'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/callbacks.rb:178:in `send'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/callbacks.rb:178:in `evaluate_method'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/callbacks.rb:166:in `call'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:225:in `call'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:629:in `run_before_filters'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:615:in `call_filters'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/rescue.rb:160:in `perform_action_without_flash'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/flash.rb:146:in `perform_action'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:532:in `send'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:532:in `process_without_filters'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/filters.rb:606:in `process'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:391:in `process'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/base.rb:386:in `call'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/routing/route_set.rb:437:in `call'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:87:in `dispatch'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:121:in `_call'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:29:in `call'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:29:in `call'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:9:in `cache'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/query_cache.rb:28:in `call'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/string_coercion.rb:25:in `call'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/head.rb:9:in `call'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/methodoverride.rb:24:in `call'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/params_parser.rb:15:in `call'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/session/cookie_store.rb:93:in `call'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/failsafe.rb:26:in `call'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `call'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `synchronize'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/lock.rb:11:in `call'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:114:in `call'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/reloader.rb:34:in `run'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/dispatcher.rb:108:in `call'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/rack/static.rb:31:in `call'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:46:in `call'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in `each'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/urlmap.rb:40:in `call'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/rack/log_tailer.rb:17:in `call'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/content_length.rb:13:in `call'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/handler/webrick.rb:50:in `service'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/1.8/webrick/server.rb:162:in `start'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/1.8/webrick/server.rb:95:in `start'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/1.8/webrick/server.rb:92:in `each'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/1.8/webrick/server.rb:92:in `start'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/1.8/webrick/server.rb:23:in `start'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/1.8/webrick/server.rb:82:in `start'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/handler/webrick.rb:14:in `run'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/commands/server.rb:111
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
/opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
script/server:3
--evanyw.....Wed Feb 09 09:25:15 -0800 2011
ok, now we're getting somewhere! I assumed there was going to be another error once we got this fixed -- after all, something must have been going to hoptoad!
I'm going to try to get a fix into wagn 1.5.2 so that you don't have to use that environmental variable.
as for the error you're now seeing, it's basically the same as this: NoMethodError in CardController index, and the response there is probably what I would try next.
--Ethan McCutchen.....Wed Feb 09 10:32:42 -0800 2011
Sorry, didn't get time to try this out today... but yes! your suggestion works! now wagn can work without hoptoad. But when signing up, a new ActionMailer error replaced the hoptoad error. I did some research online and found this “ActionMailer: Hostname not match server certificate” Error is probably the root cause of all these errors! On this post https://github.com/rails/rails/commit/732c724df61bc8b780dc42817625b25a321908e4 , someone complained that this change on ActionMailer broke his ExceptionNotification.
So my problem might be: My server doesn't have a certificate, so turn on tls by default results in the ActionMailer error.
By setting smtpd_use_tls=no there were no errors while signing up, but no email were send to the recipients... Maybe something wrong with my mail config? It is really weird that on my local machine (fedora13), the email function of wagn works fine without any config. But on the ubuntu server, it doesn't work. So I added the following to wagn.rb to make it work:
ActionMailer::Base.smtp_settings = {
:address => "smtp.gmail.com",
:port => 587,
:authentication => :login,
:enable_starttls_auto => true,
:user_name => "no_reply@gmail.com",
:password => "123456"
}
Then I was able to receive the email "some_user signed up for My Wagn" , but when I invited some_user, he will never receive the invitation email. So he can't get his password... There are no errors pop up in the console. The messages are something like:
"Sent mail to some_user@xxx.com" for the users
or
"Sent mail to my_email_addr@my_domain.com" for wagn admins (e.g., me)
But the users just can't receive any email...
Any suggestions? Did I overlooked anything? Thank you!
--evanyw.....Wed Feb 09 21:00:15 -0800 2011
I don't know the answer offhand, but can you post this as a new support ticket? This one's pretty full :)
--Ethan McCutchen.....Thu Feb 10 12:27:07 -0800 2011
sure. sorry :)
--evanyw.....Thu Feb 10 12:56:36 -0800 2011