This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-09-08 18:13:48

RyanJosephKing
New Scratcher
Registered: 2012-09-08
Posts: 6

Linux Install Troubles: Squeak dependency, docs, and findTokens error.

Hi guys!

I had a great time this week teaching my kids using Google's Blockly, but decided it was time to get the full effect and start using Scratch.

I'm not on an apt- or rpm-based distro, so I used the GPL source download:
http://download.scratch.mit.edu/scratch-1.4.0.6.src.tar.gz

After extracting, there was no README or top-level executable (this should be documented or fixed, I think), but I found src/scratch.

Running that revealed another issue (which is also not documented anywhere that I could see), that it expects Squeak installed into /usr/local/squeak/*.

After installing it, the src/scratch executable did run, but we quickly found an error when attempting to save or open:

(Sorry for the manual image links, the BB refuses to let me link them because I'm a new user):

http://pasteall.org/pic/show.php?id=37512

I know a tiny bit of Smalltalk so I clicked "Debug" and got this far:

http://www.pasteall.org/pic/show.php?id=37513

Notice how t1 is nil. This clearly should not be the case, and is what causes the "findTokens" error.

I looked at UserHomeFolder, and saw that it was indeed nil, but that the code checks "notNil ifTrue return 'Home' localized".

This seems exactly backwards of what it should do.  So I reversed the logic:

http://www.pasteall.org/pic/show.php?id=37514

After that, I got successful saves and opens.


So, where do I go to discuss sharing this information with the community (that is, I want to document the Linux install process better, perhaps embed the Squeak dependency right into the install archive, and switch that ifTrue to an ifFalse).

Thanks!
-☈

Offline

 

#2 2012-09-09 21:38:47

RyanJosephKing
New Scratcher
Registered: 2012-09-08
Posts: 6

Re: Linux Install Troubles: Squeak dependency, docs, and findTokens error.

Is this the right medium for discussing my issue?  Or should I look for some development mailing list?

Offline

 

#3 2012-09-09 21:41:22

MrFlash67
Scratcher
Registered: 2012-08-08
Posts: 500+

Re: Linux Install Troubles: Squeak dependency, docs, and findTokens error.

It would either be here or the Advanced Topics - the forum is the right place.


Who would win, SOPA or PIPA?

Offline

 

#4 2012-10-04 01:12:28

RyanJosephKing
New Scratcher
Registered: 2012-09-08
Posts: 6

Re: Linux Install Troubles: Squeak dependency, docs, and findTokens error.

Update: Scratch-1.4.0.7 has the inverted ifTrue/ifFalse fix in place.

The instructions are still really weak, though. ☺

Offline

 

#5 2012-12-25 17:19:30

ProDude88
New Scratcher
Registered: 2012-12-25
Posts: 3

Re: Linux Install Troubles: Squeak dependency, docs, and findTokens error.

i get this when i try to download scratch and i have no idea what it means. i am using ubuntu 9.04, can someone help? Error: Dependency is not satisfiable: squeak-plugins-scratch

Offline

 

Board footer