吱吱声5.1和海边控制面板

时间:2018-01-06 12:32:15

标签: squeak seaside

单击海边控制面板上的“浏览”按钮时,我收到DNU错误。

重现: 顶部菜单 - >应用程序 - >海边控制面板 - >浏览 - >抛出字典DNU #collectWithIndex:

调试器显示它出现在PluggableTreeMorph中,因此它是一个GUI问题。

我正在运行Squeak5.1-16548-64bit.image

包装安装如下:

 Installer gemsource
  project: 'metacello';
  addPackage: 'ConfigurationOfMetacello';
  install.

"Bootstrap Metacello Preview, using mcz files (#'previewBootstrap' symbolic version"
((Smalltalk at: #ConfigurationOfMetacello) project 
  version: #'previewBootstrap') load.

"Load the Preview version of Metacello from GitHub"
(Smalltalk at: #Metacello) new
  configuration: 'MetacelloPreview';
  version: #stable;
  repository: 'github://Metacello/metacello:configuration';
  load.

"Now load latest version of Metacello"
(Smalltalk at: #Metacello) new
  baseline: 'Metacello';
  repository: 'github://Metacello/metacello:master/repository';
  get.
(Smalltalk at: #Metacello) new
  baseline: 'Metacello';
  repository: 'github://Metacello/metacello:master/repository';
  load.


   Metacello new
        configuration: 'Seaside3';
        repository: 
    'http://www.smalltalkhub.com/mc/Seaside/MetacelloConfigurations/main';
        version: #stable;
        load: 'OneClick'.

(ConfigurationOfGrease project version: #stable) load

建议非常感谢。

THX

2 个答案:

答案 0 :(得分:0)

恭喜,你发现了一个错误;)Squeak方面有一个我们不知道的变化。我在这里打开了一个问题:https://github.com/SeasideSt/Seaside/issues/982

答案 1 :(得分:0)

在吱吱声5.1上新安装的seaside 3中,看来对我有用的是

WARequestHandlerBrowser>>#handlersOfDispatcher:
handlersOfDispatcher: aWADispatcher

    ^ aWADispatcher isDispatcher
        ifTrue: [ | list |
            list := OrderedCollection new.
            aWADispatcher handlers keysAndValuesDo: [:key :value |
                list add: value].
            list]
        ifFalse: [#()]