This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: CRITICAL: TypeError: cannot pickle 'generator'
Type: crash Stage: resolved
Components: Library (Lib), Windows Versions: Python 3.8
process
Status: closed Resolution: third party
Dependencies: Superseder:
Assigned To: Nosy List: andrei.avk, dotoscat, furkanonder, iritkatriel, remi.lapeyre
Priority: normal Keywords:

Created on 2020-03-01 20:17 by dotoscat, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (6)
msg363090 - (view) Author: Oscar (dotoscat) Date: 2020-03-01 20:17
I use Windows 10 Home 1909

CRITICAL: TypeError: cannot pickle 'generator' object
PS D:\projects\user.log> Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "c:\users\user\appdata\local\programs\python\python38\lib\multiprocessing\spawn.py", line 102, in spawn_main
    source_process = _winapi.OpenProcess(
OSError: [WinError 87]
msg363108 - (view) Author: Rémi Lapeyre (remi.lapeyre) * Date: 2020-03-01 23:20
Hi Oscar, can you attach a small program that reproduce the error? It's probable that the error is in your code and not in Python.
msg366953 - (view) Author: Furkan Onder (furkanonder) * Date: 2020-04-21 23:23
Can you send your code?
msg366996 - (view) Author: Oscar (dotoscat) Date: 2020-04-22 11:26
Hello there. Im sorry very much by not replying to the answers. The source code is not mine, not written by me.

I can pass a link from the project issue tracker
https://github.com/getpelican/pelican/issues/2674#issuecomment-569431530
telling that the code works with Python 3.6.8 and 3.7.3, but not with Python 3.8.

Thank you for your time.
msg400486 - (view) Author: Andrei Kulakov (andrei.avk) * (Python triager) Date: 2021-08-28 17:53
This issue has been resolved and closed in Pelican tracker; so it can be closed here as well, as not a bug.
msg400506 - (view) Author: Irit Katriel (iritkatriel) * (Python committer) Date: 2021-08-28 22:02
Thank you Andrei.
History
Date User Action Args
2022-04-11 14:59:27adminsetgithub: 83998
2021-08-28 22:02:50iritkatrielsetstatus: open -> closed

nosy: + iritkatriel
messages: + msg400506

resolution: third party
stage: resolved
2021-08-28 17:53:26andrei.avksetnosy: + andrei.avk
messages: + msg400486
2020-04-22 11:27:00dotoscatsetmessages: + msg366996
2020-04-21 23:23:55furkanondersetnosy: + furkanonder
messages: + msg366953
2020-03-01 23:20:52remi.lapeyresetnosy: + remi.lapeyre, - paul.moore, tim.golden, zach.ware, steve.dower
messages: + msg363108
2020-03-01 20:17:47dotoscatcreate