rrqueue icon indicating copy to clipboard operation
rrqueue copied to clipboard

bug? rrqueue and el captain

Open jscamac opened this issue 8 years ago • 0 comments

Hi @richfitz, seems the problem with the system integrity protection is more pervasive then I first thought. Temporally disabling SIP worked to install RedisHeartbeat, but if I reactive it I can't run rrqueue locally. Here is the error I get when all required packages are installed and SIP is enabled (the default) running your README.md example:

> con <- rrqueue::queue("jobs")
reattaching to existing queue
0 workers available
> task <- con$enqueue(sin(1))
> w <- rrqueue::worker("jobs")
                                                       __
                ______________ ___  _____  __  _____  / /
      ______   / ___/ ___/ __ `/ / / / _ \/ / / / _ \/ /  ______
     /_____/  / /  / /  / /_/ / /_/ /  __/ /_/ /  __/_/  /_____/
 ______      /_/  /_/   \__, /\__,_/\___/\__,_/\___(_)      ______
/_____/                   /_/                              /_____/
    version:          0.2.1 [24cc65990073fc86675cb1bda5fd2e91f7eee6ef]
    protocol:         0.2
    platform:         x86_64-apple-darwin13.4.0 (64-bit)
    running:          OS X 10.11.3 (El Capitan)
    hostname:         James.local
    pid:              15093
    redis_host:       127.0.0.1
    redis_port:       6379
    worker:           James.local::15093
    queue_name:       jobs
    heartbeat_period: 30
    heartbeat_expire: 90
    message:          jobs:workers:James.local::15093:message
    response:         jobs:workers:James.local::15093:response
    log:              jobs:workers:James.local::15093:log
    envir:            {}
[2016-04-20 22:41:24] STOP ERROR
This is an uncaught error in rrqueue, probably a bug!
Error in dyn.load(file, DLLpath = DLLpath, ...) : 
  unable to load shared object '/Library/Frameworks/R.framework/Versions/3.2/Resources/library/RedisHeartbeat/libs/RedisHeartbeat.so':
  dlopen(/Library/Frameworks/R.framework/Versions/3.2/Resources/library/RedisHeartbeat/libs/RedisHeartbeat.so, 6): Library not loaded: libhiredis.0.13.dylib
  Referenced from: /Library/Frameworks/R.framework/Versions/3.2/Resources/library/RedisHeartbeat/libs/RedisHeartbeat.so
  Reason: image not found

Again seems to be that library issue. Note: As expected, I don't get this issue when I run rrqueue with docker containers locally.

jscamac avatar Apr 20 '16 12:04 jscamac