Error when installing OSProcess from SqueakMap

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

Error when installing OSProcess from SqueakMap

bpi
I tried installing OSProcess in a fully updated trunk image according to the installation instructions on http://wiki.squeak.org/squeak/708:

"Use the latest version of OSProcess and CommandShell, and load both of them. Load both from SqueakMap. Please use the head (latest version) and ignore any Squeak version tags or warnings.
OSProcess and CommandShell are Squeak version independent, but there is no way to say that with SqueakMap."

Here are the steps I took:
1. I selected Apps > SqueakMap catalog.
2. I clicked the Update button.
3. I deselected "New safely-available packages" from the bottom-left list's context menu. (It took me quite a while to figure that out.)
4. I expanded OSProcess in the top-left list and clicked on (head)
5. I clicked the Install button.
6. The following error appears:
"Error occurred during install:
Receiver and argument in different branches
Would you like to open a debugger?" (See the attached debug log for details.)

The error seems to break SqueakMap. From now on it always opens when I try to open SqueakMap.

- Bernhard




SqueakDebug.log (16K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Error when installing OSProcess from SqueakMap

David T. Lewis
Confirmed.

Wow, that's a new one on me.

I don't know what the issue is with the SqueakMap loading, but the
'head' scripts for OSProcess and CommandShell do this:

  MCMcmUpdater updateFromRepository: 'http://www.squeaksource.com/OSProcess' .

  MCMcmUpdater updateFromRepository: 'http://www.squeaksource.com/CommandShell'.

These work fine when evaluated outside of SqueakMap, so I would suggest
doing that for the time being. I don't know what the issue when loading
from the SqueakMap loader, sorry.

Dave



On Sat, Apr 13, 2019 at 05:20:07PM +0200, Bernhard Pieber wrote:

> I tried installing OSProcess in a fully updated trunk image according to the installation instructions on http://wiki.squeak.org/squeak/708:
>
> "Use the latest version of OSProcess and CommandShell, and load both of them. Load both from SqueakMap. Please use the head (latest version) and ignore any Squeak version tags or warnings.
> OSProcess and CommandShell are Squeak version independent, but there is no way to say that with SqueakMap."
>
> Here are the steps I took:
> 1. I selected Apps > SqueakMap catalog.
> 2. I clicked the Update button.
> 3. I deselected "New safely-available packages" from the bottom-left list's context menu. (It took me quite a while to figure that out.)
> 4. I expanded OSProcess in the top-left list and clicked on (head)
> 5. I clicked the Install button.
> 6. The following error appears:
> "Error occurred during install:
> Receiver and argument in different branches
> Would you like to open a debugger?" (See the attached debug log for details.)
>
> The error seems to break SqueakMap. From now on it always opens when I try to open SqueakMap.
>
> - Bernhard
>


>


bpi
Reply | Threaded
Open this post in threaded view
|

Re: Error when installing OSProcess from SqueakMap

bpi
Hi Dave,

Thanks for the help.That is much easier than installing from SqueakMap anyway. I had thought about installing OSProcess and CommandShell from SqueakSource. However, I was not sure because of the other packages OSProcess-Base, OSProcess-Tests which were recently updated as well. It seems they are not needed because they are not loaded with your loading instructions?

Thanks for your work on Squeak!

- Bernhard


> Am 13.04.2019 um 19:02 schrieb David T. Lewis <[hidden email]>:
>
> Confirmed.
>
> Wow, that's a new one on me.
>
> I don't know what the issue is with the SqueakMap loading, but the
> 'head' scripts for OSProcess and CommandShell do this:
>
>  MCMcmUpdater updateFromRepository: 'http://www.squeaksource.com/OSProcess' .
>
>  MCMcmUpdater updateFromRepository: 'http://www.squeaksource.com/CommandShell'.
>
> These work fine when evaluated outside of SqueakMap, so I would suggest
> doing that for the time being. I don't know what the issue when loading
> from the SqueakMap loader, sorry.
>
> Dave
>
>
>
> On Sat, Apr 13, 2019 at 05:20:07PM +0200, Bernhard Pieber wrote:
>> I tried installing OSProcess in a fully updated trunk image according to the installation instructions on http://wiki.squeak.org/squeak/708:
>>
>> "Use the latest version of OSProcess and CommandShell, and load both of them. Load both from SqueakMap. Please use the head (latest version) and ignore any Squeak version tags or warnings.
>> OSProcess and CommandShell are Squeak version independent, but there is no way to say that with SqueakMap."
>>
>> Here are the steps I took:
>> 1. I selected Apps > SqueakMap catalog.
>> 2. I clicked the Update button.
>> 3. I deselected "New safely-available packages" from the bottom-left list's context menu. (It took me quite a while to figure that out.)
>> 4. I expanded OSProcess in the top-left list and clicked on (head)
>> 5. I clicked the Install button.
>> 6. The following error appears:
>> "Error occurred during install:
>> Receiver and argument in different branches
>> Would you like to open a debugger?" (See the attached debug log for details.)
>>
>> The error seems to break SqueakMap. From now on it always opens when I try to open SqueakMap.
>>
>> - Bernhard


Reply | Threaded
Open this post in threaded view
|

Re: Error when installing OSProcess from SqueakMap

David T. Lewis
On Sun, Apr 14, 2019 at 08:16:50PM +0200, Bernhard Pieber wrote:
> Hi Dave,
>
> Thanks for the help.That is much easier than installing from SqueakMap
> anyway. I had thought about installing OSProcess and CommandShell from
> SqueakSource. However, I was not sure because of the other packages
> OSProcess-Base, OSProcess-Tests which were recently updated as well.
> It seems they are not needed because they are not loaded with your
> loading instructions?
>

Yes that's right. The other packages such as OSProcess-Base and OSProcess-Tests
are redundant with the main OSProcess package.

At one time I split the main OSProcess and CommandShell packages into smaller
modules. I don't know if that was a good idea, but it was helpful for Pharo
users who cannot load the MVC part of OSProcess/CommandShell. I maintain
everything on Squeak, and for Squeak the complete OSProcess and CommandShell
packages can be used.

Dave



> Thanks for your work on Squeak!
>
> - Bernhard
>
>
> > Am 13.04.2019 um 19:02 schrieb David T. Lewis <[hidden email]>:
> >
> > Confirmed.
> >
> > Wow, that's a new one on me.
> >
> > I don't know what the issue is with the SqueakMap loading, but the
> > 'head' scripts for OSProcess and CommandShell do this:
> >
> >  MCMcmUpdater updateFromRepository: 'http://www.squeaksource.com/OSProcess' .
> >
> >  MCMcmUpdater updateFromRepository: 'http://www.squeaksource.com/CommandShell'.
> >
> > These work fine when evaluated outside of SqueakMap, so I would suggest
> > doing that for the time being. I don't know what the issue when loading
> > from the SqueakMap loader, sorry.
> >
> > Dave
> >
> >
> >
> > On Sat, Apr 13, 2019 at 05:20:07PM +0200, Bernhard Pieber wrote:
> >> I tried installing OSProcess in a fully updated trunk image according to the installation instructions on http://wiki.squeak.org/squeak/708:
> >>
> >> "Use the latest version of OSProcess and CommandShell, and load both of them. Load both from SqueakMap. Please use the head (latest version) and ignore any Squeak version tags or warnings.
> >> OSProcess and CommandShell are Squeak version independent, but there is no way to say that with SqueakMap."
> >>
> >> Here are the steps I took:
> >> 1. I selected Apps > SqueakMap catalog.
> >> 2. I clicked the Update button.
> >> 3. I deselected "New safely-available packages" from the bottom-left list's context menu. (It took me quite a while to figure that out.)
> >> 4. I expanded OSProcess in the top-left list and clicked on (head)
> >> 5. I clicked the Install button.
> >> 6. The following error appears:
> >> "Error occurred during install:
> >> Receiver and argument in different branches
> >> Would you like to open a debugger?" (See the attached debug log for details.)
> >>
> >> The error seems to break SqueakMap. From now on it always opens when I try to open SqueakMap.
> >>
> >> - Bernhard
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Error when installing OSProcess from SqueakMap

Chris Muller-3
In reply to this post by David T. Lewis
Hi Dave,

> I don't know what the issue is with the SqueakMap loading, but the
> 'head' scripts for OSProcess and CommandShell do this:

If you will click "edit releases" on your OSProcess, select that 14.8,
uncheck the "Published" box, no one will have that problem.

I think we had a discussion about the "Published" flag before and
generally agreed its not a very useful attribute and, in this case,
actually detrimental.

>   MCMcmUpdater updateFromRepository: 'http://www.squeaksource.com/OSProcess' .
>
>   MCMcmUpdater updateFromRepository: 'http://www.squeaksource.com/CommandShell'.
>
> These work fine when evaluated outside of SqueakMap, so I would suggest

They worked fine when loaded from SqueakMap, too.  It's the attempted
rendering of the list in SqueakMap UI where the different branches is
detected.

 - Chris


> doing that for the time being. I don't know what the issue when loading
> from the SqueakMap loader, sorry.
>
> Dave
>
>
>
> On Sat, Apr 13, 2019 at 05:20:07PM +0200, Bernhard Pieber wrote:
> > I tried installing OSProcess in a fully updated trunk image according to the installation instructions on http://wiki.squeak.org/squeak/708:
> >
> > "Use the latest version of OSProcess and CommandShell, and load both of them. Load both from SqueakMap. Please use the head (latest version) and ignore any Squeak version tags or warnings.
> > OSProcess and CommandShell are Squeak version independent, but there is no way to say that with SqueakMap."
> >
> > Here are the steps I took:
> > 1. I selected Apps > SqueakMap catalog.
> > 2. I clicked the Update button.
> > 3. I deselected "New safely-available packages" from the bottom-left list's context menu. (It took me quite a while to figure that out.)
> > 4. I expanded OSProcess in the top-left list and clicked on (head)
> > 5. I clicked the Install button.
> > 6. The following error appears:
> > "Error occurred during install:
> > Receiver and argument in different branches
> > Would you like to open a debugger?" (See the attached debug log for details.)
> >
> > The error seems to break SqueakMap. From now on it always opens when I try to open SqueakMap.
> >
> > - Bernhard
> >
>
>
> >
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Error when installing OSProcess from SqueakMap

Chris Muller-3
On Sun, Apr 14, 2019 at 6:07 PM Chris Muller <[hidden email]> wrote:
>
> Hi Dave,
>
> > I don't know what the issue is with the SqueakMap loading, but the
> > 'head' scripts for OSProcess and CommandShell do this:
>
> If you will click "edit releases" on your OSProcess, select that 14.8,
> uncheck the "Published" box, no one will have that problem.

Nevermind that.  I fixed the bug in the SqueakMap UI so you shouldn't
need to do anything.

I didn't realize anyone was using the Published flag.  I had been
planning to trim it out but if its useful, I won't.

 - Chris

>
> I think we had a discussion about the "Published" flag before and
> generally agreed its not a very useful attribute and, in this case,
> actually detrimental.
>
> >   MCMcmUpdater updateFromRepository: 'http://www.squeaksource.com/OSProcess' .
> >
> >   MCMcmUpdater updateFromRepository: 'http://www.squeaksource.com/CommandShell'.
> >
> > These work fine when evaluated outside of SqueakMap, so I would suggest
>
> They worked fine when loaded from SqueakMap, too.  It's the attempted
> rendering of the list in SqueakMap UI where the different branches is
> detected.
>
>  - Chris
>
>
> > doing that for the time being. I don't know what the issue when loading
> > from the SqueakMap loader, sorry.
> >
> > Dave
> >
> >
> >
> > On Sat, Apr 13, 2019 at 05:20:07PM +0200, Bernhard Pieber wrote:
> > > I tried installing OSProcess in a fully updated trunk image according to the installation instructions on http://wiki.squeak.org/squeak/708:
> > >
> > > "Use the latest version of OSProcess and CommandShell, and load both of them. Load both from SqueakMap. Please use the head (latest version) and ignore any Squeak version tags or warnings.
> > > OSProcess and CommandShell are Squeak version independent, but there is no way to say that with SqueakMap."
> > >
> > > Here are the steps I took:
> > > 1. I selected Apps > SqueakMap catalog.
> > > 2. I clicked the Update button.
> > > 3. I deselected "New safely-available packages" from the bottom-left list's context menu. (It took me quite a while to figure that out.)
> > > 4. I expanded OSProcess in the top-left list and clicked on (head)
> > > 5. I clicked the Install button.
> > > 6. The following error appears:
> > > "Error occurred during install:
> > > Receiver and argument in different branches
> > > Would you like to open a debugger?" (See the attached debug log for details.)
> > >
> > > The error seems to break SqueakMap. From now on it always opens when I try to open SqueakMap.
> > >
> > > - Bernhard
> > >
> >
> >
> > >
> >
> >