Pharo-dev
By thread
pharo-dev@lists.pharo.org
By month
Messages by month
- ----- 2026 -----
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- 1 participants
- 144619 messages
Re: [Pharo-dev] smalltalk hub down?
by Esteban Lorenzano
*were
> On 11 Dec 2014, at 15:09, Esteban Lorenzano <estebanlm(a)gmail.com> wrote:
>
> you need to check your mails, we where doing a maintenance down :)
> but is online again now ;)
>
> Esteban
>
>> On 11 Dec 2014, at 15:05, Dale Henrichs <dale.henrichs(a)gemtalksystems.com <mailto:dale.henrichs@gemtalksystems.com>> wrote:
>>
>> http://www.downforeveryoneorjustme.com/http://smalltalkhub.com/mc/Seaside/S… <http://www.downforeveryoneorjustme.com/http://smalltalkhub.com/mc/Seaside/S…>
>
Dec. 11, 2014
Re: [Pharo-dev] smalltalk hub down?
by Esteban Lorenzano
you need to check your mails, we where doing a maintenance down :)
but is online again now ;)
Esteban
> On 11 Dec 2014, at 15:05, Dale Henrichs <dale.henrichs(a)gemtalksystems.com> wrote:
>
> http://www.downforeveryoneorjustme.com/http://smalltalkhub.com/mc/Seaside/S… <http://www.downforeveryoneorjustme.com/http://smalltalkhub.com/mc/Seaside/S…>
Dec. 11, 2014
Re: [Pharo-dev] smalltalk hub down?
by Sven Van Caekenberghe
A maintenance window was announced for today ...
> On 11 Dec 2014, at 15:05, Dale Henrichs <dale.henrichs(a)gemtalksystems.com> wrote:
>
> http://www.downforeveryoneorjustme.com/http://smalltalkhub.com/mc/Seaside/S…
Dec. 11, 2014
smalltalk hub down?
by Dale Henrichs
http://www.downforeveryoneorjustme.com/http://smalltalkhub.com/mc/Seaside/S…
Dec. 11, 2014
Re: [Pharo-dev] Opal compilation [WAS] Re: [Seaside] Re: Pharo 3 / Seaside 3.1 - development time error
by Thierry Goubier
2014-12-11 14:56 GMT+01:00 Mariano Martinez Peck <marianopeck(a)gmail.com>:
> This is the code:
>
>
> contents: input notifying: aController
> ^ nautilus showComment
> ifTrue: [
> nautilus selectedClass organization comment: input.
> true ]
> ifFalse: [
> selectedMessageCategory isNil
> ifTrue: [
> "compile a class"
> nautilus selectedClass subclassDefinerClass
> evaluate: input
> notifying: aController
> logged: true ]
> ifFalse: [
> "compile a method"
> (self selectedClass
> compile: input
> classified: selectedMessageCategory
> notifying: aController) isSymbol ] ]
>
>
> selectedMessageCategory is nil.....that's why it goes to the "class" side
> of the IF... mmmm
>
Ok. selectedMessageCategory as nil should make the method 'as yet
unclassified' instead of trying to compile a class...
GUI logic seems wrong there.
Do you have the logic which says whether the core text for the pane is a
class definition or a method definition? i.e. the one which says:
messageSelectorAndArgumentNames
"comment stating purpose of message"
| temporary variable names |
statements
When you are about to write a method?
Thierry
>
>
>
>
> On Thu, Dec 11, 2014 at 10:55 AM, Mariano Martinez Peck <
> marianopeck(a)gmail.com> wrote:
>
>>
>>
>> On Thu, Dec 11, 2014 at 10:49 AM, Thierry Goubier <
>> thierry.goubier(a)gmail.com> wrote:
>>
>>> Hi Mariano,
>>>
>>> I would suspect Opal parsing this as not a method, but as an expression.
>>>
>>> Can you check what method of the compiler Seaside uses to compile code?
>>>
>>
>> nautilus selectedClass subclassDefinerClass
>> evaluate: input
>> notifying: aController
>> logged: true ]
>>
>>
>> This is called from the method #contents: input notifying: aController
>> of WANautilusBrowser.
>>
>>
>>
>>>
>>>
>>> Thierry
>>>
>>>
>>> 2014-12-11 14:11 GMT+01:00 Mariano Martinez Peck <marianopeck(a)gmail.com>
>>> :
>>>
>>>> Ok...I can reproduce it. The difference between Pharo 3.0 and 2.0 is
>>>> likely that in 3.0 we have the new Opal compiler. If I debug your problem,
>>>> it seems Opal is not able to even parse the method. It fails with
>>>> a SyntaxErrorNotification. Example:
>>>>
>>>> Variable or expression expected -> renderContentOn: html
>>>> self wasShown
>>>> ifTrue: [ ^ self ].
>>>> self messageString
>>>> ifNotNil: [
>>>> self messageType = 'error'
>>>> ifTrue: [
>>>> html tbsAlert
>>>> beDanger;
>>>> with: [ html text: self messageString ] ].
>>>> self messageType = 'info'
>>>> ifTrue: [
>>>> html tbsAlert
>>>> beInfo;
>>>> with: [ html text: self messageString ] ].
>>>> self messageType = 'success'
>>>> ifTrue: [
>>>> html tbsAlert
>>>> beSuccess;
>>>> with: [ html text: self messageString ] ].
>>>> ].
>>>> self wasShown: true
>>>>
>>>>
>>>>
>>>>
>>>> On Thu, Dec 11, 2014 at 9:52 AM, Sanjay-M <sm(a)planage.com> wrote:
>>>>
>>>>> I do not get an error in the Seaside one-click experience 3.1 from
>>>>> seaside.st
>>>>> pharo page which uses pharo 2.0
>>>>>
>>>>> With a fresh 3.0 image and loading seaside 3.1 using the Gofer method
>>>>> - the
>>>>> issue persists (i.e. I cannot save code from Seaside class browser and
>>>>> get
>>>>> an error:
>>>>> MessageNotUnderstood: receiver of "generateWithSource" is nil
>>>>> Your request could not be completed. An exception occurred.)
>>>>>
>>>>> and this is further broken in pharo 4.0 where the class browser does
>>>>> not
>>>>> come up completely
>>>>>
>>>>> can I get some help as I do not wish to revert to an older pharo
>>>>> version
>>>>>
>>>>> regards
>>>>> Sanjay
>>>>>
>>>>>
>>>>> Sven Van Caekenberghe-2 wrote
>>>>> > Sorry, I can't help you with Windows.
>>>>> >
>>>>> >> On 11 Dec 2014, at 12:04, Sanjay-M <
>>>>>
>>>>> > sm@
>>>>>
>>>>> > > wrote:
>>>>> >>
>>>>> >> I am in a Windows environment and am running the VM and image from
>>>>> the
>>>>> >> same
>>>>> >> directory
>>>>> >>
>>>>> >> what is the equivalent of below in a Win 7 ennvironment
>>>>> >>
>>>>> >> thanks
>>>>> >> Sanjay
>>>>> >>
>>>>> >>
>>>>> >> Sven Van Caekenberghe-2 wrote
>>>>> >>> Are you sure your image can access its changes and sources ?
>>>>> >>>
>>>>> >>> Can you do something like
>>>>> >>>
>>>>> >>> $ ./bin/pharo -vm-display-null t3.image eval
>>>>> '(String>>#capitalized)
>>>>> >>> sourceCode'
>>>>> >>> 'capitalized
>>>>> >>> "Return a copy with the first letter capitalized"
>>>>> >>> | cap |
>>>>> >>> self isEmpty ifTrue: [ ^self copy ].
>>>>> >>> cap := self copy.
>>>>> >>> cap at: 1 put: (cap at: 1) asUppercase.
>>>>> >>> ^ cap'
>>>>> >>>
>>>>> >>> ?
>>>>> >>>
>>>>> >>>> On 11 Dec 2014, at 10:39, Sanjay-M <
>>>>> >>
>>>>> >>> sm@
>>>>> >>
>>>>> >>> > wrote:
>>>>> >>>>
>>>>> >>>> Hi
>>>>> >>>>
>>>>> >>>> In Pharo 3 + Seaside 3.1
>>>>> >>>> I get the following error in Halos->class browser
>>>>> >>>> when I edit renderContentOn: (add a line) and hit [accept]
>>>>> >>>>
>>>>> >>>> MessageNotUnderstood: receiver of "generateWithSource" is nil
>>>>> >>>> Your request could not be completed. An exception occurred.
>>>>> >>>>
>>>>> >>>> and also in Pharo 4 + seaside 3.1
>>>>> >>>> the class browser does not work
>>>>> >>>> (there is an error when loading Seaside itself which is in another
>>>>> >>>> post)
>>>>> >>>>
>>>>> >>>> regards
>>>>> >>>> Sanjay
>>>>> >>>>
>>>>> >>>>
>>>>> >>>>
>>>>> >>>>
>>>>> >>>> -----
>>>>> >>>> ---
>>>>> >>>> Regards, Sanjay
>>>>> >>>> --
>>>>> >>>> View this message in context:
>>>>> >>>>
>>>>> http://forum.world.st/Pharo-3-Seaside-3-1-development-time-error-tp4795419.…
>>>>> >>>> Sent from the Seaside General mailing list archive at Nabble.com.
>>>>> >>>> _______________________________________________
>>>>> >>>> seaside mailing list
>>>>> >>>>
>>>>> >>
>>>>> >>> seaside@.squeakfoundation
>>>>> >>
>>>>> >>>>
>>>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>>> >>>
>>>>> >>> _______________________________________________
>>>>> >>> seaside mailing list
>>>>> >>
>>>>> >>> seaside@.squeakfoundation
>>>>> >>
>>>>> >>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>>> >>
>>>>> >>
>>>>> >>
>>>>> >>
>>>>> >>
>>>>> >> -----
>>>>> >> ---
>>>>> >> Regards, Sanjay
>>>>> >> --
>>>>> >> View this message in context:
>>>>> >>
>>>>> http://forum.world.st/Pharo-3-Seaside-3-1-development-time-error-tp4795419p…
>>>>> >> Sent from the Seaside General mailing list archive at Nabble.com.
>>>>> >> _______________________________________________
>>>>> >> seaside mailing list
>>>>> >>
>>>>>
>>>>> > seaside@.squeakfoundation
>>>>>
>>>>> >> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>>> >
>>>>> > _______________________________________________
>>>>> > seaside mailing list
>>>>>
>>>>> > seaside@.squeakfoundation
>>>>>
>>>>> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> -----
>>>>> ---
>>>>> Regards, Sanjay
>>>>> --
>>>>> View this message in context:
>>>>> http://forum.world.st/Pharo-3-Seaside-3-1-development-time-error-tp4795419p…
>>>>> Sent from the Seaside General mailing list archive at Nabble.com.
>>>>> _______________________________________________
>>>>> seaside mailing list
>>>>> seaside(a)lists.squeakfoundation.org
>>>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Mariano
>>>> http://marianopeck.wordpress.com
>>>>
>>>
>>>
>>
>>
>> --
>> Mariano
>> http://marianopeck.wordpress.com
>>
>
>
>
> --
> Mariano
> http://marianopeck.wordpress.com
>
Dec. 11, 2014
Re: [Pharo-dev] Opal compilation [WAS] Re: [Seaside] Re: Pharo 3 / Seaside 3.1 - development time error
by Thierry Goubier
2014-12-11 14:55 GMT+01:00 Mariano Martinez Peck <marianopeck(a)gmail.com>:
>
>
> On Thu, Dec 11, 2014 at 10:49 AM, Thierry Goubier <
> thierry.goubier(a)gmail.com> wrote:
>
>> Hi Mariano,
>>
>> I would suspect Opal parsing this as not a method, but as an expression.
>>
>> Can you check what method of the compiler Seaside uses to compile code?
>>
>
> nautilus selectedClass subclassDefinerClass
> evaluate: input
> notifying: aController
> logged: true ]
>
Isn't that a method used to evaluate the
myClass subclass: #mySubclass ...
code? In that case, this is an expression and it can't be used to compile a
method.
It should be something like:
nautilus selectedClass
compile: input
classified: something
notifying: aController.
Thierry
>
>
> This is called from the method #contents: input notifying: aController of
> WANautilusBrowser.
>
>
>
>>
>>
>> Thierry
>>
>>
>> 2014-12-11 14:11 GMT+01:00 Mariano Martinez Peck <marianopeck(a)gmail.com>:
>>
>>> Ok...I can reproduce it. The difference between Pharo 3.0 and 2.0 is
>>> likely that in 3.0 we have the new Opal compiler. If I debug your problem,
>>> it seems Opal is not able to even parse the method. It fails with
>>> a SyntaxErrorNotification. Example:
>>>
>>> Variable or expression expected -> renderContentOn: html
>>> self wasShown
>>> ifTrue: [ ^ self ].
>>> self messageString
>>> ifNotNil: [
>>> self messageType = 'error'
>>> ifTrue: [
>>> html tbsAlert
>>> beDanger;
>>> with: [ html text: self messageString ] ].
>>> self messageType = 'info'
>>> ifTrue: [
>>> html tbsAlert
>>> beInfo;
>>> with: [ html text: self messageString ] ].
>>> self messageType = 'success'
>>> ifTrue: [
>>> html tbsAlert
>>> beSuccess;
>>> with: [ html text: self messageString ] ].
>>> ].
>>> self wasShown: true
>>>
>>>
>>>
>>>
>>> On Thu, Dec 11, 2014 at 9:52 AM, Sanjay-M <sm(a)planage.com> wrote:
>>>
>>>> I do not get an error in the Seaside one-click experience 3.1 from
>>>> seaside.st
>>>> pharo page which uses pharo 2.0
>>>>
>>>> With a fresh 3.0 image and loading seaside 3.1 using the Gofer method -
>>>> the
>>>> issue persists (i.e. I cannot save code from Seaside class browser and
>>>> get
>>>> an error:
>>>> MessageNotUnderstood: receiver of "generateWithSource" is nil
>>>> Your request could not be completed. An exception occurred.)
>>>>
>>>> and this is further broken in pharo 4.0 where the class browser does not
>>>> come up completely
>>>>
>>>> can I get some help as I do not wish to revert to an older pharo version
>>>>
>>>> regards
>>>> Sanjay
>>>>
>>>>
>>>> Sven Van Caekenberghe-2 wrote
>>>> > Sorry, I can't help you with Windows.
>>>> >
>>>> >> On 11 Dec 2014, at 12:04, Sanjay-M <
>>>>
>>>> > sm@
>>>>
>>>> > > wrote:
>>>> >>
>>>> >> I am in a Windows environment and am running the VM and image from
>>>> the
>>>> >> same
>>>> >> directory
>>>> >>
>>>> >> what is the equivalent of below in a Win 7 ennvironment
>>>> >>
>>>> >> thanks
>>>> >> Sanjay
>>>> >>
>>>> >>
>>>> >> Sven Van Caekenberghe-2 wrote
>>>> >>> Are you sure your image can access its changes and sources ?
>>>> >>>
>>>> >>> Can you do something like
>>>> >>>
>>>> >>> $ ./bin/pharo -vm-display-null t3.image eval '(String>>#capitalized)
>>>> >>> sourceCode'
>>>> >>> 'capitalized
>>>> >>> "Return a copy with the first letter capitalized"
>>>> >>> | cap |
>>>> >>> self isEmpty ifTrue: [ ^self copy ].
>>>> >>> cap := self copy.
>>>> >>> cap at: 1 put: (cap at: 1) asUppercase.
>>>> >>> ^ cap'
>>>> >>>
>>>> >>> ?
>>>> >>>
>>>> >>>> On 11 Dec 2014, at 10:39, Sanjay-M <
>>>> >>
>>>> >>> sm@
>>>> >>
>>>> >>> > wrote:
>>>> >>>>
>>>> >>>> Hi
>>>> >>>>
>>>> >>>> In Pharo 3 + Seaside 3.1
>>>> >>>> I get the following error in Halos->class browser
>>>> >>>> when I edit renderContentOn: (add a line) and hit [accept]
>>>> >>>>
>>>> >>>> MessageNotUnderstood: receiver of "generateWithSource" is nil
>>>> >>>> Your request could not be completed. An exception occurred.
>>>> >>>>
>>>> >>>> and also in Pharo 4 + seaside 3.1
>>>> >>>> the class browser does not work
>>>> >>>> (there is an error when loading Seaside itself which is in another
>>>> >>>> post)
>>>> >>>>
>>>> >>>> regards
>>>> >>>> Sanjay
>>>> >>>>
>>>> >>>>
>>>> >>>>
>>>> >>>>
>>>> >>>> -----
>>>> >>>> ---
>>>> >>>> Regards, Sanjay
>>>> >>>> --
>>>> >>>> View this message in context:
>>>> >>>>
>>>> http://forum.world.st/Pharo-3-Seaside-3-1-development-time-error-tp4795419.…
>>>> >>>> Sent from the Seaside General mailing list archive at Nabble.com.
>>>> >>>> _______________________________________________
>>>> >>>> seaside mailing list
>>>> >>>>
>>>> >>
>>>> >>> seaside@.squeakfoundation
>>>> >>
>>>> >>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>> >>>
>>>> >>> _______________________________________________
>>>> >>> seaside mailing list
>>>> >>
>>>> >>> seaside@.squeakfoundation
>>>> >>
>>>> >>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>> >>
>>>> >>
>>>> >>
>>>> >>
>>>> >>
>>>> >> -----
>>>> >> ---
>>>> >> Regards, Sanjay
>>>> >> --
>>>> >> View this message in context:
>>>> >>
>>>> http://forum.world.st/Pharo-3-Seaside-3-1-development-time-error-tp4795419p…
>>>> >> Sent from the Seaside General mailing list archive at Nabble.com.
>>>> >> _______________________________________________
>>>> >> seaside mailing list
>>>> >>
>>>>
>>>> > seaside@.squeakfoundation
>>>>
>>>> >> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>> >
>>>> > _______________________________________________
>>>> > seaside mailing list
>>>>
>>>> > seaside@.squeakfoundation
>>>>
>>>> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> -----
>>>> ---
>>>> Regards, Sanjay
>>>> --
>>>> View this message in context:
>>>> http://forum.world.st/Pharo-3-Seaside-3-1-development-time-error-tp4795419p…
>>>> Sent from the Seaside General mailing list archive at Nabble.com.
>>>> _______________________________________________
>>>> seaside mailing list
>>>> seaside(a)lists.squeakfoundation.org
>>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>>
>>>
>>>
>>>
>>> --
>>> Mariano
>>> http://marianopeck.wordpress.com
>>>
>>
>>
>
>
> --
> Mariano
> http://marianopeck.wordpress.com
>
Dec. 11, 2014
Re: [Pharo-dev] Opal compilation [WAS] Re: [Seaside] Re: Pharo 3 / Seaside 3.1 - development time error
by Mariano Martinez Peck
This is the code:
contents: input notifying: aController
^ nautilus showComment
ifTrue: [
nautilus selectedClass organization comment: input.
true ]
ifFalse: [
selectedMessageCategory isNil
ifTrue: [
"compile a class"
nautilus selectedClass subclassDefinerClass
evaluate: input
notifying: aController
logged: true ]
ifFalse: [
"compile a method"
(self selectedClass
compile: input
classified: selectedMessageCategory
notifying: aController) isSymbol ] ]
selectedMessageCategory is nil.....that's why it goes to the "class" side
of the IF... mmmm
On Thu, Dec 11, 2014 at 10:55 AM, Mariano Martinez Peck <
marianopeck(a)gmail.com> wrote:
>
>
> On Thu, Dec 11, 2014 at 10:49 AM, Thierry Goubier <
> thierry.goubier(a)gmail.com> wrote:
>
>> Hi Mariano,
>>
>> I would suspect Opal parsing this as not a method, but as an expression.
>>
>> Can you check what method of the compiler Seaside uses to compile code?
>>
>
> nautilus selectedClass subclassDefinerClass
> evaluate: input
> notifying: aController
> logged: true ]
>
>
> This is called from the method #contents: input notifying: aController of
> WANautilusBrowser.
>
>
>
>>
>>
>> Thierry
>>
>>
>> 2014-12-11 14:11 GMT+01:00 Mariano Martinez Peck <marianopeck(a)gmail.com>:
>>
>>> Ok...I can reproduce it. The difference between Pharo 3.0 and 2.0 is
>>> likely that in 3.0 we have the new Opal compiler. If I debug your problem,
>>> it seems Opal is not able to even parse the method. It fails with
>>> a SyntaxErrorNotification. Example:
>>>
>>> Variable or expression expected -> renderContentOn: html
>>> self wasShown
>>> ifTrue: [ ^ self ].
>>> self messageString
>>> ifNotNil: [
>>> self messageType = 'error'
>>> ifTrue: [
>>> html tbsAlert
>>> beDanger;
>>> with: [ html text: self messageString ] ].
>>> self messageType = 'info'
>>> ifTrue: [
>>> html tbsAlert
>>> beInfo;
>>> with: [ html text: self messageString ] ].
>>> self messageType = 'success'
>>> ifTrue: [
>>> html tbsAlert
>>> beSuccess;
>>> with: [ html text: self messageString ] ].
>>> ].
>>> self wasShown: true
>>>
>>>
>>>
>>>
>>> On Thu, Dec 11, 2014 at 9:52 AM, Sanjay-M <sm(a)planage.com> wrote:
>>>
>>>> I do not get an error in the Seaside one-click experience 3.1 from
>>>> seaside.st
>>>> pharo page which uses pharo 2.0
>>>>
>>>> With a fresh 3.0 image and loading seaside 3.1 using the Gofer method -
>>>> the
>>>> issue persists (i.e. I cannot save code from Seaside class browser and
>>>> get
>>>> an error:
>>>> MessageNotUnderstood: receiver of "generateWithSource" is nil
>>>> Your request could not be completed. An exception occurred.)
>>>>
>>>> and this is further broken in pharo 4.0 where the class browser does not
>>>> come up completely
>>>>
>>>> can I get some help as I do not wish to revert to an older pharo version
>>>>
>>>> regards
>>>> Sanjay
>>>>
>>>>
>>>> Sven Van Caekenberghe-2 wrote
>>>> > Sorry, I can't help you with Windows.
>>>> >
>>>> >> On 11 Dec 2014, at 12:04, Sanjay-M <
>>>>
>>>> > sm@
>>>>
>>>> > > wrote:
>>>> >>
>>>> >> I am in a Windows environment and am running the VM and image from
>>>> the
>>>> >> same
>>>> >> directory
>>>> >>
>>>> >> what is the equivalent of below in a Win 7 ennvironment
>>>> >>
>>>> >> thanks
>>>> >> Sanjay
>>>> >>
>>>> >>
>>>> >> Sven Van Caekenberghe-2 wrote
>>>> >>> Are you sure your image can access its changes and sources ?
>>>> >>>
>>>> >>> Can you do something like
>>>> >>>
>>>> >>> $ ./bin/pharo -vm-display-null t3.image eval '(String>>#capitalized)
>>>> >>> sourceCode'
>>>> >>> 'capitalized
>>>> >>> "Return a copy with the first letter capitalized"
>>>> >>> | cap |
>>>> >>> self isEmpty ifTrue: [ ^self copy ].
>>>> >>> cap := self copy.
>>>> >>> cap at: 1 put: (cap at: 1) asUppercase.
>>>> >>> ^ cap'
>>>> >>>
>>>> >>> ?
>>>> >>>
>>>> >>>> On 11 Dec 2014, at 10:39, Sanjay-M <
>>>> >>
>>>> >>> sm@
>>>> >>
>>>> >>> > wrote:
>>>> >>>>
>>>> >>>> Hi
>>>> >>>>
>>>> >>>> In Pharo 3 + Seaside 3.1
>>>> >>>> I get the following error in Halos->class browser
>>>> >>>> when I edit renderContentOn: (add a line) and hit [accept]
>>>> >>>>
>>>> >>>> MessageNotUnderstood: receiver of "generateWithSource" is nil
>>>> >>>> Your request could not be completed. An exception occurred.
>>>> >>>>
>>>> >>>> and also in Pharo 4 + seaside 3.1
>>>> >>>> the class browser does not work
>>>> >>>> (there is an error when loading Seaside itself which is in another
>>>> >>>> post)
>>>> >>>>
>>>> >>>> regards
>>>> >>>> Sanjay
>>>> >>>>
>>>> >>>>
>>>> >>>>
>>>> >>>>
>>>> >>>> -----
>>>> >>>> ---
>>>> >>>> Regards, Sanjay
>>>> >>>> --
>>>> >>>> View this message in context:
>>>> >>>>
>>>> http://forum.world.st/Pharo-3-Seaside-3-1-development-time-error-tp4795419.…
>>>> >>>> Sent from the Seaside General mailing list archive at Nabble.com.
>>>> >>>> _______________________________________________
>>>> >>>> seaside mailing list
>>>> >>>>
>>>> >>
>>>> >>> seaside@.squeakfoundation
>>>> >>
>>>> >>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>> >>>
>>>> >>> _______________________________________________
>>>> >>> seaside mailing list
>>>> >>
>>>> >>> seaside@.squeakfoundation
>>>> >>
>>>> >>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>> >>
>>>> >>
>>>> >>
>>>> >>
>>>> >>
>>>> >> -----
>>>> >> ---
>>>> >> Regards, Sanjay
>>>> >> --
>>>> >> View this message in context:
>>>> >>
>>>> http://forum.world.st/Pharo-3-Seaside-3-1-development-time-error-tp4795419p…
>>>> >> Sent from the Seaside General mailing list archive at Nabble.com.
>>>> >> _______________________________________________
>>>> >> seaside mailing list
>>>> >>
>>>>
>>>> > seaside@.squeakfoundation
>>>>
>>>> >> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>> >
>>>> > _______________________________________________
>>>> > seaside mailing list
>>>>
>>>> > seaside@.squeakfoundation
>>>>
>>>> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> -----
>>>> ---
>>>> Regards, Sanjay
>>>> --
>>>> View this message in context:
>>>> http://forum.world.st/Pharo-3-Seaside-3-1-development-time-error-tp4795419p…
>>>> Sent from the Seaside General mailing list archive at Nabble.com.
>>>> _______________________________________________
>>>> seaside mailing list
>>>> seaside(a)lists.squeakfoundation.org
>>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>>
>>>
>>>
>>>
>>> --
>>> Mariano
>>> http://marianopeck.wordpress.com
>>>
>>
>>
>
>
> --
> Mariano
> http://marianopeck.wordpress.com
>
--
Mariano
http://marianopeck.wordpress.com
Dec. 11, 2014
Re: [Pharo-dev] Opal compilation [WAS] Re: [Seaside] Re: Pharo 3 / Seaside 3.1 - development time error
by Mariano Martinez Peck
On Thu, Dec 11, 2014 at 10:49 AM, Thierry Goubier <thierry.goubier(a)gmail.com
> wrote:
> Hi Mariano,
>
> I would suspect Opal parsing this as not a method, but as an expression.
>
> Can you check what method of the compiler Seaside uses to compile code?
>
nautilus selectedClass subclassDefinerClass
evaluate: input
notifying: aController
logged: true ]
This is called from the method #contents: input notifying: aController of
WANautilusBrowser.
>
>
> Thierry
>
>
> 2014-12-11 14:11 GMT+01:00 Mariano Martinez Peck <marianopeck(a)gmail.com>:
>
>> Ok...I can reproduce it. The difference between Pharo 3.0 and 2.0 is
>> likely that in 3.0 we have the new Opal compiler. If I debug your problem,
>> it seems Opal is not able to even parse the method. It fails with
>> a SyntaxErrorNotification. Example:
>>
>> Variable or expression expected -> renderContentOn: html
>> self wasShown
>> ifTrue: [ ^ self ].
>> self messageString
>> ifNotNil: [
>> self messageType = 'error'
>> ifTrue: [
>> html tbsAlert
>> beDanger;
>> with: [ html text: self messageString ] ].
>> self messageType = 'info'
>> ifTrue: [
>> html tbsAlert
>> beInfo;
>> with: [ html text: self messageString ] ].
>> self messageType = 'success'
>> ifTrue: [
>> html tbsAlert
>> beSuccess;
>> with: [ html text: self messageString ] ].
>> ].
>> self wasShown: true
>>
>>
>>
>>
>> On Thu, Dec 11, 2014 at 9:52 AM, Sanjay-M <sm(a)planage.com> wrote:
>>
>>> I do not get an error in the Seaside one-click experience 3.1 from
>>> seaside.st
>>> pharo page which uses pharo 2.0
>>>
>>> With a fresh 3.0 image and loading seaside 3.1 using the Gofer method -
>>> the
>>> issue persists (i.e. I cannot save code from Seaside class browser and
>>> get
>>> an error:
>>> MessageNotUnderstood: receiver of "generateWithSource" is nil
>>> Your request could not be completed. An exception occurred.)
>>>
>>> and this is further broken in pharo 4.0 where the class browser does not
>>> come up completely
>>>
>>> can I get some help as I do not wish to revert to an older pharo version
>>>
>>> regards
>>> Sanjay
>>>
>>>
>>> Sven Van Caekenberghe-2 wrote
>>> > Sorry, I can't help you with Windows.
>>> >
>>> >> On 11 Dec 2014, at 12:04, Sanjay-M <
>>>
>>> > sm@
>>>
>>> > > wrote:
>>> >>
>>> >> I am in a Windows environment and am running the VM and image from the
>>> >> same
>>> >> directory
>>> >>
>>> >> what is the equivalent of below in a Win 7 ennvironment
>>> >>
>>> >> thanks
>>> >> Sanjay
>>> >>
>>> >>
>>> >> Sven Van Caekenberghe-2 wrote
>>> >>> Are you sure your image can access its changes and sources ?
>>> >>>
>>> >>> Can you do something like
>>> >>>
>>> >>> $ ./bin/pharo -vm-display-null t3.image eval '(String>>#capitalized)
>>> >>> sourceCode'
>>> >>> 'capitalized
>>> >>> "Return a copy with the first letter capitalized"
>>> >>> | cap |
>>> >>> self isEmpty ifTrue: [ ^self copy ].
>>> >>> cap := self copy.
>>> >>> cap at: 1 put: (cap at: 1) asUppercase.
>>> >>> ^ cap'
>>> >>>
>>> >>> ?
>>> >>>
>>> >>>> On 11 Dec 2014, at 10:39, Sanjay-M <
>>> >>
>>> >>> sm@
>>> >>
>>> >>> > wrote:
>>> >>>>
>>> >>>> Hi
>>> >>>>
>>> >>>> In Pharo 3 + Seaside 3.1
>>> >>>> I get the following error in Halos->class browser
>>> >>>> when I edit renderContentOn: (add a line) and hit [accept]
>>> >>>>
>>> >>>> MessageNotUnderstood: receiver of "generateWithSource" is nil
>>> >>>> Your request could not be completed. An exception occurred.
>>> >>>>
>>> >>>> and also in Pharo 4 + seaside 3.1
>>> >>>> the class browser does not work
>>> >>>> (there is an error when loading Seaside itself which is in another
>>> >>>> post)
>>> >>>>
>>> >>>> regards
>>> >>>> Sanjay
>>> >>>>
>>> >>>>
>>> >>>>
>>> >>>>
>>> >>>> -----
>>> >>>> ---
>>> >>>> Regards, Sanjay
>>> >>>> --
>>> >>>> View this message in context:
>>> >>>>
>>> http://forum.world.st/Pharo-3-Seaside-3-1-development-time-error-tp4795419.…
>>> >>>> Sent from the Seaside General mailing list archive at Nabble.com.
>>> >>>> _______________________________________________
>>> >>>> seaside mailing list
>>> >>>>
>>> >>
>>> >>> seaside@.squeakfoundation
>>> >>
>>> >>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>> >>>
>>> >>> _______________________________________________
>>> >>> seaside mailing list
>>> >>
>>> >>> seaside@.squeakfoundation
>>> >>
>>> >>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>> >>
>>> >>
>>> >>
>>> >>
>>> >>
>>> >> -----
>>> >> ---
>>> >> Regards, Sanjay
>>> >> --
>>> >> View this message in context:
>>> >>
>>> http://forum.world.st/Pharo-3-Seaside-3-1-development-time-error-tp4795419p…
>>> >> Sent from the Seaside General mailing list archive at Nabble.com.
>>> >> _______________________________________________
>>> >> seaside mailing list
>>> >>
>>>
>>> > seaside@.squeakfoundation
>>>
>>> >> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>> >
>>> > _______________________________________________
>>> > seaside mailing list
>>>
>>> > seaside@.squeakfoundation
>>>
>>> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>
>>>
>>>
>>>
>>>
>>> -----
>>> ---
>>> Regards, Sanjay
>>> --
>>> View this message in context:
>>> http://forum.world.st/Pharo-3-Seaside-3-1-development-time-error-tp4795419p…
>>> Sent from the Seaside General mailing list archive at Nabble.com.
>>> _______________________________________________
>>> seaside mailing list
>>> seaside(a)lists.squeakfoundation.org
>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>
>>
>>
>>
>> --
>> Mariano
>> http://marianopeck.wordpress.com
>>
>
>
--
Mariano
http://marianopeck.wordpress.com
Dec. 11, 2014
Re: [Pharo-dev] Opal compilation [WAS] Re: [Seaside] Re: Pharo 3 / Seaside 3.1 - development time error
by Thierry Goubier
Hi Mariano,
I would suspect Opal parsing this as not a method, but as an expression.
Can you check what method of the compiler Seaside uses to compile code?
Thierry
2014-12-11 14:11 GMT+01:00 Mariano Martinez Peck <marianopeck(a)gmail.com>:
> Ok...I can reproduce it. The difference between Pharo 3.0 and 2.0 is
> likely that in 3.0 we have the new Opal compiler. If I debug your problem,
> it seems Opal is not able to even parse the method. It fails with
> a SyntaxErrorNotification. Example:
>
> Variable or expression expected -> renderContentOn: html
> self wasShown
> ifTrue: [ ^ self ].
> self messageString
> ifNotNil: [
> self messageType = 'error'
> ifTrue: [
> html tbsAlert
> beDanger;
> with: [ html text: self messageString ] ].
> self messageType = 'info'
> ifTrue: [
> html tbsAlert
> beInfo;
> with: [ html text: self messageString ] ].
> self messageType = 'success'
> ifTrue: [
> html tbsAlert
> beSuccess;
> with: [ html text: self messageString ] ].
> ].
> self wasShown: true
>
>
>
>
> On Thu, Dec 11, 2014 at 9:52 AM, Sanjay-M <sm(a)planage.com> wrote:
>
>> I do not get an error in the Seaside one-click experience 3.1 from
>> seaside.st
>> pharo page which uses pharo 2.0
>>
>> With a fresh 3.0 image and loading seaside 3.1 using the Gofer method -
>> the
>> issue persists (i.e. I cannot save code from Seaside class browser and get
>> an error:
>> MessageNotUnderstood: receiver of "generateWithSource" is nil
>> Your request could not be completed. An exception occurred.)
>>
>> and this is further broken in pharo 4.0 where the class browser does not
>> come up completely
>>
>> can I get some help as I do not wish to revert to an older pharo version
>>
>> regards
>> Sanjay
>>
>>
>> Sven Van Caekenberghe-2 wrote
>> > Sorry, I can't help you with Windows.
>> >
>> >> On 11 Dec 2014, at 12:04, Sanjay-M <
>>
>> > sm@
>>
>> > > wrote:
>> >>
>> >> I am in a Windows environment and am running the VM and image from the
>> >> same
>> >> directory
>> >>
>> >> what is the equivalent of below in a Win 7 ennvironment
>> >>
>> >> thanks
>> >> Sanjay
>> >>
>> >>
>> >> Sven Van Caekenberghe-2 wrote
>> >>> Are you sure your image can access its changes and sources ?
>> >>>
>> >>> Can you do something like
>> >>>
>> >>> $ ./bin/pharo -vm-display-null t3.image eval '(String>>#capitalized)
>> >>> sourceCode'
>> >>> 'capitalized
>> >>> "Return a copy with the first letter capitalized"
>> >>> | cap |
>> >>> self isEmpty ifTrue: [ ^self copy ].
>> >>> cap := self copy.
>> >>> cap at: 1 put: (cap at: 1) asUppercase.
>> >>> ^ cap'
>> >>>
>> >>> ?
>> >>>
>> >>>> On 11 Dec 2014, at 10:39, Sanjay-M <
>> >>
>> >>> sm@
>> >>
>> >>> > wrote:
>> >>>>
>> >>>> Hi
>> >>>>
>> >>>> In Pharo 3 + Seaside 3.1
>> >>>> I get the following error in Halos->class browser
>> >>>> when I edit renderContentOn: (add a line) and hit [accept]
>> >>>>
>> >>>> MessageNotUnderstood: receiver of "generateWithSource" is nil
>> >>>> Your request could not be completed. An exception occurred.
>> >>>>
>> >>>> and also in Pharo 4 + seaside 3.1
>> >>>> the class browser does not work
>> >>>> (there is an error when loading Seaside itself which is in another
>> >>>> post)
>> >>>>
>> >>>> regards
>> >>>> Sanjay
>> >>>>
>> >>>>
>> >>>>
>> >>>>
>> >>>> -----
>> >>>> ---
>> >>>> Regards, Sanjay
>> >>>> --
>> >>>> View this message in context:
>> >>>>
>> http://forum.world.st/Pharo-3-Seaside-3-1-development-time-error-tp4795419.…
>> >>>> Sent from the Seaside General mailing list archive at Nabble.com.
>> >>>> _______________________________________________
>> >>>> seaside mailing list
>> >>>>
>> >>
>> >>> seaside@.squeakfoundation
>> >>
>> >>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>> >>>
>> >>> _______________________________________________
>> >>> seaside mailing list
>> >>
>> >>> seaside@.squeakfoundation
>> >>
>> >>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> -----
>> >> ---
>> >> Regards, Sanjay
>> >> --
>> >> View this message in context:
>> >>
>> http://forum.world.st/Pharo-3-Seaside-3-1-development-time-error-tp4795419p…
>> >> Sent from the Seaside General mailing list archive at Nabble.com.
>> >> _______________________________________________
>> >> seaside mailing list
>> >>
>>
>> > seaside@.squeakfoundation
>>
>> >> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>> >
>> > _______________________________________________
>> > seaside mailing list
>>
>> > seaside@.squeakfoundation
>>
>> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>
>>
>>
>>
>>
>> -----
>> ---
>> Regards, Sanjay
>> --
>> View this message in context:
>> http://forum.world.st/Pharo-3-Seaside-3-1-development-time-error-tp4795419p…
>> Sent from the Seaside General mailing list archive at Nabble.com.
>> _______________________________________________
>> seaside mailing list
>> seaside(a)lists.squeakfoundation.org
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>
>
>
>
> --
> Mariano
> http://marianopeck.wordpress.com
>
Dec. 11, 2014
Opal compilation [WAS] Re: [Seaside] Re: Pharo 3 / Seaside 3.1 - development time error
by Mariano Martinez Peck
Ok...I can reproduce it. The difference between Pharo 3.0 and 2.0 is likely
that in 3.0 we have the new Opal compiler. If I debug your problem, it
seems Opal is not able to even parse the method. It fails with
a SyntaxErrorNotification. Example:
Variable or expression expected -> renderContentOn: html
self wasShown
ifTrue: [ ^ self ].
self messageString
ifNotNil: [
self messageType = 'error'
ifTrue: [
html tbsAlert
beDanger;
with: [ html text: self messageString ] ].
self messageType = 'info'
ifTrue: [
html tbsAlert
beInfo;
with: [ html text: self messageString ] ].
self messageType = 'success'
ifTrue: [
html tbsAlert
beSuccess;
with: [ html text: self messageString ] ].
].
self wasShown: true
On Thu, Dec 11, 2014 at 9:52 AM, Sanjay-M <sm(a)planage.com> wrote:
> I do not get an error in the Seaside one-click experience 3.1 from
> seaside.st
> pharo page which uses pharo 2.0
>
> With a fresh 3.0 image and loading seaside 3.1 using the Gofer method - the
> issue persists (i.e. I cannot save code from Seaside class browser and get
> an error:
> MessageNotUnderstood: receiver of "generateWithSource" is nil
> Your request could not be completed. An exception occurred.)
>
> and this is further broken in pharo 4.0 where the class browser does not
> come up completely
>
> can I get some help as I do not wish to revert to an older pharo version
>
> regards
> Sanjay
>
>
> Sven Van Caekenberghe-2 wrote
> > Sorry, I can't help you with Windows.
> >
> >> On 11 Dec 2014, at 12:04, Sanjay-M <
>
> > sm@
>
> > > wrote:
> >>
> >> I am in a Windows environment and am running the VM and image from the
> >> same
> >> directory
> >>
> >> what is the equivalent of below in a Win 7 ennvironment
> >>
> >> thanks
> >> Sanjay
> >>
> >>
> >> Sven Van Caekenberghe-2 wrote
> >>> Are you sure your image can access its changes and sources ?
> >>>
> >>> Can you do something like
> >>>
> >>> $ ./bin/pharo -vm-display-null t3.image eval '(String>>#capitalized)
> >>> sourceCode'
> >>> 'capitalized
> >>> "Return a copy with the first letter capitalized"
> >>> | cap |
> >>> self isEmpty ifTrue: [ ^self copy ].
> >>> cap := self copy.
> >>> cap at: 1 put: (cap at: 1) asUppercase.
> >>> ^ cap'
> >>>
> >>> ?
> >>>
> >>>> On 11 Dec 2014, at 10:39, Sanjay-M <
> >>
> >>> sm@
> >>
> >>> > wrote:
> >>>>
> >>>> Hi
> >>>>
> >>>> In Pharo 3 + Seaside 3.1
> >>>> I get the following error in Halos->class browser
> >>>> when I edit renderContentOn: (add a line) and hit [accept]
> >>>>
> >>>> MessageNotUnderstood: receiver of "generateWithSource" is nil
> >>>> Your request could not be completed. An exception occurred.
> >>>>
> >>>> and also in Pharo 4 + seaside 3.1
> >>>> the class browser does not work
> >>>> (there is an error when loading Seaside itself which is in another
> >>>> post)
> >>>>
> >>>> regards
> >>>> Sanjay
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> -----
> >>>> ---
> >>>> Regards, Sanjay
> >>>> --
> >>>> View this message in context:
> >>>>
> http://forum.world.st/Pharo-3-Seaside-3-1-development-time-error-tp4795419.…
> >>>> Sent from the Seaside General mailing list archive at Nabble.com.
> >>>> _______________________________________________
> >>>> seaside mailing list
> >>>>
> >>
> >>> seaside@.squeakfoundation
> >>
> >>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> >>>
> >>> _______________________________________________
> >>> seaside mailing list
> >>
> >>> seaside@.squeakfoundation
> >>
> >>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> >>
> >>
> >>
> >>
> >>
> >> -----
> >> ---
> >> Regards, Sanjay
> >> --
> >> View this message in context:
> >>
> http://forum.world.st/Pharo-3-Seaside-3-1-development-time-error-tp4795419p…
> >> Sent from the Seaside General mailing list archive at Nabble.com.
> >> _______________________________________________
> >> seaside mailing list
> >>
>
> > seaside@.squeakfoundation
>
> >> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> >
> > _______________________________________________
> > seaside mailing list
>
> > seaside@.squeakfoundation
>
> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>
>
>
>
> -----
> ---
> Regards, Sanjay
> --
> View this message in context:
> http://forum.world.st/Pharo-3-Seaside-3-1-development-time-error-tp4795419p…
> Sent from the Seaside General mailing list archive at Nabble.com.
> _______________________________________________
> seaside mailing list
> seaside(a)lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
--
Mariano
http://marianopeck.wordpress.com
Dec. 11, 2014