You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ponymail.apache.org by GitBox <gi...@apache.org> on 2021/11/25 00:10:03 UTC
[GitHub] [incubator-ponymail-foal] sebbASF opened a new issue #158: migrate.py does not work on macos
sebbASF opened a new issue #158:
URL: https://github.com/apache/incubator-ponymail-foal/issues/158
The migrate script does not work on macos (Catalina, Python 3.9.7):
- os.sched_getaffinity() does not exist
- if that is commented out, it fails with:
File "/usr/local/Cellar/python@3.9/3.9.7/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/reduction.py", line 60, in dump
ForkingPickler(file, protocol).dump(obj)
TypeError: cannot pickle 'weakref' object
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ponymail.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-ponymail-foal] sebbASF commented on issue #158: migrate.py does not work on macos
Posted by GitBox <gi...@apache.org>.
sebbASF commented on issue #158:
URL: https://github.com/apache/incubator-ponymail-foal/issues/158#issuecomment-997925271
The default start method on macos is spawn because fork apparently has issues.
However using fork seems to avoid the weakref issue.
As a potential work-round, add an option to use fork.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ponymail.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-ponymail-foal] sebbASF commented on issue #158: migrate.py does not work on macos
Posted by GitBox <gi...@apache.org>.
sebbASF commented on issue #158:
URL: https://github.com/apache/incubator-ponymail-foal/issues/158#issuecomment-997926921
Note: if forking issues appear on macos when using the override, specifying a job count of 1 might help...
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ponymail.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org