KeyError on AQ_DIR_NEW_OK (zeitgeist)

Bug #751844 reported by Natalia Bidart
58
This bug affects 11 people
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Won't Fix
High
Alejandro J. Cura

Bug Description

2011-04-05 16:34:08,457 - ubuntuone.SyncDaemon.EQ - ERROR - Error encountered while handling: AQ_DIR_NEW_OK in <ubuntuone.eventlog.zg_listener.ZeitgeistListener object at 0x6c2d850>
Traceback (most recent call last):
  File "/home/nessita/canonical/u1/client/review_fix-svfilenew-conflict/ubuntuone/syncdaemon/event_queue.py", line 286, in _dispatch
    method(**kwargs)
  File "/home/nessita/canonical/u1/client/review_fix-svfilenew-conflict/ubuntuone/eventlog/zg_listener.py", line 319, in handle_AQ_DIR_NEW_OK
    mdo = self.fsm.get_by_node_id(volume_id, new_id)
  File "/home/nessita/canonical/u1/client/review_fix-svfilenew-conflict/ubuntuone/syncdaemon/filesystem_manager.py", line 761, in get_by_node_id
    mdid = self._idx_node_id[(share_id, node_id)]
  File "/home/nessita/canonical/u1/client/review_fix-svfilenew-conflict/ubuntuone/syncdaemon/filesystem_manager.py", line 188, in __getitem__
    return dict.__getitem__(self, key)
KeyError: ('0e0a3c0d-ddb8-4926-ad71-c33fd6079e6a', '16bb0fac-8879-40f7-a4ae-677dbc1646ef')

Changed in ubuntuone-client:
assignee: nobody → Alejandro J. Cura (alecu)
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Alejandro J. Cura (alecu) wrote :

This might have been caused by a folder disappearing before the event was processed.
We should add some guards for this and similar cases.

Changed in ubuntuone-client:
importance: Medium → Low
Revision history for this message
Natalia Bidart (nataliabidart) wrote :

This keeps happening for me, so uppering the priority.

Changed in ubuntuone-client:
importance: Low → Medium
Revision history for this message
Facundo Batista (facundo) wrote :

I just created a dir, which didn't disappear, it's still there!

Revision history for this message
Alejandro J. Cura (alecu) wrote :

Facundo also suggests that this error happens because we are trying to access a node that has not been created *yet*, since it will be created when Sync handles this event.

Revision history for this message
vilmos (vilmos) wrote :

This has also been happening to me ever since I decided to give U1 a try a few days ago. Any progress?

Revision history for this message
pioruns (pioruns) wrote :

Confirmed by one of polish Ubuntu forum users.
apt-cache policy
ubuntuone-client:
Zainstalowana: 2.0.0-0ubuntu2.2
Kandydująca: 2.0.0-0ubuntu2.2
Tabela wersji:
*** 2.0.0-0ubuntu2.2 0
500 http://pl.archive.ubuntu.com/ubuntu/ oneiric-proposed/main i386 Packages
100 /var/lib/dpkg/status
2.0.0-0ubuntu2 0
500 http://pl.archive.ubuntu.com/ubuntu/ oneiric-updates/main i386 Packages
2.0.0-0ubuntu1 0
500 http://pl.archive.ubuntu.com/ubuntu/ oneiric/main i386 Packages

Attached syncdaemon-exceptions.log

Revision history for this message
Nemo_bis (nemobis) wrote :

Same here, using ubuntuone-client 2.0.0-0ubuntu2.3. I added a dir with 19 files for a 4.4 GiB total, it uploaded only 240 MiB in 24 hours, I followed this suggestion http://askubuntu.com/a/79681/40187 , I had 100 % CPU usage for a while, got notified of upload starting, now uploading at some 30 KiB/s out of 10 Mb/s available, log:

2012-01-02 09:17:41,251 - ubuntuone.SyncDaemon.EQ - ERROR - Error encountered while handling: AQ_DIR_NEW_OK in <ubuntuone.eventlog.zg_listener.ZeitgeistListener object at 0x9877d2c>
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/ubuntuone-client/ubuntuone/syncdaemon/event_queue.py", line 303, in _dispatch
    method(**kwargs)
  File "/usr/lib/python2.7/dist-packages/ubuntuone-client/ubuntuone/eventlog/zg_listener.py", line 319, in handle_AQ_DIR_NEW_OK
    mdo = self.fsm.get_by_node_id(volume_id, new_id)
  File "/usr/lib/python2.7/dist-packages/ubuntuone-client/ubuntuone/syncdaemon/filesystem_manager.py", line 787, in get_by_node_id
    mdid = self._idx_node_id[(share_id, node_id)]
  File "/usr/lib/python2.7/dist-packages/ubuntuone-client/ubuntuone/syncdaemon/filesystem_manager.py", line 192, in __getitem__
    return dict.__getitem__(self, key)
KeyError: ('', '760fed2f-2376-45c7-a42d-326af467abdc')

Revision history for this message
Chris Bainbridge (chris-bainbridge) wrote :
Changed in ubuntuone-client:
importance: Medium → High
Changed in ubuntuone-client:
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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