You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've attached the log from the server side below.
Issue was noticed on doing the following :
1. Client downloaded a file
2. After download was completed (while server was logging "connecting to 192.168.112.173:1235 for hashdump" ), I deleted the file from the Download directory.
3. All hell broke lose!! Didn't cause the server to crash or anything, but thread exception generated and the thread running fileindexer failed due to KeyError
****** iWanto Download client_search.png **********
Downloading to: /home/adithya/Desktop/iWant/client_search.png
[=============================================================================] 100%
client_search.png downloaded
/home/adithya/Desktop/iWant/client_search.png created
/home/adithya/Desktop/iWant modified
Indexing files in the shared folder ] 0%
[========================================================================] 100%
/home/adithya/Desktop/iWant/client_search.png modified
connecting to 192.168.112.173:1235 for hashdump
connecting to 192.168.112.173:1235 for hashdump
connecting to 192.168.112.173:1235 for hashdump
/home/adithya/Desktop/iWant/client_search.png deleted
Indexing files in the shared folder ] 0%
[========================================================================] 100%
discarding /home/adithya/Desktop/iWant/client_search.png
/home/adithya/Desktop/iWant modified
Indexing files in the shared folder ] 0%
Exception in thread Thread-1: ] 9%
Traceback (most recent call last):
File "/home/adithya/anaconda2/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/home/adithya/.local/lib/python2.7/site-packages/watchdog-0.8.3-py2.7.egg/watchdog/observers/api.py", line 199, in run
self.dispatch_events(self.event_queue, self.timeout)
File "/home/adithya/.local/lib/python2.7/site-packages/watchdog-0.8.3-py2.7.egg/watchdog/observers/api.py", line 368, in dispatch_events
handler.dispatch(event)
File "/home/adithya/.local/lib/python2.7/site-packages/watchdog-0.8.3-py2.7.egg/watchdog/events.py", line 446, in dispatch
self.on_any_event(event)
File "/home/adithya/Desktop/iWant/iWant/iwant/core/engine/monitor/watching.py", line 22, in on_any_event
self.process(event)
File "/home/adithya/Desktop/iWant/iWant/iwant/core/engine/monitor/watching.py", line 29, in process
idx.index()
File "/home/adithya/Desktop/iWant/iWant/iwant/core/engine/fileindexer/findexer.py", line 57, in index
self._create_file_index()
File "/home/adithya/Desktop/iWant/iWant/iwant/core/engine/fileindexer/findexer.py", line 114, in _create_file_index
self.compute_hash_diff_file(destination_file_path)
File "/home/adithya/Desktop/iWant/iWant/iwant/core/engine/fileindexer/findexer.py", line 89, in compute_hash_diff_file
if self.hash_index[md5_checksum][-1] != filesize:
KeyError: '3b7b2a84b8016ac95b625a8ebcebb966'
connecting to 192.168.112.173:1235 for hashdump
The text was updated successfully, but these errors were encountered:
I've attached the log from the server side below.
Issue was noticed on doing the following :
1. Client downloaded a file
2. After download was completed (while server was logging "connecting to 192.168.112.173:1235 for hashdump" ), I deleted the file from the Download directory.
3. All hell broke lose!! Didn't cause the server to crash or anything, but thread exception generated and the thread running fileindexer failed due to KeyError
****** iWanto Download client_search.png **********
Downloading to: /home/adithya/Desktop/iWant/client_search.png
[=============================================================================] 100%
client_search.png downloaded
/home/adithya/Desktop/iWant/client_search.png created
/home/adithya/Desktop/iWant modified
Indexing files in the shared folder ] 0%
[========================================================================] 100%
/home/adithya/Desktop/iWant/client_search.png modified
connecting to 192.168.112.173:1235 for hashdump
connecting to 192.168.112.173:1235 for hashdump
connecting to 192.168.112.173:1235 for hashdump
/home/adithya/Desktop/iWant/client_search.png deleted
Indexing files in the shared folder ] 0%
[========================================================================] 100%
discarding /home/adithya/Desktop/iWant/client_search.png
/home/adithya/Desktop/iWant modified
Indexing files in the shared folder ] 0%
Exception in thread Thread-1: ] 9%
Traceback (most recent call last):
File "/home/adithya/anaconda2/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/home/adithya/.local/lib/python2.7/site-packages/watchdog-0.8.3-py2.7.egg/watchdog/observers/api.py", line 199, in run
self.dispatch_events(self.event_queue, self.timeout)
File "/home/adithya/.local/lib/python2.7/site-packages/watchdog-0.8.3-py2.7.egg/watchdog/observers/api.py", line 368, in dispatch_events
handler.dispatch(event)
File "/home/adithya/.local/lib/python2.7/site-packages/watchdog-0.8.3-py2.7.egg/watchdog/events.py", line 446, in dispatch
self.on_any_event(event)
File "/home/adithya/Desktop/iWant/iWant/iwant/core/engine/monitor/watching.py", line 22, in on_any_event
self.process(event)
File "/home/adithya/Desktop/iWant/iWant/iwant/core/engine/monitor/watching.py", line 29, in process
idx.index()
File "/home/adithya/Desktop/iWant/iWant/iwant/core/engine/fileindexer/findexer.py", line 57, in index
self._create_file_index()
File "/home/adithya/Desktop/iWant/iWant/iwant/core/engine/fileindexer/findexer.py", line 114, in _create_file_index
self.compute_hash_diff_file(destination_file_path)
File "/home/adithya/Desktop/iWant/iWant/iwant/core/engine/fileindexer/findexer.py", line 89, in compute_hash_diff_file
if self.hash_index[md5_checksum][-1] != filesize:
KeyError: '3b7b2a84b8016ac95b625a8ebcebb966'
connecting to 192.168.112.173:1235 for hashdump
The text was updated successfully, but these errors were encountered: