-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Set a breakpoint on any unit test that creates a job. Run the qless-web Ruby console, find the queue, then navigate to the waiting or other job state filter via one of the nav tabs. The web client won't be able to display the job.
sinatra.error:
Redis::CommandError at /queues/foo/waiting
ERR Error running script (call to f_ae9126f3aa3269591b47eb0ffcf589c2b46228a2):
@user_script:156: user_script:156: bad argument #1 to 'decode' (string expected, got boolean)
backtrace:
/Library/Ruby/Gems/2.0.0/gems/redis-3.1.0/lib/redis/client.rb in call
103. raise reply if reply.is_a?(CommandError)
/Library/Ruby/Gems/2.0.0/gems/redis-3.1.0/lib/redis.rb in block in _eval
2210. client.call([cmd, script, keys.length] + keys + argv)
/Library/Ruby/Gems/2.0.0/gems/redis-3.1.0/lib/redis.rb in block in synchronize
37. mon_synchronize { yield(@client) }
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/monitor.rb in mon_synchronize
211. yield
/Library/Ruby/Gems/2.0.0/gems/redis-3.1.0/lib/redis.rb in synchronize
37. mon_synchronize { yield(@client) }
/Library/Ruby/Gems/2.0.0/gems/redis-3.1.0/lib/redis.rb in _eval
2209. synchronize do |client|
/Library/Ruby/Gems/2.0.0/gems/redis-3.1.0/lib/redis.rb in evalsha
2261. _eval(:evalsha, args)
/Library/Ruby/Gems/2.0.0/gems/qless-0.9.3/lib/qless/lua_script.rb in _call
34.@redis.evalsha(@sha, keys: keys, argv: argv)
/Library/Ruby/Gems/2.0.0/gems/qless-0.9.3/lib/qless/lua_script.rb in rescue in call
23. _call(keys, argv)
/Library/Ruby/Gems/2.0.0/gems/qless-0.9.3/lib/qless/lua_script.rb in call
20. _call(keys, argv)
/Library/Ruby/Gems/2.0.0/gems/qless-0.9.3/lib/qless/queue.rb in peek
128. results = @client._peek.call([@name], [(count || 1), Time.now.to_f]).map { |j| Job.new(@client, JSON.parse(j)) }
/Library/Ruby/Gems/2.0.0/gems/qless-0.9.3/lib/Qless/server.rb in block in <class:Server>
179. queue.peek(20)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels