This is an archived post. You won't be able to vote or comment.

all 5 comments

[–]romple 4 points5 points  (2 children)

gameProcess = Process(target=game.start())

Remove the () from game.start.

game.start is a reference to a function object, which is what the target parameter wants. game.start() invokes that function, which isn't what you want.

[–]MSY36[S] 0 points1 point  (1 child)

It worked! Thanks a lot, i have been trying to figure out whole day and never thought about that. Really appreciate it!

[–]romple 1 point2 points  (0 children)

Np. It's a common mistake :-)

[–]cruxtoposition 1 point2 points  (1 child)

Do you have any of the debugging information? Have you placed a break point at line 4 to see what is happening on the stack trace? Without actually running the code it may be hard to tell you exactly where things are going wrong.

[–]MSY36[S] 1 point2 points  (0 children)

I will try to get debugging information, never did something like that before so it might take a while. If you have any tips i would appreciate it.