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

base imageも他のライブラリも新しいものを使ってみる #87

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

sunmoonStern
Copy link
Collaborator

@sunmoonStern sunmoonStern commented Mar 31, 2021

docker build -t wbap/oculomotor .
./helpers/interactive.sh
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 2464, in __call__
    return self.wsgi_app(environ, start_response)
  File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 2450, in wsgi_app
    response = self.handle_exception(e)
  File "/usr/local/lib/python3.8/dist-packages/flask_cors/extension.py", line 165, in wrapped_function
    return cors_after_request(app.make_response(f(*args, **kwargs)))
  File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1867, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "/usr/local/lib/python3.8/dist-packages/flask/_compat.py", line 39, in reraise
    raise value
  File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 2447, in wsgi_app
    response = self.full_dispatch_request()
  File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1952, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/local/lib/python3.8/dist-packages/flask_cors/extension.py", line 165, in wrapped_function
    return cors_after_request(app.make_response(f(*args, **kwargs)))
  File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1821, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/usr/local/lib/python3.8/dist-packages/flask/_compat.py", line 39, in reraise
    raise value
  File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1950, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1936, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/opt/oculomotor/application/server.py", line 102, in step
    return runner.step()
  File "/opt/oculomotor/application/server.py", line 63, in step
    image = self.inspector.get_frame()
  File "/opt/oculomotor/application/inspector.py", line 249, in get_frame
    image = image.reshape((self.display_size[1], self.display_size[0], 3))
ValueError: cannot reshape array of size 1056000 into shape (500,528,3)
Process Process-22:
Traceback (most recent call last):
  File "/usr/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
    self.run()
  File "/usr/lib/python3.8/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/local/lib/python3.8/dist-packages/_brica/__init__.py", line 39, in run
    outputs = f(inputs)
  File "/opt/oculomotor/application/functions/retina.py", line 31, in __call__
    retina_image = self._create_retina_image(image)
  File "/opt/oculomotor/application/functions/retina.py", line 109, in _create_retina_image
    blur_image, gray_blur_image = self._create_blur_image(image)
  File "/opt/oculomotor/application/functions/retina.py", line 79, in _create_blur_image
    h = image.shape[0]
AttributeError: 'NoneType' object has no attribute 'shape'
terminate called after throwing an instance of 'std::system_error'
  what():  Message too long
Process Process-30:
Traceback (most recent call last):
  File "/usr/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
    self.run()
  File "/usr/lib/python3.8/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/local/lib/python3.8/dist-packages/_brica/__init__.py", line 34, in run
    msg = chr(r.read()[0])
  File "/usr/local/lib/python3.8/dist-packages/pfifo/__init__.py", line 9, in read
    size = self.read_size()
RuntimeError: Message too long
Process Process-29:
Traceback (most recent call last):
  File "/usr/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
    self.run()
  File "/usr/lib/python3.8/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/local/lib/python3.8/dist-packages/_brica/__init__.py", line 34, in run
    msg = chr(r.read()[0])
  File "/usr/local/lib/python3.8/dist-packages/pfifo/__init__.py", line 9, in read
    size = self.read_size()
RuntimeError: Message too long
Process Process-28:
Traceback (most recent call last):
  File "/usr/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
    self.run()
  File "/usr/lib/python3.8/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/local/lib/python3.8/dist-packages/_brica/__init__.py", line 34, in run
    msg = chr(r.read()[0])
  File "/usr/local/lib/python3.8/dist-packages/pfifo/__init__.py", line 9, in read
    size = self.read_size()
RuntimeError: Message too long
Process Process-27:
Traceback (most recent call last):
  File "/usr/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
    self.run()
  File "/usr/lib/python3.8/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/local/lib/python3.8/dist-packages/_brica/__init__.py", line 34, in run
    msg = chr(r.read()[0])
  File "/usr/local/lib/python3.8/dist-packages/pfifo/__init__.py", line 9, in read
    size = self.read_size()
RuntimeError: Message too long
Process Process-26:
Traceback (most recent call last):
  File "/usr/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
    self.run()
  File "/usr/lib/python3.8/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/local/lib/python3.8/dist-packages/_brica/__init__.py", line 34, in run
    msg = chr(r.read()[0])
  File "/usr/local/lib/python3.8/dist-packages/pfifo/__init__.py", line 9, in read
    size = self.read_size()
RuntimeError: Message too long
Process Process-25:
Traceback (most recent call last):
  File "/usr/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
    self.run()
  File "/usr/lib/python3.8/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/local/lib/python3.8/dist-packages/_brica/__init__.py", line 34, in run
    msg = chr(r.read()[0])
  File "/usr/local/lib/python3.8/dist-packages/pfifo/__init__.py", line 9, in read
    size = self.read_size()
RuntimeError: Message too long
Process Process-24:
Traceback (most recent call last):
  File "/usr/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
    self.run()
  File "/usr/lib/python3.8/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/local/lib/python3.8/dist-packages/_brica/__init__.py", line 34, in run
    msg = chr(r.read()[0])
  File "/usr/local/lib/python3.8/dist-packages/pfifo/__init__.py", line 9, in read
    size = self.read_size()
RuntimeError: Message too long
Process Process-23:
Traceback (most recent call last):
  File "/usr/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
    self.run()
  File "/usr/lib/python3.8/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/local/lib/python3.8/dist-packages/_brica/__init__.py", line 34, in run
    msg = chr(r.read()[0])
  File "/usr/local/lib/python3.8/dist-packages/pfifo/__init__.py", line 9, in read
    size = self.read_size()
RuntimeError: Message too long
Process Process-21:
Traceback (most recent call last):
  File "/usr/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
    self.run()
  File "/usr/lib/python3.8/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/local/lib/python3.8/dist-packages/_brica/__init__.py", line 44, in run
    msg = chr(r.read()[0])
  File "/usr/local/lib/python3.8/dist-packages/pfifo/__init__.py", line 9, in read
    size = self.read_size()
RuntimeError: Message too long

@sunmoonStern sunmoonStern changed the title base image base imageも他のライブラリも新しいものを使ってみる Mar 31, 2021
@sunmoonStern
Copy link
Collaborator Author

#86 と同じエラー

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

Successfully merging this pull request may close these issues.

1 participant