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

#1 2013-02-23 12:22:55

shadowmouse
New Scratcher
Registered: 2013-02-03
Posts: 100+

modding scratch key not found Dictionary (Object)>>error;

I am trying to make a mod of scratch and I have added two new categories. Yet when I tell it to save image in user mode it comes up with:

key not found
Dictionary(Object)>>error;
Dictionary>>erroKeyNotFound
[ ] in ScratchFrameMorph class>>skinAt:
Dictionay>>at:ifAbsent:
ScratchFrameMorph class>>skinAt:ifAbsent
ScratchFrameMorph class>>skinAt:
[ ] in ScratchViewerMorph>>rebuildCategorySelectors
Array(SequenceableCollection)>>collect:
ScratchViewerMorph>>rebuildCategorySelectors
ScratchFrameMorph>>setLanguage:

Can someone please help, this is my first time modding scratch and I don't know much squeak.

Offline

 

#2 2013-02-24 04:16:18

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: modding scratch key not found Dictionary (Object)>>error;

It looks like your ScratchSkin might be broken. Try copying a new ScratchSkin folder in your mod's folder, add your category button images to the ScratchSkin folder, and load the skin in your mod.


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&display=small

Offline

 

#3 2013-02-24 11:14:48

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: modding scratch key not found Dictionary (Object)>>error;

Better yet than what nathan wrote above:

- download a fresh version of the Scratch Skin from the Scratch website
- navigate to the folder of your current skin, and copy all of the files in that folder
- navigate to the new skin that you just downloaded, and paste the files into it
- move the old skin's folder out of the way (maybe rename it to SkinBackup)
- move the new folder with the pasted images into where the old folder was
- reload the skin
- if it doesn't work, you still have the backup.

Offline

 

#4 2013-02-24 12:03:30

shadowmouse
New Scratcher
Registered: 2013-02-03
Posts: 100+

Re: modding scratch key not found Dictionary (Object)>>error;

Thanks, I'd just about got it working again, added new blocks, categories and then once again error. Seems to have a problem with the categories 'physics' and/or 'presentation' because I managed to get a control1 and control2. Oh well, time to start again, again. And thanks LS97 for all the help.

Offline

 

#5 2013-02-25 00:23:30

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: modding scratch key not found Dictionary (Object)>>error;

LS97 wrote:

Better yet than what nathan wrote above:

- download a fresh version of the Scratch Skin from the Scratch website
- navigate to the folder of your current skin, and copy all of the files in that folder
- navigate to the new skin that you just downloaded, and paste the files into it
- move the old skin's folder out of the way (maybe rename it to SkinBackup)
- move the new folder with the pasted images into where the old folder was
- reload the skin
- if it doesn't work, you still have the backup.

I have never thought of that before.  tongue


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&display=small

Offline

 

#6 2013-02-25 11:00:27

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: modding scratch key not found Dictionary (Object)>>error;

nathanprocks wrote:

LS97 wrote:

Better yet than what nathan wrote above:

- download a fresh version of the Scratch Skin from the Scratch website
- navigate to the folder of your current skin, and copy all of the files in that folder
- navigate to the new skin that you just downloaded, and paste the files into it
- move the old skin's folder out of the way (maybe rename it to SkinBackup)
- move the new folder with the pasted images into where the old folder was
- reload the skin
- if it doesn't work, you still have the backup.

I have never thought of that before.  tongue

We learn new stuff every day  smile

Offline

 

Board footer