EugenMayer / docker-sync

Run your application at full speed while syncing your code for development, finally empowering you to utilize docker for development under OSX/Windows/*Linux
GNU General Public License v3.0
3.54k stars 290 forks source link

Docker sync daemon is crashing #812

Closed alexbyk closed 2 years ago

alexbyk commented 2 years ago

Error/Feature Requestion/Docs

Traceback (most recent call last):
  File "/usr/local/bin/unison-fsmonitor", line 24, in <module>
    from watchdog.observers import Observer
  File "/usr/local/Cellar/unox/0.2.0_1/libexec/lib/python3.10/site-packages/watchdog/observers/__init__.py", line 76, in <module>
    from .polling import PollingObserver as Observer
  File "/usr/local/Cellar/unox/0.2.0_1/libexec/lib/python3.10/site-packages/watchdog/observers/polling.py", line 43, in <module>
    from watchdog.observers.api import (
  File "/usr/local/Cellar/unox/0.2.0_1/libexec/lib/python3.10/site-packages/watchdog/observers/api.py", line 23, in <module>
    from watchdog.utils.bricks import SkipRepeatsQueue
  File "/usr/local/Cellar/unox/0.2.0_1/libexec/lib/python3.10/site-packages/watchdog/utils/bricks.py", line 175, in <module>
    class OrderedSet(collections.MutableSet):
AttributeError: module 'collections' has no attribute 'MutableSet'
Fatal error: File monitoring helper program not running

Docker Driver

docker-machine+vbox/fusion

Sync strategy

default

your docker-sync.yml

xxx

OS

latest

wfnuser commented 2 years ago

How to fix that? The same problem here.

EugenMayer commented 2 years ago

Sorry, but you really have to put minimal effort into using a open-source project. This is not a payed support issue queue with any kind of service promise.

We are all opting in time to help others - but you have to put your fair share into that.

This is a known unox issue, googling for that will help.

alexbyk commented 2 years ago

so, I can say all new installations are broken after python 9.10

The dirty fix that helped to me:

sudo vim /usr/local/Cellar/unox/0.2.0_1/libexec/lib/python3.10/site-packages/watchdog/utils/bricks.py
and in line 175 fix it to
    class OrderedSet(collections.abc.MutableSet):
EugenMayer commented 2 years ago

See more on https://github.com/EugenMayer/homebrew-dockersync/tree/master/Formula and https://github.com/EugenMayer/homebrew-dockersync/issues/17

wfnuser commented 2 years ago

Thanks.