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

#1 2012-12-12 18:05:32

jvvg
Scratcher
Registered: 2008-03-26
Posts: 1000+

I need some help here

In Insanity 1.2, I recently encountered a problem where projects aren't saving. I save it, and it says "Save failed. Subscript out of bounds: -32". I can't find where this error is, nor isolate it.

The code is available at the Assembla repo, if anyone wants to try helping me.

Last edited by jvvg (2012-12-12 20:58:52)


http://tiny.cc/zwgbewhttp://tiny.cc/e1gbewhttp://tiny.cc/zygbewhttp://tiny.cc/izgbew
Goodbye, Scratch 1.4  sad                                                        Hello Scratch 2.0!  smile

Offline

 

#2 2012-12-12 18:28:17

jvvg
Scratcher
Registered: 2008-03-26
Posts: 1000+

Re: I need some help here

I think it had to do with me removing the project history, so I reverted the changeset, and it works now.


http://tiny.cc/zwgbewhttp://tiny.cc/e1gbewhttp://tiny.cc/zygbewhttp://tiny.cc/izgbew
Goodbye, Scratch 1.4  sad                                                        Hello Scratch 2.0!  smile

Offline

 

#3 2012-12-12 18:43:24

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: I need some help here

You can comment out the error catching in the save method and just use the Squeak debugger.


nXIII

Offline

 

#4 2012-12-12 18:51:22

jvvg
Scratcher
Registered: 2008-03-26
Posts: 1000+

Re: I need some help here

nXIII wrote:

You can comment out the error catching in the save method and just use the Squeak debugger.

I fixed the problem by just reverting changes, but I'll remember that in the future.


http://tiny.cc/zwgbewhttp://tiny.cc/e1gbewhttp://tiny.cc/zygbewhttp://tiny.cc/izgbew
Goodbye, Scratch 1.4  sad                                                        Hello Scratch 2.0!  smile

Offline

 

#5 2012-12-12 19:32:25

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: I need some help here

jvvg wrote:

nXIII wrote:

You can comment out the error catching in the save method and just use the Squeak debugger.

I fixed the problem by just reverting changes, but I'll remember that in the future.

That's avoiding the problem, not fixing it. I was telling you how to fix it.


nXIII

Offline

 

#6 2012-12-12 20:40:05

jvvg
Scratcher
Registered: 2008-03-26
Posts: 1000+

Re: I need some help here

nXIII wrote:

jvvg wrote:

nXIII wrote:

You can comment out the error catching in the save method and just use the Squeak debugger.

I fixed the problem by just reverting changes, but I'll remember that in the future.

That's avoiding the problem, not fixing it. I was telling you how to fix it.

I meant if I ever have a save problem in the future, I'll do that.


http://tiny.cc/zwgbewhttp://tiny.cc/e1gbewhttp://tiny.cc/zygbewhttp://tiny.cc/izgbew
Goodbye, Scratch 1.4  sad                                                        Hello Scratch 2.0!  smile

Offline

 

#7 2012-12-12 21:25:23

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: I need some help here

I know; it was a joke  tongue


nXIII

Offline

 

#8 2012-12-12 21:31:22

jvvg
Scratcher
Registered: 2008-03-26
Posts: 1000+

Re: I need some help here

nXIII wrote:

I know; it was a joke  tongue

Oh. My bad.


http://tiny.cc/zwgbewhttp://tiny.cc/e1gbewhttp://tiny.cc/zygbewhttp://tiny.cc/izgbew
Goodbye, Scratch 1.4  sad                                                        Hello Scratch 2.0!  smile

Offline

 

Board footer