alex-hhh/ActivityLog2

Session Effort HR Zone calculation method stacktrace

nickb937 opened this issue · 2 comments

I experience the following stack trace when using the Session Effort dialog. This happens if I select the calculation method, HR Zone.

application: not a procedure;
 expected a procedure that can be applied to arguments
  given: #f
  arguments...:
   (object:connection% ...)
   1085
  context...:
   /home/nickb/src/ActivityLog2/rkt/dialogs/edit-session-tss.rkt:293:4: calculate-tss
   /usr/share/racket/pkgs/gui-lib/mred/private/wx/common/queue.rkt:435:6
   /usr/share/racket/pkgs/gui-lib/mred/private/wx/common/queue.rkt:486:32
   /usr/share/racket/pkgs/gui-lib/mred/private/wx/common/dialog.rkt:58:4: show method in dialog-mixin
   /usr/share/racket/collects/racket/private/more-scheme.rkt:148:2: call-with-break-parameterization
   /usr/share/racket/collects/racket/private/more-scheme.rkt:265:2: call-with-exception-handler
   /home/nickb/src/ActivityLog2/rkt/widgets/edit-dialog-base.rkt:154:4: do-edit method in edit-dialog-base%
   /home/nickb/src/ActivityLog2/rkt/dialogs/edit-session-tss.rkt:409:4: run method in edit-session-tss-dialog%
   /home/nickb/src/ActivityLog2/rkt/dialogs/activity-edit.rkt:186:4: on-edit-tss
   /usr/share/racket/pkgs/gui-lib/mred/private/mrmenu.rkt:250:14: command method in basic-selectable-menu-item%
   /usr/share/racket/collects/racket/private/more-scheme.rkt:148:2: call-with-break-parameterization
   /usr/share/racket/collects/racket/private/more-scheme.rkt:265:2: call-with-exception-handler
   /usr/share/racket/pkgs/gui-lib/mred/private/wx/common/queue.rkt:435:6
   /usr/share/racket/pkgs/gui-lib/mred/private/wx/common/queue.rkt:486:32
   /usr/share/racket/pkgs/gui-lib/mred/private/wx/common/queue.rkt:634:3


Thanks for reporting this, I pushed a fix to master -- I don't use HR based effort calculation myself, and this was missed.

Thanks. Confirmed working.