felix clack
2008-Jan-16 23:33 UTC
[Backgroundrb-devel] Backgroundrb 1.0.1: uninitialized constant Packet::ClassHelpers (NameError)
Hi, just updated backgroundrb to release 1.0.1 and am getting this error when trying to start backgroundrb. vendor/plugins/backgroundrb/framework/core.rb:18: uninitialized constant Packet::ClassHelpers (NameError) Just updated from r298 where everything was working fine. If I comment out the offending line then backgroundrb starts but I can''t connect to it from my app. Anyone have any ideas as to what may be the problem? -- thanks, Felix -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20080117/5bc8e51c/attachment-0001.html
hemant
2008-Jan-17 02:26 UTC
[Backgroundrb-devel] Backgroundrb 1.0.1: uninitialized constant Packet::ClassHelpers (NameError)
Hi, On Jan 17, 2008 5:03 AM, felix clack <felixclack at gmail.com> wrote:> Hi, > > just updated backgroundrb to release 1.0.1 and am getting this error when > trying to start backgroundrb. > vendor/plugins/backgroundrb/framework/core.rb:18: uninitialized constant > Packet::ClassHelpers (NameError) > > Just updated from r298 where everything was working fine. > > If I comment out the offending line then backgroundrb starts but I can''t > connect to it from my app. > > Anyone have any ideas as to what may be the problem?Did you remove old backgroundrb script from RAILS_ROOT/script/ directory? If not remove that file and run: rake backgroundrb:setup -- Let them talk of their oriental summer climes of everlasting conservatories; give me the privilege of making my own summer with my own coals. http://gnufied.org
felix clack
2008-Jan-17 02:47 UTC
[Backgroundrb-devel] Backgroundrb 1.0.1: uninitialized constant Packet::ClassHelpers (NameError)
Thanks. I tried that, however I still get the same error. I''m able to get things working if I comment out the line include Packet::ClassHelper. The problem I experience now is I''m getting Packet::Disconnect errors during my worker scraping other websites. I''m guessing this problem is not a bug in backgroundrb but probably with the sites I''m connecting to. On 17/01/2008, hemant <gethemant at gmail.com> wrote:> > Hi, > > On Jan 17, 2008 5:03 AM, felix clack <felixclack at gmail.com> wrote: > > Hi, > > > > just updated backgroundrb to release 1.0.1 and am getting this error > when > > trying to start backgroundrb. > > vendor/plugins/backgroundrb/framework/core.rb:18: uninitialized constant > > Packet::ClassHelpers (NameError) > > > > Just updated from r298 where everything was working fine. > > > > If I comment out the offending line then backgroundrb starts but I can''t > > connect to it from my app. > > > > Anyone have any ideas as to what may be the problem? > > Did you remove old backgroundrb script from RAILS_ROOT/script/ > directory? If not remove that file and run: > > rake backgroundrb:setup > > > > -- > Let them talk of their oriental summer climes of everlasting > conservatories; give me the privilege of making my own summer with my > own coals. > > http://gnufied.org >-- thanks, Felix -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20080117/79fe6188/attachment.html
hemant kumar
2008-Jan-17 03:08 UTC
[Backgroundrb-devel] Backgroundrb 1.0.1: uninitialized constant Packet::ClassHelpers (NameError)
Hi On Thu, 2008-01-17 at 13:47 +1100, felix clack wrote:> Thanks. > > I tried that, however I still get the same error. I''m able to get > things working if I comment out the line > include Packet::ClassHelper. > > The problem I experience now is I''m getting Packet::Disconnect errors > during my worker scraping other websites. I''m guessing this problem is > not a bug in backgroundrb but probably with the sites I''m connecting > to.I doubt that backgroundrb will work properly if you comment that line. check if framework/packet.rb has require ''class_helpers'' in it.> > On 17/01/2008, hemant <gethemant at gmail.com> wrote: > Hi, > > On Jan 17, 2008 5:03 AM, felix clack <felixclack at gmail.com> wrote: > > Hi, > > > > just updated backgroundrb to release 1.0.1 and am getting this error when > > trying to start backgroundrb. > > vendor/plugins/backgroundrb/framework/core.rb:18: uninitialized constant > > Packet::ClassHelpers (NameError) > > > > Just updated from r298 where everything was working fine. > > > > If I comment out the offending line then backgroundrb starts but I can''t > > connect to it from my app. > > > > Anyone have any ideas as to what may be the problem? > > Did you remove old backgroundrb script from RAILS_ROOT/script/ > directory? If not remove that file and run: > > rake backgroundrb:setup > > > > -- > Let them talk of their oriental summer climes of everlasting > conservatories; give me the privilege of making my own summer with my > own coals. > > http://gnufied.org > > > > -- > thanks, > Felix > _______________________________________________ > Backgroundrb-devel mailing list > Backgroundrb-devel at rubyforge.org > http://rubyforge.org/mailman/listinfo/backgroundrb-devel
felix clack
2008-Jan-17 03:31 UTC
[Backgroundrb-devel] Backgroundrb 1.0.1: uninitialized constant Packet::ClassHelpers (NameError)
Hi hemant, thanks for the help but unfortunately that hasn''t worked either. Still the same error message when attempting to start backgroundrb. The require line you suggested wasn''t present in packet.rb so I added it, however the same error message still appeared. I''ve also checked out a fresh copy of backgroundrb to ensure I haven''t introduced any errors in the code. Doesn''t seem to have made any difference to the error. On 17/01/2008, hemant kumar <gethemant at gmail.com> wrote:> > Hi > > On Thu, 2008-01-17 at 13:47 +1100, felix clack wrote: > > Thanks. > > > > I tried that, however I still get the same error. I''m able to get > > things working if I comment out the line > > include Packet::ClassHelper. > > > > The problem I experience now is I''m getting Packet::Disconnect errors > > during my worker scraping other websites. I''m guessing this problem is > > not a bug in backgroundrb but probably with the sites I''m connecting > > to. > > I doubt that backgroundrb will work properly if you comment that line. > check if framework/packet.rb has require ''class_helpers'' in it. > > > > > On 17/01/2008, hemant <gethemant at gmail.com> wrote: > > Hi, > > > > On Jan 17, 2008 5:03 AM, felix clack <felixclack at gmail.com> > wrote: > > > Hi, > > > > > > just updated backgroundrb to release 1.0.1 and am getting this > error when > > > trying to start backgroundrb. > > > vendor/plugins/backgroundrb/framework/core.rb:18: > uninitialized constant > > > Packet::ClassHelpers (NameError) > > > > > > Just updated from r298 where everything was working fine. > > > > > > If I comment out the offending line then backgroundrb starts > but I can''t > > > connect to it from my app. > > > > > > Anyone have any ideas as to what may be the problem? > > > > Did you remove old backgroundrb script from RAILS_ROOT/script/ > > directory? If not remove that file and run: > > > > rake backgroundrb:setup > > > > > > > > -- > > Let them talk of their oriental summer climes of everlasting > > conservatories; give me the privilege of making my own summer > with my > > own coals. > > > > http://gnufied.org > > > > > > > > -- > > thanks, > > Felix > > _______________________________________________ > > Backgroundrb-devel mailing list > > Backgroundrb-devel at rubyforge.org > > http://rubyforge.org/mailman/listinfo/backgroundrb-devel > >-- thanks, Felix -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20080117/011da427/attachment.html
hemant
2008-Jan-17 09:28 UTC
[Backgroundrb-devel] Backgroundrb 1.0.1: uninitialized constant Packet::ClassHelpers (NameError)
Hi Felix, On Jan 17, 2008 9:01 AM, felix clack <felixclack at gmail.com> wrote:> Hi hemant, > > thanks for the help but unfortunately that hasn''t worked either. Still the > same error message when attempting to start backgroundrb. > > The require line you suggested wasn''t present in packet.rb so I added it, > however the same error message still appeared. > > I''ve also checked out a fresh copy of backgroundrb to ensure I haven''t > introduced any errors in the code. Doesn''t seem to have made any difference > to the error.There is something fishy going in your setup? Checkout this file: http://svn.devjavu.com/backgroundrb/tags/release-1.0.1/framework/packet.rb It has the line "require ''class_helpers''", so I am surprised to see that despite using 1.0.1 tag, you didn''t had that line. Also, there could be a possibility that you have a file with same name elsewhere in your load_path. Can you check and tell me, if the class_helpers file I mentioned is actually being loaded or not? -- Let them talk of their oriental summer climes of everlasting conservatories; give me the privilege of making my own summer with my own coals. http://gnufied.org
felix clack
2008-Jan-18 02:21 UTC
[Backgroundrb-devel] Backgroundrb 1.0.1: uninitialized constant Packet::ClassHelpers (NameError)
Hi Hemant, thanks for the help. I checked out a fresh copy of backgroundrb into a clean rails project and moved it into my existing project and its all working fine now. I must have made a mistake somewhere along the line with svn to prevent it importing all the latest files. Thanks again, this is a great piece of software. Felix On 17/01/2008, hemant <gethemant at gmail.com> wrote:> > Hi Felix, > > On Jan 17, 2008 9:01 AM, felix clack <felixclack at gmail.com> wrote: > > Hi hemant, > > > > thanks for the help but unfortunately that hasn''t worked either. Still > the > > same error message when attempting to start backgroundrb. > > > > The require line you suggested wasn''t present in packet.rb so I added > it, > > however the same error message still appeared. > > > > I''ve also checked out a fresh copy of backgroundrb to ensure I haven''t > > introduced any errors in the code. Doesn''t seem to have made any > difference > > to the error. > > There is something fishy going in your setup? Checkout this file: > > http://svn.devjavu.com/backgroundrb/tags/release-1.0.1/framework/packet.rb > > It has the line "require ''class_helpers''", so I am surprised to see > that despite using 1.0.1 tag, you didn''t had that line. > Also, there could be a possibility that you have a file with same name > elsewhere in your load_path. Can you check and tell me, if the > class_helpers file I mentioned is actually being loaded or not? > > > > -- > Let them talk of their oriental summer climes of everlasting > conservatories; give me the privilege of making my own summer with my > own coals. > > http://gnufied.org >-- thanks, Felix -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20080118/549c819f/attachment-0001.html