coco-annotator icon indicating copy to clipboard operation
coco-annotator copied to clipboard

Unable to load pictures

Open a31550277 opened this issue 3 years ago • 1 comments

I can create a data set, but I can't scan to the picture Using the latest docker and coco-annotator Version Windows 10 Professional Version 21H1 OS build 19043.1055 Processor AMD Ryzen 5 3600 6-Core Processor

a31550277 avatar Aug 10 '21 08:08 a31550277

same issue here.

Running docker latest on ubuntu 20.04 LTS wsl.

when i create dataset, it displays in the web ui, but no folder will be created in /datasets folder. i tried manually creating folder and copying images still unable to scan the or load pictures.

Error from docker logs

annotator_message_q | 2021-08-22 05:30:28.543034+00:00 [info] <0.802.0> connection <0.802.0> (172.20.0.5:58570 -> 172.20.0.2:5672): user 'user' authenticated and granted access to vhost '/' annotator_message_q | 2021-08-22 05:33:28.345096+00:00 [erro] <0.786.0> closing AMQP connection <0.786.0> (172.20.0.4:48126 -> 172.20.0.2:5672): annotator_message_q | 2021-08-22 05:33:28.345096+00:00 [erro] <0.786.0> missed heartbeats from client, timeout: 60s annotator_workers | fatal: Not a git repository (or any of the parent directories): .git annotator_workers | /usr/local/lib/python3.6/site-packages/celery/platforms.py:796: RuntimeWarning: You're running the worker with superuser privileges: this is annotator_workers | absolutely not recommended! annotator_workers | annotator_workers | Please specify a different user using the --uid option. annotator_workers | annotator_workers | User information: uid=0 euid=0 gid=0 egid=0 annotator_workers | annotator_workers | uid=uid, euid=euid, gid=gid, egid=egid, annotator_workers | [2021-08-22 05:30:22,268: ERROR/MainProcess] consumer: Cannot connect to amqp://user:@messageq:5672//: [Errno 111] Connection refused. annotator_workers | Trying again in 2.00 seconds... annotator_workers | annotator_workers | [2021-08-22 05:30:24,276: ERROR/MainProcess] consumer: Cannot connect to amqp://user:@messageq:5672//: [Errno 111] Connection refused. annotator_workers | Trying again in 4.00 seconds... annotator_workers | annotator_workers | [2021-08-22 05:30:28,302: INFO/MainProcess] Connected to amqp://user:**@messageq:5672// annotator_workers | [2021-08-22 05:30:28,324: INFO/MainProcess] mingle: searching for neighbors annotator_workers | [2021-08-22 05:30:29,353: INFO/MainProcess] mingle: all alone annotator_workers | [2021-08-22 05:30:29,387: INFO/MainProcess] celery@8228aecc97bc ready. annotator_webclient | [2021-08-22 05:30:21 +0000] [8] [DEBUG] Current configuration: annotator_webclient | config: webserver/gunicorn_config.py annotator_webclient | bind: ['0.0.0.0:5000'] annotator_webclient | backlog: 2048 annotator_webclient | workers: 1 annotator_webclient | worker_class: eventlet annotator_webclient | threads: 1 annotator_webclient | worker_connections: 1000 annotator_webclient | max_requests: 0 annotator_webclient | max_requests_jitter: 0 annotator_webclient | timeout: 180 annotator_webclient | graceful_timeout: 30 annotator_webclient | keepalive: 2 annotator_webclient | limit_request_line: 4094 annotator_webclient | limit_request_fields: 100 annotator_webclient | limit_request_field_size: 8190 annotator_webclient | reload: False annotator_webclient | reload_engine: auto annotator_webclient | reload_extra_files: [] annotator_webclient | spew: False annotator_webclient | check_config: False annotator_webclient | preload_app: False annotator_webclient | sendfile: False annotator_webclient | reuse_port: False annotator_webclient | chdir: /workspace annotator_webclient | daemon: False annotator_webclient | raw_env: [] annotator_webclient | pidfile: None annotator_webclient | worker_tmp_dir: None annotator_webclient | user: 0 annotator_webclient | group: 0 annotator_webclient | umask: 0 annotator_webclient | initgroups: False annotator_webclient | tmp_upload_dir: None annotator_webclient | secure_scheme_headers: {'X-FORWARDED-PROTOCOL': 'ssl', 'X-FORWARDED-PROTO': 'https', 'X-FORWARDED-SSL': 'on'} annotator_webclient | forwarded_allow_ips: ['127.0.0.1'] annotator_webclient | accesslog: None annotator_webclient | disable_redirect_access_to_syslog: False annotator_webclient | access_log_format: %(h)s %(l)s %(u)s %(t)s "%(r)s" %(s)s %(b)s "%(f)s" "%(a)s" annotator_webclient | errorlog: - annotator_webclient | loglevel: debug annotator_webclient | capture_output: False annotator_webclient | logger_class: gunicorn.glogging.Logger annotator_webclient | logconfig: None annotator_webclient | logconfig_dict: {} annotator_webclient | syslog_addr: udp://localhost:514 annotator_webclient | syslog: False annotator_webclient | syslog_prefix: None annotator_webclient | syslog_facility: user annotator_webclient | enable_stdio_inheritance: False annotator_webclient | statsd_host: None annotator_webclient | statsd_prefix: annotator_webclient | proc_name: None annotator_webclient | default_proc_name: webserver:app annotator_webclient | pythonpath: None annotator_webclient | paste: None annotator_webclient | on_starting: <function OnStarting.on_starting at 0x7f187d46e2f0> annotator_webclient | on_reload: <function OnReload.on_reload at 0x7f187d46e400> annotator_webclient | when_ready: <function WhenReady.when_ready at 0x7f187d46e510> annotator_webclient | pre_fork: <function Prefork.pre_fork at 0x7f187d46e620> annotator_webclient | post_fork: <function Postfork.post_fork at 0x7f187d46e730> annotator_webclient | post_worker_init: <function PostWorkerInit.post_worker_init at 0x7f187d46e840> annotator_webclient | worker_int: <function WorkerInt.worker_int at 0x7f187d46e950> annotator_webclient | worker_abort: <function WorkerAbort.worker_abort at 0x7f187d46ea60> annotator_webclient | pre_exec: <function PreExec.pre_exec at 0x7f187d46eb70> annotator_webclient | pre_request: <function PreRequest.pre_request at 0x7f187d46ec80> annotator_webclient | post_request: <function PostRequest.post_request at 0x7f187d46ed08> annotator_webclient | child_exit: <function ChildExit.child_exit at 0x7f187d46ee18> annotator_webclient | worker_exit: <function WorkerExit.worker_exit at 0x7f187d46ef28> annotator_webclient | nworkers_changed: <function NumWorkersChanged.nworkers_changed at 0x7f187d1ea0d0> annotator_webclient | on_exit: <function OnExit.on_exit at 0x7f187d1ea1e0> annotator_webclient | proxy_protocol: False annotator_webclient | proxy_allow_ips: ['127.0.0.1'] annotator_webclient | keyfile: None annotator_webclient | certfile: None annotator_webclient | ssl_version: 2 annotator_webclient | cert_reqs: 0 annotator_webclient | ca_certs: None annotator_webclient | suppress_ragged_eofs: True annotator_webclient | do_handshake_on_connect: False annotator_webclient | ciphers: TLSv1 annotator_webclient | raw_paste_global_conf: [] annotator_webclient | [2021-08-22 05:30:21 +0000] [8] [INFO] Starting gunicorn 19.9.0 annotator_webclient | [2021-08-22 05:30:21 +0000] [8] [DEBUG] Arbiter booted annotator_webclient | [2021-08-22 05:30:21 +0000] [8] [INFO] Listening at: http://0.0.0.0:5000 (8) annotator_webclient | [2021-08-22 05:30:21 +0000] [8] [INFO] Using worker: eventlet annotator_webclient | [2021-08-22 05:30:21 +0000] [12] [INFO] Booting worker with pid: 12 annotator_webclient | [2021-08-22 05:30:21 +0000] [8] [DEBUG] 1 workers annotator_webclient | [2021-08-22 05:30:22 +0000] [12] [WARNING] MaskRCNN model is disabled. annotator_webclient | [2021-08-22 05:30:22 +0000] [12] [WARNING] DEXTR model is disabled. annotator_webclient | [Thumbnails] Sending request for regenerating images with non actual thumbnails annotator_webclient | [2021-08-22 05:30:26 +0000] [12] [DEBUG] GET / annotator_webclient | [2021-08-22 05:30:26 +0000] [12] [DEBUG] GET /socket.io/ annotator_webclient | Sleeping 2.0s annotator_webclient | Traceback (most recent call last): annotator_webclient | File "/usr/local/lib/python3.6/site-packages/amqp/transport.py", line 141, in _connect annotator_webclient | host, port, family, socket.SOCK_STREAM, SOL_TCP) annotator_webclient | File "/usr/local/lib/python3.6/site-packages/eventlet/support/greendns.py", line 537, in getaddrinfo annotator_webclient | raise socket.gaierror(socket.EAI_NONAME, 'No address found') annotator_webclient | socket.gaierror: [Errno -2] No address found annotator_webclient | annotator_webclient | During handling of the above exception, another exception occurred: annotator_webclient | annotator_webclient | Traceback (most recent call last): annotator_webclient | File "/usr/local/lib/python3.6/site-packages/kombu/utils/functional.py", line 341, in retry_over_time annotator_webclient | return fun(*args, **kwargs) annotator_webclient | File "/usr/local/lib/python3.6/site-packages/kombu/connection.py", line 275, in connect annotator_webclient | return self.connection annotator_webclient | File "/usr/local/lib/python3.6/site-packages/kombu/connection.py", line 823, in connection annotator_webclient | self._connection = self._establish_connection() annotator_webclient | File "/usr/local/lib/python3.6/site-packages/kombu/connection.py", line 778, in _establish_connection annotator_webclient | conn = self.transport.establish_connection() annotator_webclient | File "/usr/local/lib/python3.6/site-packages/kombu/transport/pyamqp.py", line 130, in establish_connection annotator_webclient | conn.connect() annotator_webclient | File "/usr/local/lib/python3.6/site-packages/amqp/connection.py", line 307, in connect annotator_webclient | self.transport.connect() annotator_webclient | File "/usr/local/lib/python3.6/site-packages/amqp/transport.py", line 81, in connect annotator_webclient | self._connect(self.host, self.port, self.connect_timeout) annotator_webclient | File "/usr/local/lib/python3.6/site-packages/amqp/transport.py", line 152, in _connect annotator_webclient | "failed to resolve broker hostname")) annotator_webclient | File "/usr/local/lib/python3.6/site-packages/amqp/transport.py", line 165, in _connect annotator_webclient | self.sock.connect(sa) annotator_webclient | File "/usr/local/lib/python3.6/site-packages/eventlet/greenio/base.py", line 265, in connect annotator_webclient | socket_checkerr(fd) annotator_webclient | File "/usr/local/lib/python3.6/site-packages/eventlet/greenio/base.py", line 51, in socket_checkerr annotator_webclient | raise socket.error(err, errno.errorcode[err]) annotator_webclient | ConnectionRefusedError: [Errno 111] ECONNREFUSED annotator_webclient | [2021-08-22 05:30:26 +0000] [12] [INFO] Socket connection created with user123

alderson41 avatar Aug 22 '21 05:08 alderson41