Directed Acyclic Graphs with a variety of methods for both Nodes and Edges, and multiple exports (NetworkX, Pandas, etc). This project is the foundation for a commercial product, so expect regular improvements. PR's and other contributions are welcomed.
Apache License 2.0
41
stars
6
forks
source link
Test 04 (deep dag): Issues with multiprocessing #11
I'm running this from Windows. As far as I know Windows systems have pickle-issues. Maybe there is an alternative to using multiprocessing? One can also not use signal, as this is missing some functionality on Windows.
@Nix3c3r Thank you for pointing this out. I need to add some better CI for this repo to check for these sorts of issues, and will see about how I can resolve this. I've added this to my to-do list.
Hi I have problems to get
test_04_deep_dag()
running correctly. When running as is, it results into anAttributeError
. The error message states problems with local objects, which is common for multiprocessing:AttributeError: Can't pickle local object 'DagTestCase.test_04_deep_dag.<locals>.run_test'
The line it fails is: https://github.com/OmenApps/django-postgresql-dag/blob/20c47971a56c62aed3616d4d29fafcfb79204efd/tests/test.py#L625I'm running this from Windows. As far as I know Windows systems have pickle-issues. Maybe there is an alternative to using
multiprocessing
? One can also not use signal, as this is missing some functionality on Windows.