giemsky / redmine_carousel

17 stars 9 forks source link

Carousel stop generating any tasks #15

Closed wmiadmin closed 12 years ago

wmiadmin commented 12 years ago

Hello. Carousel is very useful plugin for us and it's working fine. But some days ago it stopped to work :( I can't understand why it can't generate tasks any more. I created test task with 2 min period and ran redmine-1.2.0# rake carousel:run RAILS_ENV=production --trace (in /home/web_app/production/redmine/redmine-1.2.0) * Invoke carousel:run (first_time) * Invoke environment (first_time) * Execute environment * Execute carousel:run But without any task generation. How I can debug this ?

Thank you.

wmiadmin commented 12 years ago

mysql> select id,name,project_id,period,last_run,active,begin_at from carousels where id=52; +----+------------+------------+--------+----------+--------+---------------------+ | id | name | project_id | period | last_run | active | begin_at | +----+------------+------------+--------+----------+--------+---------------------+ | 52 | test 2 min | 1 | 120 | NULL | 1 | 2011-10-18 00:00:00 | +----+------------+------------+--------+----------+--------+---------------------+ 1 row in set (0.00 sec)

redmine-1.2.0# date Tue Oct 18 04:56:44 EDT 2011

wmiadmin commented 12 years ago

home/user# cd /home/redmine/redmine-1.2.0 && rake carousel:run RAILS_ENV=production (in /home/redmine/redmine-1.2.0) rake aborted! Couldn't find Member with ID=368 AND (members.project_id = 43 AND (users.type='User' AND users.status=1))

(See full trace by running task with --trace

This user is disabled.

giemsky commented 12 years ago

I'll take a look.

giemsky commented 12 years ago

Looks like you disabled carousel's author. Just edit it and choose someone else.

I'll prepare some nicer message in the next release.