rec / recs

🎬 recs: the Universal Recorder 🎬
MIT License
2 stars 1 forks source link

Cfg cannot be picked #101

Closed rec closed 11 months ago

rec commented 11 months ago

Obvious in hindsight:

  File "<string>", line 1, in <module>
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/multiprocessing/spawn.py", line 116, in spawn_main
    exitcode = _main(fd, parent_sentinel)
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/multiprocessing/spawn.py", line 126, in _main
    self = reduction.pickle.load(from_parent)
  File "/Users/tom/synthetic/code/recs/recs/cfg/cfg.py", line 79, in __getattr__
    return getattr(self.cfg, k)
  File "/Users/tom/synthetic/code/recs/recs/cfg/cfg.py", line 79, in __getattr__
    return getattr(self.cfg, k)
  File "/Users/tom/synthetic/code/recs/recs/cfg/cfg.py", line 79, in __getattr__
    return getattr(self.cfg, k)
  [Previous line repeated 993 more times]
RecursionError: maximum recursion depth exceeded
Traceback (most recent call last):
...
rec commented 11 months ago

Not an issue, we send the CfgRaw and reconstruct it.