Skip to content

MultiProcess error #44

Open
Open
@19kobayashi

Description

@19kobayashi

I want to run OpenPIVgui using MultiProcess but it doesn’t work.(I can run this program using only 1 core)

This is the error message
‘PIV evaluation thread stopped. cannot pickle '_tkinter.tkapp' object’

I found this error occurs at line 224 in ‘OpenPivGui.py’ (line 496 in ’openpiv.tools’ exactly).
‘mp.run(func=mp.process, n_cpus=cpu_count)’ in ‘OpenPivGui.py’.
‘res = pool.map(func, image_pairs)’ in ‘openpiv.tools.py’

Would you teach me how can I run OpenPIVgui using MultiProcess?

Version
Python: 3.9
Windows:10
OpenPIVgui:0.4.11

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions