User Profile

Collapse

Profile Sidebar

Collapse
falekmarcin
falekmarcin
Last Activity: Mar 9 '15, 09:03 PM
Joined: Apr 29 '12
Location: Katowice, Silesia, Poland
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • falekmarcin
    replied to Using multiprocessing inside decorator
    Yes. You are right about the timestamp (this is only example and doesn't affect the issue) but decorator works ok - decorator is working properly, is used for a long time and takes a lot of methods (including static methods). The problem occurred when using multiprocessing .

    My Traceback:

    Code:
        Traceback (most recent call last):
          File "C:\Interpreters\Python32\lib\pickle.py", line 679, in save_global
    ...
    See more | Go to post

    Leave a comment:


  • falekmarcin
    started a topic Using multiprocessing inside decorator

    Using multiprocessing inside decorator

    I came across a problem that I can't solve and it's associated with multiprocessing and use it inside the decorator.

    When I'm calling the method run_in_parallel s using multiprocessing I 'm getting the error:

    Code:
    Can't pickle <function run_testcase at 0x00000000027789C8>: it's not found as __main__.run_testcase
    The call takes place inside the decorator, then followed the above-mentioned problem. At the...
    See more | Go to post
No activity results to display
Show More
Working...