On 24.02.2010, at 14:16, John Maloney wrote:
> 
> Hi, guys.
> 
> Looking at Claudia's screenshots, it looks like the download did not complete 
> normally. When I downloaded a project, I saw the project name in the journal. 
> One possible problem: you have to log into the website in order to download a 
> project. I didn't do that the first time and it did not work, but the error I 
> got from the browser was misleading, so it took me a while to realize that I 
> needed to log in.
> 
> Claudia, if logging in doesn't help, I can help you get the debug info that 
> Bert wants, but I'll need to do that on your XO unless I can reproduce the 
> problem on one of mine.
> 
>       -- John

Ah, I didn't realize Claudia was not familiar with Squeak. So here is a bit 
more detail:

- Shift-click Scratch's file menu to get its extended version, click "exit user 
mode"
- click on the desktop, "open...", "transcript"
- in the Transcript window, type "logDebug:", press Alt-m
- in the logDebug: method, replace "^self" with "Transcript show: aString; cr", 
press Alt-s to save

- now try to import a costume
- the Transcript should fill with a lot of debug messages
- in the Transcript press Alt-a (select all) then Alt-c (copy)

- now it's in the Sugar clipboard
- switch to browse activity and paste into email, or save to Journal etc.

- Bert -

> 
> On Feb 24, 2010, at 6:16 AM, Bert Freudenberg wrote:
> 
>> Hi Claudia,
>> 
>> thanks for testing! It's great that it's not working for you so we have a 
>> test case ;)
>> 
>> To assist in debugging, could you change DBus>>logDebug: to "Transcript 
>> show: aString; cr" and send me the Transcript contents after you tried to 
>> import a costume or project? Thanks!
>> 
>> All: the steps to upgrade to my version under Sugar in the Terminal activity 
>> are
>>      cd Activities/Scratch.activity
>>      wget http://dev.laptop.org/~bert/scratch/ScratchXO-bf-Feb23.zip
>>      mv ScratchXO.image ScratchXO.image.bak
>>      unzip ScratchXO-bf-Feb23.zip
>> Then launch Scratch as usual.
>> 
>> - Bert -
>> 
>> On 24.02.2010, at 04:25, Claudia Urrea wrote:
>>> 
>>> Hi Bert,
>>> 
>>> I am very excited about the progress. I run Scratch on my XO1.0 (802)
>>> and this is what I found:
>>> - Import projects
>>> I downloaded a project from the Scratch website, but I can't import
>>> it using the Journal button. If I use the simple directory viewer, I see
>>> a list of download entries, but none of them open, if I bring the Sugar
>>> widget (by holding down shift key), I click on the file, but it doesn't
>>> open. I included a couple of screet shoots.
>>> 
>>> - Import costumes
>>> If I use the simple directory view, it works, but if I use the Sugar
>>> widget (by holding down shift key), the images don't get imported.
>>> I even tried creating a new sprite and again, if I select one of the
>>> images using the simple directory view it works, but not from the
>>> Sugar widget.
>>> 
>>> I like the hidden feature, but one of the reasons I propose the
>>> Sugar widget is that you can get access to the content of the USB
>>> drives, without having to do to "/media/XXXX/"
>>> 
>>> - Import images for background
>>> I get the same behavior.. the background images get imported if
>>> I use the simple directort view, but not the Sugar widget
>>> 
>>> - I didn't test sound.
>>> 
>>> Thanks again for your work.
>>> 
>>> Best,
>>> 
>>> Claudia
>>> ----- Original Message ----- From: "John Maloney" <[email protected]>
>>> To: "Bert Freudenberg" <[email protected]>
>>> Cc: "linux" <[email protected]>; "Claudia Urrea" <[email protected]>
>>> Sent: Tuesday, February 23, 2010 8:29 PM
>>> Subject: Re: Sugarizing Scratch
>>> 
>>> 
>>>> Hi, Bert.
>>>> 
>>>> Got it installed using your pre-build image (thanks for making that!).  So 
>>>> far I've tested:
>>>> 
>>>> 1. download a project from the Scratch website and open it using  the 
>>>> Journal button. Yay! This is a biggie!
>>>> 2. Imported a photo from the Journal as a costume. Another biggie!
>>>> 
>>>> I haven't yet tested importing lists, backgrounds, and sounds from the 
>>>> Journal. I'll let you know. But these first two tests are very  promising.
>>>> 
>>>> The Sugar "object chooser" is actually what I had originally imagined  you 
>>>> would implement. But I much prefer the way you did it. I would be  okay 
>>>> with leaving it in as a hidden feature. As you say, it could be  desirable 
>>>> as a way to search among thousands of entries.
>>>> 
>>>> It took a while to generate thumbnails the first time I imported an image, 
>>>> even though there were very few images in my Journal (and only  one 
>>>> photo). It's great that you are caching the thumbnails file so it  is fast 
>>>> the next time. The Sugar object chooser might be a faster way  to import 
>>>> an image on a computer with lots of images in the Journal,  especially if 
>>>> the user has never imported an image from Scratch so  there no thumbnails 
>>>> file. I could imagine that thumbnail generation  might take hours if the 
>>>> journal were full of photos.
>>>> 
>>>> I haven't used an XO for a while. I had forgotten how slow the XO  feels 
>>>> when one is used to a 2 gigaherz dual core processor. :-)
>>>> 
>>>> This is looking very promising!
>>>> 
>>>> -- John
>>>> 
>>>> 
>>>> On Feb 23, 2010, at 1:37 PM, Bert Freudenberg wrote:
>>>> 
>>>>> Hi John, all,
>>>>> 
>>>>> I'm working on making the Sugar Journal accessible from Scratch. The plan 
>>>>> is to do so with only minimal changes in the UI.
>>>>> 
>>>>> I have a first implementation, and would like to get feedback.  Attached 
>>>>> is a version that can import Scratch projects, Sprite  costumes, Stage 
>>>>> backgrounds, and Lists from the Sugar Journal.  Importing Sounds should 
>>>>> work too but I have not tested that yet.
>>>>> 
>>>>> There is no saving / exporting / writing to the Journal yet.
>>>>> 
>>>>> The UI by default shows the Journal contents as if it was a simple 
>>>>> directory. You just click the new Journal button and it lists all  the 
>>>>> matching entries for the current media type.
>>>>> 
>>>>> Alternatively it can use Sugar's "object chooser". To try that, hold down 
>>>>> Shift while clicking the Journal button (the default is  governed by 
>>>>> useJournalUI pref). If there were thousands of entries  in the Journal 
>>>>> this might be preferable. But I'm still undecided on  this.
>>>>> 
>>>>> To install, get a pristine ScratchSource1.4 image and file in the 
>>>>> changesets in this order:
>>>>> - Compatibility
>>>>> - DBus
>>>>> - SugarScratch
>>>>> You MUST evaluate "DBus startUp: true" once, and after each start of  the 
>>>>> image (if saved as a user image that happens automatically on  each 
>>>>> start).
>>>>> 
>>>>> Obviously you need to run this under Sugar.
>>>>> 
>>>>> For convenience, here is a drop-in replacement for the image in the 
>>>>> current Scratch activity:
>>>>> http://dev.laptop.org/~bert/scratch/ScratchXO-bf-Feb23.zip
>>>>> 
>>>>> Again, feedback appreciated.
>>>>> 
>>>>> - Bert -
>>>>> 
>>>>> <SugarScratch-bf-Feb23.zip>
>>>> 
>>> <Screenshot_1_2_3.png><Screenshot_1_2_3_4.png>
>> 
>> 
>> 
>> 
> 




_______________________________________________
Mailing list: https://launchpad.net/~scratch
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~scratch
More help   : https://help.launchpad.net/ListHelp

Reply via email to