Closed taytanqbpass closed 3 years ago
@ChrisKnott @samuelhwilliams i would like to ask for your insight on this. Thanks.
You are probably going to run into problems using multiprocessing because I am not 100% sure how it launches the new processes. I think it goes through a different import
and __init__
logic which means it isn't running Eel's code for discovering JS functions.
Basically, at the moment this isn't supported unfortunately.
Eel version v.0.14.0
Describe the bug Hi I get the error "AttributeError: module 'eel' has no attribute 'updateTaskLabel'" when using multiprocessing but not when threading.
code snippets
'This causes an error
but when I change it to:
the error does not occur. Here's how my runTask2 looks like
Do note that updateTaskLabel is a javascript function whose code is below
Expected behavior eel.updateTaskLabel updates my eel front end task label
Desktop (please complete the following information):