[Backgroundrb-devel] Has anyone seen this error message?
raghu.srinivasan at gmail.com
Sun Apr 20 22:03:33 EDT 2008
I have a background job that parses RSS Feeds. This works just fine when
called from a batch process in a loop, but when triggered by a user i/p, it
*always* craps out with this error message.
/usr/lib/ruby/1.8/uri/common.rb:436:in `split': bad URI(is not URI?):
from /usr/lib/ruby/1.8/uri/common.rb:485:in `parse'
from /usr/lib/ruby/1.8/open-uri.rb:29:in `open'
... 15 levels...
from ./script/backgroundrb:42:in `new'
I googled around and saw a few suggestions to escape pipes ("|") and the
like but this doesn't have any pipes. And actually the code doesn't seem to
have any problems running when called in a loop as part of a batch process.
It's only when a FORM submit calls it that it craps.
In both the controllers, the call is *exactly* the same:
worker = MiddleMan.worker(:netflix_worker)
result = worker.parse_netflix_feeds(l_netflix_rss_code)
Any ideas what I am missing? Something super-obvious?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Backgroundrb-devel