Spec error

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Spec error

Sean P. DeNigris
Administrator
When I tried to open my Spec UI (previously working in latest 2.0) in 3.0, I got ByteSymbol DNU specWidget:. What changed and how do I port? And if it's an intended change, we should have at least documentation for non-backward-compatible kernel changes...

Thanks.
Cheers,
Sean
Reply | Threaded
Open this post in threaded view
|

Re: Spec error

Benjamin Van Ryseghem (Pharo)
You are using a Symbol which used to be interpreted and which is not anymore
Without further information, I can not do much more

Ben

On Oct 12, 2013, at 3:53 PM, Sean P. DeNigris <[hidden email]> wrote:

When I tried to open my Spec UI (previously working in latest 2.0) in 3.0, I
got ByteSymbol DNU specWidget:. What changed and how do I port? And if it's
an intended change, we should have at least documentation for
non-backward-compatible kernel changes...

Thanks.



-----
Cheers,
Sean
--
View this message in context: http://forum.world.st/Spec-error-tp4714069.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.


Reply | Threaded
Open this post in threaded view
|

Re: Spec error

Sean P. DeNigris
Administrator
Benjamin Van Ryseghem-2 wrote
Without further information, I can not do much more
I sent #openDialogWithSpec, and the offending symbol is #DialogWindowSpec
Cheers,
Sean
Reply | Threaded
Open this post in threaded view
|

Re: Spec error

Benjamin Van Ryseghem (Pharo)
Try replacing it with DlalogWindowModel

Ben

On Oct 16, 2013, at 5:27 PM, Sean P. DeNigris <[hidden email]> wrote:

Benjamin Van Ryseghem-2 wrote
Without further information, I can not do much more

I sent #openDialogWithSpec, and the offending symbol is #DialogWindowSpec



-----
Cheers,
Sean
--
View this message in context: http://forum.world.st/Spec-error-tp4714069p4715018.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.


Reply | Threaded
Open this post in threaded view
|

Re: Spec error

Sean P. DeNigris
Administrator
I manually fed in an instance of by changing the code to:
    actionToPerformWithSelector: selector arguments: args
| instance |
instance := spec instance.
instance = #DialogWindowSpec ifTrue: [ instance := SpecDialogWindow new ].
^ instance perform: selector withArguments: args

But then I got: MessageNotUnderstood: ByteSymbol>>changeTableLayout (where the symbol was #Panel)

It seems that #actionToPerformWithSelector:arguments: expects "spec instance" to return an actual instance, but is getting Symbols instead. It seems to be a bug in Spec because none of this has anything to do with my code, and if I change "self new openDialogWithSpec" to "self new openWithSpec" it opens correctly.

On Oct 16, 2013, at 1:01 PM, "Benjamin Van Ryseghem-2 [via Smalltalk]" <[hidden email]> wrote:

Try replacing it with DlalogWindowModel

Ben

On Oct 16, 2013, at 5:27 PM, Sean P. DeNigris <<a href="x-msg://206/user/SendEmail.jtp?type=node&amp;node=4715064&amp;i=0" target="_top" rel="nofollow" link="external">[hidden email]> wrote:

Benjamin Van Ryseghem-2 wrote
Without further information, I can not do much more

I sent #openDialogWithSpec, and the offending symbol is #DialogWindowSpec



-----
Cheers,
Sean
--
View this message in context: http://forum.world.st/Spec-error-tp4714069p4715018.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.





If you reply to this email, your message will be added to the discussion below:
http://forum.world.st/Spec-error-tp4714069p4715064.html
To unsubscribe from Spec error, click here.
NAML

Cheers,
Sean
Reply | Threaded
Open this post in threaded view
|

Re: Spec error

Benjamin Van Ryseghem (Pharo)
It is indeed some left over from the Spec refactoring :)

I thought the code you were talking about was your code where actually it's part of Spec :)

I am fixing it right now :P

Ben

On Oct 16, 2013, at 9:50 PM, Sean P. DeNigris <[hidden email]> wrote:

I manually fed in an instance of by changing the code to:
    actionToPerformWithSelector: selector arguments: args
| instance |
instance := spec instance.
instance = #DialogWindowSpec ifTrue: [ instance := SpecDialogWindow new ].
^ instance perform: selector withArguments: args

