Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

task.connect doesn't work #350

Open
tfarago opened this issue Dec 4, 2014 · 2 comments
Open

task.connect doesn't work #350

tfarago opened this issue Dec 4, 2014 · 2 comments
Assignees
Labels

Comments

@tfarago
Copy link
Contributor

tfarago commented Dec 4, 2014

The example from #349 would do here with this addition before inject:

def callback(task):
    pass

bp.backprojector.connect('processed', callback)

I get a segfault. The same happens when I use bp.output_task.

@matze
Copy link
Contributor

matze commented Dec 5, 2014

Have you updated everything? If I print the task in the callback function, I see

bp > run()
<OutputTask object at 0x7f725eae4050 (UfoOutputTask at 0x2f8f200)>

However, for some reason that is not printed with the backprojector. But in any case, on my local machine there is no segfault.

@tfarago
Copy link
Contributor Author

tfarago commented Dec 5, 2014

I updated both the core and filters on the ufo server and it hangs there. last thing I see is:

(process:18881): Ufo-DEBUG: Added program 0x7f10f81ee4d0 from `backproject.cl`

On my laptop the same thing now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants