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

I am getting python threading error related to FileChangedEventHandler #4

Closed
patkoscsaba opened this issue Aug 20, 2021 · 2 comments
Closed
Labels
bug Something isn't working

Comments

@patkoscsaba
Copy link

Watching dir(s): '.'; press [Ctrl-C] to exit

Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.9/threading.py", line 973, in _bootstrap_inner
self.run()
File "/home/.../.venv/lib/python3.9/site-packages/watchdog/observers/api.py", line 199, in run
self.dispatch_events(self.event_queue, self.timeout)
File "/home/.../.venv/lib/python3.9/site-packages/watchdog/observers/api.py", line 372, in dispatch_events
handler.dispatch(event)
File "/home/.../.venv/lib/python3.9/site-packages/watchdog/events.py", line 282, in dispatch
self.event_dispatch_mapevent.event_type
AttributeError: 'FileChangedEventHandler' object has no attribute 'event_dispatch_map'

@MihaiBalint MihaiBalint added the bug Something isn't working label Sep 15, 2021
@vladiibine
Copy link

I had a similar issue. What I did was to create a virtualenv with python 3.6.8 installed in it. I installed and ran dfsync from that virtualenv. I don't recall having seen the issue since then.

pyenv install 3.6.8
~/.pyenv/versions/3.6.8/bin/python3 -m venv dfsync

source dfsync/bin/activate
dfsync ..... your dfsync flags/opts/args here

@MihaiBalint
Copy link
Owner

closing old issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants