Issue 1:
Checklist

I have verified that the issue exists against the master branch of Celery.

This has already been asked to the discussion group first.

I have read the relevant section in the

contribution guide

on reporting bugs.

I have checked the issues list

for similar or identical bug reports.

I have checked the pull requests list

for existing proposed fixes.

I have checked the commit log

to find out if the bug was already fixed in the master branch.

I have included all related issues and possible duplicate issues

in this issue (If there are none, check this box anyway).

Mandatory Debugging Information

I have included the output of celery -A proj report in the issue.

(if you are not able to do this, then at least specify the Celery

version affected).

I have verified that the issue exists against the master branch of Celery.

I have included the contents of pip freeze in the issue.

I have included all the versions of all the external dependencies required

to reproduce this bug.

Optional Debugging Information

I have tried reproducing the issue on more than one Python version

and/or implementation.

I have tried reproducing the issue on more than one message broker and/or

result backend.

I have tried reproducing the issue on more than one version of the message

broker and/or result backend.

I have tried reproducing the issue on more than one operating system.

I have tried reproducing the issue on more than one workers pool.

I have tried reproducing the issue with autoscaling, retries,

ETA/Countdown & rate limits disabled.

I have tried reproducing the issue after downgrading

and/or upgrading Celery and its dependencies.

Related Issues and Possible Duplicates

Related Issues

None

Possible Duplicates

None

Environment & Settings

Celery version:

celery report Output:

Steps to Reproduce

Required Dependencies

Minimal Python Version: N/A or Unknown

Minimal Celery Version: N/A or Unknown

Minimal Kombu Version: N/A or Unknown

Minimal Broker Version: N/A or Unknown

Minimal Result Backend Version: N/A or Unknown

Minimal OS and/or Kernel Version: N/A or Unknown

Minimal Broker Client Version: N/A or Unknown

Minimal Result Backend Client Version: N/A or Unknown

Python Packages

pip freeze Output:

Other Dependencies

N/A

Minimally Reproducible Test Case

Swap the commented line setting `c` for expected behaviour.

import celery

app = celery.Celery(broker="redis://", backend="redis://")

@app.task
def nop(*_):
pass

@app.task
def die(*_):
raise RuntimeError

@app.task(bind=True)
def replace(self, with_):
with_ = celery.Signature.from_dict(with_)
raise self.replace(with_)

@app.task
def cb(*args):
print("CALLBACK", *args)

#c = celery.chain(nop.s(), die.s())
c = celery.chain(nop.s(), replace.si(die.s()))
c.link_error(cb.s())
c.apply_async()

Expected Behavior

cb should be called as a new-style errback because it accepts starargs

Actual Behavior

cb is not called

Issue 2:
when trying to start a worker.

[2013-06-28 12:28:07,258: ERROR/MainProcess] Unrecoverable error: AttributeError("'Connection' object has no attribute 'setblocking'",) Traceback (most recent call last): File "/Users/yannick/.pythonbrew/pythons/Python-3.3.0/lib/python3.3/site-packages/celery-3.1.0rc3-py3.3.egg/celery/worker/init.py", line 189, in start self.blueprint.start(self) File "/Users/yannick/.pythonbrew/pythons/Python-3.3.0/lib/python3.3/site-packages/celery-3.1.0rc3-py3.3.egg/celery/bootsteps.py", line 119, in start step.start(parent) File "/Users/yannick/.pythonbrew/pythons/Python-3.3.0/lib/python3.3/site-packages/celery-3.1.0rc3-py3.3.egg/celery/bootsteps.py", line 352, in start return self.obj.start() File "/Users/yannick/.pythonbrew/pythons/Python-3.3.0/lib/python3.3/site-packages/celery-3.1.0rc3-py3.3.egg/celery/concurrency/base.py", line 112, in start self.on_start() File "/Users/yannick/.pythonbrew/pythons/Python-3.3.0/lib/python3.3/site-packages/celery-3.1.0rc3-py3.3.egg/celery/concurrency/processes.py", line 461, in on_start **self.options) File "/Users/yannick/.pythonbrew/pythons/Python-3.3.0/lib/python3.3/site-packages/celery-3.1.0rc3-py3.3.egg/celery/concurrency/processes.py", line 236, in init for _ in range(processes)) File "/Users/yannick/.pythonbrew/pythons/Python-3.3.0/lib/python3.3/site-packages/celery-3.1.0rc3-py3.3.egg/celery/concurrency/processes.py", line 236, in for _ in range(processes)) File "/Users/yannick/.pythonbrew/pythons/Python-3.3.0/lib/python3.3/site-packages/celery-3.1.0rc3-py3.3.egg/celery/concurrency/processes.py", line 268, in create_process_queues inq._writer.setblocking(0) AttributeError: 'Connection' object has no attribute 'setblocking'