Abdulrazak-Alkl / activemessaging

Automatically exported from code.google.com/p/activemessaging
0 stars 0 forks source link

"No subscriptions" message in poller is misleading #3

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago

I forgot to call "subscribes_to" in my processor.  I got an unhelpful
message from poller.rb, asking me to copy a non-existent example file.

Original issue reported on code.google.com by matteo.v...@gmail.com on 9 Jan 2007 at 5:38

GoogleCodeExporter commented 8 years ago
I'd like to add better exception handling to the poller in general - it croaks 
to
easily.  I'll take a look at this error and see if I can reproduce.  At a 
minimum,
this issue is helpful "documentation" of what that error could mean, so thanks 
for
entering it.

Original comment by kooks...@gmail.com on 12 Jan 2007 at 4:40

GoogleCodeExporter commented 8 years ago
I got it too. All I did to do was follow the TenMinuteInroduction wiki page to 
the
tee. The error message is misleading. More importantly, the wiki page does not
mention that you need to add "subscribes_to" from your processor. Or is it 
missing
from the processor template?

Here's the exact message:
-------------------------------------------------------------------
>ruby poller.rb
Loading ./../../..//app/processors/item_listing_processor.rb
No subscriptions.
Create a file named 'config/subscriptions.rb'.
Start with an example by executing:
  cp vendor/plugins/activemessaging/subscriptions.rb.example config/subscription
s.rb (on Mac/Unix)
  copy vendor/plugins/activemessaging/subscriptions.rb.example config/subscripti
ons.rb (on Windows)
(Yes, I'll handle this better later on.)

Original comment by neeraja...@gmail.com on 14 Jan 2007 at 2:33

GoogleCodeExporter commented 8 years ago
See issue 4, I have fixed this error message, testing and will check in shortly.

Original comment by kooks...@gmail.com on 16 Jan 2007 at 5:38

GoogleCodeExporter commented 8 years ago

Original comment by kooks...@gmail.com on 16 Jan 2007 at 5:38

GoogleCodeExporter commented 8 years ago
fixed in svn v. 31

Original comment by kooks...@gmail.com on 17 Jan 2007 at 5:12