jina-ai / jinabox.js

A lightweight, customizable omnibox in Javascript, for use with a Jina backend.
https://jina.ai/jinabox.js/
Apache License 2.0
220 stars 24 forks source link

drag png problem summary #1

Closed hanxiao closed 4 years ago

hanxiao commented 4 years ago
      chunk_seg@ 8[E]:expecting data URI, but got http://pngimg.com/uploads/pokemon/pokemon_PNG149.png
      chunk_seg@ 8[E]:unknown exception: 'NoneType' object has no attribute 'items'
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/jina/peapods/pea.py", line 358, in run
    self.loop_body()
  File "/usr/local/lib/python3.7/site-packages/jina/peapods/pea.py", line 323, in loop_body
    msg = self.zmqlet.recv_message(callback=self.msg_callback)
  File "/usr/local/lib/python3.7/site-packages/jina/peapods/zmq.py", line 223, in recv_message
    return callback(msg)
  File "/usr/local/lib/python3.7/site-packages/jina/peapods/pea.py", line 301, in msg_callback
    return self._callback(msg)
  File "/usr/local/lib/python3.7/site-packages/jina/peapods/pea.py", line 291, in _callback
    self.pre_hook(msg).handle(msg).post_hook(msg)
  File "/usr/local/lib/python3.7/site-packages/jina/peapods/pea.py", line 179, in handle
    self.executor(self.request_type)
  File "/usr/local/lib/python3.7/site-packages/jina/executors/__init__.py", line 537, in __call__
    d()
  File "/usr/local/lib/python3.7/site-packages/jina/drivers/craft.py", line 74, in __call__
    for k, v in ret.items():
AttributeError: 'NoneType' object has no attribute 'items'