Traceback (most recent call last):
File "bin/timetracker", line 11, in
main()
File ".../TimeTracker-Linux/bin/../application.py", line 73, in main
App.callback(app, function = lambda f, _args, _kwargs: f(_args, _kwargs))
File ".../TimeTracker-Linux/bin/../application.py", line 44, in callback
super(App, self).callback(_args, _kwargs)
File "....../TimeTracker-Linux/bin/../libs/Signals.py", line 107, in callback
super(uiSignals, self).callback(_args, _kwargs) #executed after init, hopefully this will let me inject interrupts
File ".../TimeTracker-Linux/bin/../libs/Signals.py", line 14, in callback
super(uiSignalHelpers, self).callback(_args, _kwargs)
File ".../TimeTracker-Linux/bin/../libs/Logic.py", line 503, in callback
return kwargs.get("function")( lambda _args, _kwargs: _handle_callback(_args, _kwargs) )
File ".../TimeTracker-Linux/bin/../application.py", line 73, in
App.callback(app, function = lambda f, _args, _kwargs: f(_args, _kwargs))
File ".../TimeTracker-Linux/bin/../libs/Logic.py", line 503, in
return kwargs.get("function")( lambda _args, _kwargs: _handle_callback(_args, *_kwargs) )
File ".../TimeTracker-Linux/bin/../libs/Logic.py", line 501, in _handle_callback
return self._run_application()
File ".../TimeTracker-Linux/bin/../libs/Logic.py", line 515, in _run_application
self.connect_to_harvest()
File ".../TimeTracker-Linux/bin/../libs/Logic.py", line 597, in connect_to_harvest
if not self.check_harvest_up():
File ".../TimeTracker-Linux/bin/../libs/Logic.py", line 531, in check_harvest_up
if HarvestStatus().get() == "down":
File ".../TimeTracker-Linux/bin/../libs/Harvest.py", line 81, in get
return self.harvest['status']
TypeError: 'instancemethod' object has no attribute 'getitem'
fix:
change libs/Harvest.py line 81 to:
return self.harvest()['status']
Traceback (most recent call last): File "bin/timetracker", line 11, in
main()
File ".../TimeTracker-Linux/bin/../application.py", line 73, in main
App.callback(app, function = lambda f, _args, _kwargs: f(_args, _kwargs))
File ".../TimeTracker-Linux/bin/../application.py", line 44, in callback
super(App, self).callback(_args, _kwargs)
File "....../TimeTracker-Linux/bin/../libs/Signals.py", line 107, in callback
super(uiSignals, self).callback(_args, _kwargs) #executed after init, hopefully this will let me inject interrupts
File ".../TimeTracker-Linux/bin/../libs/Signals.py", line 14, in callback
super(uiSignalHelpers, self).callback(_args, _kwargs)
File ".../TimeTracker-Linux/bin/../libs/Logic.py", line 503, in callback
return kwargs.get("function")( lambda _args, _kwargs: _handle_callback(_args, _kwargs) )
File ".../TimeTracker-Linux/bin/../application.py", line 73, in
App.callback(app, function = lambda f, _args, _kwargs: f(_args, _kwargs))
File ".../TimeTracker-Linux/bin/../libs/Logic.py", line 503, in
return kwargs.get("function")( lambda _args, _kwargs: _handle_callback(_args, *_kwargs) )
File ".../TimeTracker-Linux/bin/../libs/Logic.py", line 501, in _handle_callback
return self._run_application()
File ".../TimeTracker-Linux/bin/../libs/Logic.py", line 515, in _run_application
self.connect_to_harvest()
File ".../TimeTracker-Linux/bin/../libs/Logic.py", line 597, in connect_to_harvest
if not self.check_harvest_up():
File ".../TimeTracker-Linux/bin/../libs/Logic.py", line 531, in check_harvest_up
if HarvestStatus().get() == "down":
File ".../TimeTracker-Linux/bin/../libs/Harvest.py", line 81, in get
return self.harvest['status']
TypeError: 'instancemethod' object has no attribute 'getitem'
fix:
change libs/Harvest.py line 81 to: return self.harvest()['status']