[squeak-dev] How do I install the Scamper browser?

H. Hirzel hannes.hirzel at gmail.com
Tue May 2 14:03:21 UTC 2017


Thank you for the load script


    Metacello new
      baseline: 'Scamper';
      repository: 'github://HPI-SWA-Teaching/Scamper:dev/packages';
      onConflict: [:ex | ex allow];
      load

It loads fine. Both in Squeak 5.1-release and Squeak6.0a-17230

Then I did

    Scamper initialize.

And

    Scamper open

or

    Scamper openOnUrl: 'http://wiki.squeak.org/squeak/6572'


But I get an error [1].

Do I need to load a particular font package as well?


--Hannes


///////////////////////////////////////////////////////////////////////////////////////////////////////////////

2 May 2017 4:01:34.430728 pm

VM: unix - Smalltalk
Image: Squeak5.1 [latest update: #16549]

SecurityManager state:
Restricted: false
FileAccess: true
SocketAccess: true
Working Dir /media/user/data-ext4/Smtk/2017-04-27_Sq5.1-release_Seaside_loaded_Scamper/Squeak5.1-16549-32bit-All-in-One.app/Contents/Resources
Trusted Dir /media/user/data-ext4/Smtk/2017-04-27_Sq5.1-release_Seaside_loaded_Scamper/Squeak5.1-16549-32bit-All-in-One.app/Contents/Resources/secure
Untrusted Dir /media/user/data-ext4/Smtk/2017-04-27_Sq5.1-release_Seaside_loaded_Scamper/Squeak5.1-16549-32bit-All-in-One.app/Contents/Resources/My
Squeak

StrikeFont(Object)>>doesNotUnderstand: #initialize:
	Receiver: <<error during printing>>
	Arguments and temporary variables:
		aMessage: 	initialize: a StrikeFont(Bitmap DejaVu Sans 7 10)
		exception: 	MessageNotUnderstood: StrikeFont>>initialize:
		resumeValue: 	nil
	Receiver's instance variables:
		characterToGlyphMap: 	nil
		xTable: 	nil
		glyphs: 	nil
		name: 	nil
		type: 	nil
		minAscii: 	nil
		maxAscii: 	nil
		maxWidth: 	nil
		strikeLength: 	nil
		ascent: 	nil
		descent: 	nil
		xOffset: 	nil
		raster: 	nil
		subscript: 	nil
		superscript: 	nil
		emphasis: 	nil
		derivativeFonts: 	nil
		pointSize: 	nil
		fallbackFont: 	nil
		charIndexCompatibilitySlot: 	nil

TextStyle>>addNewFontSize:
	Receiver: a TextStyle Bitmap DejaVu Sans 9
	Arguments and temporary variables:
		pointSize: 	18
		f: 	nil
		newArray: 	nil
		t: 	nil
		isSet: 	false
		fonts: 	nil
		d: 	#(nil)
	Receiver's instance variables:
		fontArray: 	{a StrikeFont(Bitmap DejaVu Sans 7 10) . a
StrikeFont(Bitmap DejaVu ...etc...
		fontFamilySize: 	nil
		lineGrid: 	12
		baseline: 	10
		alignment: 	0
		firstIndent: 	0
		restIndent: 	0
		rightIndent: 	0
		tabsArray: 	#(24 48 72 96 120 144 168 192 216 240 264 288 312 336
360 384 408 43...etc...
		marginTabsArray: 	#(#(24 24) #(48 48) #(72 72) #(96 96) #(120 120)
#(144 144) #(...etc...
		leading: 	2
		defaultFontIndex: 	2

[] in DHtmlFormatter>>fontWith:and:
	Receiver: a DHtmlFormatter
	Arguments and temporary variables:
<<error during printing>
	Receiver's instance variables:
		browser: 	nil
		baseUrl: 	nil
		outputStream: 	an AttributedTextStream
		preformattedLevel: 	0
		indentLevel: 	0
		urlLink: 	nil
		listLengths: 	an OrderedCollection()
		listStyleTypes: 	an OrderedCollection()
		listTypes: 	an OrderedCollection()
		precedingSpaces: 	0
		precedingNewlines: 	1000
		morphsToEmbed: 	an OrderedCollection()
		incompleteMorphs: 	an OrderedCollection()
		fontSpecs: 	nil

Array(Collection)>>detect:ifNone:
	Receiver: {a StrikeFont(Bitmap DejaVu Sans 7 10) . a
StrikeFont(Bitmap DejaVu Sans 9 14) . a StrikeFont...etc...
	Arguments and temporary variables:
		aBlock: 	[closure] in DHtmlFormatter>>fontWith:and:
		exceptionBlock: 	[closure] in DHtmlFormatter>>fontWith:and:
	Receiver's instance variables:
{a StrikeFont(Bitmap DejaVu Sans 7 10) . a StrikeFont(Bitmap DejaVu
Sans 9 14) . a StrikeFont...etc...







On 5/2/17, Fabio Niephaus <lists at fniephaus.com> wrote:
> --
>
> On Tue, May 2, 2017 at 2:48 PM H. Hirzel <hannes.hirzel at gmail.com> wrote:
>
>> And it would be nice to have a short report on which kinds of subset
>> of HTML Scamper runs fine.
>>
>> Thanks for this
>>
>>
>> https://github.com/HPI-SWA-Teaching/Scamper/blob/dev/wikiImages/rendering%20pipe.PNG
>>
>> (attached)
>>
>> For example a couple of static HTML/CSS pages in
>> https://github.com/HPI-SWA-Teaching/Scamper/tree/dev/tests
>>
>>
>>
>> On 5/2/17, H. Hirzel <hannes.hirzel at gmail.com> wrote:
>> > Hello
>> >
>> > Assuming I have installed Metacello, how do I install the Scamper web
>> > browser?
>> >
>> >     https://github.com/HPI-SWA-Teaching/Scamper/tree/dev
>
>
> This should work:
>
> Metacello new
>   baseline: 'Scamper';
>   repository: 'github://HPI-SWA-Teaching/Scamper:dev/packages';
>   onConflict: [:ex | ex allow];
>   load
>
>
>> >
>> > Regards
>> > --Hannes
>> >
>>
>>
>


More information about the Squeak-dev mailing list