Page 3 of 4

Re: Exemples do not run

PostPosted: Sun Mar 21, 2010 2:12 am
by RzwoDzwo
now it work, but, have you ever clicked the back/left button?
I get the following message:

Exception NSRangeException

*** -[NSBigMutableString rangeOfString:options:range:locale:]: Range or index out of bounds

Exception in
file 'findreplace.NSObject'
at 'do_pbPrevious'
line '77'
callStackSymbols:
(
0 CoreFoundation 0x94ffa40a __raiseError + 410
1 libobjc.A.dylib 0x9358e509 objc_exception_throw + 56
2 CoreFoundation 0x94ffa138 +[NSException raise:format:arguments:] + 136
3 CoreFoundation 0x94ffa0aa +[NSException raise:format:] + 58
4 Foundation 0x9716f71a -[NSString rangeOfString:options:range:locale:] + 142
5 Foundation 0x9716f683 -[NSString rangeOfString:options:range:] + 70
6 Objective-Basic 0x00022d0c _Z23OBTEXTVIEW_FINDPREVIOUSP11objc_objectS0_ + 405
7 Objective-Basic 0x00074d20 -[findreplace do_pbPrevious:] + 283
8 Objective-Basic 0x0004678f -[global boxedSearchPrevious:] + 106
9 AppKit 0x985baf86 -[NSApplication sendAction:to:from:] + 112
10 AppKit 0x9869a705 -[NSControl sendAction:to:] + 108
11 AppKit 0x986961ba -[NSCell _sendActionFrom:] + 169
12 AppKit 0x986954b1 -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 1808
13 AppKit 0x986ea95d -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 524
14 AppKit 0x98693f07 -[NSControl mouseDown:] + 812
15 AppKit 0x98691f10 -[NSWindow sendEvent:] + 5549
16 AppKit 0x985aab2f -[NSApplication sendEvent:] + 6431
17 AppKit 0x9853e4ff -[NSApplication run] + 917
18 AppKit 0x98536535 NSApplicationMain + 574
19 Objective-Basic 0x0004325d main + 210
20 Objective-Basic 0x00002b41 start + 53
)


and after that, you can't absolutely close the application "Objective-Basic", unless you kill the task.

Re: Exemples do not run

PostPosted: Sun Mar 21, 2010 11:26 am
by Slowdown
Hi r2d2,

I also have downloaded the latest version and even when i use (i do recompile Objb for my own use) a recompiled
version of Objb everything is working fine.

I think something is broken on your system (i mean no hardware but in the software)

Re: Exemples do not run

PostPosted: Sun Mar 21, 2010 11:58 am
by RzwoDzwo
Hi slowdown,

maybe you'r right, but one question remain: why works everything fine on my book, except Objective-Basic?

Cheers
r2d2

Re: Exemples do not run

PostPosted: Sun Mar 21, 2010 2:24 pm
by Slowdown
Hi r2d2,

To rule out problems with Xcode.
Start Xcode and load the example CircleView and run this.
This is the windows which become visible,
CircleView.tiff
CircleView.tiff (50.81 KiB) Viewed 1304 times


If this one compiles and run without problems then i assume that Xcode is installed properly and
that the problem is something else.
But i have to say i really don't know what the problem can be at this stage.
Objb is running fine on my Imac and Macbook.

Re: Exemples do not run

PostPosted: Sun Mar 21, 2010 7:14 pm
by RzwoDzwo
Yes, it works.

Re: Exemples do not run

PostPosted: Sun Mar 21, 2010 8:27 pm
by Slowdown
Yes, it works.

I think it's save to say that Xcode is installed safely.
Back to Objb,
You can load Objective Basic, load an example and run it ?
(don't do anything more at this stage)
Try more then one examples if you want and the previous example runs fine.

Re: Exemples do not run

PostPosted: Sun Mar 21, 2010 8:49 pm
by RzwoDzwo
yes, all Examples works, but the problem with the back-button still exist.

Re: Exemples do not run

PostPosted: Sun Mar 21, 2010 9:17 pm
by Slowdown
Hi r2d2,

Glad that it works.
But at this stage i can't help you further the backward button works fine here, read i can't reproduce your problem.
I leave this one to Bernd.

Re: Exemples do not run

PostPosted: Sun Mar 21, 2010 10:55 pm
by RzwoDzwo
OK Slowdown,

thanks anyway for your support.

Best Regards
r2d2

Re: Exemples do not run

PostPosted: Mon Mar 22, 2010 10:34 am
by berndnoetscher
Thanks slowdown for your help.

r2d2:
It looks like the find & replace for the current file does not work.
I can reproduce the error now. It happens if you press the <- button of the search in left of the "all" nspopupbutton and the search field is empty.

Thanks. Will fix it soon.