Forum: Rails-ES BackgroundRB HELP!!!!

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
E671e2bafc344514e0aebb998a174a20?d=identicon&s=25 Carlos Carlos (corneto82)
on 2009-03-03 21:55
Buenas Tardes......
Tengo un problema luego de actualizar BackgroundRB, la situacion es la
siguiente creo que tengo problemas cuando trato de conectarme con la
base de datos.... :S


este es parte de worker

class ReporteWorker < BackgrounDRb::MetaWorker
  set_worker_name :reporte_worker

 def generador_reportes

  logger.info ' > Generador de reportes Sao en ejecución <--> ' +
Time.now.to_s

  @numero_registros_prioridad_max  = 10
  @numero_registros_prioridad_med  = 5
  @numero_registros_prioridad_min  = 3

#  ///////////////////////////////////////////////////////////
#  /////////////DEFINICION DE LAS COLAS DE PRIORIDAD//////////
#  ///////////////////////////////////////////////////////////

  @cola_maxima_prioridad    = OpseReporteConfiguracions.new (esta es la
linea 16)
  @cola_mediana_prioridad    = OpseReporteConfiguracions.new
  @cola_minima_prioridad    = OpseReporteConfiguracions.new
  @cola_maxima_prioridad2    = OpseReporte.new
  @cola_mediana_prioridad2  = OpseReporte.new
  @cola_minima_prioridad2    = OpseReporte.new

#  ///////////////////////////////////////////////////////////
#  //////////DEFINICION DEL CRITERIO DE PRIORIDAD/////////////
#  ///////////////////////////////////////////////////////////

  @Maxima  = 1
  @Media  = 2
  @Minima  = 3



este es el error

 > Generador de reportes Sao en ejecución <--> Tue Mar 03 16:24:36 +0000
2009
uninitialized constant ReporteWorker::OpseReporte
/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:477:in
`const_missing'
/usr/lib/ruby/tarea/lib/workers/reporte_worker.rb:16:in
`generador_reportes'
/usr/lib/ruby/tarea/vendor/plugins/backgroundrb/server/lib/meta_worker.rb:305:in
`send'
/usr/lib/ruby/tarea/vendor/plugins/backgroundrb/server/lib/meta_worker.rb:305:in
`check_for_timer_events'
/usr/lib/ruby/tarea/vendor/plugins/backgroundrb/server/lib/meta_worker.rb:300:in
`each'
/usr/lib/ruby/tarea/vendor/plugins/backgroundrb/server/lib/meta_worker.rb:300:in
`check_for_timer_events'
/usr/lib/ruby/gems/1.8/gems/packet-0.1.14/bin/../lib/packet/packet_core.rb:140:in
`start_reactor'
/usr/lib/ruby/gems/1.8/gems/packet-0.1.14/bin/../lib/packet/packet_core.rb:139:in
`loop'
/usr/lib/ruby/gems/1.8/gems/packet-0.1.14/bin/../lib/packet/packet_core.rb:139:in
`start_reactor'
/usr/lib/ruby/gems/1.8/gems/packet-0.1.14/bin/../lib/packet/packet_worker.rb:20:in
`start_worker'
/usr/lib/ruby/gems/1.8/gems/packet-0.1.14/bin/packet_worker_runner:33:in
`load_worker'
/usr/lib/ruby/gems/1.8/gems/packet-0.1.14/bin/packet_worker_runner:26:in
`initialize'
/usr/lib/ruby/gems/1.8/gems/packet-0.1.14/bin/packet_worker_runner:47:in
`new'
/usr/lib/ruby/gems/1.8/gems/packet-0.1.14/bin/packet_worker_runner:47
/usr/bin/packet_worker_runner:19:in `load'
/usr/bin/packet_worker_runner:19
9f13f0ff5f5f41f5598ad755f192ca3a?d=identicon&s=25 Luis felipe Hurtado campuzano (luisfelipehurtado)
on 2009-03-04 03:37
(Received via mailing list)
Perdón, pero no debería llamarse OpseReporteConfiguraciones ? parece que
le
faltara la última letra "e"



2009/3/3 Carlos Carlos <ruby-forum-incoming@andreas-s.net>
6939924506277ed3a69592f8f41725d3?d=identicon&s=25 Jesus Marval (fromthaend)
on 2009-03-04 15:22
 Gracias pana era un error en los nombres de algunos modelos (Corneto82)
This topic is locked and can not be replied to.