Thread overview
Uncaught exception while running redis-pubsub-example of vibe.d
Apr 14, 2014
Elvis Zhou
Apr 15, 2014
Rikki Cattermole
Apr 15, 2014
Elvis Zhou
Apr 16, 2014
Rikki Cattermole
April 14, 2014
Running ./redis-pubsub-example
Callback subscribe(["test1"])
Task terminated with uncaught exception: expected of $ or *


The error message gives no hint of where the exception is raised.How do you guys debug this type of error?
April 15, 2014
On Monday, 14 April 2014 at 10:30:53 UTC, Elvis Zhou wrote:
> Running ./redis-pubsub-example
> Callback subscribe(["test1"])
> Task terminated with uncaught exception: expected of $ or *
>
>
> The error message gives no hint of where the exception is raised.How do you guys debug this type of error?

Found it [0].
Just out of curiosity but do you have a redis server running at
port 6379 on your machine?
Because if not that might be why.

https://github.com/rejectedsoftware/vibe.d/blob/master/source/vibe/db/redis/redis.d#L520
April 15, 2014
On Tuesday, 15 April 2014 at 10:53:42 UTC, Rikki Cattermole wrote:
> On Monday, 14 April 2014 at 10:30:53 UTC, Elvis Zhou wrote:
>> Running ./redis-pubsub-example
>> Callback subscribe(["test1"])
>> Task terminated with uncaught exception: expected of $ or *
>>
>>
>> The error message gives no hint of where the exception is raised.How do you guys debug this type of error?
>
> Found it [0].
> Just out of curiosity but do you have a redis server running at
> port 6379 on your machine?
> Because if not that might be why.
>
> https://github.com/rejectedsoftware/vibe.d/blob/master/source/vibe/db/redis/redis.d#L520

The redis server is running, and another redis client example but not this pubsub one works too.
April 16, 2014
On Tuesday, 15 April 2014 at 14:53:55 UTC, Elvis Zhou wrote:
> The redis server is running, and another redis client example but not this pubsub one works too.

Probably a bug then. Raise an issue on github please.