KeyError (Unhandled Event in INotify) in ubuntuone\syncdaemon\filesystem_notifications.py

Bug #802726 reported by Natalia Bidart
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Fix Released
Medium
Manuel de la Peña

Bug Description

Full trace is:

2011-06-27 17:25:04,194 - twisted - ERROR - Unhandled error in Deferred:
Unhandled error in Deferred:
2011-06-27 17:25:04,197 - twisted - ERROR - Unhandled Error
Traceback (most recent call last):
  File "C:\Python27\lib\site-packages\twisted\internet\base.py", line 1158, in r
un
    self.mainLoop()
  File "C:\Python27\lib\site-packages\twisted\internet\base.py", line 1167, in m
ainLoop
    self.runUntilCurrent()
  File "C:\Python27\lib\site-packages\twisted\internet\base.py", line 789, in ru
nUntilCurrent
    call.func(*call.args, **call.kw)
  File "C:\Python27\lib\site-packages\twisted\internet\task.py", line 194, in __
call__
    d = defer.maybeDeferred(self.f, *self.a, **self.kw)
--- <exception caught here> ---
  File "C:\Python27\lib\site-packages\twisted\internet\defer.py", line 133, in m
aybeDeferred
    result = f(*args, **kw)
  File "C:\Users\ROBERTO\canonical\ubuntuone-client\ubuntuone\platform\windows\f
ilesystem_notifications.py", line 799, in process_events
    self._notifier.process_events()
  File "C:\Users\ROBERTO\canonical\ubuntuone-client\ubuntuone\platform\windows\f
ilesystem_notifications.py", line 549, in process_events
    self._default_proc_fun(raw_event)
  File "C:\Users\ROBERTO\canonical\ubuntuone-client\ubuntuone\platform\windows\p
yinotify.py", line 440, in __call__
    return _ProcessEvent.__call__(self, event)
  File "C:\Users\ROBERTO\canonical\ubuntuone-client\ubuntuone\platform\windows\p
yinotify.py", line 368, in __call__
    return meth(event)
  File "C:\Users\ROBERTO\canonical\ubuntuone-client\ubuntuone\platform\windows\f
ilesystem_notifications.py", line 614, in process_IN_MODIFY
    self.general_processor.push_event(open_event)
  File "C:\Users\ROBERTO\canonical\ubuntuone-client\ubuntuone\syncdaemon\filesys
tem_notifications.py", line 141, in push_event
    raise KeyError("Unhandled Event in INotify: %s" % event)
exceptions.KeyError: 'Unhandled Event in INotify: <Event dir=True mask=0x4000002
0 maskname=IN_OPEN|IN_ISDIR name=etc path=. pathname=\\\\?\\C:\\Users\\ROBERTO\\
Ubuntu One\\etc wd=0 >'

This is caused when browsing the Ubuntu One directory using any file browser.

Related branches

Changed in ubuntuone-client:
assignee: nobody → Manuel de la Pena (mandel)
importance: Undecided → Medium
status: New → Triaged
tags: added: u1-zomg-windows
Changed in ubuntuone-client:
status: Triaged → In Progress
summary: - KeyError in ubuntuone\syncdaemon\filesystem_notifications.py
+ KeyError (Unhandled Event in INotify) in
+ ubuntuone\syncdaemon\filesystem_notifications.py
Changed in ubuntuone-client:
status: In Progress → Fix Committed
Revision history for this message
Roberto Alsina (ralsina) wrote :

Just had it happen to me again today:

  File "C:\Python27\lib\site-packages\twisted\internet\defer.py", line 133, in maybeDeferred
    result = f(*args, **kw)
  File "C:\Users\ROBERTO\canonical\ubuntuone-client\ubuntuone\platform\windows\filesystem_notifications.py", line 804, in process_events
    self._notifier.process_events()
  File "C:\Users\ROBERTO\canonical\ubuntuone-client\ubuntuone\platform\windows\filesystem_notifications.py", line 554, in process_events
    self._default_proc_fun(raw_event)
  File "C:\Users\ROBERTO\canonical\ubuntuone-client\ubuntuone\platform\windows\pyinotify.py", line 442, in __call__
    return _ProcessEvent.__call__(self, event)
  File "C:\Users\ROBERTO\canonical\ubuntuone-client\ubuntuone\platform\windows\pyinotify.py", line 370, in __call__
    return meth(event)
  File "C:\Users\ROBERTO\canonical\ubuntuone-client\ubuntuone\platform\windows\filesystem_notifications.py", line 619, in process_IN_MODIFY
    self.general_processor.push_event(open_event)
  File "C:\Users\ROBERTO\canonical\ubuntuone-client\ubuntuone\syncdaemon\filesystem_notifications.py", line 141, in push_event
    raise KeyError("Unhandled Event in INotify: %s" % event)
exceptions.KeyError: 'Unhandled Event in INotify: <Event dir=True mask=0x40000020 maskname=IN_OPEN|IN_ISDIR name=prototype path=.\\installer pathname=\\\\?\\C:\\Users\\ROBERTO\\canonical\\ubuntuone-client\\Windows (Lisette, 92510420-fd85-45f6-8889-e47989810ffc)\\installer\\prototype wd=1 >'

Changed in ubuntuone-client:
status: Fix Committed → Triaged
Revision history for this message
Manuel de la Peña (mandel) wrote :

I'm sure that this does not longer occurs regarding the code present in trunk. I'll set it again to fix committed.

Changed in ubuntuone-client:
status: Triaged → Fix Committed
tags: added: u1-windows
dobey (dobey)
Changed in ubuntuone-client:
milestone: none → 2.0.0
dobey (dobey)
Changed in ubuntuone-client:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.