Hi all,
Dale has been working on a Squeak version of FileTree, which is a Monticello repository backed not by zip files, but a tree of individual class files that can be versioned using git, svn, etc:
https://github.com/dalehenrich/filetree/blob/master/doc/SqueakInstall.md
Since I don't like cluttering my image with unrelated things, here's how to load it using just Installer - provided you have an up-to-date trunk image with the fixes I posted today:
======================== "Bootstrap from squeak43 branch in squeaksource3"
Installer ss3 project: 'FileTree'; install: 'MonticelloFileTree-Core.squeak43'.
"Load from local filetree repository (cloned squeak4.3 branch from github into image folder)"
Installer monticello mc: (MCFileTreeRepository directory: (FileDirectory uri: 'filetree/repository/')); install: 'MonticelloFileTree-Core' ========================
If you have an older image without the new fixes, giving an explicit version number for the ss3 bootstrap should make it work (e.g. 'MonticelloFileTree-Core.squeak43-dkh.70').
- Bert -
Bert,
Thanks for the better install script (and your pull request:) ... I've updated the readme...
Dale
----- Original Message ----- | From: "Bert Freudenberg" bert@freudenbergs.de | To: "The general-purpose Squeak developers list" squeak-dev@lists.squeakfoundation.org | Cc: "Dale Henrichs" dhenrich@vmware.com | Sent: Wednesday, July 4, 2012 7:08:53 AM | Subject: Installing Filetree | | Hi all, | | Dale has been working on a Squeak version of FileTree, which is a | Monticello repository backed not by zip files, but a tree of | individual class files that can be versioned using git, svn, etc: | | https://github.com/dalehenrich/filetree/blob/master/doc/SqueakInstall.md | | Since I don't like cluttering my image with unrelated things, here's | how to load it using just Installer - provided you have an | up-to-date trunk image with the fixes I posted today: | | ======================== | "Bootstrap from squeak43 branch in squeaksource3" | | Installer ss3 | project: 'FileTree'; | install: 'MonticelloFileTree-Core.squeak43'. | | "Load from local filetree repository (cloned squeak4.3 branch from | github into image folder)" | | Installer monticello | mc: (MCFileTreeRepository directory: | (FileDirectory uri: 'filetree/repository/')); | install: 'MonticelloFileTree-Core' | ======================== | | If you have an older image without the new fixes, giving an explicit | version number for the ss3 bootstrap should make it work (e.g. | 'MonticelloFileTree-Core.squeak43-dkh.70'). | | - Bert - | | |
On Wed, 4 Jul 2012, Bert Freudenberg wrote:
Hi all,
Dale has been working on a Squeak version of FileTree, which is a Monticello repository backed not by zip files, but a tree of individual class files that can be versioned using git, svn, etc:
https://github.com/dalehenrich/filetree/blob/master/doc/SqueakInstall.md
Since I don't like cluttering my image with unrelated things, here's how to load it using just Installer - provided you have an up-to-date trunk image with the fixes I posted today:
As a side-effect several (~30) Monticello tests fail or raise an error.
Levente
======================== "Bootstrap from squeak43 branch in squeaksource3"
Installer ss3 project: 'FileTree'; install: 'MonticelloFileTree-Core.squeak43'.
"Load from local filetree repository (cloned squeak4.3 branch from github into image folder)"
Installer monticello mc: (MCFileTreeRepository directory: (FileDirectory uri: 'filetree/repository/')); install: 'MonticelloFileTree-Core' ========================
If you have an older image without the new fixes, giving an explicit version number for the ss3 bootstrap should make it work (e.g. 'MonticelloFileTree-Core.squeak43-dkh.70').
- Bert -
On 2012-07-05, at 16:25, Levente Uzonyi wrote:
On Wed, 4 Jul 2012, Bert Freudenberg wrote:
with the fixes I posted today:
As a side-effect several (~30) Monticello tests fail or raise an error.
Ah. I fixed that problem now. The test was using an unexpectedly short name for a MC version ("MC1").
It's back down to 4 failures, no errors.
- Bert -
On 2012-07-05, at 17:13, Bert Freudenberg wrote:
On 2012-07-05, at 16:25, Levente Uzonyi wrote:
As a side-effect several (~30) Monticello tests fail or raise an error.
Ah. I fixed that problem now. The test was using an unexpectedly short name for a MC version ("MC1").
It's back down to 4 failures, no errors.
- Bert -
Can't get a grip on the rest. Seems to have to do with 'Tests-Monticello-Mocks' vs 'Monticello-Mocks' system categories, but experimenting with that hoses the image quickly.
I'm not quite sure how Colin intended the mock packages to work.
- Bert -
On Thu, Jul 5, 2012 at 9:21 AM, Bert Freudenberg bert@freudenbergs.de wrote:
Can't get a grip on the rest. Seems to have to do with 'Tests-Monticello-Mocks' vs 'Monticello-Mocks' system categories, but experimenting with that hoses the image quickly.
I'm not quite sure how Colin intended the mock packages to work.
I'll take a look.
Colin
On 5 July 2012 17:21, Bert Freudenberg bert@freudenbergs.de wrote:
On 2012-07-05, at 17:13, Bert Freudenberg wrote:
On 2012-07-05, at 16:25, Levente Uzonyi wrote:
As a side-effect several (~30) Monticello tests fail or raise an error.
Ah. I fixed that problem now. The test was using an unexpectedly short name for a MC version ("MC1").
It's back down to 4 failures, no errors.
- Bert -
Can't get a grip on the rest. Seems to have to do with 'Tests-Monticello-Mocks' vs 'Monticello-Mocks' system categories, but experimenting with that hoses the image quickly.
Guillermo Polito just ran into something in this area over in the Pharo community. It might be worth sending him a mail?
frank
I'm not quite sure how Colin intended the mock packages to work.
- Bert -
Hi Bert
Installer ss3 project: 'FileTree'; install: 'MonticelloFileTree-Core.squeak43'.
worked fine in a fully updated image.
I then did the following test. I created a package 'HHTestingFileTree' in the Monticello Browser and added a filetree repo on the local harddisk
I created a class 'Dummy' in the category 'HHTestingFileTree'
Then I wanted to save it in the Monticello Browser with 'save it'.
A debugger came up breaking in MCScanner >> next
next | c | stream skipSeparators. c := stream peek. c = $# ifTrue: [c := stream next; peek]. c = $' ifTrue: [^ self nextString]. c = $( ifTrue: [^ self nextArray]. c isAlphaNumeric ifTrue: [^ self nextSymbol]. <<<<<< c is nil self error: 'Unknown token type'.
Am I missing something? Does it work for you
--Hannes
On 7/5/12, Bert Freudenberg bert@freudenbergs.de wrote:
On 2012-07-05, at 16:25, Levente Uzonyi wrote:
On Wed, 4 Jul 2012, Bert Freudenberg wrote:
with the fixes I posted today:
As a side-effect several (~30) Monticello tests fail or raise an error.
Ah. I fixed that problem now. The test was using an unexpectedly short name for a MC version ("MC1").
It's back down to 4 failures, no errors.
- Bert -
Hannes,
Could I see a little more of the stack to get some context?
I should point out that I don't necessarily keep the mcz files up-to-date and that the complete install of FileTree should involve a load from a git repository[1], to get the absolutely latest code.
I'd also be interested to know which version of the MonticelloFileTree-Core.squeak43 package that is loaded ...
Finally I run tests using travisCI[2] for each push to github, but I test against the image downloaded from [3] (including latest github code for Squeak4.3 branch) and that passing all of the unit tests, with my latest updates...
Dale
[1] https://github.com/dalehenrich/filetree/blob/pharo1.3/doc/SqueakInstall.md [2] http://travis-ci.org/#!/dalehenrich/filetree/builds/1810028 [3] http://ftp.squeak.org/4.3/Squeak4.3.zip ----- Original Message ----- | From: "H. Hirzel" hannes.hirzel@gmail.com | To: "The general-purpose Squeak developers list" squeak-dev@lists.squeakfoundation.org | Sent: Thursday, July 12, 2012 3:16:13 PM | Subject: Re: [squeak-dev] Installing Filetree | | Hi Bert | | Installer ss3 | project: 'FileTree'; | install: 'MonticelloFileTree-Core.squeak43'. | | worked fine in a fully updated image. | | I then did the following test. | I created a package 'HHTestingFileTree' in the Monticello Browser and | added a filetree repo on the local harddisk | | I created a class 'Dummy' in the category 'HHTestingFileTree' | | Then I wanted to save it in the Monticello Browser with 'save it'. | | A debugger came up breaking in MCScanner >> next | | next | | c | | stream skipSeparators. | c := stream peek. | c = $# ifTrue: [c := stream next; peek]. | c = $' ifTrue: [^ self nextString]. | c = $( ifTrue: [^ self nextArray]. | c isAlphaNumeric ifTrue: [^ self nextSymbol]. <<<<<< c is nil | self error: 'Unknown token type'. | | | Am I missing something? Does it work for you | | --Hannes | | On 7/5/12, Bert Freudenberg bert@freudenbergs.de wrote: | > On 2012-07-05, at 16:25, Levente Uzonyi wrote: | > | >> On Wed, 4 Jul 2012, Bert Freudenberg wrote: | >> | >>> with the fixes I posted today: | >> | >> As a side-effect several (~30) Monticello tests fail or raise an | >> error. | > | > | > Ah. I fixed that problem now. The test was using an unexpectedly | > short name | > for a MC version ("MC1"). | > | > It's back down to 4 failures, no errors. | > | > - Bert - | > | > | > | > | |
Dale,
Thank you for answering quickly and for pointing out that I should go for the github version. I'll do that.
In the meantime: It is a plain 4.3all-in one image from www.squeak.org updated to the last change.
I filed in FileTree, but no git is installed.
I clicked on 'open' in the Monticello browser, the result is shown in the screenshot.
Maybe this helps. Otherwise I can upload the whole image.
Hannes
On 7/13/12, Dale Henrichs dhenrich@vmware.com wrote:
Hannes,
Could I see a little more of the stack to get some context?
I should point out that I don't necessarily keep the mcz files up-to-date and that the complete install of FileTree should involve a load from a git repository[1], to get the absolutely latest code.
I'd also be interested to know which version of the MonticelloFileTree-Core.squeak43 package that is loaded ...
Finally I run tests using travisCI[2] for each push to github, but I test against the image downloaded from [3] (including latest github code for Squeak4.3 branch) and that passing all of the unit tests, with my latest updates...
Dale
[1] https://github.com/dalehenrich/filetree/blob/pharo1.3/doc/SqueakInstall.md [2] http://travis-ci.org/#!/dalehenrich/filetree/builds/1810028 [3] http://ftp.squeak.org/4.3/Squeak4.3.zip ----- Original Message ----- | From: "H. Hirzel" hannes.hirzel@gmail.com | To: "The general-purpose Squeak developers list" squeak-dev@lists.squeakfoundation.org | Sent: Thursday, July 12, 2012 3:16:13 PM | Subject: Re: [squeak-dev] Installing Filetree | | Hi Bert | | Installer ss3 | project: 'FileTree'; | install: 'MonticelloFileTree-Core.squeak43'. | | worked fine in a fully updated image. | | I then did the following test. | I created a package 'HHTestingFileTree' in the Monticello Browser and | added a filetree repo on the local harddisk | | I created a class 'Dummy' in the category 'HHTestingFileTree' | | Then I wanted to save it in the Monticello Browser with 'save it'. | | A debugger came up breaking in MCScanner >> next | | next | | c | | stream skipSeparators. | c := stream peek. | c = $# ifTrue: [c := stream next; peek]. | c = $' ifTrue: [^ self nextString]. | c = $( ifTrue: [^ self nextArray]. | c isAlphaNumeric ifTrue: [^ self nextSymbol]. <<<<<< c is nil | self error: 'Unknown token type'. | | | Am I missing something? Does it work for you | | --Hannes | | On 7/5/12, Bert Freudenberg bert@freudenbergs.de wrote: | > On 2012-07-05, at 16:25, Levente Uzonyi wrote: | > | >> On Wed, 4 Jul 2012, Bert Freudenberg wrote: | >> | >>> with the fixes I posted today: | >> | >> As a side-effect several (~30) Monticello tests fail or raise an | >> error. | > | > | > Ah. I fixed that problem now. The test was using an unexpectedly | > short name | > for a MC version ("MC1"). | > | > It's back down to 4 failures, no errors. | > | > - Bert - | > | > | > | > | |
Hannes,
The stack looks like a FileTree bug.... I've created Issue #49[1].
I won't be able to track this bug down right away, but I'll get to it as soon as I can ...
Thanks,
Dale
[1] https://github.com/dalehenrich/filetree/issues/49
----- Original Message ----- | From: "H. Hirzel" hannes.hirzel@gmail.com | To: "The general-purpose Squeak developers list" squeak-dev@lists.squeakfoundation.org | Cc: "Dale Henrichs" dhenrich@vmware.com | Sent: Friday, July 13, 2012 9:35:50 AM | Subject: Re: [squeak-dev] Installing Filetree | | Dale, | | Thank you for answering quickly and for pointing out that I should go | for the github version. | I'll do that. | | In the meantime: | It is a plain 4.3all-in one image from www.squeak.org updated to the | last change. | | I filed in FileTree, but no git is installed. | | I clicked on 'open' in the Monticello browser, the result is shown in | the screenshot. | | Maybe this helps. Otherwise I can upload the whole image. | | Hannes | | On 7/13/12, Dale Henrichs dhenrich@vmware.com wrote: | > Hannes, | > | > Could I see a little more of the stack to get some context? | > | > I should point out that I don't necessarily keep the mcz files | > up-to-date | > and that the complete install of FileTree should involve a load | > from a git | > repository[1], to get the absolutely latest code. | > | > I'd also be interested to know which version of the | > MonticelloFileTree-Core.squeak43 package that is loaded ... | > | > Finally I run tests using travisCI[2] for each push to github, but | > I test | > against the image downloaded from [3] (including latest github code | > for | > Squeak4.3 branch) and that passing all of the unit tests, with my | > latest | > updates... | > | > Dale | > | > [1] | > https://github.com/dalehenrich/filetree/blob/pharo1.3/doc/SqueakInstall.md | > [2] http://travis-ci.org/#!/dalehenrich/filetree/builds/1810028 | > [3] http://ftp.squeak.org/4.3/Squeak4.3.zip | > ----- Original Message ----- | > | From: "H. Hirzel" hannes.hirzel@gmail.com | > | To: "The general-purpose Squeak developers list" | > squeak-dev@lists.squeakfoundation.org | > | Sent: Thursday, July 12, 2012 3:16:13 PM | > | Subject: Re: [squeak-dev] Installing Filetree | > | | > | Hi Bert | > | | > | Installer ss3 | > | project: 'FileTree'; | > | install: 'MonticelloFileTree-Core.squeak43'. | > | | > | worked fine in a fully updated image. | > | | > | I then did the following test. | > | I created a package 'HHTestingFileTree' in the Monticello Browser | > | and | > | added a filetree repo on the local harddisk | > | | > | I created a class 'Dummy' in the category 'HHTestingFileTree' | > | | > | Then I wanted to save it in the Monticello Browser with 'save | > | it'. | > | | > | A debugger came up breaking in MCScanner >> next | > | | > | next | > | | c | | > | stream skipSeparators. | > | c := stream peek. | > | c = $# ifTrue: [c := stream next; peek]. | > | c = $' ifTrue: [^ self nextString]. | > | c = $( ifTrue: [^ self nextArray]. | > | c isAlphaNumeric ifTrue: [^ self nextSymbol]. <<<<<< c is | > | nil | > | self error: 'Unknown token type'. | > | | > | | > | Am I missing something? Does it work for you | > | | > | --Hannes | > | | > | On 7/5/12, Bert Freudenberg bert@freudenbergs.de wrote: | > | > On 2012-07-05, at 16:25, Levente Uzonyi wrote: | > | > | > | >> On Wed, 4 Jul 2012, Bert Freudenberg wrote: | > | >> | > | >>> with the fixes I posted today: | > | >> | > | >> As a side-effect several (~30) Monticello tests fail or raise | > | >> an | > | >> error. | > | > | > | > | > | > Ah. I fixed that problem now. The test was using an | > | > unexpectedly | > | > short name | > | > for a MC version ("MC1"). | > | > | > | > It's back down to 4 failures, no errors. | > | > | > | > - Bert - | > | > | > | > | > | > | > | > | > | | > | | > | > |
Hannes,
I repeated your steps in Squeak4.3-11860 and did not have an issue.
What's the build number in your image (i.e., is it older or newer than the image I'm using)?
Dale
----- Original Message ----- | From: "Dale Henrichs" dhenrich@vmware.com | To: "H. Hirzel" hannes.hirzel@gmail.com | Cc: "The general-purpose Squeak developers list" squeak-dev@lists.squeakfoundation.org | Sent: Friday, July 13, 2012 9:55:46 AM | Subject: Re: [squeak-dev] Installing Filetree | | Hannes, | | The stack looks like a FileTree bug.... I've created Issue #49[1]. | | I won't be able to track this bug down right away, but I'll get to it | as soon as I can ... | | Thanks, | | Dale | | [1] https://github.com/dalehenrich/filetree/issues/49 | | ----- Original Message ----- | | From: "H. Hirzel" hannes.hirzel@gmail.com | | To: "The general-purpose Squeak developers list" | | squeak-dev@lists.squeakfoundation.org | | Cc: "Dale Henrichs" dhenrich@vmware.com | | Sent: Friday, July 13, 2012 9:35:50 AM | | Subject: Re: [squeak-dev] Installing Filetree | | | | Dale, | | | | Thank you for answering quickly and for pointing out that I should | | go | | for the github version. | | I'll do that. | | | | In the meantime: | | It is a plain 4.3all-in one image from www.squeak.org updated to | | the | | last change. | | | | I filed in FileTree, but no git is installed. | | | | I clicked on 'open' in the Monticello browser, the result is shown | | in | | the screenshot. | | | | Maybe this helps. Otherwise I can upload the whole image. | | | | Hannes | | | | On 7/13/12, Dale Henrichs dhenrich@vmware.com wrote: | | > Hannes, | | > | | > Could I see a little more of the stack to get some context? | | > | | > I should point out that I don't necessarily keep the mcz files | | > up-to-date | | > and that the complete install of FileTree should involve a load | | > from a git | | > repository[1], to get the absolutely latest code. | | > | | > I'd also be interested to know which version of the | | > MonticelloFileTree-Core.squeak43 package that is loaded ... | | > | | > Finally I run tests using travisCI[2] for each push to github, | | > but | | > I test | | > against the image downloaded from [3] (including latest github | | > code | | > for | | > Squeak4.3 branch) and that passing all of the unit tests, with my | | > latest | | > updates... | | > | | > Dale | | > | | > [1] | | > https://github.com/dalehenrich/filetree/blob/pharo1.3/doc/SqueakInstall.md | | > [2] http://travis-ci.org/#!/dalehenrich/filetree/builds/1810028 | | > [3] http://ftp.squeak.org/4.3/Squeak4.3.zip | | > ----- Original Message ----- | | > | From: "H. Hirzel" hannes.hirzel@gmail.com | | > | To: "The general-purpose Squeak developers list" | | > squeak-dev@lists.squeakfoundation.org | | > | Sent: Thursday, July 12, 2012 3:16:13 PM | | > | Subject: Re: [squeak-dev] Installing Filetree | | > | | | > | Hi Bert | | > | | | > | Installer ss3 | | > | project: 'FileTree'; | | > | install: 'MonticelloFileTree-Core.squeak43'. | | > | | | > | worked fine in a fully updated image. | | > | | | > | I then did the following test. | | > | I created a package 'HHTestingFileTree' in the Monticello | | > | Browser | | > | and | | > | added a filetree repo on the local harddisk | | > | | | > | I created a class 'Dummy' in the category 'HHTestingFileTree' | | > | | | > | Then I wanted to save it in the Monticello Browser with 'save | | > | it'. | | > | | | > | A debugger came up breaking in MCScanner >> next | | > | | | > | next | | > | | c | | | > | stream skipSeparators. | | > | c := stream peek. | | > | c = $# ifTrue: [c := stream next; peek]. | | > | c = $' ifTrue: [^ self nextString]. | | > | c = $( ifTrue: [^ self nextArray]. | | > | c isAlphaNumeric ifTrue: [^ self nextSymbol]. <<<<<< c | | > | is | | > | nil | | > | self error: 'Unknown token type'. | | > | | | > | | | > | Am I missing something? Does it work for you | | > | | | > | --Hannes | | > | | | > | On 7/5/12, Bert Freudenberg bert@freudenbergs.de wrote: | | > | > On 2012-07-05, at 16:25, Levente Uzonyi wrote: | | > | > | | > | >> On Wed, 4 Jul 2012, Bert Freudenberg wrote: | | > | >> | | > | >>> with the fixes I posted today: | | > | >> | | > | >> As a side-effect several (~30) Monticello tests fail or | | > | >> raise | | > | >> an | | > | >> error. | | > | > | | > | > | | > | > Ah. I fixed that problem now. The test was using an | | > | > unexpectedly | | > | > short name | | > | > for a MC version ("MC1"). | | > | > | | > | > It's back down to 4 failures, no errors. | | > | > | | > | > - Bert - | | > | > | | > | > | | > | > | | > | > | | > | | | > | | | > | | > | | | |
On 7/13/12, Dale Henrichs dhenrich@vmware.com wrote:
Hannes,
Could I see a little more of the stack to get some context?
I should point out that I don't necessarily keep the mcz files up-to-date and that the complete install of FileTree should involve a load from a git repository[1], to get the absolutely latest code.
I'd also be interested to know which version of the MonticelloFileTree-Core.squeak43 package that is loaded ...
Finally I run tests using travisCI[2] for each push to github, but I test against the image downloaded from [3] (including latest github code for Squeak4.3 branch) and that passing all of the unit tests, with my latest updates...
Dale
[1] https://github.com/dalehenrich/filetree/blob/pharo1.3/doc/SqueakInstall.md [2] http://travis-ci.org/#!/dalehenrich/filetree/builds/1810028
Dale
I redid the test case
Prerequisite:
A pristine copy of [3] using the latest Cog machine on Windows http://www.mirandabanda.org/files/Cog/VM/VM.r2559/cogwin.zip (I assume the Cog version has no influence, this is just for the record)
The image version is Squeak 4.3 #11860
Steps 1) Open a workspace 2) Paste in the code from the email from Bert who reports it has worked for him.
Installer ss3 project: 'FileTree'; install: 'MonticelloFileTree-Core.squeak43'.
3) Execute the code
Result A walkback. The versions collection is empty, see attached screen shot.
Suggestions what else to test are welcome.
--Hannes
Regarding point 2 of the previous mail.
I realize that instead of
Installer ss3 project: 'FileTree'; install: 'MonticelloFileTree-Core.squeak43'.
I have to go to http://ss3.gemstone.com/ss/FileTree/ and pick out a file name and then do e.g.
Installer ss3 project: 'FileTree'; install: 'MonticelloFileTree-Core.pharo20-dkh.78.mcz'.
Then it files in file. However there is still a problem. See next mail.
--HJH
On 7/19/12, H. Hirzel hannes.hirzel@gmail.com wrote:
On 7/13/12, Dale Henrichs dhenrich@vmware.com wrote:
Hannes,
Could I see a little more of the stack to get some context?
I should point out that I don't necessarily keep the mcz files up-to-date and that the complete install of FileTree should involve a load from a git repository[1], to get the absolutely latest code.
I'd also be interested to know which version of the MonticelloFileTree-Core.squeak43 package that is loaded ...
Finally I run tests using travisCI[2] for each push to github, but I test against the image downloaded from [3] (including latest github code for Squeak4.3 branch) and that passing all of the unit tests, with my latest updates...
Dale
[1] https://github.com/dalehenrich/filetree/blob/pharo1.3/doc/SqueakInstall.md [2] http://travis-ci.org/#!/dalehenrich/filetree/builds/1810028
Dale
I redid the test case
Prerequisite:
A pristine copy of [3] using the latest Cog machine on Windows http://www.mirandabanda.org/files/Cog/VM/VM.r2559/cogwin.zip (I assume the Cog version has no influence, this is just for the record)
The image version is Squeak 4.3 #11860
Steps
- Open a workspace
- Paste in the code from the email from Bert who reports it has worked for
him.
Installer ss3 project: 'FileTree'; install: 'MonticelloFileTree-Core.squeak43'.
- Execute the code
Result A walkback. The versions collection is empty, see attached screen shot.
Suggestions what else to test are welcome.
--Hannes
OK I have to pick the right file. I just picked the latest without actually reading the file name properly.
I have to take MonticelloFileTree-Core.squeak43-dkh.70.mcz
and NOT MonticelloFileTree-Core.pharo20-dkh.78.mcz
HJH
On 7/19/12, H. Hirzel hannes.hirzel@gmail.com wrote:
Regarding point 2 of the previous mail.
I realize that instead of
Installer ss3 project: 'FileTree'; install: 'MonticelloFileTree-Core.squeak43'.
I have to go to http://ss3.gemstone.com/ss/FileTree/ and pick out a file name and then do e.g.
Installer ss3 project: 'FileTree'; install: 'MonticelloFileTree-Core.pharo20-dkh.78.mcz'.
Then it files in file. However there is still a problem. See next mail.
--HJH
On 7/19/12, H. Hirzel hannes.hirzel@gmail.com wrote:
On 7/13/12, Dale Henrichs dhenrich@vmware.com wrote:
Hannes,
Could I see a little more of the stack to get some context?
I should point out that I don't necessarily keep the mcz files up-to-date and that the complete install of FileTree should involve a load from a git repository[1], to get the absolutely latest code.
I'd also be interested to know which version of the MonticelloFileTree-Core.squeak43 package that is loaded ...
Finally I run tests using travisCI[2] for each push to github, but I test against the image downloaded from [3] (including latest github code for Squeak4.3 branch) and that passing all of the unit tests, with my latest updates...
Dale
[1] https://github.com/dalehenrich/filetree/blob/pharo1.3/doc/SqueakInstall.md [2] http://travis-ci.org/#!/dalehenrich/filetree/builds/1810028
Dale
I redid the test case
Prerequisite:
A pristine copy of [3] using the latest Cog machine on Windows http://www.mirandabanda.org/files/Cog/VM/VM.r2559/cogwin.zip (I assume the Cog version has no influence, this is just for the record)
The image version is Squeak 4.3 #11860
Steps
- Open a workspace
- Paste in the code from the email from Bert who reports it has worked
for him.
Installer ss3 project: 'FileTree'; install: 'MonticelloFileTree-Core.squeak43'.
- Execute the code
Result A walkback. The versions collection is empty, see attached screen shot.
Suggestions what else to test are welcome.
--Hannes
The original test case
1) Create a package 'HHTestingFileTree' 2) add a class 'MyHHclass' 3) add a class method 4) Add in the MonticelloBrowser a filetree directory 5) Click 'Save' in the MonticelloBrowser
FAILS
variable 'contents' is empty in an object of the class MCFileTreeStCypressReader
--Hannes
On 7/19/12, H. Hirzel hannes.hirzel@gmail.com wrote:
OK I have to pick the right file. I just picked the latest without actually reading the file name properly.
I have to take MonticelloFileTree-Core.squeak43-dkh.70.mcz
and NOT MonticelloFileTree-Core.pharo20-dkh.78.mcz
HJH
On 7/19/12, H. Hirzel hannes.hirzel@gmail.com wrote:
Regarding point 2 of the previous mail.
I realize that instead of
Installer ss3 project: 'FileTree'; install: 'MonticelloFileTree-Core.squeak43'.
I have to go to http://ss3.gemstone.com/ss/FileTree/ and pick out a file name and then do e.g.
Installer ss3 project: 'FileTree'; install: 'MonticelloFileTree-Core.pharo20-dkh.78.mcz'.
Then it files in file. However there is still a problem. See next mail.
--HJH
On 7/19/12, H. Hirzel hannes.hirzel@gmail.com wrote:
On 7/13/12, Dale Henrichs dhenrich@vmware.com wrote:
Hannes,
Could I see a little more of the stack to get some context?
I should point out that I don't necessarily keep the mcz files up-to-date and that the complete install of FileTree should involve a load from a git repository[1], to get the absolutely latest code.
I'd also be interested to know which version of the MonticelloFileTree-Core.squeak43 package that is loaded ...
Finally I run tests using travisCI[2] for each push to github, but I test against the image downloaded from [3] (including latest github code for Squeak4.3 branch) and that passing all of the unit tests, with my latest updates...
Dale
[1] https://github.com/dalehenrich/filetree/blob/pharo1.3/doc/SqueakInstall.md [2] http://travis-ci.org/#!/dalehenrich/filetree/builds/1810028
Dale
I redid the test case
Prerequisite:
A pristine copy of [3] using the latest Cog machine on Windows http://www.mirandabanda.org/files/Cog/VM/VM.r2559/cogwin.zip (I assume the Cog version has no influence, this is just for the record)
The image version is Squeak 4.3 #11860
Steps
- Open a workspace
- Paste in the code from the email from Bert who reports it has worked
for him.
Installer ss3 project: 'FileTree'; install: 'MonticelloFileTree-Core.squeak43'.
- Execute the code
Result A walkback. The versions collection is empty, see attached screen shot.
Suggestions what else to test are welcome.
--Hannes
And here comes the screen shot.
On 7/19/12, H. Hirzel hannes.hirzel@gmail.com wrote:
The original test case
- Create a package 'HHTestingFileTree'
- add a class 'MyHHclass'
- add a class method
- Add in the MonticelloBrowser a filetree directory
- Click 'Save' in the MonticelloBrowser
FAILS
variable 'contents' is empty in an object of the class MCFileTreeStCypressReader
--Hannes
On 7/19/12, H. Hirzel hannes.hirzel@gmail.com wrote:
OK I have to pick the right file. I just picked the latest without actually reading the file name properly.
I have to take MonticelloFileTree-Core.squeak43-dkh.70.mcz
and NOT MonticelloFileTree-Core.pharo20-dkh.78.mcz
HJH
On 7/19/12, H. Hirzel hannes.hirzel@gmail.com wrote:
Regarding point 2 of the previous mail.
I realize that instead of
Installer ss3 project: 'FileTree'; install: 'MonticelloFileTree-Core.squeak43'.
I have to go to http://ss3.gemstone.com/ss/FileTree/ and pick out a file name and then do e.g.
Installer ss3 project: 'FileTree'; install: 'MonticelloFileTree-Core.pharo20-dkh.78.mcz'.
Then it files in file. However there is still a problem. See next mail.
--HJH
On 7/19/12, H. Hirzel hannes.hirzel@gmail.com wrote:
On 7/13/12, Dale Henrichs dhenrich@vmware.com wrote:
Hannes,
Could I see a little more of the stack to get some context?
I should point out that I don't necessarily keep the mcz files up-to-date and that the complete install of FileTree should involve a load from a git repository[1], to get the absolutely latest code.
I'd also be interested to know which version of the MonticelloFileTree-Core.squeak43 package that is loaded ...
Finally I run tests using travisCI[2] for each push to github, but I test against the image downloaded from [3] (including latest github code for Squeak4.3 branch) and that passing all of the unit tests, with my latest updates...
Dale
[1] https://github.com/dalehenrich/filetree/blob/pharo1.3/doc/SqueakInstall.md [2] http://travis-ci.org/#!/dalehenrich/filetree/builds/1810028
Dale
I redid the test case
Prerequisite:
A pristine copy of [3] using the latest Cog machine on Windows http://www.mirandabanda.org/files/Cog/VM/VM.r2559/cogwin.zip (I assume the Cog version has no influence, this is just for the record)
The image version is Squeak 4.3 #11860
Steps
- Open a workspace
- Paste in the code from the email from Bert who reports it has worked
for him.
Installer ss3 project: 'FileTree'; install: 'MonticelloFileTree-Core.squeak43'.
- Execute the code
Result A walkback. The versions collection is empty, see attached screen shot.
Suggestions what else to test are welcome.
--Hannes
Hannes,
Okay ... I've updated the FileTree bugreport[1] with a reference to your post and will take a look when I get a chance ...
I will still point out that the install instructions for FileTree[2] include a load of the latest code from the github repository...
BTW, you indicated that you needed to explicitly load a specific version in the Installer script and that the instructions:
Installer ss3 project: 'FileTree'; install: 'MonticelloFileTree-Core.squeak43'.
don't load the correct version... Is that correct?
Dale
[1] https://github.com/dalehenrich/filetree/issues/49 [2] https://github.com/dalehenrich/filetree/blob/pharo1.3/doc/SqueakInstall.md
----- Original Message ----- | From: "H. Hirzel" hannes.hirzel@gmail.com | To: "The general-purpose Squeak developers list" squeak-dev@lists.squeakfoundation.org | Sent: Thursday, July 19, 2012 8:35:57 AM | Subject: Re: [squeak-dev] Installing Filetree | | And here comes the screen shot. | | On 7/19/12, H. Hirzel hannes.hirzel@gmail.com wrote: | > The original test case | > | > 1) Create a package 'HHTestingFileTree' | > 2) add a class 'MyHHclass' | > 3) add a class method | > 4) Add in the MonticelloBrowser a filetree directory | > 5) Click 'Save' in the MonticelloBrowser | > | > FAILS | > | > variable 'contents' is empty in an object of the class | > MCFileTreeStCypressReader | > | > | > --Hannes | > | > On 7/19/12, H. Hirzel hannes.hirzel@gmail.com wrote: | >> OK I have to pick the right file. I just picked the latest without | >> actually reading the file name properly. | >> | >> I have to take | >> MonticelloFileTree-Core.squeak43-dkh.70.mcz | >> | >> and NOT | >> MonticelloFileTree-Core.pharo20-dkh.78.mcz | >> | >> HJH | >> | >> On 7/19/12, H. Hirzel hannes.hirzel@gmail.com wrote: | >>> Regarding point 2 of the previous mail. | >>> | >>> I realize that instead of | >>> | >>> Installer ss3 | >>> project: 'FileTree'; | >>> install: 'MonticelloFileTree-Core.squeak43'. | >>> | >>> I have to go to | >>> http://ss3.gemstone.com/ss/FileTree/ | >>> and pick out a file name and then do e.g. | >>> | >>> Installer ss3 | >>> project: 'FileTree'; | >>> install: 'MonticelloFileTree-Core.pharo20-dkh.78.mcz'. | >>> | >>> | >>> Then it files in file. However there is still a problem. See next | >>> mail. | >>> | >>> --HJH | >>> | >>> On 7/19/12, H. Hirzel hannes.hirzel@gmail.com wrote: | >>>> On 7/13/12, Dale Henrichs dhenrich@vmware.com wrote: | >>>>> Hannes, | >>>>> | >>>>> Could I see a little more of the stack to get some context? | >>>>> | >>>>> I should point out that I don't necessarily keep the mcz files | >>>>> up-to-date | >>>>> and that the complete install of FileTree should involve a load | >>>>> from a | >>>>> git | >>>>> repository[1], to get the absolutely latest code. | >>>>> | >>>>> I'd also be interested to know which version of the | >>>>> MonticelloFileTree-Core.squeak43 package that is loaded ... | >>>>> | >>>>> Finally I run tests using travisCI[2] for each push to github, | >>>>> but I | >>>>> test | >>>>> against the image downloaded from [3] (including latest github | >>>>> code | >>>>> for | >>>>> Squeak4.3 branch) and that passing all of the unit tests, with | >>>>> my | >>>>> latest | >>>>> updates... | >>>>> | >>>>> Dale | >>>>> | >>>>> [1] | >>>>> https://github.com/dalehenrich/filetree/blob/pharo1.3/doc/SqueakInstall.md | >>>>> [2] http://travis-ci.org/#!/dalehenrich/filetree/builds/1810028 | >>>> | >>>>> [3] http://ftp.squeak.org/4.3/Squeak4.3.zip | >>>> | >>>> | >>>> Dale | >>>> | >>>> I redid the test case | >>>> | >>>> | >>>> Prerequisite: | >>>> | >>>> A pristine copy of [3] using the latest Cog machine on Windows | >>>> http://www.mirandabanda.org/files/Cog/VM/VM.r2559/cogwin.zip (I | >>>> assume | >>>> the Cog version has no influence, this is just for the record) | >>>> | >>>> The image version is Squeak 4.3 #11860 | >>>> | >>>> Steps | >>>> 1) Open a workspace | >>>> 2) Paste in the code from the email from Bert who reports it has | >>>> worked | >>>> for | >>>> him. | >>>> | >>>> Installer ss3 | >>>> project: 'FileTree'; | >>>> install: 'MonticelloFileTree-Core.squeak43'. | >>>> | >>>> 3) Execute the code | >>>> | >>>> | >>>> Result | >>>> A walkback. | >>>> The versions collection is empty, see attached screen shot. | >>>> | >>>> | >>>> Suggestions what else to test are welcome. | >>>> | >>>> | >>>> --Hannes | >>>> | >>> | >> | > | | |
As I wrote in my original announcement:
If you have an older image without the new fixes, giving an explicit version number for the ss3 bootstrap should make it work (e.g. 'MonticelloFileTree-Core.squeak43-dkh.70').
http://lists.squeakfoundation.org/pipermail/squeak-dev/2012-July/164703.html
There is no problem with FileTree but with Installer/Monticello, which did not handle branched packages correctly. It's fixed in trunk.
Or am I missing something?
- Bert -
On 19.07.2012, at 09:56, Dale Henrichs wrote:
Hannes,
Okay ... I've updated the FileTree bugreport[1] with a reference to your post and will take a look when I get a chance ...
I will still point out that the install instructions for FileTree[2] include a load of the latest code from the github repository...
BTW, you indicated that you needed to explicitly load a specific version in the Installer script and that the instructions:
Installer ss3 project: 'FileTree'; install: 'MonticelloFileTree-Core.squeak43'.
don't load the correct version... Is that correct?
Dale
[1] https://github.com/dalehenrich/filetree/issues/49 [2] https://github.com/dalehenrich/filetree/blob/pharo1.3/doc/SqueakInstall.md
----- Original Message ----- | From: "H. Hirzel" hannes.hirzel@gmail.com | To: "The general-purpose Squeak developers list" squeak-dev@lists.squeakfoundation.org | Sent: Thursday, July 19, 2012 8:35:57 AM | Subject: Re: [squeak-dev] Installing Filetree | | And here comes the screen shot. | | On 7/19/12, H. Hirzel hannes.hirzel@gmail.com wrote: | > The original test case | > | > 1) Create a package 'HHTestingFileTree' | > 2) add a class 'MyHHclass' | > 3) add a class method | > 4) Add in the MonticelloBrowser a filetree directory | > 5) Click 'Save' in the MonticelloBrowser | > | > FAILS | > | > variable 'contents' is empty in an object of the class | > MCFileTreeStCypressReader | > | > | > --Hannes | > | > On 7/19/12, H. Hirzel hannes.hirzel@gmail.com wrote: | >> OK I have to pick the right file. I just picked the latest without | >> actually reading the file name properly. | >> | >> I have to take | >> MonticelloFileTree-Core.squeak43-dkh.70.mcz | >> | >> and NOT | >> MonticelloFileTree-Core.pharo20-dkh.78.mcz | >> | >> HJH | >> | >> On 7/19/12, H. Hirzel hannes.hirzel@gmail.com wrote: | >>> Regarding point 2 of the previous mail. | >>> | >>> I realize that instead of | >>> | >>> Installer ss3 | >>> project: 'FileTree'; | >>> install: 'MonticelloFileTree-Core.squeak43'. | >>> | >>> I have to go to | >>> http://ss3.gemstone.com/ss/FileTree/ | >>> and pick out a file name and then do e.g. | >>> | >>> Installer ss3 | >>> project: 'FileTree'; | >>> install: 'MonticelloFileTree-Core.pharo20-dkh.78.mcz'. | >>> | >>> | >>> Then it files in file. However there is still a problem. See next | >>> mail. | >>> | >>> --HJH | >>> | >>> On 7/19/12, H. Hirzel hannes.hirzel@gmail.com wrote: | >>>> On 7/13/12, Dale Henrichs dhenrich@vmware.com wrote: | >>>>> Hannes, | >>>>> | >>>>> Could I see a little more of the stack to get some context? | >>>>> | >>>>> I should point out that I don't necessarily keep the mcz files | >>>>> up-to-date | >>>>> and that the complete install of FileTree should involve a load | >>>>> from a | >>>>> git | >>>>> repository[1], to get the absolutely latest code. | >>>>> | >>>>> I'd also be interested to know which version of the | >>>>> MonticelloFileTree-Core.squeak43 package that is loaded ... | >>>>> | >>>>> Finally I run tests using travisCI[2] for each push to github, | >>>>> but I | >>>>> test | >>>>> against the image downloaded from [3] (including latest github | >>>>> code | >>>>> for | >>>>> Squeak4.3 branch) and that passing all of the unit tests, with | >>>>> my | >>>>> latest | >>>>> updates... | >>>>> | >>>>> Dale | >>>>> | >>>>> [1] | >>>>> https://github.com/dalehenrich/filetree/blob/pharo1.3/doc/SqueakInstall.md | >>>>> [2] http://travis-ci.org/#!/dalehenrich/filetree/builds/1810028 | >>>> | >>>>> [3] http://ftp.squeak.org/4.3/Squeak4.3.zip | >>>> | >>>> | >>>> Dale | >>>> | >>>> I redid the test case | >>>> | >>>> | >>>> Prerequisite: | >>>> | >>>> A pristine copy of [3] using the latest Cog machine on Windows | >>>> http://www.mirandabanda.org/files/Cog/VM/VM.r2559/cogwin.zip (I | >>>> assume | >>>> the Cog version has no influence, this is just for the record) | >>>> | >>>> The image version is Squeak 4.3 #11860 | >>>> | >>>> Steps | >>>> 1) Open a workspace | >>>> 2) Paste in the code from the email from Bert who reports it has | >>>> worked | >>>> for | >>>> him. | >>>> | >>>> Installer ss3 | >>>> project: 'FileTree'; | >>>> install: 'MonticelloFileTree-Core.squeak43'. | >>>> | >>>> 3) Execute the code | >>>> | >>>> | >>>> Result | >>>> A walkback. | >>>> The versions collection is empty, see attached screen shot. | >>>> | >>>> | >>>> Suggestions what else to test are welcome. | >>>> | >>>> | >>>> --Hannes | >>>> | >>> | >> | > | | |
On 7/19/12, Dale Henrichs dhenrich@vmware.com wrote:
Hannes,
Okay ... I've updated the FileTree bugreport[1] with a reference to your post and will take a look when I get a chance ...
I will still point out that the install instructions for FileTree[2] include a load of the latest code from the github repository...
BTW, you indicated that you needed to explicitly load a specific version in the Installer script and that the instructions:
Installer ss3 project: 'FileTree'; install: 'MonticelloFileTree-Core.squeak43'.
don't load the correct version... Is that correct?
Yes, please see the attached screen shot.
--Hannes
Dale
[1] https://github.com/dalehenrich/filetree/issues/49 [2] https://github.com/dalehenrich/filetree/blob/pharo1.3/doc/SqueakInstall.md
----- Original Message ----- | From: "H. Hirzel" hannes.hirzel@gmail.com | To: "The general-purpose Squeak developers list" squeak-dev@lists.squeakfoundation.org | Sent: Thursday, July 19, 2012 8:35:57 AM | Subject: Re: [squeak-dev] Installing Filetree | | And here comes the screen shot. | | On 7/19/12, H. Hirzel hannes.hirzel@gmail.com wrote: | > The original test case | > | > 1) Create a package 'HHTestingFileTree' | > 2) add a class 'MyHHclass' | > 3) add a class method | > 4) Add in the MonticelloBrowser a filetree directory | > 5) Click 'Save' in the MonticelloBrowser | > | > FAILS | > | > variable 'contents' is empty in an object of the class | > MCFileTreeStCypressReader | > | > | > --Hannes | > | > On 7/19/12, H. Hirzel hannes.hirzel@gmail.com wrote: | >> OK I have to pick the right file. I just picked the latest without | >> actually reading the file name properly. | >> | >> I have to take | >> MonticelloFileTree-Core.squeak43-dkh.70.mcz | >> | >> and NOT | >> MonticelloFileTree-Core.pharo20-dkh.78.mcz | >> | >> HJH | >> | >> On 7/19/12, H. Hirzel hannes.hirzel@gmail.com wrote: | >>> Regarding point 2 of the previous mail. | >>> | >>> I realize that instead of | >>> | >>> Installer ss3 | >>> project: 'FileTree'; | >>> install: 'MonticelloFileTree-Core.squeak43'. | >>> | >>> I have to go to | >>> http://ss3.gemstone.com/ss/FileTree/ | >>> and pick out a file name and then do e.g. | >>> | >>> Installer ss3 | >>> project: 'FileTree'; | >>> install: 'MonticelloFileTree-Core.pharo20-dkh.78.mcz'. | >>> | >>> | >>> Then it files in file. However there is still a problem. See next | >>> mail. | >>> | >>> --HJH | >>> | >>> On 7/19/12, H. Hirzel hannes.hirzel@gmail.com wrote: | >>>> On 7/13/12, Dale Henrichs dhenrich@vmware.com wrote: | >>>>> Hannes, | >>>>> | >>>>> Could I see a little more of the stack to get some context? | >>>>> | >>>>> I should point out that I don't necessarily keep the mcz files | >>>>> up-to-date | >>>>> and that the complete install of FileTree should involve a load | >>>>> from a | >>>>> git | >>>>> repository[1], to get the absolutely latest code. | >>>>> | >>>>> I'd also be interested to know which version of the | >>>>> MonticelloFileTree-Core.squeak43 package that is loaded ... | >>>>> | >>>>> Finally I run tests using travisCI[2] for each push to github, | >>>>> but I | >>>>> test | >>>>> against the image downloaded from [3] (including latest github | >>>>> code | >>>>> for | >>>>> Squeak4.3 branch) and that passing all of the unit tests, with | >>>>> my | >>>>> latest | >>>>> updates... | >>>>> | >>>>> Dale | >>>>> | >>>>> [1] | >>>>> https://github.com/dalehenrich/filetree/blob/pharo1.3/doc/SqueakInstall.md | >>>>> [2] http://travis-ci.org/#!/dalehenrich/filetree/builds/1810028 | >>>> | >>>>> [3] http://ftp.squeak.org/4.3/Squeak4.3.zip | >>>> | >>>> | >>>> Dale | >>>> | >>>> I redid the test case | >>>> | >>>> | >>>> Prerequisite: | >>>> | >>>> A pristine copy of [3] using the latest Cog machine on Windows | >>>> http://www.mirandabanda.org/files/Cog/VM/VM.r2559/cogwin.zip (I | >>>> assume | >>>> the Cog version has no influence, this is just for the record) | >>>> | >>>> The image version is Squeak 4.3 #11860 | >>>> | >>>> Steps | >>>> 1) Open a workspace | >>>> 2) Paste in the code from the email from Bert who reports it has | >>>> worked | >>>> for | >>>> him. | >>>> | >>>> Installer ss3 | >>>> project: 'FileTree'; | >>>> install: 'MonticelloFileTree-Core.squeak43'. | >>>> | >>>> 3) Execute the code | >>>> | >>>> | >>>> Result | >>>> A walkback. | >>>> The versions collection is empty, see attached screen shot. | >>>> | >>>> | >>>> Suggestions what else to test are welcome. | >>>> | >>>> | >>>> --Hannes | >>>> | >>> | >> | > | | |
On 7/19/12, H. Hirzel hannes.hirzel@gmail.com wrote:
On 7/19/12, Dale Henrichs dhenrich@vmware.com wrote:
Hannes,
Okay ... I've updated the FileTree bugreport[1] with a reference to your post and will take a look when I get a chance ...
I will still point out that the install instructions for FileTree[2] include a load of the latest code from the github repository...
OK, I now did this.
As step 0 I did the Windows installation of git following this link
In the installation instruction https://github.com/dalehenrich/filetree/blob/master/doc/SqueakInstall.md you have three parts
1) I choose the 'Git shell' from the 'Start menu'
I execute C:\Documents and Settings\Hannes\My Documents\GitHub\filetree\repository\Baselin eOfFileTree.package>git clone -b squeak4.3 https://github.com/dalehenrich/filetr ee.git
OK
2) In Squeak I do as FileTree bootstrap
Installer ss3 project: 'FileTree'; install: 'MonticelloFileTree-Core.squeak43-dkh.70.mcz'.
OK
3) I want to load the FileTree code I got from github
Installer monticello mc: (MCFileTreeRepository directory: (FileDirectory uri: 'C:\Documents and Settings\Hannes\My Documents\GitHub\filetree')); install: 'MonticelloFileTree-Core'
FAIL
see attached screen shot.
--Hannes
BTW, you indicated that you needed to explicitly load a specific version in the Installer script and that the instructions:
Installer ss3 project: 'FileTree'; install: 'MonticelloFileTree-Core.squeak43'.
don't load the correct version... Is that correct?
Yes, please see the attached screen shot.
--Hannes
Dale
[1] https://github.com/dalehenrich/filetree/issues/49 [2] https://github.com/dalehenrich/filetree/blob/pharo1.3/doc/SqueakInstall.md
----- Original Message ----- | From: "H. Hirzel" hannes.hirzel@gmail.com | To: "The general-purpose Squeak developers list" squeak-dev@lists.squeakfoundation.org | Sent: Thursday, July 19, 2012 8:35:57 AM | Subject: Re: [squeak-dev] Installing Filetree | | And here comes the screen shot. | | On 7/19/12, H. Hirzel hannes.hirzel@gmail.com wrote: | > The original test case | > | > 1) Create a package 'HHTestingFileTree' | > 2) add a class 'MyHHclass' | > 3) add a class method | > 4) Add in the MonticelloBrowser a filetree directory | > 5) Click 'Save' in the MonticelloBrowser | > | > FAILS | > | > variable 'contents' is empty in an object of the class | > MCFileTreeStCypressReader | > | > | > --Hannes | > | > On 7/19/12, H. Hirzel hannes.hirzel@gmail.com wrote: | >> OK I have to pick the right file. I just picked the latest without | >> actually reading the file name properly. | >> | >> I have to take | >> MonticelloFileTree-Core.squeak43-dkh.70.mcz | >> | >> and NOT | >> MonticelloFileTree-Core.pharo20-dkh.78.mcz | >> | >> HJH | >> | >> On 7/19/12, H. Hirzel hannes.hirzel@gmail.com wrote: | >>> Regarding point 2 of the previous mail. | >>> | >>> I realize that instead of | >>> | >>> Installer ss3 | >>> project: 'FileTree'; | >>> install: 'MonticelloFileTree-Core.squeak43'. | >>> | >>> I have to go to | >>> http://ss3.gemstone.com/ss/FileTree/ | >>> and pick out a file name and then do e.g. | >>> | >>> Installer ss3 | >>> project: 'FileTree'; | >>> install: 'MonticelloFileTree-Core.pharo20-dkh.78.mcz'. | >>> | >>> | >>> Then it files in file. However there is still a problem. See next | >>> mail. | >>> | >>> --HJH | >>> | >>> On 7/19/12, H. Hirzel hannes.hirzel@gmail.com wrote: | >>>> On 7/13/12, Dale Henrichs dhenrich@vmware.com wrote: | >>>>> Hannes, | >>>>> | >>>>> Could I see a little more of the stack to get some context? | >>>>> | >>>>> I should point out that I don't necessarily keep the mcz files | >>>>> up-to-date | >>>>> and that the complete install of FileTree should involve a load | >>>>> from a | >>>>> git | >>>>> repository[1], to get the absolutely latest code. | >>>>> | >>>>> I'd also be interested to know which version of the | >>>>> MonticelloFileTree-Core.squeak43 package that is loaded ... | >>>>> | >>>>> Finally I run tests using travisCI[2] for each push to github, | >>>>> but I | >>>>> test | >>>>> against the image downloaded from [3] (including latest github | >>>>> code | >>>>> for | >>>>> Squeak4.3 branch) and that passing all of the unit tests, with | >>>>> my | >>>>> latest | >>>>> updates... | >>>>> | >>>>> Dale | >>>>> | >>>>> [1] | >>>>> https://github.com/dalehenrich/filetree/blob/pharo1.3/doc/SqueakInstall.md | >>>>> [2] http://travis-ci.org/#!/dalehenrich/filetree/builds/1810028 | >>>> | >>>>> [3] http://ftp.squeak.org/4.3/Squeak4.3.zip | >>>> | >>>> | >>>> Dale | >>>> | >>>> I redid the test case | >>>> | >>>> | >>>> Prerequisite: | >>>> | >>>> A pristine copy of [3] using the latest Cog machine on Windows | >>>> http://www.mirandabanda.org/files/Cog/VM/VM.r2559/cogwin.zip (I | >>>> assume | >>>> the Cog version has no influence, this is just for the record) | >>>> | >>>> The image version is Squeak 4.3 #11860 | >>>> | >>>> Steps | >>>> 1) Open a workspace | >>>> 2) Paste in the code from the email from Bert who reports it has | >>>> worked | >>>> for | >>>> him. | >>>> | >>>> Installer ss3 | >>>> project: 'FileTree'; | >>>> install: 'MonticelloFileTree-Core.squeak43'. | >>>> | >>>> 3) Execute the code | >>>> | >>>> | >>>> Result | >>>> A walkback. | >>>> The versions collection is empty, see attached screen shot. | >>>> | >>>> | >>>> Suggestions what else to test are welcome. | >>>> | >>>> | >>>> --Hannes | >>>> | >>> | >> | > | | |
On 19.07.2012, at 11:30, H. Hirzel wrote:
On 7/19/12, H. Hirzel hannes.hirzel@gmail.com wrote:
On 7/19/12, Dale Henrichs dhenrich@vmware.com wrote:
Hannes,
Okay ... I've updated the FileTree bugreport[1] with a reference to your post and will take a look when I get a chance ...
I will still point out that the install instructions for FileTree[2] include a load of the latest code from the github repository...
OK, I now did this.
As step 0 I did the Windows installation of git following this link
In the installation instruction https://github.com/dalehenrich/filetree/blob/master/doc/SqueakInstall.md you have three parts
- I choose the 'Git shell' from the 'Start menu'
I execute C:\Documents and Settings\Hannes\My Documents\GitHub\filetree\repository\Baselin eOfFileTree.package>git clone -b squeak4.3 https://github.com/dalehenrich/filetr ee.git
OK
- In Squeak I do as FileTree bootstrap
Installer ss3 project: 'FileTree'; install: 'MonticelloFileTree-Core.squeak43-dkh.70.mcz'.
OK
- I want to load the FileTree code I got from github
Installer monticello mc: (MCFileTreeRepository directory: (FileDirectory uri: 'C:\Documents and Settings\Hannes\My Documents\GitHub\filetree')); install: 'MonticelloFileTree-Core'
Use FileDirectory on: not uri: if you give it a path.
(my original example used a relative path with uri: which to me was more convenient than having to specify an absolute path)
- Bert -
FAIL
see attached screen shot.
--Hannes
BTW, you indicated that you needed to explicitly load a specific version in the Installer script and that the instructions:
Installer ss3 project: 'FileTree'; install: 'MonticelloFileTree-Core.squeak43'.
don't load the correct version... Is that correct?
Yes, please see the attached screen shot.
--Hannes
Dale
[1] https://github.com/dalehenrich/filetree/issues/49 [2] https://github.com/dalehenrich/filetree/blob/pharo1.3/doc/SqueakInstall.md
----- Original Message ----- | From: "H. Hirzel" hannes.hirzel@gmail.com | To: "The general-purpose Squeak developers list" squeak-dev@lists.squeakfoundation.org | Sent: Thursday, July 19, 2012 8:35:57 AM | Subject: Re: [squeak-dev] Installing Filetree | | And here comes the screen shot. | | On 7/19/12, H. Hirzel hannes.hirzel@gmail.com wrote: | > The original test case | > | > 1) Create a package 'HHTestingFileTree' | > 2) add a class 'MyHHclass' | > 3) add a class method | > 4) Add in the MonticelloBrowser a filetree directory | > 5) Click 'Save' in the MonticelloBrowser | > | > FAILS | > | > variable 'contents' is empty in an object of the class | > MCFileTreeStCypressReader | > | > | > --Hannes | > | > On 7/19/12, H. Hirzel hannes.hirzel@gmail.com wrote: | >> OK I have to pick the right file. I just picked the latest without | >> actually reading the file name properly. | >> | >> I have to take | >> MonticelloFileTree-Core.squeak43-dkh.70.mcz | >> | >> and NOT | >> MonticelloFileTree-Core.pharo20-dkh.78.mcz | >> | >> HJH | >> | >> On 7/19/12, H. Hirzel hannes.hirzel@gmail.com wrote: | >>> Regarding point 2 of the previous mail. | >>> | >>> I realize that instead of | >>> | >>> Installer ss3 | >>> project: 'FileTree'; | >>> install: 'MonticelloFileTree-Core.squeak43'. | >>> | >>> I have to go to | >>> http://ss3.gemstone.com/ss/FileTree/ | >>> and pick out a file name and then do e.g. | >>> | >>> Installer ss3 | >>> project: 'FileTree'; | >>> install: 'MonticelloFileTree-Core.pharo20-dkh.78.mcz'. | >>> | >>> | >>> Then it files in file. However there is still a problem. See next | >>> mail. | >>> | >>> --HJH | >>> | >>> On 7/19/12, H. Hirzel hannes.hirzel@gmail.com wrote: | >>>> On 7/13/12, Dale Henrichs dhenrich@vmware.com wrote: | >>>>> Hannes, | >>>>> | >>>>> Could I see a little more of the stack to get some context? | >>>>> | >>>>> I should point out that I don't necessarily keep the mcz files | >>>>> up-to-date | >>>>> and that the complete install of FileTree should involve a load | >>>>> from a | >>>>> git | >>>>> repository[1], to get the absolutely latest code. | >>>>> | >>>>> I'd also be interested to know which version of the | >>>>> MonticelloFileTree-Core.squeak43 package that is loaded ... | >>>>> | >>>>> Finally I run tests using travisCI[2] for each push to github, | >>>>> but I | >>>>> test | >>>>> against the image downloaded from [3] (including latest github | >>>>> code | >>>>> for | >>>>> Squeak4.3 branch) and that passing all of the unit tests, with | >>>>> my | >>>>> latest | >>>>> updates... | >>>>> | >>>>> Dale | >>>>> | >>>>> [1] | >>>>> https://github.com/dalehenrich/filetree/blob/pharo1.3/doc/SqueakInstall.md | >>>>> [2] http://travis-ci.org/#!/dalehenrich/filetree/builds/1810028 | >>>> | >>>>> [3] http://ftp.squeak.org/4.3/Squeak4.3.zip | >>>> | >>>> | >>>> Dale | >>>> | >>>> I redid the test case | >>>> | >>>> | >>>> Prerequisite: | >>>> | >>>> A pristine copy of [3] using the latest Cog machine on Windows | >>>> http://www.mirandabanda.org/files/Cog/VM/VM.r2559/cogwin.zip (I | >>>> assume | >>>> the Cog version has no influence, this is just for the record) | >>>> | >>>> The image version is Squeak 4.3 #11860 | >>>> | >>>> Steps | >>>> 1) Open a workspace | >>>> 2) Paste in the code from the email from Bert who reports it has | >>>> worked | >>>> for | >>>> him. | >>>> | >>>> Installer ss3 | >>>> project: 'FileTree'; | >>>> install: 'MonticelloFileTree-Core.squeak43'. | >>>> | >>>> 3) Execute the code | >>>> | >>>> | >>>> Result | >>>> A walkback. | >>>> The versions collection is empty, see attached screen shot. | >>>> | >>>> | >>>> Suggestions what else to test are welcome. | >>>> | >>>> | >>>> --Hannes | >>>> | >>> | >> | > | | |
<Squeak4.3-11860-FileTreeInstallationTest.GIF>
On 7/19/12, Bert Freudenberg bert@freudenbergs.de wrote:
On 19.07.2012, at 11:30, H. Hirzel wrote:
On 7/19/12, H. Hirzel hannes.hirzel@gmail.com wrote:
On 7/19/12, Dale Henrichs dhenrich@vmware.com wrote:
Hannes,
Okay ... I've updated the FileTree bugreport[1] with a reference to your post and will take a look when I get a chance ...
I will still point out that the install instructions for FileTree[2] include a load of the latest code from the github repository...
OK, I now did this.
As step 0 I did the Windows installation of git following this link
In the installation instruction
https://github.com/dalehenrich/filetree/blob/master/doc/SqueakInstall.md you have three parts
- I choose the 'Git shell' from the 'Start menu'
I execute C:\Documents and Settings\Hannes\My Documents\GitHub\filetree\repository\Baselin eOfFileTree.package>git clone -b squeak4.3 https://github.com/dalehenrich/filetr ee.git
OK
- In Squeak I do as FileTree bootstrap
Installer ss3 project: 'FileTree'; install: 'MonticelloFileTree-Core.squeak43-dkh.70.mcz'.
OK
- I want to load the FileTree code I got from github
Installer monticello mc: (MCFileTreeRepository directory: (FileDirectory uri: 'C:\Documents and Settings\Hannes\My Documents\GitHub\filetree')); install: 'MonticelloFileTree-Core'
Use FileDirectory on: not uri: if you give it a path.
(my original example used a relative path with uri: which to me was more convenient than having to specify an absolute path)
As you suggest I now use as point 3
Installer monticello mc: (MCFileTreeRepository directory: (FileDirectory on: 'C:\Documents and Settings\Hannes\My Documents\GitHub\filetree')); install: 'MonticelloFileTree-Core'
FAILURE I still get a walkback
(FileDirectory on: 'C:\Documents and Settings\Hannes\My Documents\GitHub\filetree') inspect
OK, gives DosFileDirectory on 'C:\Documents and Settings\Hannes\My Documents\GitHub\filetree'
(MCFileTreeRepository directory: (FileDirectory on: 'C:\Documents and Settings\Hannes\My Documents\GitHub\filetree')) inspect
OK, gives
a MCFileTreeRepository(filetree://C:\Documents and Settings\Hannes\My Documents\GitHub\filetree)
The path actually looks weird.
--Hannes
- Bert -
FAIL
see attached screen shot.
--Hannes
BTW, you indicated that you needed to explicitly load a specific version in the Installer script and that the instructions:
Installer ss3 project: 'FileTree'; install: 'MonticelloFileTree-Core.squeak43'.
don't load the correct version... Is that correct?
Yes, please see the attached screen shot.
--Hannes
Dale
[1] https://github.com/dalehenrich/filetree/issues/49 [2] https://github.com/dalehenrich/filetree/blob/pharo1.3/doc/SqueakInstall.md
----- Original Message ----- | From: "H. Hirzel" hannes.hirzel@gmail.com | To: "The general-purpose Squeak developers list" squeak-dev@lists.squeakfoundation.org | Sent: Thursday, July 19, 2012 8:35:57 AM | Subject: Re: [squeak-dev] Installing Filetree | | And here comes the screen shot. | | On 7/19/12, H. Hirzel hannes.hirzel@gmail.com wrote: | > The original test case | > | > 1) Create a package 'HHTestingFileTree' | > 2) add a class 'MyHHclass' | > 3) add a class method | > 4) Add in the MonticelloBrowser a filetree directory | > 5) Click 'Save' in the MonticelloBrowser | > | > FAILS | > | > variable 'contents' is empty in an object of the class | > MCFileTreeStCypressReader | > | > | > --Hannes | > | > On 7/19/12, H. Hirzel hannes.hirzel@gmail.com wrote: | >> OK I have to pick the right file. I just picked the latest without | >> actually reading the file name properly. | >> | >> I have to take | >> MonticelloFileTree-Core.squeak43-dkh.70.mcz | >> | >> and NOT | >> MonticelloFileTree-Core.pharo20-dkh.78.mcz | >> | >> HJH | >> | >> On 7/19/12, H. Hirzel hannes.hirzel@gmail.com wrote: | >>> Regarding point 2 of the previous mail. | >>> | >>> I realize that instead of | >>> | >>> Installer ss3 | >>> project: 'FileTree'; | >>> install: 'MonticelloFileTree-Core.squeak43'. | >>> | >>> I have to go to | >>> http://ss3.gemstone.com/ss/FileTree/ | >>> and pick out a file name and then do e.g. | >>> | >>> Installer ss3 | >>> project: 'FileTree'; | >>> install: 'MonticelloFileTree-Core.pharo20-dkh.78.mcz'. | >>> | >>> | >>> Then it files in file. However there is still a problem. See next | >>> mail. | >>> | >>> --HJH | >>> | >>> On 7/19/12, H. Hirzel hannes.hirzel@gmail.com wrote: | >>>> On 7/13/12, Dale Henrichs dhenrich@vmware.com wrote: | >>>>> Hannes, | >>>>> | >>>>> Could I see a little more of the stack to get some context? | >>>>> | >>>>> I should point out that I don't necessarily keep the mcz files | >>>>> up-to-date | >>>>> and that the complete install of FileTree should involve a load | >>>>> from a | >>>>> git | >>>>> repository[1], to get the absolutely latest code. | >>>>> | >>>>> I'd also be interested to know which version of the | >>>>> MonticelloFileTree-Core.squeak43 package that is loaded ... | >>>>> | >>>>> Finally I run tests using travisCI[2] for each push to github, | >>>>> but I | >>>>> test | >>>>> against the image downloaded from [3] (including latest github | >>>>> code | >>>>> for | >>>>> Squeak4.3 branch) and that passing all of the unit tests, with | >>>>> my | >>>>> latest | >>>>> updates... | >>>>> | >>>>> Dale | >>>>> | >>>>> [1] | >>>>> https://github.com/dalehenrich/filetree/blob/pharo1.3/doc/SqueakInstall.md | >>>>> [2] http://travis-ci.org/#!/dalehenrich/filetree/builds/1810028 | >>>> | >>>>> [3] http://ftp.squeak.org/4.3/Squeak4.3.zip | >>>> | >>>> | >>>> Dale | >>>> | >>>> I redid the test case | >>>> | >>>> | >>>> Prerequisite: | >>>> | >>>> A pristine copy of [3] using the latest Cog machine on Windows | >>>> http://www.mirandabanda.org/files/Cog/VM/VM.r2559/cogwin.zip (I | >>>> assume | >>>> the Cog version has no influence, this is just for the record) | >>>> | >>>> The image version is Squeak 4.3 #11860 | >>>> | >>>> Steps | >>>> 1) Open a workspace | >>>> 2) Paste in the code from the email from Bert who reports it has | >>>> worked | >>>> for | >>>> him. | >>>> | >>>> Installer ss3 | >>>> project: 'FileTree'; | >>>> install: 'MonticelloFileTree-Core.squeak43'. | >>>> | >>>> 3) Execute the code | >>>> | >>>> | >>>> Result | >>>> A walkback. | >>>> The versions collection is empty, see attached screen shot. | >>>> | >>>> | >>>> Suggestions what else to test are welcome. | >>>> | >>>> | >>>> --Hannes | >>>> | >>> | >> | > | | |
<Squeak4.3-11860-FileTreeInstallationTest.GIF>
On 19.07.2012, at 13:10, H. Hirzel wrote:
On 7/19/12, Bert Freudenberg bert@freudenbergs.de wrote:
On 19.07.2012, at 11:30, H. Hirzel wrote:
On 7/19/12, H. Hirzel hannes.hirzel@gmail.com wrote:
On 7/19/12, Dale Henrichs dhenrich@vmware.com wrote:
Hannes,
Okay ... I've updated the FileTree bugreport[1] with a reference to your post and will take a look when I get a chance ...
I will still point out that the install instructions for FileTree[2] include a load of the latest code from the github repository...
OK, I now did this.
As step 0 I did the Windows installation of git following this link
In the installation instruction
https://github.com/dalehenrich/filetree/blob/master/doc/SqueakInstall.md you have three parts
- I choose the 'Git shell' from the 'Start menu'
I execute C:\Documents and Settings\Hannes\My Documents\GitHub\filetree\repository\Baselin eOfFileTree.package>git clone -b squeak4.3 https://github.com/dalehenrich/filetr ee.git
OK
- In Squeak I do as FileTree bootstrap
Installer ss3 project: 'FileTree'; install: 'MonticelloFileTree-Core.squeak43-dkh.70.mcz'.
OK
- I want to load the FileTree code I got from github
Installer monticello mc: (MCFileTreeRepository directory: (FileDirectory uri: 'C:\Documents and Settings\Hannes\My Documents\GitHub\filetree')); install: 'MonticelloFileTree-Core'
Use FileDirectory on: not uri: if you give it a path.
(my original example used a relative path with uri: which to me was more convenient than having to specify an absolute path)
As you suggest I now use as point 3
Installer monticello mc: (MCFileTreeRepository directory: (FileDirectory on: 'C:\Documents and Settings\Hannes\My Documents\GitHub\filetree')); install: 'MonticelloFileTree-Core'
FAILURE I still get a walkback
Without seeing the debug log that does not tell us anything.
(FileDirectory on: 'C:\Documents and Settings\Hannes\My Documents\GitHub\filetree') inspect
OK, gives DosFileDirectory on 'C:\Documents and Settings\Hannes\My Documents\GitHub\filetree'
(MCFileTreeRepository directory: (FileDirectory on: 'C:\Documents and Settings\Hannes\My Documents\GitHub\filetree')) inspect
OK, gives
So why don't you debug it and figure out what the problem is? It is way easier for you to hit the debug button than for us to guess, since you are on the Windows machine and can just look at it.
- Bert -
OK, thank you Bert that you want to look into it. I copy it in.
As I wrote in an earlier mail the problem is in MCVersionLoader>load The OrderedCollectio 'versions' is empty.
I marked the problem with #####
MCVersionLoader>load load | loader | self checkForModifications. loader := MCPackageLoader new. versions do: [:ea | ea canOptimizeLoading ifTrue: [ea patch applyTo: loader] ifFalse: [loader updatePackage: ea package withSnapshot: ea snapshot]]. loader loadWithNameLike: versions first info name. "##### versions is empty" versions do: [:ea | ea workingCopy loaded: ea]
The debug log
From: hannes.hirzel@gmail.com To: squeak-dev@lists.squeakfoundation.org Subject: [BUG]OrderedCollection(Object)>>error:
here insert explanation of what you were doing, suspect changes you've made and so forth.
19 July 2012 9:40:09.269 pm
VM: Win32 - Smalltalk Image: Squeak4.3 [latest update: #11860]
SecurityManager state: Restricted: false FileAccess: true SocketAccess: true Working Dir C:\Documents and Settings\Hannes\My Documents\Squeak4.3FileTreeTest Trusted Dir C:\Documents and Settings\Hannes\My Documents\Squeak4.3FileTreeTest\Hannes Untrusted Dir C:\Documents and Settings\Hannes\My Documents\My Squeak
OrderedCollection(Object)>>error: Receiver: an OrderedCollection() Arguments and temporary variables: aString: 'attempt to index non-existent element in an ordered collection' Receiver's instance variables: array: #(nil nil nil nil nil nil nil nil nil nil) firstIndex: 1 lastIndex: 0
OrderedCollection>>errorNoSuchElement Receiver: an OrderedCollection() Arguments and temporary variables:
Receiver's instance variables: array: #(nil nil nil nil nil nil nil nil nil nil) firstIndex: 1 lastIndex: 0
OrderedCollection>>at: Receiver: an OrderedCollection() Arguments and temporary variables: anInteger: 1 Receiver's instance variables: array: #(nil nil nil nil nil nil nil nil nil nil) firstIndex: 1 lastIndex: 0
OrderedCollection(SequenceableCollection)>>first Receiver: an OrderedCollection() Arguments and temporary variables:
Receiver's instance variables: array: #(nil nil nil nil nil nil nil nil nil nil) firstIndex: 1 lastIndex: 0
MCVersionLoader>>load Receiver: a MCVersionLoader Arguments and temporary variables: loader: a MCPackageLoader Receiver's instance variables: versions: an OrderedCollection()
[] in InstallerMonticello>>basicInstall Receiver: (Installer repository:'filetree://C:\Documents and Settings\Hannes\My Documents\Squeak4.3F...etc... Arguments and temporary variables:
Receiver's instance variables: answers: an OrderedCollection() packages: an OrderedCollection('MonticelloFileTree-Core') messagesToSuppress: an OrderedCollection() useFileIn: false noiseLevel: nil mc: a MCFileTreeRepository(filetree://C:\Documents and Settings\Hannes\My Docum...etc... root: nil project: nil
BlockClosure>>on:do: Receiver: [closure] in InstallerMonticello>>basicInstall Arguments and temporary variables: exception: ProvideAnswerNotification handlerAction: [closure] in BlockClosure>>valueSupplyingAnswers: handlerActive: true Receiver's instance variables: outerContext: InstallerMonticello>>basicInstall startpc: 38 numArgs: 0
BlockClosure>>valueSupplyingAnswers: Receiver: [closure] in InstallerMonticello>>basicInstall Arguments and temporary variables: aListOfPairs: an OrderedCollection() Receiver's instance variables: outerContext: InstallerMonticello>>basicInstall startpc: 38 numArgs: 0
BlockClosure>>valueSuppressingMessages:supplyingAnswers: Receiver: [closure] in InstallerMonticello>>basicInstall Arguments and temporary variables: aListOfStrings: an OrderedCollection() aListOfPairs: an OrderedCollection() Receiver's instance variables: outerContext: InstallerMonticello>>basicInstall startpc: 38 numArgs: 0
InstallerMonticello(Installer)>>withAnswersDo: Receiver: (Installer repository:'filetree://C:\Documents and Settings\Hannes\My Documents\Squeak4.3F...etc... Arguments and temporary variables: aBlock: [closure] in InstallerMonticello>>basicInstall Receiver's instance variables: answers: an OrderedCollection() packages: an OrderedCollection('MonticelloFileTree-Core') messagesToSuppress: an OrderedCollection() useFileIn: false noiseLevel: nil mc: a MCFileTreeRepository(filetree://C:\Documents and Settings\Hannes\My Docum...etc... root: nil project: nil
InstallerMonticello>>basicInstall Receiver: (Installer repository:'filetree://C:\Documents and Settings\Hannes\My Documents\Squeak4.3F...etc... Arguments and temporary variables:
Receiver's instance variables: answers: an OrderedCollection() packages: an OrderedCollection('MonticelloFileTree-Core') messagesToSuppress: an OrderedCollection() useFileIn: false noiseLevel: nil mc: a MCFileTreeRepository(filetree://C:\Documents and Settings\Hannes\My Docum...etc... root: nil project: nil
[] in InstallerMonticello(Installer)>>installLogging Receiver: (Installer repository:'filetree://C:\Documents and Settings\Hannes\My Documents\Squeak4.3F...etc... Arguments and temporary variables:
Receiver's instance variables: answers: an OrderedCollection() packages: an OrderedCollection('MonticelloFileTree-Core') messagesToSuppress: an OrderedCollection() useFileIn: false noiseLevel: nil mc: a MCFileTreeRepository(filetree://C:\Documents and Settings\Hannes\My Docum...etc... root: nil project: nil
InstallerMonticello(Installer)>>logErrorDuring: Receiver: (Installer repository:'filetree://C:\Documents and Settings\Hannes\My Documents\Squeak4.3F...etc... Arguments and temporary variables: block: [closure] in InstallerMonticello(Installer)>>installLogging Receiver's instance variables: answers: an OrderedCollection() packages: an OrderedCollection('MonticelloFileTree-Core') messagesToSuppress: an OrderedCollection() useFileIn: false noiseLevel: nil mc: a MCFileTreeRepository(filetree://C:\Documents and Settings\Hannes\My Docum...etc... root: nil project: nil
InstallerMonticello(Installer)>>installLogging Receiver: (Installer repository:'filetree://C:\Documents and Settings\Hannes\My Documents\Squeak4.3F...etc... Arguments and temporary variables:
Receiver's instance variables: answers: an OrderedCollection() packages: an OrderedCollection('MonticelloFileTree-Core') messagesToSuppress: an OrderedCollection() useFileIn: false noiseLevel: nil mc: a MCFileTreeRepository(filetree://C:\Documents and Settings\Hannes\My Docum...etc... root: nil project: nil
InstallerMonticello(Installer)>>install Receiver: (Installer repository:'filetree://C:\Documents and Settings\Hannes\My Documents\Squeak4.3F...etc... Arguments and temporary variables:
Receiver's instance variables: answers: an OrderedCollection() packages: an OrderedCollection('MonticelloFileTree-Core') messagesToSuppress: an OrderedCollection() useFileIn: false noiseLevel: nil mc: a MCFileTreeRepository(filetree://C:\Documents and Settings\Hannes\My Docum...etc... root: nil project: nil
InstallerMonticello(Installer)>>install: Receiver: (Installer repository:'filetree://C:\Documents and Settings\Hannes\My Documents\Squeak4.3F...etc... Arguments and temporary variables: packageNameCollectionOrDetectBlock: 'MonticelloFileTree-Core' Receiver's instance variables: answers: an OrderedCollection() packages: an OrderedCollection('MonticelloFileTree-Core') messagesToSuppress: an OrderedCollection() useFileIn: false noiseLevel: nil mc: a MCFileTreeRepository(filetree://C:\Documents and Settings\Hannes\My Docum...etc... root: nil project: nil
UndefinedObject>>DoIt Receiver: nil Arguments and temporary variables:
Receiver's instance variables: nil
Compiler>>evaluate:in:to:notifying:ifFail:logged: Receiver: a Compiler Arguments and temporary variables: textOrStream: a ReadWriteStream 'Installer monticello mc: (MCFileTreeRep...etc... aContext: nil receiver: nil aRequestor: a SmalltalkEditor failBlock: [closure] in [] in SmalltalkEditor(TextEditor)>>evaluateSelectionAnd...etc... logFlag: true methodNode: DoIt ^ Installer monticello mc: (MCFileTreeRepository direct...etc... method: (UndefinedObject>>#DoIt "a CompiledMethod(2611)") value: nil toLog: nil itsSelection: nil itsSelectionString: nil Receiver's instance variables: sourceStream: a ReadWriteStream 'Installer monticello mc: (MCFileTreeRep...etc... requestor: a SmalltalkEditor class: UndefinedObject category: nil context: nil parser: a Parser
[] in SmalltalkEditor(TextEditor)>>evaluateSelectionAndDo: Receiver: a SmalltalkEditor Arguments and temporary variables: <<error during printing> Receiver's instance variables: morph: a TextMorphForEditView(3936) selectionShowing: false model: a Workspace paragraph: a MultiNewParagraph markBlock: a CharacterBlock with index 1 and character $I and rectangle 0@0 cor...etc... pointBlock: a CharacterBlock with index 156 and rectangle 220@48 corner: 220@64...etc... beginTypeInIndex: nil emphasisHere: #() lastParenLocation: nil otherInterval: (1 to: 155) oldInterval: (156 to: 155) typeAhead: a WriteStream '' styler: nil
--- The full stack --- OrderedCollection(Object)>>error: OrderedCollection>>errorNoSuchElement OrderedCollection>>at: OrderedCollection(SequenceableCollection)>>first MCVersionLoader>>load [] in InstallerMonticello>>basicInstall BlockClosure>>on:do: BlockClosure>>valueSupplyingAnswers: BlockClosure>>valueSuppressingMessages:supplyingAnswers: InstallerMonticello(Installer)>>withAnswersDo: InstallerMonticello>>basicInstall [] in InstallerMonticello(Installer)>>installLogging InstallerMonticello(Installer)>>logErrorDuring: InstallerMonticello(Installer)>>installLogging InstallerMonticello(Installer)>>install InstallerMonticello(Installer)>>install: UndefinedObject>>DoIt Compiler>>evaluate:in:to:notifying:ifFail:logged: [] in SmalltalkEditor(TextEditor)>>evaluateSelectionAndDo: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - BlockClosure>>on:do: SmalltalkEditor(TextEditor)>>evaluateSelectionAndDo: SmalltalkEditor(TextEditor)>>evaluateSelection [] in PluggableTextMorphPlus(PluggableTextMorph)>>doIt TextMorphForEditView(TextMorph)>>handleEdit: PluggableTextMorphPlus(PluggableTextMorph)>>handleEdit: PluggableTextMorphPlus(PluggableTextMorph)>>doIt Workspace(StringHolder)>>perform:orSendTo: [] in MenuItemMorph>>invokeWithEvent: BlockClosure>>ensure: CursorWithMask(Cursor)>>showWhile: MenuItemMorph>>invokeWithEvent: MenuItemMorph>>mouseUp: MenuItemMorph>>handleMouseUp: MouseButtonEvent>>sentTo: MenuItemMorph(Morph)>>handleEvent: MorphicEventDispatcher>>dispatchDefault:with: MorphicEventDispatcher>>dispatchEvent:with: MenuItemMorph(Morph)>>processEvent:using: MorphicEventDispatcher>>dispatchDefault:with: MorphicEventDispatcher>>dispatchEvent:with: MenuMorph(Morph)>>processEvent:using: MenuMorph(Morph)>>processEvent: MenuMorph>>handleFocusEvent: [] in HandMorph>>sendFocusEvent:to:clear: BlockClosure>>on:do: PasteUpMorph>>becomeActiveDuring: HandMorph>>sendFocusEvent:to:clear: HandMorph>>sendEvent:focus:clear: HandMorph>>sendMouseEvent: HandMorph>>handleEvent: HandMorph>>processEvents [] in WorldState>>doOneCycleNowFor: Array(SequenceableCollection)>>do: WorldState>>handsDo: WorldState>>doOneCycleNowFor: WorldState>>doOneCycleFor: WorldState>>doOneSubCycleFor: PasteUpMorph>>doOneSubCycle MenuMorph>>invokeModalAt:in:allowKeyboard: MenuMorph>>invokeModal: MenuMorph>>invokeModal -- and more not shown --
On 7/19/12, Bert Freudenberg bert@freudenbergs.de wrote:
On 19.07.2012, at 13:10, H. Hirzel wrote:
On 7/19/12, Bert Freudenberg bert@freudenbergs.de wrote:
On 19.07.2012, at 11:30, H. Hirzel wrote:
On 7/19/12, H. Hirzel hannes.hirzel@gmail.com wrote:
On 7/19/12, Dale Henrichs dhenrich@vmware.com wrote:
Hannes,
Okay ... I've updated the FileTree bugreport[1] with a reference to your post and will take a look when I get a chance ...
I will still point out that the install instructions for FileTree[2] include a load of the latest code from the github repository...
OK, I now did this.
As step 0 I did the Windows installation of git following this link
In the installation instruction
https://github.com/dalehenrich/filetree/blob/master/doc/SqueakInstall.md you have three parts
- I choose the 'Git shell' from the 'Start menu'
I execute C:\Documents and Settings\Hannes\My Documents\GitHub\filetree\repository\Baselin eOfFileTree.package>git clone -b squeak4.3 https://github.com/dalehenrich/filetr ee.git
OK
- In Squeak I do as FileTree bootstrap
Installer ss3 project: 'FileTree'; install: 'MonticelloFileTree-Core.squeak43-dkh.70.mcz'.
OK
- I want to load the FileTree code I got from github
Installer monticello mc: (MCFileTreeRepository directory: (FileDirectory uri: 'C:\Documents and Settings\Hannes\My Documents\GitHub\filetree')); install: 'MonticelloFileTree-Core'
Use FileDirectory on: not uri: if you give it a path.
(my original example used a relative path with uri: which to me was more convenient than having to specify an absolute path)
As you suggest I now use as point 3
Installer monticello mc: (MCFileTreeRepository directory: (FileDirectory on: 'C:\Documents and Settings\Hannes\My Documents\GitHub\filetree')); install: 'MonticelloFileTree-Core'
FAILURE I still get a walkback
Without seeing the debug log that does not tell us anything.
(FileDirectory on: 'C:\Documents and Settings\Hannes\My Documents\GitHub\filetree') inspect
OK, gives DosFileDirectory on 'C:\Documents and Settings\Hannes\My Documents\GitHub\filetree'
(MCFileTreeRepository directory: (FileDirectory on: 'C:\Documents and Settings\Hannes\My Documents\GitHub\filetree')) inspect
OK, gives
So why don't you debug it and figure out what the problem is? It is way easier for you to hit the debug button than for us to guess, since you are on the Windows machine and can just look at it.
- Bert -
On 7/19/12, Bert Freudenberg bert@freudenbergs.de wrote:
On 19.07.2012, at 13:46, H. Hirzel wrote:
The OrderedCollectio 'versions' is empty.
Now you just need to figure out why it's empty :)
- Bert -
I am actually not a specialist in MontiCello This is exactly the reason why I want to switch to a standard version control system like git.
Enough attempts and testing for today....
--Hannes
On 19.07.2012, at 15:48, H. Hirzel wrote:
On 7/19/12, Bert Freudenberg bert@freudenbergs.de wrote:
On 19.07.2012, at 13:46, H. Hirzel wrote:
The OrderedCollectio 'versions' is empty.
Now you just need to figure out why it's empty :)
- Bert -
I am actually not a specialist in MontiCello This is exactly the reason why I want to switch to a standard version control system like git.
Enough attempts and testing for today....
--Hannes
This has not much to do with knowing Monticello - it's just a piece of Smalltalk code that can be debugged like any other piece of Smalltalk code. Don't be scared. For a Smalltalker that's certainly easier than debugging git ;)
- Bert -
On Thu, Jul 19, 2012 at 4:05 PM, Bert Freudenberg bert@freudenbergs.dewrote:
On 19.07.2012, at 15:48, H. Hirzel wrote:
On 7/19/12, Bert Freudenberg bert@freudenbergs.de wrote:
On 19.07.2012, at 13:46, H. Hirzel wrote:
The OrderedCollectio 'versions' is empty.
Now you just need to figure out why it's empty :)
- Bert -
I am actually not a specialist in MontiCello This is exactly the reason why I want to switch to a standard version control system like git.
Enough attempts and testing for today....
--Hannes
This has not much to do with knowing Monticello - it's just a piece of Smalltalk code that can be debugged like any other piece of Smalltalk code. Don't be scared. For a Smalltalker that's certainly easier than debugging git ;)
+1000. Same goes for mercurial, subversion, sccs and the whole lot of them. Monticello works, and works extremely well. See Andreas Raab's endorsement when moving the Qwaq/Teleplace code base from its 3.8 base to 4.2. I simply don't understand the antipathy to Monticello. I wish I had the time to rant on, but IMO the community will suffer if it strays from Monticello. If for example haso and Squeak fork Monticello or one abandons Monticello that'll be the end of effective cross-fertilization. One thing, I'll give up definition-level diffs over my dead body. Have you used a standard diff tool for looking at Smalltalk code? Any code? Why the unix community has soldiered on for so long using file diffs just shows you what an unstructured language C is.
- Bert -
Hannes,
Using FileTree is not getting away from Monticello ... FileTree implements a Monticello repository - all of the chewy goodness that is Monticello is preserved with FileTree. FileTree repositories are simple a different type of MCDirectoryRepository where the packages are stored in plain text (actually Utf8) files instead of zip.
The fact that plain text files/directories are used for storage of the packages means that you can use git/svn/mercurial or any of the myriad other SCMs to manage your Smalltalk source code. The plain text source means that you are not just storing binary blobs in the git/etc. repository.
Also because the packages are stored in plain text directory structure means that other Smalltalk dialects can easily work with the disk-based package structure transforming the package structure into whatever native package structure they happen to use. Right now there are more Smalltalk dialects that can share the FileTree package structure (after 6 months) than can share mcz files (after 6 years for Monticello).
I have been pushing git/GitHub, because GitHub offers superior collaboration tools and git gives you entree to GitHub, but the fact is that FileTree is entirely SCM neutral...
Dale
----- Original Message ----- | From: "H. Hirzel" hannes.hirzel@gmail.com | To: "The general-purpose Squeak developers list" squeak-dev@lists.squeakfoundation.org | Sent: Thursday, July 19, 2012 3:48:32 PM | Subject: Re: [squeak-dev] Installing Filetree | | On 7/19/12, Bert Freudenberg bert@freudenbergs.de wrote: | > On 19.07.2012, at 13:46, H. Hirzel wrote: | >> The OrderedCollectio 'versions' is empty. | > | > Now you just need to figure out why it's empty :) | > | > | > - Bert - | > | | I am actually not a specialist in MontiCello This is exactly the | reason why I want to switch to a standard version control system like | git. | | Enough attempts and testing for today.... | | --Hannes | |
Dale
The following script now loads FileTree nicely into Squeak 4.4-12324 and everything works so far.
Thank you!
--Hannes
Installer ss3 project: 'FileTree'; install: 'MonticelloFileTree-Core.squeak43'.
Installer ss3 project: 'FileTree'; install: 'MonticelloFileTree-FileDirectory-Utilities.squeak43'.
On 7/20/12, Dale Henrichs dhenrich@vmware.com wrote:
Hannes,
Using FileTree is not getting away from Monticello ... FileTree implements a Monticello repository - all of the chewy goodness that is Monticello is preserved with FileTree. FileTree repositories are simple a different type of MCDirectoryRepository where the packages are stored in plain text (actually Utf8) files instead of zip.
The fact that plain text files/directories are used for storage of the packages means that you can use git/svn/mercurial or any of the myriad other SCMs to manage your Smalltalk source code. The plain text source means that you are not just storing binary blobs in the git/etc. repository.
Also because the packages are stored in plain text directory structure means that other Smalltalk dialects can easily work with the disk-based package structure transforming the package structure into whatever native package structure they happen to use. Right now there are more Smalltalk dialects that can share the FileTree package structure (after 6 months) than can share mcz files (after 6 years for Monticello).
I have been pushing git/GitHub, because GitHub offers superior collaboration tools and git gives you entree to GitHub, but the fact is that FileTree is entirely SCM neutral...
Dale
----- Original Message ----- | From: "H. Hirzel" hannes.hirzel@gmail.com | To: "The general-purpose Squeak developers list" squeak-dev@lists.squeakfoundation.org | Sent: Thursday, July 19, 2012 3:48:32 PM | Subject: Re: [squeak-dev] Installing Filetree | | On 7/19/12, Bert Freudenberg bert@freudenbergs.de wrote: | > On 19.07.2012, at 13:46, H. Hirzel wrote: | >> The OrderedCollectio 'versions' is empty. | > | > Now you just need to figure out why it's empty :) | > | > | > - Bert - | > | | I am actually not a specialist in MontiCello This is exactly the | reason why I want to switch to a standard version control system like | git. | | Enough attempts and testing for today.... | | --Hannes | |
Hello
The previous email in this thread was about installing FileTree into Squeak 4.4.
Coming back to FileTree installation.
Where do I find the most recent instructions to install FileTree into Squeak5.1-release and Squeak6.0-trunk most updated version?
Thank you in advance.
--Hannes
On 12/28/12, H. Hirzel hannes.hirzel@gmail.com wrote:
Dale
The following script now loads FileTree nicely into Squeak 4.4-12324 and everything works so far.
Thank you!
--Hannes
Installer ss3 project: 'FileTree'; install: 'MonticelloFileTree-Core.squeak43'. Installer ss3 project: 'FileTree'; install: 'MonticelloFileTree-FileDirectory-Utilities.squeak43'.
On 7/20/12, Dale Henrichs dhenrich@vmware.com wrote:
Hannes,
Using FileTree is not getting away from Monticello ... FileTree implements a Monticello repository - all of the chewy goodness that is Monticello is preserved with FileTree. FileTree repositories are simple a different type of MCDirectoryRepository where the packages are stored in plain text (actually Utf8) files instead of zip.
The fact that plain text files/directories are used for storage of the packages means that you can use git/svn/mercurial or any of the myriad other SCMs to manage your Smalltalk source code. The plain text source means that you are not just storing binary blobs in the git/etc. repository.
Also because the packages are stored in plain text directory structure means that other Smalltalk dialects can easily work with the disk-based package structure transforming the package structure into whatever native package structure they happen to use. Right now there are more Smalltalk dialects that can share the FileTree package structure (after 6 months) than can share mcz files (after 6 years for Monticello).
I have been pushing git/GitHub, because GitHub offers superior collaboration tools and git gives you entree to GitHub, but the fact is that FileTree is entirely SCM neutral...
Dale
----- Original Message ----- | From: "H. Hirzel" hannes.hirzel@gmail.com | To: "The general-purpose Squeak developers list" squeak-dev@lists.squeakfoundation.org | Sent: Thursday, July 19, 2012 3:48:32 PM | Subject: Re: [squeak-dev] Installing Filetree | | On 7/19/12, Bert Freudenberg bert@freudenbergs.de wrote: | > On 19.07.2012, at 13:46, H. Hirzel wrote: | >> The OrderedCollectio 'versions' is empty. | > | > Now you just need to figure out why it's empty :) | > | > | > - Bert - | > | | I am actually not a specialist in MontiCello This is exactly the | reason why I want to switch to a standard version control system like | git. | | Enough attempts and testing for today.... | | --Hannes | |
Hi Hannes,
Hello Fabio
Two questions:
1.
Do I understand correctly that if I follow the Squeak installation instructions for Metacello [1] I actually have FileTree included. So I do not need an additional installation.
2. From what I understand is that the trunk update by Patrick Rein [2] last week Thu, 27 Apr 2017, makes Squeak6.0a backward compatible again. I.e. installation of Metacello should be smooth. To be tested.
--Hannes
[1] https://github.com/dalehenrich/metacello-work
"Get the Metacello configuration (for Squeak users)" Installer gemsource project: 'metacello'; addPackage: 'ConfigurationOfMetacello'; install.
"Bootstrap Metacello Preview, using mcz files (#'previewBootstrap' symbolic version" ((Smalltalk at: #ConfigurationOfMetacello) project version: #'previewBootstrap') load.
"Load the Preview version of Metacello from GitHub" (Smalltalk at: #Metacello) new configuration: 'MetacelloPreview'; version: #stable; repository: 'github://dalehenrich/metacello-work:configuration'; load.
"Now load latest version of Metacello" (Smalltalk at: #Metacello) new baseline: 'Metacello'; repository: 'github://dalehenrich/metacello-work:master/repository'; get. (Smalltalk at: #Metacello) new baseline: 'Metacello'; repository: 'github://dalehenrich/metacello-work:master/repository'; load.
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
[2] From: commits@source.squeak.org Date: Thu, 27 Apr 2017 15:56:18 0000 Subject: [squeak-dev] The Trunk: 60Deprecated-pre.5.mcz To: squeak-dev@lists.squeakfoundation.org, packages@lists.squeakfoundation.org
Patrick Rein uploaded a new version of 60Deprecated to project The Trunk: http://source.squeak.org/trunk/60Deprecated-pre.5.mcz
==================== Summary ====================
Name: 60Deprecated-pre.5 Author: pre Time: 27 April 2017, 5:56:07.04166 pm UUID: 261605f7-1b50-5946-8137-14c6c9e75bf9 Ancestors: 60Deprecated-ul.4
Adds classes ContextPart, BlockContext, and MethodContext to the 60Deprecated package to ensure backwards compatibility
=============== Diff against 60Deprecated-ul.4 ===============
Item was changed: + SystemOrganization addCategory: #'60Deprecated-Kernel-Methods'! SystemOrganization addCategory: #'60Deprecated-System-Support'!
Item was added: + ContextPart variableSubclass: #BlockContext + instanceVariableNames: '' + classVariableNames: '' + poolDictionaries: '' + category: '60Deprecated-Kernel-Methods'!
Item was added: + Context variableSubclass: #ContextPart + instanceVariableNames: '' + classVariableNames: '' + poolDictionaries: '' + category: '60Deprecated-Kernel-Methods'!
Item was added: + ContextPart variableSubclass: #MethodContext + instanceVariableNames: '' + classVariableNames: '' + poolDictionaries: '' + category: '60Deprecated-Kernel-Methods'!
On 5/2/17, Fabio Niephaus lists@fniephaus.com wrote:
Hi Hannes,
On Tue, May 2, 2017 at 1:17 PM H. Hirzel hannes.hirzel@gmail.com wrote:
Hello
The previous email in this thread was about installing FileTree into Squeak 4.4.
Coming back to FileTree installation.
Where do I find the most recent instructions to install FileTree into Squeak5.1-release and Squeak6.0-trunk most updated version?
This is what you are looking for (see Squeak): https://github.com/dalehenrich/metacello-work
Please also note this issue: https://github.com/dalehenrich/metacello-work/issues/434
Fabio
Thank you in advance.
--Hannes
On 12/28/12, H. Hirzel hannes.hirzel@gmail.com wrote:
Dale
The following script now loads FileTree nicely into Squeak 4.4-12324 and everything works so far.
Thank you!
--Hannes
Installer ss3 project: 'FileTree'; install: 'MonticelloFileTree-Core.squeak43'. Installer ss3 project: 'FileTree'; install:
'MonticelloFileTree-FileDirectory-Utilities.squeak43'.
On 7/20/12, Dale Henrichs dhenrich@vmware.com wrote:
Hannes,
Using FileTree is not getting away from Monticello ... FileTree
implements
a Monticello repository - all of the chewy goodness that is Monticello is preserved with FileTree. FileTree repositories are simple a different type of MCDirectoryRepository where the packages are stored in plain text (actually Utf8) files instead of zip.
The fact that plain text files/directories are used for storage of the packages means that you can use git/svn/mercurial or any of the myriad other SCMs to manage your Smalltalk source code. The plain text source means that you are not just storing binary blobs in the git/etc. repository.
Also because the packages are stored in plain text directory structure means that other Smalltalk dialects can easily work with the disk-based
package
structure transforming the package structure into whatever native
package
structure they happen to use. Right now there are more Smalltalk
dialects
that can share the FileTree package structure (after 6 months) than can share mcz files (after 6 years for Monticello).
I have been pushing git/GitHub, because GitHub offers superior collaboration tools and git gives you entree to GitHub, but the fact is that FileTree is entirely SCM neutral...
Dale
----- Original Message ----- | From: "H. Hirzel" hannes.hirzel@gmail.com | To: "The general-purpose Squeak developers list" squeak-dev@lists.squeakfoundation.org | Sent: Thursday, July 19, 2012 3:48:32 PM | Subject: Re: [squeak-dev] Installing Filetree | | On 7/19/12, Bert Freudenberg bert@freudenbergs.de wrote: | > On 19.07.2012, at 13:46, H. Hirzel wrote: | >> The OrderedCollectio 'versions' is empty. | > | > Now you just need to figure out why it's empty :) | > | > | > - Bert - | > | | I am actually not a specialist in MontiCello This is exactly the | reason why I want to switch to a standard version control system like | git. | | Enough attempts and testing for today.... | | --Hannes | |
On 5/2/17, Fabio Niephaus lists@fniephaus.com wrote:
On Tue, May 2, 2017 at 1:30 PM H. Hirzel hannes.hirzel@gmail.com wrote:
Hello Fabio
[snip]
- From what I understand is that the trunk update by Patrick Rein [2]
last week Thu, 27 Apr 2017, makes Squeak6.0a backward compatible again. I.e. installation of Metacello should be smooth. To be tested.
I haven't tested it yet, would be good if you could leave a comment in the issue.
Thanks, Fabio
OK, I do a test of loading Metacello into Squeak6.0a-trunk-latest-version in the upcoming days and report on it.
--HH
Installing Metacello into most recent updated trunk Squeak6.0a runs fine, see new threa 'Installing Metacello'
--HH
On 5/2/17, H. Hirzel hannes.hirzel@gmail.com wrote:
On 5/2/17, Fabio Niephaus lists@fniephaus.com wrote:
On Tue, May 2, 2017 at 1:30 PM H. Hirzel hannes.hirzel@gmail.com wrote:
Hello Fabio
[snip]
- From what I understand is that the trunk update by Patrick Rein [2]
last week Thu, 27 Apr 2017, makes Squeak6.0a backward compatible again. I.e. installation of Metacello should be smooth. To be tested.
I haven't tested it yet, would be good if you could leave a comment in the issue.
Thanks, Fabio
OK, I do a test of loading Metacello into Squeak6.0a-trunk-latest-version in the upcoming days and report on it.
--HH
Hannes,
Did you see my message about a bug in Windows (writing out package structure) and the fact that the fix is in the github code? I also provided a link to the single method (and line) that needs to be fixed ...
Dale
----- Original Message ----- | From: "H. Hirzel" hannes.hirzel@gmail.com | To: "The general-purpose Squeak developers list" squeak-dev@lists.squeakfoundation.org | Sent: Thursday, July 19, 2012 1:10:22 PM | Subject: Re: [squeak-dev] Installing Filetree | | On 7/19/12, Bert Freudenberg bert@freudenbergs.de wrote: | > | > On 19.07.2012, at 11:30, H. Hirzel wrote: | > | >> On 7/19/12, H. Hirzel hannes.hirzel@gmail.com wrote: | >>> On 7/19/12, Dale Henrichs dhenrich@vmware.com wrote: | >>>> Hannes, | >>>> | >>>> Okay ... I've updated the FileTree bugreport[1] with a reference | >>>> to | >>>> your | >>>> post and will take a look when I get a chance ... | >>>> | >>>> I will still point out that the install instructions for | >>>> FileTree[2] | >>>> include | >>>> a load of the latest code from the github repository... | >> | >> OK, I now did this. | >> | >> As step 0 I did the Windows installation of git following this | >> link | >> | >> http://windows.github.com/ | >> | >> In the installation instruction | >> | >> https://github.com/dalehenrich/filetree/blob/master/doc/SqueakInstall.md | >> you have three parts | >> | >> 1) I choose the 'Git shell' from the 'Start menu' | >> | >> I execute | >> C:\Documents and Settings\Hannes\My | >> Documents\GitHub\filetree\repository\Baselin | >> eOfFileTree.package>git clone -b squeak4.3 | >> https://github.com/dalehenrich/filetr | >> ee.git | >> | >> OK | >> | >> 2) In Squeak I do as FileTree bootstrap | >> | >> Installer ss3 | >> project: 'FileTree'; | >> install: 'MonticelloFileTree-Core.squeak43-dkh.70.mcz'. | >> | >> | >> OK | >> | >> | >> 3) I want to load the FileTree code I got from github | >> | >> Installer monticello | >> mc: (MCFileTreeRepository directory: | >> (FileDirectory uri: 'C:\Documents and | >> Settings\Hannes\My Documents\GitHub\filetree')); | >> install: 'MonticelloFileTree-Core' | > | > | > Use FileDirectory on: not uri: if you give it a path. | > | > (my original example used a relative path with uri: which to me was | > more | > convenient than having to specify an absolute path) | | As you suggest I now use as point 3 | | Installer monticello | mc: (MCFileTreeRepository directory: | (FileDirectory on: 'C:\Documents and | Settings\Hannes\My Documents\GitHub\filetree')); | install: 'MonticelloFileTree-Core' | | FAILURE | I still get a walkback | | | | | (FileDirectory on: 'C:\Documents and Settings\Hannes\My | Documents\GitHub\filetree') inspect | | OK, gives | DosFileDirectory on 'C:\Documents and Settings\Hannes\My | Documents\GitHub\filetree' | | | | | | | (MCFileTreeRepository directory: | (FileDirectory on: 'C:\Documents and | Settings\Hannes\My Documents\GitHub\filetree')) inspect | | OK, gives | | | a MCFileTreeRepository(filetree://C:\Documents and Settings\Hannes\My | Documents\GitHub\filetree) | | The path actually looks weird. | | --Hannes | | > | > - Bert - | > | >> FAIL | >> | >> see attached screen shot. | >> | >> --Hannes | >> | >> | >> | >> | >> | >> | >>>> BTW, you indicated that you needed to explicitly load a specific | >>>> version | >>>> in | >>>> the Installer script and that the instructions: | >>>> | >>>> Installer ss3 | >>>> project: 'FileTree'; | >>>> install: 'MonticelloFileTree-Core.squeak43'. | >>>> | >>>> don't load the correct version... Is that correct? | >>> | >>> Yes, please see the attached screen shot. | >>> | >>> | >>> --Hannes | >>> | >>> | >>>> Dale | >>>> | >>>> [1] https://github.com/dalehenrich/filetree/issues/49 | >>>> [2] | >>>> https://github.com/dalehenrich/filetree/blob/pharo1.3/doc/SqueakInstall.md | >>>> | >>>> ----- Original Message ----- | >>>> | From: "H. Hirzel" hannes.hirzel@gmail.com | >>>> | To: "The general-purpose Squeak developers list" | >>>> squeak-dev@lists.squeakfoundation.org | >>>> | Sent: Thursday, July 19, 2012 8:35:57 AM | >>>> | Subject: Re: [squeak-dev] Installing Filetree | >>>> | | >>>> | And here comes the screen shot. | >>>> | | >>>> | On 7/19/12, H. Hirzel hannes.hirzel@gmail.com wrote: | >>>> | > The original test case | >>>> | > | >>>> | > 1) Create a package 'HHTestingFileTree' | >>>> | > 2) add a class 'MyHHclass' | >>>> | > 3) add a class method | >>>> | > 4) Add in the MonticelloBrowser a filetree directory | >>>> | > 5) Click 'Save' in the MonticelloBrowser | >>>> | > | >>>> | > FAILS | >>>> | > | >>>> | > variable 'contents' is empty in an object of the class | >>>> | > MCFileTreeStCypressReader | >>>> | > | >>>> | > | >>>> | > --Hannes | >>>> | > | >>>> | > On 7/19/12, H. Hirzel hannes.hirzel@gmail.com wrote: | >>>> | >> OK I have to pick the right file. I just picked the latest | >>>> | >> without | >>>> | >> actually reading the file name properly. | >>>> | >> | >>>> | >> I have to take | >>>> | >> MonticelloFileTree-Core.squeak43-dkh.70.mcz | >>>> | >> | >>>> | >> and NOT | >>>> | >> MonticelloFileTree-Core.pharo20-dkh.78.mcz | >>>> | >> | >>>> | >> HJH | >>>> | >> | >>>> | >> On 7/19/12, H. Hirzel hannes.hirzel@gmail.com wrote: | >>>> | >>> Regarding point 2 of the previous mail. | >>>> | >>> | >>>> | >>> I realize that instead of | >>>> | >>> | >>>> | >>> Installer ss3 | >>>> | >>> project: 'FileTree'; | >>>> | >>> install: 'MonticelloFileTree-Core.squeak43'. | >>>> | >>> | >>>> | >>> I have to go to | >>>> | >>> http://ss3.gemstone.com/ss/FileTree/ | >>>> | >>> and pick out a file name and then do e.g. | >>>> | >>> | >>>> | >>> Installer ss3 | >>>> | >>> project: 'FileTree'; | >>>> | >>> install: | >>>> | >>> 'MonticelloFileTree-Core.pharo20-dkh.78.mcz'. | >>>> | >>> | >>>> | >>> | >>>> | >>> Then it files in file. However there is still a problem. | >>>> | >>> See next | >>>> | >>> mail. | >>>> | >>> | >>>> | >>> --HJH | >>>> | >>> | >>>> | >>> On 7/19/12, H. Hirzel hannes.hirzel@gmail.com wrote: | >>>> | >>>> On 7/13/12, Dale Henrichs dhenrich@vmware.com wrote: | >>>> | >>>>> Hannes, | >>>> | >>>>> | >>>> | >>>>> Could I see a little more of the stack to get some | >>>> | >>>>> context? | >>>> | >>>>> | >>>> | >>>>> I should point out that I don't necessarily keep the mcz | >>>> | >>>>> files | >>>> | >>>>> up-to-date | >>>> | >>>>> and that the complete install of FileTree should involve | >>>> | >>>>> a load | >>>> | >>>>> from a | >>>> | >>>>> git | >>>> | >>>>> repository[1], to get the absolutely latest code. | >>>> | >>>>> | >>>> | >>>>> I'd also be interested to know which version of the | >>>> | >>>>> MonticelloFileTree-Core.squeak43 package that is loaded | >>>> | >>>>> ... | >>>> | >>>>> | >>>> | >>>>> Finally I run tests using travisCI[2] for each push to | >>>> | >>>>> github, | >>>> | >>>>> but I | >>>> | >>>>> test | >>>> | >>>>> against the image downloaded from [3] (including latest | >>>> | >>>>> github | >>>> | >>>>> code | >>>> | >>>>> for | >>>> | >>>>> Squeak4.3 branch) and that passing all of the unit | >>>> | >>>>> tests, with | >>>> | >>>>> my | >>>> | >>>>> latest | >>>> | >>>>> updates... | >>>> | >>>>> | >>>> | >>>>> Dale | >>>> | >>>>> | >>>> | >>>>> [1] | >>>> | >>>>> | >>>> https://github.com/dalehenrich/filetree/blob/pharo1.3/doc/SqueakInstall.md | >>>> | >>>>> [2] | >>>> | >>>>> http://travis-ci.org/#!/dalehenrich/filetree/builds/1810028 | >>>> | >>>> | >>>> | >>>>> [3] http://ftp.squeak.org/4.3/Squeak4.3.zip | >>>> | >>>> | >>>> | >>>> | >>>> | >>>> Dale | >>>> | >>>> | >>>> | >>>> I redid the test case | >>>> | >>>> | >>>> | >>>> | >>>> | >>>> Prerequisite: | >>>> | >>>> | >>>> | >>>> A pristine copy of [3] using the latest Cog machine on | >>>> | >>>> Windows | >>>> | >>>> http://www.mirandabanda.org/files/Cog/VM/VM.r2559/cogwin.zip | >>>> | >>>> (I | >>>> | >>>> assume | >>>> | >>>> the Cog version has no influence, this is just for the | >>>> | >>>> record) | >>>> | >>>> | >>>> | >>>> The image version is Squeak 4.3 #11860 | >>>> | >>>> | >>>> | >>>> Steps | >>>> | >>>> 1) Open a workspace | >>>> | >>>> 2) Paste in the code from the email from Bert who reports | >>>> | >>>> it has | >>>> | >>>> worked | >>>> | >>>> for | >>>> | >>>> him. | >>>> | >>>> | >>>> | >>>> Installer ss3 | >>>> | >>>> project: 'FileTree'; | >>>> | >>>> install: 'MonticelloFileTree-Core.squeak43'. | >>>> | >>>> | >>>> | >>>> 3) Execute the code | >>>> | >>>> | >>>> | >>>> | >>>> | >>>> Result | >>>> | >>>> A walkback. | >>>> | >>>> The versions collection is empty, see attached screen | >>>> | >>>> shot. | >>>> | >>>> | >>>> | >>>> | >>>> | >>>> Suggestions what else to test are welcome. | >>>> | >>>> | >>>> | >>>> | >>>> | >>>> --Hannes | >>>> | >>>> | >>>> | >>> | >>>> | >> | >>>> | > | >>>> | | >>>> | | >>>> | | >>>> | >>>> | >>> | >> <Squeak4.3-11860-FileTreeInstallationTest.GIF> | > | > | > | |
Hannes,
Okay ... I am beginning to believe that the issue is with Windows (I noticed the C: in your file path) ... you may have mentioned it earlier, but it didn't impress on me till just now ... I've been testing on Linux and I don't have easy access to a windows system for testing.
Masashi Umezawa reported a bug[1] against FileTree a week or so ago ... he didn't include a stack trace (and I never saw a stack trace since it was on windows), but in re-reading the bug, it sounds like the problem you are reporting...The bug affects the writing of packages from Windows.
Masashi did identify a bugfix[2] which was committed at the time of the the bug report. If you load the latest code from github, you should pick up the bugfix.
Dale
[1] https://github.com/dalehenrich/filetree/issues/47 [2] https://github.com/dalehenrich/filetree/commit/e5e75444507731c177e64c56bd6c6... ----- Original Message ----- | From: "H. Hirzel" hannes.hirzel@gmail.com | To: "The general-purpose Squeak developers list" squeak-dev@lists.squeakfoundation.org | Sent: Thursday, July 19, 2012 11:30:05 AM | Subject: Re: [squeak-dev] Installing Filetree | | On 7/19/12, H. Hirzel hannes.hirzel@gmail.com wrote: | > On 7/19/12, Dale Henrichs dhenrich@vmware.com wrote: | >> Hannes, | >> | >> Okay ... I've updated the FileTree bugreport[1] with a reference | >> to your | >> post and will take a look when I get a chance ... | >> | >> I will still point out that the install instructions for | >> FileTree[2] | >> include | >> a load of the latest code from the github repository... | | OK, I now did this. | | As step 0 I did the Windows installation of git following this link | | http://windows.github.com/ | | In the installation instruction | https://github.com/dalehenrich/filetree/blob/master/doc/SqueakInstall.md | you have three parts | | 1) I choose the 'Git shell' from the 'Start menu' | | I execute | C:\Documents and Settings\Hannes\My | Documents\GitHub\filetree\repository\Baselin | eOfFileTree.package>git clone -b squeak4.3 | https://github.com/dalehenrich/filetr | ee.git | | OK | | 2) In Squeak I do as FileTree bootstrap | | Installer ss3 | project: 'FileTree'; | install: 'MonticelloFileTree-Core.squeak43-dkh.70.mcz'. | | | OK | | | 3) I want to load the FileTree code I got from github | | Installer monticello | mc: (MCFileTreeRepository directory: | (FileDirectory uri: 'C:\Documents and | Settings\Hannes\My Documents\GitHub\filetree')); | install: 'MonticelloFileTree-Core' | | | FAIL | | see attached screen shot. | | --Hannes | | | | | | | >> BTW, you indicated that you needed to explicitly load a specific | >> version | >> in | >> the Installer script and that the instructions: | >> | >> Installer ss3 | >> project: 'FileTree'; | >> install: 'MonticelloFileTree-Core.squeak43'. | >> | >> don't load the correct version... Is that correct? | > | > Yes, please see the attached screen shot. | > | > | > --Hannes | > | > | >> Dale | >> | >> [1] https://github.com/dalehenrich/filetree/issues/49 | >> [2] | >> https://github.com/dalehenrich/filetree/blob/pharo1.3/doc/SqueakInstall.md | >> | >> ----- Original Message ----- | >> | From: "H. Hirzel" hannes.hirzel@gmail.com | >> | To: "The general-purpose Squeak developers list" | >> squeak-dev@lists.squeakfoundation.org | >> | Sent: Thursday, July 19, 2012 8:35:57 AM | >> | Subject: Re: [squeak-dev] Installing Filetree | >> | | >> | And here comes the screen shot. | >> | | >> | On 7/19/12, H. Hirzel hannes.hirzel@gmail.com wrote: | >> | > The original test case | >> | > | >> | > 1) Create a package 'HHTestingFileTree' | >> | > 2) add a class 'MyHHclass' | >> | > 3) add a class method | >> | > 4) Add in the MonticelloBrowser a filetree directory | >> | > 5) Click 'Save' in the MonticelloBrowser | >> | > | >> | > FAILS | >> | > | >> | > variable 'contents' is empty in an object of the class | >> | > MCFileTreeStCypressReader | >> | > | >> | > | >> | > --Hannes | >> | > | >> | > On 7/19/12, H. Hirzel hannes.hirzel@gmail.com wrote: | >> | >> OK I have to pick the right file. I just picked the latest | >> | >> without | >> | >> actually reading the file name properly. | >> | >> | >> | >> I have to take | >> | >> MonticelloFileTree-Core.squeak43-dkh.70.mcz | >> | >> | >> | >> and NOT | >> | >> MonticelloFileTree-Core.pharo20-dkh.78.mcz | >> | >> | >> | >> HJH | >> | >> | >> | >> On 7/19/12, H. Hirzel hannes.hirzel@gmail.com wrote: | >> | >>> Regarding point 2 of the previous mail. | >> | >>> | >> | >>> I realize that instead of | >> | >>> | >> | >>> Installer ss3 | >> | >>> project: 'FileTree'; | >> | >>> install: 'MonticelloFileTree-Core.squeak43'. | >> | >>> | >> | >>> I have to go to | >> | >>> http://ss3.gemstone.com/ss/FileTree/ | >> | >>> and pick out a file name and then do e.g. | >> | >>> | >> | >>> Installer ss3 | >> | >>> project: 'FileTree'; | >> | >>> install: | >> | >>> 'MonticelloFileTree-Core.pharo20-dkh.78.mcz'. | >> | >>> | >> | >>> | >> | >>> Then it files in file. However there is still a problem. See | >> | >>> next | >> | >>> mail. | >> | >>> | >> | >>> --HJH | >> | >>> | >> | >>> On 7/19/12, H. Hirzel hannes.hirzel@gmail.com wrote: | >> | >>>> On 7/13/12, Dale Henrichs dhenrich@vmware.com wrote: | >> | >>>>> Hannes, | >> | >>>>> | >> | >>>>> Could I see a little more of the stack to get some | >> | >>>>> context? | >> | >>>>> | >> | >>>>> I should point out that I don't necessarily keep the mcz | >> | >>>>> files | >> | >>>>> up-to-date | >> | >>>>> and that the complete install of FileTree should involve a | >> | >>>>> load | >> | >>>>> from a | >> | >>>>> git | >> | >>>>> repository[1], to get the absolutely latest code. | >> | >>>>> | >> | >>>>> I'd also be interested to know which version of the | >> | >>>>> MonticelloFileTree-Core.squeak43 package that is loaded | >> | >>>>> ... | >> | >>>>> | >> | >>>>> Finally I run tests using travisCI[2] for each push to | >> | >>>>> github, | >> | >>>>> but I | >> | >>>>> test | >> | >>>>> against the image downloaded from [3] (including latest | >> | >>>>> github | >> | >>>>> code | >> | >>>>> for | >> | >>>>> Squeak4.3 branch) and that passing all of the unit tests, | >> | >>>>> with | >> | >>>>> my | >> | >>>>> latest | >> | >>>>> updates... | >> | >>>>> | >> | >>>>> Dale | >> | >>>>> | >> | >>>>> [1] | >> | >>>>> | >> https://github.com/dalehenrich/filetree/blob/pharo1.3/doc/SqueakInstall.md | >> | >>>>> [2] | >> | >>>>> http://travis-ci.org/#!/dalehenrich/filetree/builds/1810028 | >> | >>>> | >> | >>>>> [3] http://ftp.squeak.org/4.3/Squeak4.3.zip | >> | >>>> | >> | >>>> | >> | >>>> Dale | >> | >>>> | >> | >>>> I redid the test case | >> | >>>> | >> | >>>> | >> | >>>> Prerequisite: | >> | >>>> | >> | >>>> A pristine copy of [3] using the latest Cog machine on | >> | >>>> Windows | >> | >>>> http://www.mirandabanda.org/files/Cog/VM/VM.r2559/cogwin.zip | >> | >>>> (I | >> | >>>> assume | >> | >>>> the Cog version has no influence, this is just for the | >> | >>>> record) | >> | >>>> | >> | >>>> The image version is Squeak 4.3 #11860 | >> | >>>> | >> | >>>> Steps | >> | >>>> 1) Open a workspace | >> | >>>> 2) Paste in the code from the email from Bert who reports | >> | >>>> it has | >> | >>>> worked | >> | >>>> for | >> | >>>> him. | >> | >>>> | >> | >>>> Installer ss3 | >> | >>>> project: 'FileTree'; | >> | >>>> install: 'MonticelloFileTree-Core.squeak43'. | >> | >>>> | >> | >>>> 3) Execute the code | >> | >>>> | >> | >>>> | >> | >>>> Result | >> | >>>> A walkback. | >> | >>>> The versions collection is empty, see attached screen shot. | >> | >>>> | >> | >>>> | >> | >>>> Suggestions what else to test are welcome. | >> | >>>> | >> | >>>> | >> | >>>> --Hannes | >> | >>>> | >> | >>> | >> | >> | >> | > | >> | | >> | | >> | | >> | >> | > | | |
This is now documented in SqueakMap.
On Wed, Jul 4, 2012 at 9:08 AM, Bert Freudenberg bert@freudenbergs.de wrote:
Hi all,
Dale has been working on a Squeak version of FileTree, which is a Monticello repository backed not by zip files, but a tree of individual class files that can be versioned using git, svn, etc:
https://github.com/dalehenrich/filetree/blob/master/doc/SqueakInstall.md
Since I don't like cluttering my image with unrelated things, here's how to load it using just Installer - provided you have an up-to-date trunk image with the fixes I posted today:
======================== "Bootstrap from squeak43 branch in squeaksource3"
Installer ss3 project: 'FileTree'; install: 'MonticelloFileTree-Core.squeak43'.
"Load from local filetree repository (cloned squeak4.3 branch from github into image folder)"
Installer monticello mc: (MCFileTreeRepository directory: (FileDirectory uri: 'filetree/repository/')); install: 'MonticelloFileTree-Core' ========================
If you have an older image without the new fixes, giving an explicit version number for the ss3 bootstrap should make it work (e.g. 'MonticelloFileTree-Core.squeak43-dkh.70').
- Bert -
squeak-dev@lists.squeakfoundation.org