jackfirth / command-line-ext

A Racket package providing an extensible way to define command line scripts
5 stars 1 forks source link

tabs stopped working in DrRacket #21

Open spdegabrielle opened 3 years ago

spdegabrielle commented 3 years ago

Hi,

Opening a new tab would fail to create a new tab, and instead the existing tab would be used to display the opened file. the list of tabs still appeared in the 'window' menu.

removing command-line-ext stopped this error from occurring but it is possible that the error was caused by interactive-syntax. I've discounted quickscript scripts as only two are are currently installed, and neither have ui/tab code.

I'll see if I can identify the issue.

image

send: target is not an object
  target: #f
  method name: get-value
  context...:
   /Applications/Racket v7.9/collects/racket/private/class-internal.rkt:4663:0: obj-error
   /Users/spdegabrielle/Library/Racket/7.9/pkgs/drracket-cmdline-args/tool.rkt:95:8: update-text-field! method in unit-frame-mixin
   /Applications/Racket v7.9/share/pkgs/drracket/drracket/private/syncheck/gui.rkt:2119:8: on-tab-change method in unit-frame-mixin
   /Applications/Racket v7.9/share/pkgs/drracket/drracket/private/module-language-tools.rkt:112:6: on-tab-change method in frame-mixin
   /Applications/Racket v7.9/share/pkgs/drracket/drracket/private/tracing.rkt:177:6: on-tab-change method in frame-mixin
   /Applications/Racket v7.9/share/pkgs/drracket/drracket/private/debug.rkt:1204:6: on-tab-change method in test-coverage-frame-mixin
   /Applications/Racket v7.9/share/pkgs/drracket/drracket/private/debug.rkt:1930:6: on-tab-change method in profile-unit-frame-mixin
   /Applications/Racket v7.9/share/pkgs/drracket/drracket/private/unit.rkt:3093:6: change-to-tab method in frame-mixin
   /Applications/Racket v7.9/share/pkgs/drracket/drracket/private/unit.rkt:3063:8: create-new-tab method in frame-mixin
   /Applications/Racket v7.9/share/pkgs/drracket/drracket/private/unit.rkt:5566:2: open-drscheme-window
   /Applications/Racket v7.9/collects/racket/contract/private/arrow-higher-order.rkt:375:33
   /Applications/Racket v7.9/collects/racket/contract/private/arrow-val-first.rkt:489:18
   /Applications/Racket v7.9/share/pkgs/gui-lib/mred/private/mrmenu.rkt:250:14: command method in basic-selectable-menu-item%
   /Applications/Racket v7.9/collects/racket/private/more-scheme.rkt:148:2: call-with-break-parameterization
   /Applications/Racket v7.9/collects/racket/private/more-scheme.rkt:266:2: call-with-exception-handler
   /Applications/Racket v7.9/share/pkgs/gui-lib/mred/private/wx/common/queue.rkt:435:6
jackfirth commented 3 years ago

Huh, that's really bizarre. I have no idea at all what in command-line-ext could cause that.

spdegabrielle commented 3 years ago

I think it's a problem with interactive-syntax