[squeak-dev] [ERROR] Metacello update fails Re: [cmfcmf/MagicMouse] Error: could not resolve BaselineOfMagicMouse. (#2)

Robert robert.withers at pm.me
Thu Apr 9 10:04:46 UTC 2020


Ok, down inside of MCFileTreeStCypressReader>>#loadVersionInfo when getting all the goferReferences for a MCGitHubRepository(github://Metacello/metacello:master/repository), we have a fileStream that returns nil for #peek. MCScanner>>#next send #isAlphaNumeric to a nil element. Not sure how to repair...

K, r

On 4/9/20 5:42 AM, Robert wrote:

> This is unfortunate. I'll need to walk the code myself it seems... I run Ubuntu 18.04 TLS 64-bit OS. Here in my Squeak about:
>
> Image
> -----
> /media/quotar/PRIME/CallistoHouse/squeak-5.3/magicmouse.image
> Squeak5.3
> latest update: #19433
> Current Change Set: HomeProject
> Image format 68021 (64 bit)
>
> Virtual Machine
> ---------------
> /usr/local/lib/squeak/5.0-202003012233/squeak
> Open Smalltalk Cog[Spur] VM [CoInterpreterPrimitives VMMaker.oscog-eem.2719]
> Unix built on Mar  3 2020 13:06:26 Compiler: 4.2.1 Compatible Clang 6.0.0 (tags/RELEASE_600/final)
> platform sources revision VM: 202003012233 quotar at ganymede:tribe/opensmalltalk-vm Date: Sun Mar 1 23:33:40 2020 CommitHash: 1861db582 Plugins: 202003012233 quotar at ganymede:tribe/opensmalltalk-vm
> CoInterpreter VMMaker.oscog-eem.2719 uuid: e40f3e94-3a54-411b-9613-5d19114ea131 Mar  3 2020
> StackToRegisterMappingCogit VMMaker.oscog-eem.2719 uuid: e40f3e94-3a54-411b-9613-5d19114ea131 Mar  3 2020
>
> k, r
>
> On 4/9/20 5:38 AM, Fabio Niephaus wrote:
>
>> Which VM version do you use and what operating system?
>> I have the feeling there's something wrong with your configuration, I can't reproduce your problem either.
>>
>> Fabio
>>
>> On Thu, Apr 9, 2020 at 11:01 AM Robert via Squeak-dev <squeak-dev at lists.squeakfoundation.org> wrote:
>>
>>> Here are the senders of #isAlphaNumeric from Metacello classes. I am not sure which blows up. There is obviously a nil in a character stream somewhere.
>>>
>>> K, r
>>>
>>> On 4/9/20 4:38 AM, Robert via Squeak-dev wrote:
>>>
>>>> Hi Marcel,
>>>>
>>>> Thank you for testing! Well, this is frustrating me. I just took a Squeak 5.3 trunk image (trunk6-64.image) and then updated code from server with updated completed to 19433. Then I saved as magicmouse.image. When I execute:
>>>>
>>>>     Installer ensureRecentMetacello.
>>>>
>>>> I get a repository error. the Transcript shows:
>>>>
>>>>> ...RETRY->BaselineOfMetacello
>>>>> ...RETRY->BaselineOfMetacello
>>>>> gofer repository error: 'GoferRepositoryError: UndefinedObject>>isAlphaNumeric'...ignoring
>>>>> ...FAILED->BaselineOfMetacello
>>>>
>>>> The debugger opens on MetacelloFetchingMCSpecLoader>>#retryingResolvePackageSpecReferences:gofer:, with 'Could not resolve: BaselineOfMetacello' with an internal RepositoryError of GoferRepositoryError: UndefinedObject>>isAlphaNumeric.
>>>>
>>>> I do not understand how you were able to update Metacello without hitting this issue. What code did you execute to load Metacello and MagicMouse?
>>>>
>>>> K, r
>>>>
>>>> ---
>>>>
>>>> Here is the full Transcript output...
>>>>
>>>> Loading 1.0-beta.31.1.8 of ConfigurationOfMetacello...
>>>> Fetched -> ConfigurationOfGofer-dkh.45 --- /home/quotar/tribe/opensmalltalk-vm/image/package-cache --- http://seaside.gemtalksystems.com/ss/metacello
>>>> Loaded -> ConfigurationOfGofer-dkh.45 --- /home/quotar/tribe/opensmalltalk-vm/image/package-cache --- http://seaside.gemtalksystems.com/ss/metacello
>>>> Project: Gofer Core 1.0.5.1
>>>> Fetched -> Gofer-Core.squeak-dkh.135 --- /home/quotar/tribe/opensmalltalk-vm/image/package-cache --- http://seaside.gemtalksystems.com/ss/metacello
>>>> Fetched -> Metacello-Core-dkh.494 --- /home/quotar/tribe/opensmalltalk-vm/image/package-cache --- http://smalltalkhub.com/mc/dkh/metacello/main
>>>> Fetched -> Metacello-Platform.squeak-dkh.17 --- /home/quotar/tribe/opensmalltalk-vm/image/package-cache --- http://seaside.gemtalksystems.com/ss/metacello
>>>> Loaded -> Gofer-Core.squeak-dkh.135 --- /home/quotar/tribe/opensmalltalk-vm/image/package-cache --- cache
>>>> Loaded -> Metacello-Core-dkh.494 --- /home/quotar/tribe/opensmalltalk-vm/image/package-cache --- cache
>>>> MetacelloSqueakPlatform>>downloadFile:to: (OSProcess is Undeclared)
>>>> MetacelloSqueakPlatform>>downloadFile:to: (OSProcess is Undeclared)
>>>> MetacelloSqueakPlatform>>extractRepositoryFrom:to: (OSProcess is Undeclared)
>>>> Loaded -> Metacello-Platform.squeak-dkh.17 --- /home/quotar/tribe/opensmalltalk-vm/image/package-cache --- cache
>>>> ...finished 1.0-beta.31.1.8
>>>> Loading 1.0-beta.32.3 of ConfigurationOfMetacello...
>>>> Fetched -> ConfigurationOfFileTree-dkh.67 --- http://ss3.gemtalksystems.com/ss/FileTree --- /home/quotar/tribe/opensmalltalk-vm/image/package-cache
>>>> Loaded -> ConfigurationOfFileTree-dkh.67 --- http://ss3.gemtalksystems.com/ss/FileTree --- /home/quotar/tribe/opensmalltalk-vm/image/package-cache
>>>> Project: FileTree stable
>>>> Fetched -> MonticelloFileTree-Core.squeak43-dkh.169 --- http://ss3.gemtalksystems.com/ss/FileTree --- /home/quotar/tribe/opensmalltalk-vm/image/package-cache
>>>> Fetched -> MonticelloFileTree-FileDirectory-Utilities.squeak43-dkh.12 --- http://ss3.gemtalksystems.com/ss/FileTree --- /home/quotar/tribe/opensmalltalk-vm/image/package-cache
>>>> Project: Gofer stable
>>>> Fetched -> Metacello-Base-dkh.109 --- http://smalltalkhub.com/mc/dkh/metacello/main --- /home/quotar/tribe/opensmalltalk-vm/image/package-cache
>>>> Fetched -> Metacello-Core-dkh.695 --- http://smalltalkhub.com/mc/dkh/metacello/main --- /home/quotar/tribe/opensmalltalk-vm/image/package-cache
>>>> Fetched -> Metacello-MC-dkh.680 --- http://seaside.gemtalksystems.com/ss/metacello --- /home/quotar/tribe/opensmalltalk-vm/image/package-cache
>>>> Fetched -> Metacello-Platform.squeak-tfel.25 --- http://smalltalkhub.com/mc/dkh/metacello/main --- /home/quotar/tribe/opensmalltalk-vm/image/package-cache
>>>> Fetched -> Metacello-ToolBox-dkh.134 --- http://seaside.gemtalksystems.com/ss/metacello --- /home/quotar/tribe/opensmalltalk-vm/image/package-cache
>>>> Fetched -> Metacello-FileTree-dkh.29 --- http://smalltalkhub.com/mc/dkh/metacello/main --- /home/quotar/tribe/opensmalltalk-vm/image/package-cache
>>>> Fetched -> Metacello-GitHub-dkh.29 --- http://smalltalkhub.com/mc/dkh/metacello/main --- /home/quotar/tribe/opensmalltalk-vm/image/package-cache
>>>> MCFileTreeStCypressWriter class>>fileNameForSelector:(specials is shadowed)
>>>> Loaded -> MonticelloFileTree-Core.squeak43-dkh.169 --- http://ss3.gemtalksystems.com/ss/FileTree --- cache
>>>> Loaded -> MonticelloFileTree-FileDirectory-Utilities.squeak43-dkh.12 --- http://ss3.gemtalksystems.com/ss/FileTree --- cache
>>>> BaselineOf>>projectClass (MetacelloMCBaselineProject is Undeclared)
>>>> ConfigurationOf>>versionNumberClass (MetacelloSemanticVersionNumber is Undeclared)
>>>> Loaded -> Metacello-Base-dkh.109 --- http://smalltalkhub.com/mc/dkh/metacello/main --- cache
>>>> MetacelloProjectRegistration>>version (MetacelloMCBaselineProject is Undeclared)
>>>> MetacelloBaselineSpecGenerator>>projectSpecCreationBlock (MetacelloMCBaselineProject is Undeclared)
>>>> Loaded -> Metacello-Core-dkh.695 --- http://smalltalkhub.com/mc/dkh/metacello/main --- cache
>>>> Loaded -> Metacello-MC-dkh.680 --- http://seaside.gemtalksystems.com/ss/metacello --- cache
>>>> Loaded -> Metacello-Platform.squeak-tfel.25 --- http://smalltalkhub.com/mc/dkh/metacello/main --- cache
>>>> Loaded -> Metacello-ToolBox-dkh.134 --- http://seaside.gemtalksystems.com/ss/metacello --- cache
>>>> Loaded -> Metacello-FileTree-dkh.29 --- http://smalltalkhub.com/mc/dkh/metacello/main --- cache
>>>> Loaded -> Metacello-GitHub-dkh.29 --- http://smalltalkhub.com/mc/dkh/metacello/main --- cache
>>>> Using cache repository for ConfigurationOfGofer project package
>>>> Evaluated -> 1.0-beta.32.3 [ConfigurationOfMetacello] >> metacelloPrimeRegistry
>>>> ...finished 1.0-beta.32.3
>>>> ...RETRY->BaselineOfMetacello
>>>> ...RETRY->BaselineOfMetacello
>>>> gofer repository error: 'GoferRepositoryError: UndefinedObject>>isAlphaNumeric'...ignoring
>>>> ...FAILED->BaselineOfMetacello
>>>>
>>>> On 4/9/20 4:03 AM, Marcel Taeumel wrote:
>>>>
>>>>> Both Metacello and MagicMouse load fine in Squeak 5.3. I just did that. So, Metacello is working in Squeak.
>>>>>
>>>>> Best,
>>>>> Marcel
>>>>>
>>>>>> Am 08.04.2020 15:53:00 schrieb Robert via Squeak-dev [<squeak-dev at lists.squeakfoundation.org>](mailto:squeak-dev at lists.squeakfoundation.org):
>>>>>>
>>>>>> Anyone else having this issue? Is it repeatable? I can’t load MagicMouse until my Metacello is working. Metacello is not working. *sad face*
>>>>>>
>>>>>> Kindly,
>>>>>> Robert
>>>>>>
>>>>>> On Sun, Mar 29, 2020 at 19:12, Robert <robert.withers at pm.me> wrote:
>>>>>>
>>>>>>> Hi Fabio,
>>>>>>>
>>>>>>> On 3/27/20 7:36 PM, Fabio Niephaus wrote:
>>>>>>>
>>>>>>>> On Fri, Mar 27, 2020 at 9:35 PM Robert <robert.withers at pm.me> wrote:
>>>>>>>>
>>>>>>>>> I can't load MagicMouse or my ProCrypto-1-1-1 in Pharo, until Metacello is fixed. k, r
>>>>>>>>
>>>>>>>> As a workaround, you could try loading the packages from a local checkout:
>>>>>>>>
>>>>>>>> Terminal:
>>>>>>>> $ git clone https://github.com/cmfcmf/MagicMouse
>>>>>>>> $ echo "$(pwd)/MagicMouse/packages"
>>>>>>>
>>>>>>> Alright, I did so.
>>>>>>>
>>>>>>>> Squeak:
>>>>>>>> Metacello new
>>>>>>>>   baseline: 'AutoTDD';
>>>>>>>>   repository: 'filetree:///path/to/MagicMouse/packages';
>>>>>>>>
>>>>>>>>   load
>>>>>>>
>>>>>>> This is unclear. Is the baseline: supposed to be 'MagicMouse'? This wants to update Metacello which has been failing in my image. So I try to create a Monticello repository filetree: on the MagicMouse/packages directory. This also fails and looking at the fileout I don't see how to file in with file list or through the Monticello Browser. I can't load it.
>>>>>>>
>>>>>>> k, r
>>>>>>>
>>>>>>>> Hope this helps,
>>>>>>>> Fabio
>>>>>>>>
>>>>>>>>> On 3/27/20 11:43 AM, Fabio Niephaus wrote:
>>>>>>>>>
>>>>>>>>>> Hi Robert,
>>>>>>>>>>
>>>>>>>>>> what happens when you run `Installer ensureRecentMetacello.` before everything else?
>>>>>>>>>>
>>>>>>>>>> Fabio
>>>>>>>>>>
>>>>>>>>>> On Fri, Mar 27, 2020 at 4:41 PM Robert via Squeak-dev <squeak-dev at lists.squeakfoundation.org> wrote:
>>>>>>>>>>
>>>>>>>>>>> Ack! Here is the issue I am having...sending to the list.
>>>>>>>>>>>
>>>>>>>>>>> On 3/27/20 6:34 AM, Robert wrote:
>>>>>>>>>>>
>>>>>>>>>>>> So I tried to load MagicMouse again:
>>>>>>>>>>>>
>>>>>>>>>>>> Metacello new
>>>>>>>>>>>>     baseline: 'MagicMouse';
>>>>>>>>>>>>     repository: 'github://cmfcmf/MagicMouse:master/packages';
>>>>>>>>>>>>     load.
>>>>>>>>>>>>
>>>>>>>>>>>> and again it failed. It is failing when trying to load from this spec:
>>>>>>>>>>>>
>>>>>>>>>>>> spec
>>>>>>>>>>>>     name: 'BaselineOfMetacello';
>>>>>>>>>>>>     repository: 'github://Metacello/metacello:master/repository'.
>>>>>>>>>>>>
>>>>>>>>>>>> I was able to load BaselineOfMetacello from 'http://seaside.gemtalksystems.com/ss/metacello', but when I restarted the original load process it again hung up on loading from 'github://Metacello/metacello:master/repository'.
>>>>>>>>>>>>
>>>>>>>>>>>> So I am stuck. k, r
>>>>>>>>>>>>
>>>>>>>>>>>> On 3/27/20 5:03 AM, Patrick R wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Hm... just worked for me right now in Squeak 5.3. [@RobWithers](https://github.com/RobWithers) Have you tried it since then? It might really have been an issue with Metacello.
>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> You are receiving this because you were mentioned.
>>>>>>>>>>>>> Reply to this email directly, [view it on GitHub](https://github.com/cmfcmf/MagicMouse/issues/2#issuecomment-604891298), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/AH7NNSQWIRGV432NZZP3ZYTRJRTUXANCNFSM4LSZYEFQ).
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> Kindly,
>>>>>>>>>>>> Robert
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> Kindly,
>>>>>>>>>>> Robert
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Kindly,
>>>>>>>>> Robert
>>>>>>>
>>>>>>> --
>>>>>>> Kindly,
>>>>>>> Robert
>>>>
>>>> --
>>>> Kindly,
>>>> Robert
>>>
>>> --
>>> Kindly,
>>> Robert
>
> --
> Kindly,
> Robert

--
Kindly,
Robert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200409/f35be56f/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sendersOfisAlphanumeric.jpeg
Type: image/jpeg
Size: 23824 bytes
Desc: not available
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200409/f35be56f/attachment-0002.jpeg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: isAlphaNumeric.jpeg
Type: image/jpeg
Size: 43620 bytes
Desc: not available
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200409/f35be56f/attachment-0003.jpeg>


More information about the Squeak-dev mailing list