But then I got: MessageNotUnderstood: ByteSymbol>>changeTableLayout (where the symbol was #Panel)

It seems that #actionToPerformWithSelector:arguments: expects "spec instance" to return an actual instance, but is getting Symbols instead. It seems to be a bug in Spec because none of this has anything to do with my code, and if I change "self new openDialogWithSpec" to "self new openWithSpec" it opens correctly.

On Oct 16, 2013, at 1:01 PM, "Benjamin Van Ryseghem-2 [via Smalltalk]" <<a href="x-msg://2874/user/SendEmail.jtp?type=node&amp;node=4715081&amp;i=0" target="_top" rel="nofollow" link="external">[hidden email]> wrote:

Try replacing it with DlalogWindowModel

Ben

On Oct 16, 2013, at 5:27 PM, Sean P. DeNigris <<a href="<a href="x-msg://206/user/SendEmail.jtp?type=node&amp;amp;node=4715064&amp;amp;i=0">x-msg://206/user/SendEmail.jtp?type=node&amp;node=4715064&amp;i=0" target="_top" rel="nofollow" link="external">[hidden email]> wrote:

Benjamin Van Ryseghem-2 wrote
Without further information, I can not do much more

I sent #openDialogWithSpec, and the offending symbol is #DialogWindowSpec



-----
Cheers,
Sean
--
View this message in context: http://forum.world.st/Spec-error-tp4714069p4715018.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.





If you reply to this email, your message will be added to the discussion below:
http://forum.world.st/Spec-error-tp4714069p4715064.html
To unsubscribe from Spec error, <a href="x-msg://2874/" target="_top" rel="nofollow" link="external">click here.
NAML

Cheers,
Sean


View this message in context: Re: Spec error
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.

Reply | Threaded
Open this post in threaded view
|

Re: Spec error

Benjamin Van Ryseghem (Pharo)
In reply to this post by Sean P. DeNigris
Fixed: https://pharo.fogbugz.com/default.asp?11916

Ben

On Oct 16, 2013, at 9:50 PM, Sean P. DeNigris <[hidden email]> wrote:

I manually fed in an instance of by changing the code to:
    actionToPerformWithSelector: selector arguments: args
| instance |
instance := spec instance.
instance = #DialogWindowSpec ifTrue: [ instance := SpecDialogWindow new ].
^ instance perform: selector withArguments: args

But then I got: MessageNotUnderstood: ByteSymbol>>changeTableLayout (where the symbol was #Panel)

It seems that #actionToPerformWithSelector:arguments: expects "spec instance" to return an actual instance, but is getting Symbols instead. It seems to be a bug in Spec because none of this has anything to do with my code, and if I change "self new openDialogWithSpec" to "self new openWithSpec" it opens correctly.

On Oct 16, 2013, at 1:01 PM, "Benjamin Van Ryseghem-2 [via Smalltalk]" <<a href="x-msg://2950/user/SendEmail.jtp?type=node&amp;node=4715081&amp;i=0" target="_top" rel="nofollow" link="external">[hidden email]> wrote:

Try replacing it with DlalogWindowModel

Ben

On Oct 16, 2013, at 5:27 PM, Sean P. DeNigris <<a href="<a href="x-msg://206/user/SendEmail.jtp?type=node&amp;amp;node=4715064&amp;amp;i=0">x-msg://206/user/SendEmail.jtp?type=node&amp;node=4715064&amp;i=0" target="_top" rel="nofollow" link="external">[hidden email]> wrote:

Benjamin Van Ryseghem-2 wrote
Without further information, I can not do much more

I sent #openDialogWithSpec, and the offending symbol is #DialogWindowSpec



-----
Cheers,
Sean
--
View this message in context: http://forum.world.st/Spec-error-tp4714069p4715018.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.





If you reply to this email, your message will be added to the discussion below:
http://forum.world.st/Spec-error-tp4714069p4715064.html
To unsubscribe from Spec error, <a href="x-msg://2950/" target="_top" rel="nofollow" link="external">click here.
NAML

Cheers,
Sean


View this message in context: Re: Spec error
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.

Reply | Threaded
Open this post in threaded view
|

Re: Spec error

Sean P. DeNigris
Administrator
Thanks


-------- Original message --------
From: "Benjamin Van Ryseghem-2 [via Smalltalk]" <[hidden email]>
Date: 10/17/2013 6:02 AM (GMT-05:00)
To: "Sean P. DeNigris" <[hidden email]>
Subject: Re: Spec error


Fixed: https://pharo.fogbugz.com/default.asp?11916

Ben

On Oct 16, 2013, at 9:50 PM, Sean P. DeNigris <[hidden email]> wrote:

I manually fed in an instance of by changing the code to:
    actionToPerformWithSelector: selector arguments: args
| instance |
instance := spec instance.
instance = #DialogWindowSpec ifTrue: [ instance := SpecDialogWindow new ].
^ instance perform: selector withArguments: args

But then I got: MessageNotUnderstood: ByteSymbol>>changeTableLayout (where the symbol was #Panel)

It seems that #actionToPerformWithSelector:arguments: expects "spec instance" to return an actual instance, but is getting Symbols instead. It seems to be a bug in Spec because none of this has anything to do with my code, and if I change "self new openDialogWithSpec" to "self new openWithSpec" it opens correctly.

On Oct 16, 2013, at 1:01 PM, "Benjamin Van Ryseghem-2 [via Smalltalk]" <<a href="x-msg://2950/user/SendEmail.jtp?type=node&amp;node=4715081&amp;i=0" target="_top" rel="nofollow" link="external">[hidden email]> wrote:

Try replacing it with DlalogWindowModel

Ben

On Oct 16, 2013, at 5:27 PM, Sean P. DeNigris <<a href="<a href="x-msg://206/user/SendEmail.jtp?type=node&amp;amp;node=4715064&amp;amp;i=0">x-msg://206/user/SendEmail.jtp?type=node&amp;node=4715064&amp;i=0" target="_top" rel="nofollow" link="external">[hidden email]> wrote:

Benjamin Van Ryseghem-2 wrote
Without further information, I can not do much more

I sent #openDialogWithSpec, and the offending symbol is #DialogWindowSpec



-----
Cheers,
Sean
--
View this message in context: http://forum.world.st/Spec-error-tp4714069p4715018.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.





If you reply to this email, your message will be added to the discussion below:
http://forum.world.st/Spec-error-tp4714069p4715064.html
To unsubscribe from Spec error, <a href="x-msg://2950/" target="_top" rel="nofollow" link="external">click here.
NAML

Cheers,
Sean


View this message in context: Re: Spec error
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.




If you reply to this email, your message will be added to the discussion below:
http://forum.world.st/Spec-error-tp4714069p4715238.html
To unsubscribe from Spec error, click here.
NAML
Cheers,
Sean