couchapp/couchapp — Issue #112: couchapp autopush doesn't work on Mac OS X
Author: gryzzly
Created: 2011-10-17 12:37:12+00:00
State: open

Hi,
after I run `couchapp autopush dbname`, whenever a change occurs I get the following:

2011-10-17 19:34:23 [INFO] Starting to listen changes in '/Users/m/couch-code/todos'
Exception in thread Thread-2:
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py", line 522, in __bootstrap_inner
self.run()
File "/Library/Python/2.6/site-packages/couchapp/autopush/watchdog/observers/api.py", line 267, in run
self._dispatch_events(self.event_queue, self.timeout)
File "/Library/Python/2.6/site-packages/couchapp/autopush/watchdog/observers/api.py", line 256, in _dispatch_events
self.dispatch_event(event, watch)
File "/Library/Python/2.6/site-packages/couchapp/autopush/watchdog/observers/api.py", line 431, in dispatch_event
handler.dispatch(event)
File "/Library/Python/2.6/site-packages/couchapp/autopush/handler.py", line 54, in dispatch
if self.check_ignore(ev.src_path):
File "/Library/Python/2.6/site-packages/couchapp/autopush/handler.py", line 36, in check_ignore
for ign in self.ignores:
AttributeError: 'CouchappEventHandler' object has no attribute 'ignores'

A little googling didn't really help to resolve the problem. The code isn't being pushed.

I am now using this:

watchmedo shell-command --patterns="*" --recursive --command="couchapp push todos"

And it seems to be working OK, but I'd prefer to use couchapp itself.

Thanks!