[issue21429] Input.output error with multiprocessing
Florijan Hamzic
report at bugs.python.org
Mon Oct 17 11:40:27 EDT 2016
Florijan Hamzic added the comment:
Hi,
i have a similiar issue:
i have a really simple scenario
Callee:
```
@classmethod
def MoveDataToOtherSide(cls, model)
data = {
"FirstName": model.FirstName,
"LastName": model.LastName,
"Email": model.Email,
"Pass": model.Password,
"Images": cls.LoadUserImages(model.ID)
}
p = Process(target=UserService.MoveProfileToOtherSide, kwargs={"data": data})
p.start()
```
Processeee
```
@staticmethod
def MoveProfileToOtherSide(data): requests.get("https://mySecretUrl.de", params={"token": "secBlub", "data": encode(data, unpicklable=False)})
```
I think it has something todo with stdout but i have no clue how i could debug this further, unfortunetely.
The Application around this functionality (UserService) is cherrypy.
----------
nosy: +Florijan Hamzic
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21429>
_______________________________________
More information about the Python-bugs-list
mailing list