subscript out of bounds in protocol creation
Hi, I realized that sometimes, when creating new protocols, it appears an error "subscript out of bounds: 1". I have not been able -yet- to reproduce it from a clean image, but it happens often (at least to me). It seems to me that it has something to do with protocol creation before any method has been written, but I am still investigating. I used the latest image downloaded yesterday, and it still happens. I browsed fogbuz looking for this error before reporting it, but I could not find it. I did not search thorougly, though. Just to let you know... Bests, and thanks a lot for the work you are doing. It's amazing. Jordi
I had the same problem. I had to reload my project from a fresh image to solve it. Very hard to reproduce. In addition, after editing a few method you cannot anymore edit the class comment (you need to open another Nautilus to do it). 2014/1/31 Jordi Delgado <jdelgado@lsi.upc.edu>
Hi,
I realized that sometimes, when creating new protocols, it appears an error "subscript out of bounds: 1". I have not been able -yet- to reproduce it from a clean image, but it happens often (at least to me). It seems to me that it has something to do with protocol creation before any method has been written, but I am still investigating.
I used the latest image downloaded yesterday, and it still happens.
I browsed fogbuz looking for this error before reporting it, but I could not find it. I did not search thorougly, though.
Just to let you know...
Bests, and thanks a lot for the work you are doing. It's amazing.
Jordi
2014-01-31 Clément Bera <bera.clement@gmail.com>:
I had the same problem. I had to reload my project from a fresh image to solve it. Very hard to reproduce.
In addition, after editing a few method you cannot anymore edit the class comment (you need to open another Nautilus to do it).
That was me, sorry for this. It is fixed in 30725. Nicolai
2014-01-31 Jordi Delgado <jdelgado@lsi.upc.edu>:
Hi,
I realized that sometimes, when creating new protocols, it appears an error "subscript out of bounds: 1". I have not been able -yet- to reproduce it from a clean image, but it happens often (at least to me). It seems to me that it has something to do with protocol creation before any method has been written, but I am still investigating.
I used the latest image downloaded yesterday, and it still happens.
I browsed fogbuz looking for this error before reporting it, but I could not find it. I did not search thorougly, though.
Just to let you know...
Bests, and thanks a lot for the work you are doing. It's amazing.
Jordi
Hi, yes there are two (or three?) reports for that kind of issue. And maybe there are more than one bug responsible for this issue. At least two bugs, I have found, are described in this report 12469 <https://pharo.fogbugz.com/default.asp?12469> Sometimes an empty protocol is created I didn't provide a solution for this, as I had problems createing a slice, that only incude those changes. Nicolai
Hi, Am 31.01.2014 um 08:36 schrieb Jordi Delgado <jdelgado@lsi.upc.edu>:
Hi,
I realized that sometimes, when creating new protocols, it appears an error "subscript out of bounds: 1". I have not been able -yet- to reproduce it from a clean image, but it happens often (at least to me). It seems to me that it has something to do with protocol creation before any method has been written, but I am still investigating.
I guess I can produce this easily :-) Just hit âAdd protocolâ¦â in the popup menu of the method protocol pane. Enter a name like âprivateâ in the dialog. And then press enter without selecting anything in the listbox above. And voilà ⦠Regards, Andreas
Hi, With a fresh image, I do that with a class randomly selected (obviously, with no class selected nothing happens) and the protocol gets added without problems. Then, I choose another class, again I pick a random one, and after doing exactly the same the error appears. Why? No clue. I said that the error is difficult to reproduce because sometimes it appears, and sometimes not. And I am not able to ascertain the circumstances under which it will pop up. Bests, Jordi
Hi,
Am 31.01.2014 um 08:36 schrieb Jordi Delgado <jdelgado@lsi.upc.edu>:
Hi,
I realized that sometimes, when creating new protocols, it appears an error "subscript out of bounds: 1". I have not been able -yet- to reproduce it from a clean image, but it happens often (at least to me). It seems to me that it has something to do with protocol creation before any method has been written, but I am still investigating.
I guess I can produce this easily :-) Just hit ÂAdd protocol  in the popup menu of the method protocol pane. Enter a name like Âprivate in the dialog. And then press enter without selecting anything in the listbox above. And voilà Â
Regards, Andreas
Hi Jordi and all, here is my detailed receipt with a freshly downloaded 30733.zip from Pharo files: 1. Open Nautilus 2. Select an arbitrary package 3. Select an arbitrary class from that package 4. Right-click in the methods panel and select âAdd protocolâ¦â from the popup menu. 5. Enter âprivateâ in the dialog without selecting any entry in the listbox on top. 6. Hit âenterâ or press âOKâ with a left-click. -> Bummer! A cascade of 3 "SubscriptOutOfBounce: 1â pre-debuggers. Regards, Andreas Am 01.02.2014 um 11:46 schrieb Jordi Delgado <jdelgado@lsi.upc.edu>:
Hi,
With a fresh image, I do that with a class randomly selected (obviously, with no class selected nothing happens) and the protocol gets added without problems. Then, I choose another class, again I pick a random one, and after doing exactly the same the error appears. Why? No clue.
I said that the error is difficult to reproduce because sometimes it appears, and sometimes not. And I am not able to ascertain the circumstances under which it will pop up.
Bests,
Jordi
Hi,
Am 31.01.2014 um 08:36 schrieb Jordi Delgado <jdelgado@lsi.upc.edu>:
Hi,
I realized that sometimes, when creating new protocols, it appears an error "subscript out of bounds: 1". I have not been able -yet- to reproduce it from a clean image, but it happens often (at least to me). It seems to me that it has something to do with protocol creation before any method has been written, but I am still investigating.
I guess I can produce this easily :-) Just hit âAdd protocolâ¦â in the popup menu of the method protocol pane. Enter a name like âprivateâ in the dialog. And then press enter without selecting anything in the listbox above. And voilà â¦
Regards, Andreas
Am 01.02.2014 um 12:02 schrieb Andreas Wacknitz <a.wacknitz@gmx.de>:
Hi Jordi and all,
here is my detailed receipt with a freshly downloaded 30733.zip from Pharo files:
1. Open Nautilus 2. Select an arbitrary package 3. Select an arbitrary class from that package 4. Right-click in the methods panel and select âAdd protocolâ¦â from the popup menu. Sorry, I was a little bit imprecise here: You need to right-click in the "method categoryâ (or method protocol, I donât know the correct term) panel to add a new protocolâ¦
5. Enter âprivateâ in the dialog without selecting any entry in the listbox on top. 6. Hit âenterâ or press âOKâ with a left-click.
-> Bummer! A cascade of 3 "SubscriptOutOfBounce: 1â pre-debuggers.
Regards, Andreas
Am 01.02.2014 um 11:46 schrieb Jordi Delgado <jdelgado@lsi.upc.edu>:
Hi,
With a fresh image, I do that with a class randomly selected (obviously, with no class selected nothing happens) and the protocol gets added without problems. Then, I choose another class, again I pick a random one, and after doing exactly the same the error appears. Why? No clue.
I said that the error is difficult to reproduce because sometimes it appears, and sometimes not. And I am not able to ascertain the circumstances under which it will pop up.
Bests,
Jordi
Hi,
Am 31.01.2014 um 08:36 schrieb Jordi Delgado <jdelgado@lsi.upc.edu>:
Hi,
I realized that sometimes, when creating new protocols, it appears an error "subscript out of bounds: 1". I have not been able -yet- to reproduce it from a clean image, but it happens often (at least to me). It seems to me that it has something to do with protocol creation before any method has been written, but I am still investigating.
I guess I can produce this easily :-) Just hit âAdd protocolâ¦â in the popup menu of the method protocol pane. Enter a name like âprivateâ in the dialog. And then press enter without selecting anything in the listbox above. And voilà â¦
Regards, Andreas
That's what I mean, I did *exactly* that, and the chosen class was KMKeymapBuilder (from Keymapping-Pragmas package). The private protocol was added with no problem. So...? No idea. Bests, Jordi PS: Also with a freshly 30733 image downloaded
Hi Jordi and all,
here is my detailed receipt with a freshly downloaded 30733.zip from Pharo files:
1. Open Nautilus 2. Select an arbitrary package 3. Select an arbitrary class from that package 4. Right-click in the methods panel and select ÂAdd protocol  from the popup menu. 5. Enter Âprivate in the dialog without selecting any entry in the listbox on top. 6. Hit Âenter or press ÂOK with a left-click.
-> Bummer! A cascade of 3 "SubscriptOutOfBounce: 1Â pre-debuggers.
Regards, Andreas
Am 01.02.2014 um 11:46 schrieb Jordi Delgado <jdelgado@lsi.upc.edu>:
Hi,
With a fresh image, I do that with a class randomly selected (obviously, with no class selected nothing happens) and the protocol gets added without problems. Then, I choose another class, again I pick a random one, and after doing exactly the same the error appears. Why? No clue.
I said that the error is difficult to reproduce because sometimes it appears, and sometimes not. And I am not able to ascertain the circumstances under which it will pop up.
Bests,
Jordi
Hi,
Am 31.01.2014 um 08:36 schrieb Jordi Delgado <jdelgado@lsi.upc.edu>:
Hi,
I realized that sometimes, when creating new protocols, it appears an error "subscript out of bounds: 1". I have not been able -yet- to reproduce it from a clean image, but it happens often (at least to me). It seems to me that it has something to do with protocol creation before any method has been written, but I am still investigating.
I guess I can produce this easily :-) Just hit ÂAdd protocol  in the popup menu of the method protocol pane. Enter a name like Âprivate in the dialog. And then press enter without selecting anything in the listbox above. And voilà Â
Regards, Andreas
Am 01.02.2014 um 16:41 schrieb Jordi Delgado <jdelgado@lsi.upc.edu>:
That's what I mean, I did *exactly* that, and the chosen class was KMKeymapBuilder (from Keymapping-Pragmas package). The private protocol was added with no problem. So...? No idea.
Bests,
Jordi
PS: Also with a freshly 30733 image downloaded
OK, I tried it with KMKeymapBuilder and got the errors. So we need to check for the operating system and VM. On my machine (OSX 10.9.1) System Reporter says for VM General: Virtual Machine --------------- /Applications/Pharo.app/Contents/MacOS/Pharo NBCoInterpreter NativeBoost-CogPlugin-GuillermoPolito.19 uuid: acc98e51-2fba-4841-a965-2975997bba66 Dec 12 2013 NBCogit NativeBoost-CogPlugin-GuillermoPolito.19 uuid: acc98e51-2fba-4841-a965-2975997bba66 Dec 12 2013 https://github.com/pharo-project/pharo-vm.git Commit: 71adca113a9aff2876288927e5c1c86bf7ac13e2 Date: 2013-12-07 05:00:47 -0800 By: Philippe Back <philippeback@gmail.com> Jenkins build #14777 Mac Cocoa Cog 5.8b12 21-Sep-10 >1B0534FA-246C-47C5-AB29-7A76C81CCDCB< VMMaker versionString https://github.com/pharo-project/pharo-vm.git Commit: 71adca113a9aff2876288927e5c1c86bf7ac13e2 Date: 2013-12-07 05:00:47 -0800 By: Philippe Back <philippeback@gmail.com> Jenkins build #14777 NBCoInterpreter NativeBoost-CogPlugin-GuillermoPolito.19 uuid: acc98e51-2fba-4841-a965-2975997bba66 Dec 12 2013 NBCogit NativeBoost-CogPlugin-GuillermoPolito.19 uuid: acc98e51-2fba-4841-a965-2975997bba66 Dec 12 2013 What are you using? Regards, Andreas
Hi Jordi and all,
here is my detailed receipt with a freshly downloaded 30733.zip from Pharo files:
1. Open Nautilus 2. Select an arbitrary package 3. Select an arbitrary class from that package 4. Right-click in the methods panel and select âAdd protocolâ¦â from the popup menu. 5. Enter âprivateâ in the dialog without selecting any entry in the listbox on top. 6. Hit âenterâ or press âOKâ with a left-click.
-> Bummer! A cascade of 3 "SubscriptOutOfBounce: 1â pre-debuggers.
Regards, Andreas
Am 01.02.2014 um 11:46 schrieb Jordi Delgado <jdelgado@lsi.upc.edu>:
Hi,
With a fresh image, I do that with a class randomly selected (obviously, with no class selected nothing happens) and the protocol gets added without problems. Then, I choose another class, again I pick a random one, and after doing exactly the same the error appears. Why? No clue.
I said that the error is difficult to reproduce because sometimes it appears, and sometimes not. And I am not able to ascertain the circumstances under which it will pop up.
Bests,
Jordi
Hi,
Am 31.01.2014 um 08:36 schrieb Jordi Delgado <jdelgado@lsi.upc.edu>:
Hi,
I realized that sometimes, when creating new protocols, it appears an error "subscript out of bounds: 1". I have not been able -yet- to reproduce it from a clean image, but it happens often (at least to me). It seems to me that it has something to do with protocol creation before any method has been written, but I am still investigating.
I guess I can produce this easily :-) Just hit âAdd protocolâ¦â in the popup menu of the method protocol pane. Enter a name like âprivateâ in the dialog. And then press enter without selecting anything in the listbox above. And voilà â¦
Regards, Andreas
Hi, I downloaded the most recent image with the most recent VM. I'm using a macbook air with Mountain Lion 10.8.5, image 30733 and System Reporter says: Virtual Machine --------------- /Users/jdelgado/Smalltalk/Pharo-latest/Pharo.app/Contents/MacOS/Pharo NBCoInterpreter NativeBoost-CogPlugin-GuillermoPolito.19 uuid: acc98e51-2fba-4841-a965-2975997bba66 Dec 26 2013 NBCogit NativeBoost-CogPlugin-GuillermoPolito.19 uuid: acc98e51-2fba-4841-a965-2975997bba66 Dec 26 2013 https://github.com/pharo-project/pharo-vm.git Commit: e698e14f38003258fa49506b14307d83863a5ac1 Date: 2013-12-16 06:32:59 -0800 By: Esteban Lorenzano <estebanlm@gmail.com> Jenkins build #14780 Mac Cocoa Cog 5.8b12 21-Sep-10 >1B0534FA-246C-47C5-AB29-7A76C81CCDCB< VMMaker versionString https://github.com/pharo-project/pharo-vm.git Commit: e698e14f38003258fa49506b14307d83863a5ac1 Date: 2013-12-16 06:32:59 -0800 By: Esteban Lorenzano <estebanlm@gmail.com> Jenkins build #14780 NBCoInterpreter NativeBoost-CogPlugin-GuillermoPolito.19 uuid: acc98e51-2fba-4841-a965-2975997bba66 Dec 26 2013 NBCogit NativeBoost-CogPlugin-GuillermoPolito.19 uuid: acc98e51-2fba-4841-a965-2975997bba66 Dec 26 2013 However: This time the error does not appear, no matter what I do. Maybe it's solved (?) Bests, Jordi
Am 01.02.2014 um 16:41 schrieb Jordi Delgado <jdelgado@lsi.upc.edu>:
That's what I mean, I did *exactly* that, and the chosen class was KMKeymapBuilder (from Keymapping-Pragmas package). The private protocol was added with no problem. So...? No idea.
Bests,
Jordi
PS: Also with a freshly 30733 image downloaded
OK, I tried it with KMKeymapBuilder and got the errors. So we need to check for the operating system and VM. On my machine (OSX 10.9.1) System Reporter says for VM General:
Virtual Machine --------------- /Applications/Pharo.app/Contents/MacOS/Pharo NBCoInterpreter NativeBoost-CogPlugin-GuillermoPolito.19 uuid: acc98e51-2fba-4841-a965-2975997bba66 Dec 12 2013 NBCogit NativeBoost-CogPlugin-GuillermoPolito.19 uuid: acc98e51-2fba-4841-a965-2975997bba66 Dec 12 2013 https://github.com/pharo-project/pharo-vm.git Commit: 71adca113a9aff2876288927e5c1c86bf7ac13e2 Date: 2013-12-07 05:00:47 -0800 By: Philippe Back <philippeback@gmail.com> Jenkins build #14777
Mac Cocoa Cog 5.8b12 21-Sep-10 >1B0534FA-246C-47C5-AB29-7A76C81CCDCB< VMMaker versionString https://github.com/pharo-project/pharo-vm.git Commit: 71adca113a9aff2876288927e5c1c86bf7ac13e2 Date: 2013-12-07 05:00:47 -0800 By: Philippe Back <philippeback@gmail.com> Jenkins build #14777 NBCoInterpreter NativeBoost-CogPlugin-GuillermoPolito.19 uuid: acc98e51-2fba-4841-a965-2975997bba66 Dec 12 2013 NBCogit NativeBoost-CogPlugin-GuillermoPolito.19 uuid: acc98e51-2fba-4841-a965-2975997bba66 Dec 12 2013
What are you using?
Regards, Andreas
Hi Jordi and all,
here is my detailed receipt with a freshly downloaded 30733.zip from Pharo files:
1. Open Nautilus 2. Select an arbitrary package 3. Select an arbitrary class from that package 4. Right-click in the methods panel and select ÂAdd protocol  from the popup menu. 5. Enter Âprivate in the dialog without selecting any entry in the listbox on top. 6. Hit Âenter or press ÂOK with a left-click.
-> Bummer! A cascade of 3 "SubscriptOutOfBounce: 1Â pre-debuggers.
Regards, Andreas
Am 01.02.2014 um 11:46 schrieb Jordi Delgado <jdelgado@lsi.upc.edu>:
Hi,
With a fresh image, I do that with a class randomly selected (obviously, with no class selected nothing happens) and the protocol gets added without problems. Then, I choose another class, again I pick a random one, and after doing exactly the same the error appears. Why? No clue.
I said that the error is difficult to reproduce because sometimes it appears, and sometimes not. And I am not able to ascertain the circumstances under which it will pop up.
Bests,
Jordi
Hi,
Am 31.01.2014 um 08:36 schrieb Jordi Delgado <jdelgado@lsi.upc.edu>:
Hi,
I realized that sometimes, when creating new protocols, it appears an error "subscript out of bounds: 1". I have not been able -yet- to reproduce it from a clean image, but it happens often (at least to me). It seems to me that it has something to do with protocol creation before any method has been written, but I am still investigating.
I guess I can produce this easily :-) Just hit ÂAdd protocol  in the popup menu of the method protocol pane. Enter a name like Âprivate in the dialog. And then press enter without selecting anything in the listbox above. And voilà Â
Regards, Andreas
2014-02-02 Jordi Delgado <jdelgado@lsi.upc.edu>:
Hi,
I downloaded the most recent image with the most recent VM. I'm using a macbook air with Mountain Lion 10.8.5, image 30733 and System Reporter says:
Virtual Machine --------------- /Users/jdelgado/Smalltalk/Pharo-latest/Pharo.app/Contents/MacOS/Pharo NBCoInterpreter NativeBoost-CogPlugin-GuillermoPolito.19 uuid: acc98e51-2fba-4841-a965-2975997bba66 Dec 26 2013 NBCogit NativeBoost-CogPlugin-GuillermoPolito.19 uuid: acc98e51-2fba-4841-a965-2975997bba66 Dec 26 2013 https://github.com/pharo-project/pharo-vm.git Commit: e698e14f38003258fa49506b14307d83863a5ac1 Date: 2013-12-16 06:32:59 -0800 By: Esteban Lorenzano <estebanlm@gmail.com> Jenkins build #14780
Mac Cocoa Cog 5.8b12 21-Sep-10 >1B0534FA-246C-47C5-AB29-7A76C81CCDCB< VMMaker versionString https://github.com/pharo-project/pharo-vm.gitCommit: e698e14f38003258fa49506b14307d83863a5ac1 Date: 2013-12-16 06:32:59 -0800 By: Esteban Lorenzano <estebanlm@gmail.com> Jenkins build #14780 NBCoInterpreter NativeBoost-CogPlugin-GuillermoPolito.19 uuid: acc98e51-2fba-4841-a965-2975997bba66 Dec 26 2013 NBCogit NativeBoost-CogPlugin-GuillermoPolito.19 uuid: acc98e51-2fba-4841-a965-2975997bba66 Dec 26 2013
However: This time the error does not appear, no matter what I do. Maybe it's solved (?)
Bests,
Jordi
Am 01.02.2014 um 16:41 schrieb Jordi Delgado <jdelgado@lsi.upc.edu>:
That's what I mean, I did *exactly* that, and the chosen class was KMKeymapBuilder (from Keymapping-Pragmas package). The private protocol was added with no problem. So...? No idea.
Bests,
Jordi
PS: Also with a freshly 30733 image downloaded
OK, I tried it with KMKeymapBuilder and got the errors. So we need to check for the operating system and VM. On my machine (OSX 10.9.1) System Reporter says for VM General:
Virtual Machine --------------- /Applications/Pharo.app/Contents/MacOS/Pharo NBCoInterpreter NativeBoost-CogPlugin-GuillermoPolito.19 uuid:
acc98e51-2fba-4841-a965-2975997bba66 Dec 12 2013
NBCogit NativeBoost-CogPlugin-GuillermoPolito.19 uuid: acc98e51-2fba-4841-a965-2975997bba66 Dec 12 2013 https://github.com/pharo-project/pharo-vm.git Commit: 71adca113a9aff2876288927e5c1c86bf7ac13e2 Date: 2013-12-07 05:00:47 -0800 By: Philippe Back <philippeback@gmail.com> Jenkins build #14777
Mac Cocoa Cog 5.8b12 21-Sep-10 >1B0534FA-246C-47C5-AB29-7A76C81CCDCB< VMMaker versionString https://github.com/pharo-project/pharo-vm.gitCommit: 71adca113a9aff2876288927e5c1c86bf7ac13e2 Date: 2013-12-07 05:00:47 -0800 By: Philippe Back <philippeback@gmail.com> Jenkins build #14777 NBCoInterpreter NativeBoost-CogPlugin-GuillermoPolito.19 uuid: acc98e51-2fba-4841-a965-2975997bba66 Dec 12 2013 NBCogit NativeBoost-CogPlugin-GuillermoPolito.19 uuid: acc98e51-2fba-4841-a965-2975997bba66 Dec 12 2013
What are you using?
Regards, Andreas
Hi Jordi and all,
here is my detailed receipt with a freshly downloaded 30733.zip from
Pharo files:
1. Open Nautilus 2. Select an arbitrary package 3. Select an arbitrary class from that package 4. Right-click in the methods panel and select "Add protocol..."
from the popup menu.
5. Enter "private" in the dialog without selecting any entry in the listbox on top. 6. Hit "enter" or press "OK" with a left-click.
-> Bummer! A cascade of 3 "SubscriptOutOfBounce: 1" pre-debuggers.
Regards, Andreas
Am 01.02.2014 um 11:46 schrieb Jordi Delgado <jdelgado@lsi.upc.edu>:
Hi,
With a fresh image, I do that with a class randomly selected (obviously, with no class selected nothing happens) and the protocol gets added without problems. Then, I choose another class, again I pick a random one, and after doing exactly the same the error appears. Why? No clue.
I said that the error is difficult to reproduce because sometimes it appears, and sometimes not. And I am not able to ascertain the circumstances under which it will pop up.
Bests,
Jordi
Hi,
Am 31.01.2014 um 08:36 schrieb Jordi Delgado <jdelgado@lsi.upc.edu :
Hi,
I realized that sometimes, when creating new protocols, it appears an error "subscript out of bounds: 1". I have not been able -yet- to reproduce it from a clean image, but it happens often (at least to me). It seems to me that it has something to do with protocol creation before any method has been written, but I am still investigating.
I guess I can produce this easily :-) Just hit "Add protocol..." in the popup menu of the method protocol pane. Enter a name like "private" in the dialog. And then press enter without selecting anything in the listbox above. And voilà ...
Regards, Andreas
Not fixed in 30733, but now in 30735.
Great! Thanks a lot! Bests, Jordi
2014-02-02 Jordi Delgado <jdelgado@lsi.upc.edu>:
Hi,
I downloaded the most recent image with the most recent VM. I'm using a macbook air with Mountain Lion 10.8.5, image 30733 and System Reporter says:
Virtual Machine --------------- /Users/jdelgado/Smalltalk/Pharo-latest/Pharo.app/Contents/MacOS/Pharo NBCoInterpreter NativeBoost-CogPlugin-GuillermoPolito.19 uuid: acc98e51-2fba-4841-a965-2975997bba66 Dec 26 2013 NBCogit NativeBoost-CogPlugin-GuillermoPolito.19 uuid: acc98e51-2fba-4841-a965-2975997bba66 Dec 26 2013 https://github.com/pharo-project/pharo-vm.git Commit: e698e14f38003258fa49506b14307d83863a5ac1 Date: 2013-12-16 06:32:59 -0800 By: Esteban Lorenzano <estebanlm@gmail.com> Jenkins build #14780
Mac Cocoa Cog 5.8b12 21-Sep-10 >1B0534FA-246C-47C5-AB29-7A76C81CCDCB< VMMaker versionString https://github.com/pharo-project/pharo-vm.gitCommit: e698e14f38003258fa49506b14307d83863a5ac1 Date: 2013-12-16 06:32:59 -0800 By: Esteban Lorenzano <estebanlm@gmail.com> Jenkins build #14780 NBCoInterpreter NativeBoost-CogPlugin-GuillermoPolito.19 uuid: acc98e51-2fba-4841-a965-2975997bba66 Dec 26 2013 NBCogit NativeBoost-CogPlugin-GuillermoPolito.19 uuid: acc98e51-2fba-4841-a965-2975997bba66 Dec 26 2013
However: This time the error does not appear, no matter what I do. Maybe it's solved (?)
Bests,
Jordi
Am 01.02.2014 um 16:41 schrieb Jordi Delgado <jdelgado@lsi.upc.edu>:
That's what I mean, I did *exactly* that, and the chosen class was KMKeymapBuilder (from Keymapping-Pragmas package). The private protocol was added with no problem. So...? No idea.
Bests,
Jordi
PS: Also with a freshly 30733 image downloaded
OK, I tried it with KMKeymapBuilder and got the errors. So we need to check for the operating system and VM. On my machine (OSX 10.9.1) System Reporter says for VM General:
Virtual Machine --------------- /Applications/Pharo.app/Contents/MacOS/Pharo NBCoInterpreter NativeBoost-CogPlugin-GuillermoPolito.19 uuid:
acc98e51-2fba-4841-a965-2975997bba66 Dec 12 2013
NBCogit NativeBoost-CogPlugin-GuillermoPolito.19 uuid: acc98e51-2fba-4841-a965-2975997bba66 Dec 12 2013 https://github.com/pharo-project/pharo-vm.git Commit: 71adca113a9aff2876288927e5c1c86bf7ac13e2 Date: 2013-12-07 05:00:47 -0800 By: Philippe Back <philippeback@gmail.com> Jenkins build #14777
Mac Cocoa Cog 5.8b12 21-Sep-10 >1B0534FA-246C-47C5-AB29-7A76C81CCDCB< VMMaker versionString https://github.com/pharo-project/pharo-vm.gitCommit: 71adca113a9aff2876288927e5c1c86bf7ac13e2 Date: 2013-12-07 05:00:47 -0800 By: Philippe Back <philippeback@gmail.com> Jenkins build #14777 NBCoInterpreter NativeBoost-CogPlugin-GuillermoPolito.19 uuid: acc98e51-2fba-4841-a965-2975997bba66 Dec 12 2013 NBCogit NativeBoost-CogPlugin-GuillermoPolito.19 uuid: acc98e51-2fba-4841-a965-2975997bba66 Dec 12 2013
What are you using?
Regards, Andreas
Hi Jordi and all,
here is my detailed receipt with a freshly downloaded 30733.zip from
Pharo files:
1. Open Nautilus 2. Select an arbitrary package 3. Select an arbitrary class from that package 4. Right-click in the methods panel and select "Add protocol..."
from the popup menu.
5. Enter "private" in the dialog without selecting any entry in the listbox on top. 6. Hit "enter" or press "OK" with a left-click.
-> Bummer! A cascade of 3 "SubscriptOutOfBounce: 1" pre-debuggers.
Regards, Andreas
Am 01.02.2014 um 11:46 schrieb Jordi Delgado <jdelgado@lsi.upc.edu>:
Hi,
With a fresh image, I do that with a class randomly selected (obviously, with no class selected nothing happens) and the protocol gets added without problems. Then, I choose another class, again I pick a random one, and after doing exactly the same the error appears. Why? No clue.
I said that the error is difficult to reproduce because sometimes it appears, and sometimes not. And I am not able to ascertain the circumstances under which it will pop up.
Bests,
Jordi
Hi,
Am 31.01.2014 um 08:36 schrieb Jordi Delgado <jdelgado@lsi.upc.edu :
Hi,
I realized that sometimes, when creating new protocols, it appears an error "subscript out of bounds: 1". I have not been able -yet- to reproduce it from a clean image, but it happens often (at least to me). It seems to me that it has something to do with protocol creation before any method has been written, but I am still investigating.
I guess I can produce this easily :-) Just hit "Add protocol..." in the popup menu of the method protocol pane. Enter a name like "private" in the dialog. And then press enter without selecting anything in the listbox above. And voilà ...
Regards, Andreas
Not fixed in 30733, but now in 30735.
tx this is nice to have a reproducible case. Like take we will fix it :) On 01 Feb 2014, at 12:02, Andreas Wacknitz <a.wacknitz@gmx.de> wrote:
Hi Jordi and all,
here is my detailed receipt with a freshly downloaded 30733.zip from Pharo files:
1. Open Nautilus 2. Select an arbitrary package 3. Select an arbitrary class from that package 4. Right-click in the methods panel and select âAdd protocolâ¦â from the popup menu. 5. Enter âprivateâ in the dialog without selecting any entry in the listbox on top. 6. Hit âenterâ or press âOKâ with a left-click.
-> Bummer! A cascade of 3 "SubscriptOutOfBounce: 1â pre-debuggers.
Regards, Andreas
Am 01.02.2014 um 11:46 schrieb Jordi Delgado <jdelgado@lsi.upc.edu>:
Hi,
With a fresh image, I do that with a class randomly selected (obviously, with no class selected nothing happens) and the protocol gets added without problems. Then, I choose another class, again I pick a random one, and after doing exactly the same the error appears. Why? No clue.
I said that the error is difficult to reproduce because sometimes it appears, and sometimes not. And I am not able to ascertain the circumstances under which it will pop up.
Bests,
Jordi
Hi,
Am 31.01.2014 um 08:36 schrieb Jordi Delgado <jdelgado@lsi.upc.edu>:
Hi,
I realized that sometimes, when creating new protocols, it appears an error "subscript out of bounds: 1". I have not been able -yet- to reproduce it from a clean image, but it happens often (at least to me). It seems to me that it has something to do with protocol creation before any method has been written, but I am still investigating.
I guess I can produce this easily :-) Just hit âAdd protocolâ¦â in the popup menu of the method protocol pane. Enter a name like âprivateâ in the dialog. And then press enter without selecting anything in the listbox above. And voilà â¦
Regards, Andreas
Hi again, Alas itâs not that easy. I made more experiments after Jordi reported that he wasnât able to reproduce the problem with my steps. On my Mac I had installed the latest stable (December 12th, 2013) PharoVM. On my Windows PC I have installed the latest stable (December 7th, 2013) PharoVM. Whereas on Mac I could reproduce the problem easily (every time I tried), itâs not happening on Windows at the moment. But I can remember having the same problem on my Windows PC. Furthermore, when using the newest PharoVM on Mac (build 304 from files.pharo.org) I donât have the problem at the moment! So the VM seems to be involved⦠Regards, Andreas Am 01.02.2014 um 23:29 schrieb Pharo4Stef <pharo4Stef@free.fr>:
tx
this is nice to have a reproducible case. Like take we will fix it :)
On 01 Feb 2014, at 12:02, Andreas Wacknitz <a.wacknitz@gmx.de> wrote:
Hi Jordi and all,
here is my detailed receipt with a freshly downloaded 30733.zip from Pharo files:
1. Open Nautilus 2. Select an arbitrary package 3. Select an arbitrary class from that package 4. Right-click in the methods panel and select âAdd protocolâ¦â from the popup menu. 5. Enter âprivateâ in the dialog without selecting any entry in the listbox on top. 6. Hit âenterâ or press âOKâ with a left-click.
-> Bummer! A cascade of 3 "SubscriptOutOfBounce: 1â pre-debuggers.
Regards, Andreas
Am 01.02.2014 um 11:46 schrieb Jordi Delgado <jdelgado@lsi.upc.edu>:
Hi,
With a fresh image, I do that with a class randomly selected (obviously, with no class selected nothing happens) and the protocol gets added without problems. Then, I choose another class, again I pick a random one, and after doing exactly the same the error appears. Why? No clue.
I said that the error is difficult to reproduce because sometimes it appears, and sometimes not. And I am not able to ascertain the circumstances under which it will pop up.
Bests,
Jordi
Hi,
Am 31.01.2014 um 08:36 schrieb Jordi Delgado <jdelgado@lsi.upc.edu>:
Hi,
I realized that sometimes, when creating new protocols, it appears an error "subscript out of bounds: 1". I have not been able -yet- to reproduce it from a clean image, but it happens often (at least to me). It seems to me that it has something to do with protocol creation before any method has been written, but I am still investigating.
I guess I can produce this easily :-) Just hit âAdd protocolâ¦â in the popup menu of the method protocol pane. Enter a name like âprivateâ in the dialog. And then press enter without selecting anything in the listbox above. And voilà â¦
Regards, Andreas
participants (5)
-
Andreas Wacknitz -
Clément Bera -
Jordi Delgado -
Nicolai Hess -
Pharo4Stef