Trying to get whining working
Added by Ben Martinek almost 14 years ago
Have been trying to get Whining plugin working without much luck and a lot of googling.
I have email configured, and the plugin in the correct directory, and cronjob set up.
The cron email issues a error:
cd /Applications/redmine-1.0.2-0/ && ./use_redmine && cd apps/redmine && /usr/bin/rake redmine:send_whining days=0 RAILS_ENV="production"
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=martinek>
X-Cron-Env: <USER=martinek>
X-Cron-Env: <HOME=/Volumes/Biggie/external_home>
I have tried this from the app itself to test it with a trace and got this:
bash-3.2$ /usr/bin/rake redmine:send_whining days=0 RAILS_ENV="production" --trace(in /Applications/redmine-1.0.2-0/apps/redmine)
- Invoke redmine:send_whining (first_time)
- Invoke environment (first_time)
- Execute environment
- Execute redmine:send_whining
Any thoughts? Help would be greatly appreciated.
Replies (2)
RE: Trying to get whining working - Added by Alfredo Bonilla over 13 years ago
Hi Ben,
I'm trying to use this plugin too... sorry for not answering your question, and instead, making other to you... but, I always have this error:
Missing template whining_mailer/whining.text.plain.rhtml in view path app/views
when running the rake... The only way for solving this problem is by copying the views/whining_mailer folder into the redmine/app/views one...
Did you have this error? Have any idea why?
Thanks
RE: Trying to get whining working - Added by Alfredo Bonilla over 13 years ago
Alfredo Bonilla wrote:
Hi Ben,
I'm trying to use this plugin too... sorry for not answering your question, and instead, making other to you... but, I always have this error:
[...]
when running the rake... The only way for solving this problem is by copying the views/whining_mailer folder into the redmine/app/views one...Did you have this error? Have any idea why?
Thanks
Well, finally, at least in my installation, the problem was related to the way that other plugin was "patching" the Redmine core Mailer class. Once solved, the problem dissapeared.