FIXED: Exemples do not run

Coding Questions, IDE related or anything else

Re: Exemples do not run

Postby RzwoDzwo » Sun Mar 21, 2010 2:12 am

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.
RzwoDzwo
 
Posts: 16
Joined: Sun Mar 14, 2010 2:19 am

Re: Exemples do not run

Postby Slowdown » Sun Mar 21, 2010 11:26 am

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)
Kind regards,

Slowdown (on OSX 10.6.x)
Slowdown
 
Posts: 22
Joined: Wed Sep 16, 2009 8:15 pm
Location: The Netherlands

Re: Exemples do not run

Postby RzwoDzwo » Sun Mar 21, 2010 11:58 am

Hi slowdown,

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

Cheers
r2d2
RzwoDzwo
 
Posts: 16
Joined: Sun Mar 14, 2010 2:19 am

Re: Exemples do not run

Postby Slowdown » Sun Mar 21, 2010 2:24 pm

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 1311 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.
Kind regards,

Slowdown (on OSX 10.6.x)
Slowdown
 
Posts: 22
Joined: Wed Sep 16, 2009 8:15 pm
Location: The Netherlands

Re: Exemples do not run

Postby RzwoDzwo » Sun Mar 21, 2010 7:14 pm

Yes, it works.
RzwoDzwo
 
Posts: 16
Joined: Sun Mar 14, 2010 2:19 am

Re: Exemples do not run

Postby Slowdown » Sun Mar 21, 2010 8:27 pm

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.
Kind regards,

Slowdown (on OSX 10.6.x)
Slowdown
 
Posts: 22
Joined: Wed Sep 16, 2009 8:15 pm
Location: The Netherlands

Re: Exemples do not run

Postby RzwoDzwo » Sun Mar 21, 2010 8:49 pm

yes, all Examples works, but the problem with the back-button still exist.
RzwoDzwo
 
Posts: 16
Joined: Sun Mar 14, 2010 2:19 am

Re: Exemples do not run

Postby Slowdown » Sun Mar 21, 2010 9:17 pm

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.
Kind regards,

Slowdown (on OSX 10.6.x)
Slowdown
 
Posts: 22
Joined: Wed Sep 16, 2009 8:15 pm
Location: The Netherlands

Re: Exemples do not run

Postby RzwoDzwo » Sun Mar 21, 2010 10:55 pm

OK Slowdown,

thanks anyway for your support.

Best Regards
r2d2
RzwoDzwo
 
Posts: 16
Joined: Sun Mar 14, 2010 2:19 am

Re: Exemples do not run

Postby berndnoetscher » Mon Mar 22, 2010 10:34 am

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.
berndnoetscher
Site Admin
 
Posts: 280
Joined: Fri Feb 20, 2009 11:58 am

PreviousNext

Return to Objective-Basic (Xcode 3)

Who is online

Users browsing this forum: No registered users and 0 guests

cron