Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix genetic optimization in master-slave mode #28

Open
ajkxyz opened this issue Sep 22, 2015 · 2 comments
Open

Fix genetic optimization in master-slave mode #28

ajkxyz opened this issue Sep 22, 2015 · 2 comments
Labels

Comments

@ajkxyz
Copy link
Member

ajkxyz commented Sep 22, 2015

Launch master first:
python3 -m veles -p '' -s --optimize 25 -l 0.0.0.0:10000 veles/samples/genetics.py -
In another console launch slave:
python3 -m veles -p '' -s --optimize 25 -m localhost:10000 veles/samples/genetics.py -

@ajkxyz ajkxyz added the bug label Sep 22, 2015
@vmarkovtsev
Copy link
Member

Alexey Kazantsev created new patchset 1
for change 134 which triggered build 2256

@ajkxyz
Copy link
Member Author

ajkxyz commented Sep 22, 2015

Sometimes slave gives an error:
Unhandled Error
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/twisted/python/log.py", line 88, in callWithLogger
return callWithContext({"system": lp}, func, _args, *_kw)
File "/usr/lib/python3/dist-packages/twisted/python/log.py", line 73, in callWithContext
return context.call({ILogContext: newCtx}, func, _args, *_kw)
File "/usr/lib/python3/dist-packages/twisted/python/context.py", line 118, in callWithContext
return self.currentContext().callWithContext(ctx, func, _args, *_kw)
File "/usr/lib/python3/dist-packages/twisted/python/context.py", line 81, in callWithContext
return func(args,*kw)
--- ---
File "/usr/lib/python3/dist-packages/twisted/internet/posixbase.py", line 614, in _doReadOrWrite
why = selectable.doRead()
File "/export/home/ajk/Projects/Veles/veles/txzmq/connection.py", line 371, in doRead
message = self._readMultipart(unpickler)
File "/export/home/ajk/Projects/Veles/veles/txzmq/connection.py", line 271, in _readMultipart
obj = pickle.load(obj)
builtins.EOFError:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants