
Traceback (most recent call last):

 "<stdin>", line 1, in <module>

 "/home/vanessa/.local/lib/python2.7/site-packages/toil/job.py", line 280, in wrapFn
return FunctionWrappingJob(fn, *args, **kwargs)

 "/home/vanessa/.local/lib/python2.7/site-packages/toil/job.py", line 2678, in __init__
self.userFunctionModule = ModuleDescriptor.forModule(userFunction.__module__).globalize()

 "/home/vanessa/.local/lib/python2.7/site-packages/toil/resource.py", line 363, in forModule
filePath = os.path.abspath(module.__file__)
AttributeError: 'module' object has no attribute '__file__'```
Traceback (most recent call last):


 "/usr/bin/aker/aker.py", line 168, in <module>

Aker().build_tui()


 "/usr/bin/aker/aker.py", line 130, in build_tui

self.tui.start()


 "/usr/bin/aker/tui.py", line 344, in start

self.loop.run()


 "/usr/lib64/python2.7/site-packages/urwid/main_loop.py", line 277, in run

self._run()


 "/usr/lib64/python2.7/site-packages/urwid/main_loop.py", line 374, in _run

self.event_loop.run()


 "/usr/lib64/python2.7/site-packages/urwid/main_loop.py", line 677, in run

self._loop()


 "/usr/lib64/python2.7/site-packages/urwid/main_loop.py", line 714, in _loop

self._watch_files[fd]()


 "/usr/lib64/python2.7/site-packages/urwid/raw_display.py", line 391, in <lambda>

event_loop, callback, self.get_available_raw_input())


 "/usr/lib64/python2.7/site-packages/urwid/raw_display.py", line 491, in parse_input

callback(processed, processed_codes)


 "/usr/lib64/python2.7/site-packages/urwid/main_loop.py", line 398, in _update

self.process_input(keys)


 "/usr/lib64/python2.7/site-packages/urwid/main_loop.py", line 498, in process_input

k = self._topmost_widget.keypress(self.screen_size, k)


 "/usr/lib64/python2.7/site-packages/urwid/wimp.py", line 642, in keypress

return self._current_widget.keypress(size, key)


 "/usr/lib64/python2.7/site-packages/urwid/container.py", line 1127, in keypress

return self.body.keypress( (maxcol, remaining), key )


 "/usr/lib64/python2.7/site-packages/urwid/container.py", line 1127, in keypress

return self.body.keypress( (maxcol, remaining), key )


 "/usr/bin/aker/tui.py", line 76, in keypress

self.focus.original_widget.get_caption())


 "/usr/lib64/python2.7/site-packages/urwid/signals.py", line 263, in emit

result |= self._call_callback(callback, user_arg, user_args, args)


 "/usr/lib64/python2.7/site-packages/urwid/signals.py", line 293, in _call_callback

return bool(callback(*args_to_pass))


 "/usr/bin/aker/tui.py", line 326, in host_chosen_handler

self.aker.init_connection(host)


 "/usr/bin/aker/aker.py", line 155, in init_connection

session.stop_sniffer()


 "/usr/bin/aker/session.py", line 37, in stop_sniffer

self._client.stop_sniffer()


 "/usr/bin/aker/SSHClient.py", line 38, in stop_sniffer

sniffer.stop()


 "/usr/bin/aker/snoop.py", line 164, in stop

self.log_file.write('Session End %s' % session_end)
AttributeError: 'NoneType' object has no attribute 'write'
