Project Manager Expanded search=Program Crash

I had a system crash the other night causing
me to have to re install OSX. Archived and
installed. So now I am "System Administrator"
instead of my PK. Also every program thinks
I am using it for the first time. When I opened
the loop browser more than half my loops did
not show up. So I tried doing an expanded scan
to find everything. I get to about 50,000 files and
it kept saying that Logic quit unexpectantly. Really
just stopped responding and I have to force quit.
So I scaled back and tried to just scan the previous
systems folder. It likes that even less. Locks up
right away. Any ideas on how to get that stable
program back that I used to know.
(Only took a $20 Macware program to
bring down puurrrfectly running $5000 setup.
You get what you pay for. Use their products
at your machines risk)

I find my PM crashing as soon as it hits the iTunes music library (I may have an MP3 in there that's messed). I've stopped doing extended scans and I just scan the paths I know I'd put sounds in. I know it doesn't solve your current situation, but it's a workaround for now.
jord

Similar Messages

  • Project Manager expanded scan crash

    just re-did the drive config on my G5 dual 2.0 and tried running the expanded scan to re-acquaint logic with the new drive structure, and now it crashes about an hour into the scan! Anyone have any ideas?
    I'm running Logic 8 as well on the same machine, and OSX.4.11.
    Thanks!

    I find my PM crashing as soon as it hits the iTunes music library (I may have an MP3 in there that's messed). I've stopped doing extended scans and I just scan the paths I know I'd put sounds in. I know it doesn't solve your current situation, but it's a workaround for now.
    jord

  • Is there any Project Management App

    I would like to know whether there is any project management app for Mac, which has Gantt charts, critical path method and other project management tools.

    Search at the App Store and also at MacUpdate or CNET Downloads

  • Project Manager crashes everytime.....

    Hi.
    When i do an expanded scan on project manager it crashes on about "7000 new files found" which is my itunes library. I have tried deleting some songs that might be corrupt. Im not sure what to do now.
    Has anyone got any advice?
    Thanks, Ben

    Have you done the usual first-aid job of repairing file permissions using disk utility?

  • Adding a New Folder in Project Manager Crashes RH

    For the past few days, I have been having problems creating
    new folders in RH 7, Project Manager. Sometimes, it works just
    fine, and I can add folders, drag topics into them, import into
    them, create new topics, whatever.
    But then sometimes, the project manager just goes to white
    and flashes at me for a while, then RH crashes. The only things I
    can see in the PM pane are the triangular colored icons that
    overlay folders / topic icons when they include conditional build
    tags. No topic names, no folder names, just a column of these
    triangles.
    When I come back into RH after the crash, most times there
    are topics to reimport and / or relocate. I have rebuilt the cpd
    file several times. Each time it seems to resolve the issue, but
    eventually another crash comes along as I try to add a folder.
    For the record, just updated to the new 7.02.001 a few
    minutes ago, but RH just crashed again. 3GB RAM, more than 40GB
    space available on hard drive. Nothing new on my PC that I can
    think of.
    Anyone else seeing this?

    I'm just wondering if anyone has found a cause or solution of this issue?
    I'm experiencing it too with one of my projects (currently, I'm on RH8.02.202 on Win7/64, but I've also experienced it in RH7 on WinXP/32, FWIW).
    Some other details:
    My project is on my C:\ drive.
    The folder names are all comprised solely of alphanumerics and underscores.
    I've deleted both the PSS and CPD files without any noticeable positive effect.
    Since I've been on RH8, the project is set to rebuild the .cpd cache upon opening, but I've also tried deleting it (this might be redundant, but I figured the RH "rebuild" might be different from generating a brand new one).
    After I force RH to close, the folder is there when I reopen the project, and the folder behaves normally.
    The project resides in the standard "My RoboHelp Projects" folder.
    The problem seems to be isolated to this project, which is my largest (~2065 topics in ~85 folders)
    I'm at the point where I just automatically force RH to close after I create a folder rather than waiting to for the application to become "officially" non-responsive.
    Are there any other files I might try deleting or examining?  I've poked around in the .xpj, .fpj, and .hhp files, but I don't see anything odd. I compared my old .pss with the new one RH created, and they were identical.
    Thanks!
    Dave

  • AE Project will not open after program crashed

    AE project will not open after program crashed. I tried opening the project inside another project so I could at least get to the sequences but it would not load. Nothing seems to open the project. I can create new projects. I am on PC

    Well, bad news for you: It's a goner. Simply write it off and re-create it and next time learn how to work safely.
    Work File Safety | Mylenium's Error Code Database
    Mylenium

  • RH9 crash and files deleted when moving/deleting content in Project Manager pod

    Hello,
    I've had an ongoing issue, across RH 8 and 9, with trying to manage my content using the Project Manager pod. The issue has occurred w/ two basic processes: creating new folder structures in PM and then moving files from one folder to another; deleting files from the project entirely.
    The outcome is that RH crashes w/ a generic "RoboHelp has encountered a problem" error message, and one or more topics are deleted from the project entirely. If the topic is in the TOC, the placeholder is still there, but it's not connected to any topic.
    Has anyone else encountered this issue? Is this a known bug and/or is there a suggested fix?
    Thanks in advance,
    -Jerod

    Please see the thread at
    http://forums.adobe.com/thread/866298?tstart=0
    It looks like it could be the same issue.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • The Project Management Search Engine

    It's FREE! (no login required)
    Why search the entire internet when you are looking for information related to Project Management? Why not search across only the top project management websites? “The Project Management Search Engine” does just that!!!
    Try “The Project Management Search Engine” here:
    http://www.pmconnection.com/modules.php?name=News&file=article&sid=39

    Hi Jack, I just checked the link and find it definitely useful.
    why not create a "document" or "blog" and provide some examples of search or how the link can help in a case study etc and tag specific keywords so that this link will always show up in related search in SCN? This will also give you more points and be of helpful for many of us

  • Logic 7.2 crashing on startup, MBP -- something to do with Project Manager

    Hello
    I've been trying to get my new version of Logic Pro running on my new MBP (1.83ghz) with 1.5 gigs for RAM. Upon start-up, Logic always crashes with an error window saying something to the effect: wrong version of Project Manager database.
    I've just reinstalled Logic and it didn't fix anything. Neither has repairing disk permissions.
    Appreciate any advice,
    Craig

    Hello and thanks for your responses:
    I've just trashed and reinstalled 7.0 then 7.2, still getting the same crash. Can you please tell me where the PMdatabase prefs are stored. I'll try deleting them. I just deleted every Logic pref I could find, but still no change to the crash.
    cheers,
    Craig

  • RH 9 - .CHM file RoboHelp 9 crashes when clicking on a .htm file in Project Manager

    Dear all,
    RoboHelp 9 crashes when I click on a .htm file in Project Manager. I think there should be redundant codes in this file but I cannot find out the reason why actually.
    Anyone knows that, please help me.
    Thanks a lot.

    Just to be sure it is the topic that is causing the issue, create a new project and import the HTM file. If it is the file it may crash when you import or it may import but crash when you click on it in the Project Manager pod. If this happens, try opening the file in Windows Explorer. Does this display anything. You can also try opening the file in Notepad which should display your XHTML code. Come back if you find anything.

  • Searching for SAP certified project manager for project

    Please post a response if you know someone who has a BS or BA degree and has:
    General SAP Functional Knowledge and Experience
    8 - 10 years of previous experience as
    an SAP Project Manager with SAP, an SAP Partner, or large companies doing SAP
    implementation projects.
    A minimum of 5 full lifecycle
    implementations of SAP in a Project Manager role.
    Would prefer a candidate that is an SAP
    Certified Associate Project Manager, or have some other type of Project
    Management certification combined with significant SAP project and implementation
    experience on a number of different SAP implementation projects at different
    customers and in different industries. 
    Candidate should be certified in the
    use of SAP Solution Manager.
    Candidate should be certified in the
    use of ASAP Methodology.
    Candidate should be willing to provide
    two professional references.
    Required SAP Functional Knowledge and
    Experience Specifically for this Project:
    SAP Solution Manager
    Solution Manager Implementation
    (SMI210)
    Implementation Projects with SAP
    Solution Manager (SMI310)
    ASAP 8.0 Methodology for Implementation
    (ASA380)

    Hi,
    this might help you
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40fde890-0201-0010-fa86-ee9a507bc62e
    Regards
    Agasthuri Doss

  • P3 Project Manager Crashing with EBDClient error, when refreshing (F5)

    My company has 3 sql databases for Prima on a server; 2 are approximately 1.5GB, and the third is just over 2GB
    We have 5 client machines (xp sp3 32bit), that use the following setup:
    P3 Project Manager version 5 (no service packs installed, but have tried sp1-3 on my machine with the same error)
    oracle client 9.2 with tnsnames pointing to the sql server with the prima databases
    each machine has 2GB memory with a 3-4GB pagefile
    I do not have issues refreshing the other smaller databases.
    both the client and server do not take a significant hit on resources while refreshing.
    both the server and client are not reporting any errors under event viewer.
    they all receive the following error when refreshing (F5) while logged in the third and largest database:
    Message (Tab)
    Application exception
    type: EDBClient
    Event code: IMFTO-3501-8
    Description: Insufficient memory for this operation
    Context (tab)
    app title: primavera project management
    exe: pm.exe
    object: tmainmenu
    context:
         1. tfrmmain.refreshVDBengine
         2. tfrmmain.actrefreshExecute
         3. tfrmmain.actProjectActivitiesExecute
         4. tfrmmain.actProjectsExecute
         5. tfrmmain.actProjectsActivitiesExecute
         6. tfrmmain.actProjectWBSExecute
         7. tfrmmain.actProjectActivitiesExecute
    Evironment (tab)
    Components
    =============
    ORI: ORI Win32 #
    ORI/DB: PMDB,0500.0024.0001.0002
    IMG: IMG win32 #1000
    SYS INFO
    =============
    username: "user's name" Hostname: "their computer name"
    OS version:     winNT 5.1, build 2600, SP3

    ...\OracleBI\web\catalogmanager\catalogmanager.ini
    -vmargs
    -Xmx1024M
    -Djava.library.path=E:\OracleBI\web\bin
    -Declipse.noRegistryCache=true
    amend---------------------------------------------------------
    -vmargs
    -Xmx512M
    -Djava.library.path=E:\OracleBI\web\bin
    -Declipse.noRegistryCache=true

  • Program Crashing at sqlite3_Prepare help!!!!

    Hi guys,
    I am trying to make a program which inserts values into a sqlite database. For some reason my program crashes every time I press the button to insert the value. I have been trying to fix this for a long time but have not been able to fix it. Can you please have a look at my code and tell me what's wrong. Im going to put the code of my .m files on here.
    BpValue.m
    #import "BpValue.h"
    static sqlite3 *database = nil;
    static sqlite3_stmt *addStmt = nil;
    @implementation BpValue
    @synthesize valueID, value, isDirty, isDetailViewHydrated;
    + (void) finalizeStatements {
    if(database) sqlite3_close(database);
    if (addStmt) sqlite3_finalize(addStmt);
    - (id) initWithPrimaryKey:(NSInteger) pk {
    [super init];
    valueID = pk;
    isDetailViewHydrated = NO;
    return self;
    - (void) addValue {
    if(addStmt == nil) {
    const char *sql = "insert into BPressure(Value) Values(?)";
    if(sqlite3preparev2(database, sql, -1, &addStmt, NULL) != SQLITE_OK)
    NSAssert1(0, @"Error while creating add statement. '%s'", sqlite3_errmsg(database));
    sqlite3binddouble(addStmt, 1, [value doubleValue]);
    if(SQLITE_DONE != sqlite3_step(addStmt))
    NSAssert1(0, @"Error while inserting data. '%s'", sqlite3_errmsg(database));
    else
    //SQLite provides a method to get the last primary key inserted by using sqlite3last_insertrowid
    valueID = sqlite3last_insertrowid(database);
    //Reset the add statement.
    sqlite3_reset(addStmt);
    - (void) dealloc {
    [value release];
    [super dealloc];
    @end
    MyViewController.m
    #import "MyViewController.h"
    #import "HelloWorldAppDelegate.h"
    #import "sqlite3.h"
    #import "BpValue.h"
    @implementation MyViewController
    @synthesize textField;
    @synthesize label;
    @synthesize string;
    - (IBAction)changeGreeting:(id)sender {
    HelloWorldAppDelegate *appDelegate = (HelloWorldAppDelegate *)[[UIApplication sharedApplication] delegate];
    BpValue *bpObj = [[BpValue alloc] initWithPrimaryKey:0];
    NSDecimalNumber *temp = [[NSDecimalNumber alloc] initWithString:textField.text];
    bpObj.value = temp;
    [temp release];
    self.string = textField.text;
    NSString *nameString = string;
    if ([nameString length] == 0) {
    nameString = @"World";
    NSString *greeting = [[NSString alloc] initWithFormat:@"Hello, %@!", nameString];
    label.text = greeting;
    //Add the object
    [appDelegate addValue:bpObj];
    [greeting release];
    - (BOOL)textFieldShouldReturn:(UITextField *)theTextField {
    if (theTextField == textField) {
    [textField resignFirstResponder];
    return YES;
    - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil {
    if (self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]) {
    // Initialization code
    return self;
    Implement loadView if you want to create a view hierarchy programmatically
    - (void)loadView {
    If you need to do additional setup after loading the view, override viewDidLoad.
    - (void)viewDidLoad {
    - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
    // Return YES for supported orientations
    return (interfaceOrientation == UIInterfaceOrientationPortrait);
    - (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning]; // Releases the view if it doesn't have a superview
    // Release anything that's not essential, such as cached data
    - (void)dealloc {
    [super dealloc];
    [label release];
    [string release];
    [super dealloc];
    @end
    HelloWorldAppDelegate.m
    #import "MyViewController.h"
    #import "HelloWorldAppDelegate.h"
    #import "BpValue.h"
    @implementation HelloWorldAppDelegate
    @synthesize window;
    @synthesize myViewController;
    @synthesize valuesArray;
    - (void)applicationDidFinishLaunching:(UIApplication *)application {
    //Copy database to the user's phone if needed.
    [self copyDatabaseIfNeeded];
    NSMutableArray *tempArray = [[NSMutableArray alloc] init];
    self.valuesArray = tempArray;
    [tempArray release];
    MyViewController *aViewController = [[MyViewController alloc]
    initWithNibName:@"ControllerView" bundle:[NSBundle mainBundle]];
    self.myViewController = aViewController;
    [aViewController release];
    UIView *controllersView = [myViewController view];
    [window addSubview:controllersView];
    [window makeKeyAndVisible];
    - (void)applicationWillTerminate:(UIApplication *)application {
    // Save data if appropriate
    //Save all the dirty coffee objects and free memory.
    [self.valuesArray makeObjectsPerformSelector:@selector(saveAllData)];
    [BpValue finalizeStatements];
    - (void)dealloc {
    [valuesArray release];
    [myViewController release];
    [window release];
    [super dealloc];
    - (void) copyDatabaseIfNeeded {
    //Using NSFileManager we can perform many file system operations.
    NSFileManager *fileManager = [NSFileManager defaultManager];
    NSError *error;
    NSString *dbPath = [self getDBPath];
    BOOL success = [fileManager fileExistsAtPath:dbPath];
    if(!success) {
    NSString *defaultDBPath = [[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent:@"Database.sqlite"];
    success = [fileManager copyItemAtPath:defaultDBPath toPath:dbPath error:&error];
    if (!success)
    NSAssert1(0, @"Failed to create writable database file with message '%@'.", [error localizedDescription]);
    - (NSString *) getDBPath {
    //Search for standard documents using NSSearchPathForDirectoriesInDomains
    //First Param = Searching the documents directory
    //Second Param = Searching the Users directory and not the System
    //Expand any tildes and identify home directories.
    NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory , NSUserDomainMask, YES);
    NSString *documentsDir = [paths objectAtIndex:0];
    return [documentsDir stringByAppendingPathComponent:@"Database.sqlite"];
    - (void) addValue:(BpValue *)bpObj {
    //Add it to the database.
    [bpObj addValue];
    //Add it to the coffee array.
    [valuesArray addObject:bpObj];
    @end
    Please if someone knows whats wrong, please tell me. It crashes at sqlite_prepare3. Following is part of the crash report
    Exception Type: EXCBADACCESS (SIGBUS)
    Exception Codes: KERNPROTECTIONFAILURE at 0x0000000000000030
    Crashed Thread: 0
    Application Specific Information:
    iPhone Simulator 1.0 (70), iPhone OS 2.0 (5A345)
    Thread 0 Crashed:
    0 libsqlite3.0.dylib 0x93d211f0 sqlite3Prepare + 48
    1 HelloWorld 0x000031c8 -BpValue addValue + 89 (BpValue.m:38)
    2 HelloWorld 0x00002b70 -HelloWorldAppDelegate addValue: + 36 (HelloWorldAppDelegate.m:84)
    3 HelloWorld 0x00002e6b -MyViewController changeGreeting: + 509 (MyViewController.m:41)
    4 UIKit 0x30a5e25e -UIApplication sendAction:to:from:forEvent: + 116
    5 UIKit 0x30abb022 -UIControl sendAction:to:forEvent: + 67
    6 UIKit 0x30abb4ea -UIControl(Internal) _sendActionsForEvents:withEvent: + 478
    7 UIKit 0x30aba830 -UIControl touchesEnded:withEvent: + 483
    8 UIKit 0x30a75c0b -UIWindow sendEvent: + 454
    9 UIKit 0x30a65e07 -UIApplication sendEvent: + 269
    10 UIKit 0x30a6522a _UIApplicationHandleEvent + 4407
    11 GraphicsServices 0x31699522 SendEvent + 35
    12 GraphicsServices 0x3169b88c PurpleEventTimerCallBack + 276
    13 com.apple.CoreFoundation 0x971be615 CFRunLoopRunSpecific + 3141
    14 com.apple.CoreFoundation 0x971becf8 CFRunLoopRunInMode + 88
    15 GraphicsServices 0x31699d38 GSEventRunModal + 217
    16 GraphicsServices 0x31699dfd GSEventRun + 115
    17 UIKit 0x30a5dadb -UIApplication _run + 440
    18 UIKit 0x30a68ce4 UIApplicationMain + 1258
    19 HelloWorld 0x00002650 main + 102 (main.m:14)
    20 HelloWorld 0x000025be start + 54
    Thread 1:
    0 libSystem.B.dylib 0x93b624a6 machmsgtrap + 10
    1 libSystem.B.dylib 0x93b69c9c mach_msg + 72
    2 com.apple.CoreFoundation 0x971be0ce CFRunLoopRunSpecific + 1790
    3 com.apple.CoreFoundation 0x971becf8 CFRunLoopRunInMode + 88
    4 WebCore 0x32a8a450 RunWebThread + 384
    5 libSystem.B.dylib 0x93b936f5 pthreadstart + 321
    6 libSystem.B.dylib 0x93b935b2 thread_start + 34
    Thread 2:
    0 libSystem.B.dylib 0x93b624a6 machmsgtrap + 10
    1 libSystem.B.dylib 0x93b69c9c mach_msg + 72
    2 GraphicsServices 0x3169ce0a EventReceiveThread + 467
    3 libSystem.B.dylib 0x93b936f5 pthreadstart + 321
    4 libSystem.B.dylib 0x93b935b2 thread_start + 34
    Thread 3:
    0 libSystem.B.dylib 0x93b624a6 machmsgtrap + 10
    1 libSystem.B.dylib 0x93b69c9c mach_msg + 72
    2 com.apple.CoreFoundation 0x971be0ce CFRunLoopRunSpecific + 1790
    3 com.apple.CoreFoundation 0x971becf8 CFRunLoopRunInMode + 88
    4 com.apple.CFNetwork 0x95a59a32 CFURLCacheWorkerThread(void*) + 396
    5 libSystem.B.dylib 0x93b936f5 pthreadstart + 321
    6 libSystem.B.dylib 0x93b935b2 thread_start + 34
    Thread 0 crashed with X86 Thread State (32-bit):
    eax: 0x000040b0 ebx: 0x0000317d ecx: 0xffffffff edx: 0x00003e18
    edi: 0x00000000 esi: 0x004123a0 ebp: 0xbfffe5c8 esp: 0xbfffe470
    ss: 0x0000001f efl: 0x00010282 eip: 0x93d211f0 cs: 0x00000017
    ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
    cr2: 0x00000030

    thanks realized that soon after posting...everything works now yay!!

  • Program Crashing at sqlite_prepare3 help!!!!

    Hi guys,
    I am trying to make a program which inserts values into a sqlite database. For some reason my program crashes every time I press the button to insert the value. I have been trying to fix this for a long time but have not been able to fix it. Can you please have a look at my code and tell me what's wrong. Im going to put the code of my .m files on here.
    BpValue.m
    #import "BpValue.h"
    static sqlite3 *database = nil;
    static sqlite3_stmt *addStmt = nil;
    @implementation BpValue
    @synthesize valueID, value, isDirty, isDetailViewHydrated;
    + (void) finalizeStatements {
    if(database) sqlite3_close(database);
    if (addStmt) sqlite3_finalize(addStmt);
    - (id) initWithPrimaryKey:(NSInteger) pk {
    [super init];
    valueID = pk;
    isDetailViewHydrated = NO;
    return self;
    - (void) addValue {
    if(addStmt == nil) {
    const char *sql = "insert into BPressure(Value) Values(?)";
    if(sqlite3preparev2(database, sql, -1, &addStmt, NULL) != SQLITE_OK)
    NSAssert1(0, @"Error while creating add statement. '%s'", sqlite3_errmsg(database));
    sqlite3binddouble(addStmt, 1, [value doubleValue]);
    if(SQLITE_DONE != sqlite3_step(addStmt))
    NSAssert1(0, @"Error while inserting data. '%s'", sqlite3_errmsg(database));
    else
    //SQLite provides a method to get the last primary key inserted by using sqlite3last_insertrowid
    valueID = sqlite3last_insertrowid(database);
    //Reset the add statement.
    sqlite3_reset(addStmt);
    - (void) dealloc {
    [value release];
    [super dealloc];
    @end
    MyViewController.m
    #import "MyViewController.h"
    #import "HelloWorldAppDelegate.h"
    #import "sqlite3.h"
    #import "BpValue.h"
    @implementation MyViewController
    @synthesize textField;
    @synthesize label;
    @synthesize string;
    - (IBAction)changeGreeting:(id)sender {
    HelloWorldAppDelegate *appDelegate = (HelloWorldAppDelegate *)[[UIApplication sharedApplication] delegate];
    BpValue *bpObj = [[BpValue alloc] initWithPrimaryKey:0];
    NSDecimalNumber *temp = [[NSDecimalNumber alloc] initWithString:textField.text];
    bpObj.value = temp;
    [temp release];
    self.string = textField.text;
    NSString *nameString = string;
    if ([nameString length] == 0) {
    nameString = @"World";
    NSString *greeting = [[NSString alloc] initWithFormat:@"Hello, %@!", nameString];
    label.text = greeting;
    //Add the object
    [appDelegate addValue:bpObj];
    [greeting release];
    - (BOOL)textFieldShouldReturn:(UITextField *)theTextField {
    if (theTextField == textField) {
    [textField resignFirstResponder];
    return YES;
    - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil {
    if (self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]) {
    // Initialization code
    return self;
    Implement loadView if you want to create a view hierarchy programmatically
    - (void)loadView {
    If you need to do additional setup after loading the view, override viewDidLoad.
    - (void)viewDidLoad {
    - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
    // Return YES for supported orientations
    return (interfaceOrientation == UIInterfaceOrientationPortrait);
    - (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning]; // Releases the view if it doesn't have a superview
    // Release anything that's not essential, such as cached data
    - (void)dealloc {
    [super dealloc];
    [label release];
    [string release];
    [super dealloc];
    @end
    HelloWorldAppDelegate.m
    #import "MyViewController.h"
    #import "HelloWorldAppDelegate.h"
    #import "BpValue.h"
    @implementation HelloWorldAppDelegate
    @synthesize window;
    @synthesize myViewController;
    @synthesize valuesArray;
    - (void)applicationDidFinishLaunching:(UIApplication *)application {
    //Copy database to the user's phone if needed.
    [self copyDatabaseIfNeeded];
    NSMutableArray *tempArray = [[NSMutableArray alloc] init];
    self.valuesArray = tempArray;
    [tempArray release];
    MyViewController *aViewController = [[MyViewController alloc]
    initWithNibName:@"ControllerView" bundle:[NSBundle mainBundle]];
    self.myViewController = aViewController;
    [aViewController release];
    UIView *controllersView = [myViewController view];
    [window addSubview:controllersView];
    [window makeKeyAndVisible];
    - (void)applicationWillTerminate:(UIApplication *)application {
    // Save data if appropriate
    //Save all the dirty coffee objects and free memory.
    [self.valuesArray makeObjectsPerformSelector:@selector(saveAllData)];
    [BpValue finalizeStatements];
    - (void)dealloc {
    [valuesArray release];
    [myViewController release];
    [window release];
    [super dealloc];
    - (void) copyDatabaseIfNeeded {
    //Using NSFileManager we can perform many file system operations.
    NSFileManager *fileManager = [NSFileManager defaultManager];
    NSError *error;
    NSString *dbPath = [self getDBPath];
    BOOL success = [fileManager fileExistsAtPath:dbPath];
    if(!success) {
    NSString *defaultDBPath = [[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent:@"Database.sqlite"];
    success = [fileManager copyItemAtPath:defaultDBPath toPath:dbPath error:&error];
    if (!success)
    NSAssert1(0, @"Failed to create writable database file with message '%@'.", [error localizedDescription]);
    - (NSString *) getDBPath {
    //Search for standard documents using NSSearchPathForDirectoriesInDomains
    //First Param = Searching the documents directory
    //Second Param = Searching the Users directory and not the System
    //Expand any tildes and identify home directories.
    NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory , NSUserDomainMask, YES);
    NSString *documentsDir = [paths objectAtIndex:0];
    return [documentsDir stringByAppendingPathComponent:@"Database.sqlite"];
    - (void) addValue:(BpValue *)bpObj {
    //Add it to the database.
    [bpObj addValue];
    //Add it to the coffee array.
    [valuesArray addObject:bpObj];
    @end
    Please if someone knows whats wrong, please tell me. It crashes at sqlite_prepare3. Following is part of the crash report
    Exception Type: EXCBADACCESS (SIGBUS)
    Exception Codes: KERNPROTECTIONFAILURE at 0x0000000000000030
    Crashed Thread: 0
    Application Specific Information:
    iPhone Simulator 1.0 (70), iPhone OS 2.0 (5A345)
    Thread 0 Crashed:
    0 libsqlite3.0.dylib 0x93d211f0 sqlite3Prepare + 48
    1 HelloWorld 0x000031c8 -[BpValue addValue] + 89 (BpValue.m:38)
    2 HelloWorld 0x00002b70 -[HelloWorldAppDelegate addValue:] + 36 (HelloWorldAppDelegate.m:84)
    3 HelloWorld 0x00002e6b -[MyViewController changeGreeting:] + 509 (MyViewController.m:41)
    4 UIKit 0x30a5e25e -[UIApplication sendAction:to:from:forEvent:] + 116
    5 UIKit 0x30abb022 -[UIControl sendAction:to:forEvent:] + 67
    6 UIKit 0x30abb4ea -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 478
    7 UIKit 0x30aba830 -[UIControl touchesEnded:withEvent:] + 483
    8 UIKit 0x30a75c0b -[UIWindow sendEvent:] + 454
    9 UIKit 0x30a65e07 -[UIApplication sendEvent:] + 269
    10 UIKit 0x30a6522a _UIApplicationHandleEvent + 4407
    11 GraphicsServices 0x31699522 SendEvent + 35
    12 GraphicsServices 0x3169b88c PurpleEventTimerCallBack + 276
    13 com.apple.CoreFoundation 0x971be615 CFRunLoopRunSpecific + 3141
    14 com.apple.CoreFoundation 0x971becf8 CFRunLoopRunInMode + 88
    15 GraphicsServices 0x31699d38 GSEventRunModal + 217
    16 GraphicsServices 0x31699dfd GSEventRun + 115
    17 UIKit 0x30a5dadb -[UIApplication _run] + 440
    18 UIKit 0x30a68ce4 UIApplicationMain + 1258
    19 HelloWorld 0x00002650 main + 102 (main.m:14)
    20 HelloWorld 0x000025be start + 54
    Thread 1:
    0 libSystem.B.dylib 0x93b624a6 machmsgtrap + 10
    1 libSystem.B.dylib 0x93b69c9c mach_msg + 72
    2 com.apple.CoreFoundation 0x971be0ce CFRunLoopRunSpecific + 1790
    3 com.apple.CoreFoundation 0x971becf8 CFRunLoopRunInMode + 88
    4 WebCore 0x32a8a450 RunWebThread + 384
    5 libSystem.B.dylib 0x93b936f5 pthreadstart + 321
    6 libSystem.B.dylib 0x93b935b2 thread_start + 34
    Thread 2:
    0 libSystem.B.dylib 0x93b624a6 machmsgtrap + 10
    1 libSystem.B.dylib 0x93b69c9c mach_msg + 72
    2 GraphicsServices 0x3169ce0a EventReceiveThread + 467
    3 libSystem.B.dylib 0x93b936f5 pthreadstart + 321
    4 libSystem.B.dylib 0x93b935b2 thread_start + 34
    Thread 3:
    0 libSystem.B.dylib 0x93b624a6 machmsgtrap + 10
    1 libSystem.B.dylib 0x93b69c9c mach_msg + 72
    2 com.apple.CoreFoundation 0x971be0ce CFRunLoopRunSpecific + 1790
    3 com.apple.CoreFoundation 0x971becf8 CFRunLoopRunInMode + 88
    4 com.apple.CFNetwork 0x95a59a32 CFURLCacheWorkerThread(void*) + 396
    5 libSystem.B.dylib 0x93b936f5 pthreadstart + 321
    6 libSystem.B.dylib 0x93b935b2 thread_start + 34
    Thread 0 crashed with X86 Thread State (32-bit):
    eax: 0x000040b0 ebx: 0x0000317d ecx: 0xffffffff edx: 0x00003e18
    edi: 0x00000000 esi: 0x004123a0 ebp: 0xbfffe5c8 esp: 0xbfffe470
    ss: 0x0000001f efl: 0x00010282 eip: 0x93d211f0 cs: 0x00000017
    ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
    cr2: 0x00000030

    works now...hadn't initialized the database

  • Does the labview 8.5 project have a search and replace option that appies to all vi's in the project?

    In 8.2, the only thing the project has to let you search for a vi is "Find vi's on disk", which is redundant since I can do that in windows explorer.  What I want is a way to search for vi's in my application the way the search and replace function works, except I want it to apply to all vi's in a project instead of just the vi's currently loaded in memory.  Do we have this in 8.5?
    -Devin
    I got 99 problems but 8.6 ain't one.

    I'll give an example of what I was trying to do yesterday in 8.2.  I tried to build a source distribution of a large instrument driver.  Since its an instrument driver there is no single top-level vi that contains all vi's - there are different categories of vi's to do different functions on my instrument.  When I'm doing the source distribution I have to do it in several stages since 8.2 doesn't do source distributions right - but thats not really what this post is about.  Anyway, every time I do the distribution I get an error saying CnvrtArrayIntoBitPattern.vi is password protected (and another engineer wrote it and I don't have the password).  So the build fails.  Now I don't know the password, I'll find it out later, but I at least want to know where in the hierarchy this vi is even being called.  I don't know where it is on disk, I don't know what is calling it, it isn't in the project explicitly, it's a dependency.
    If I had a top-level vi that loaded everything, I could just do a search and replace on that vi and find exactly where it is being called in seconds.  But since I am in a project and have no idea where to start looking, there is no way I can find this vi.  Ideally, in 8.5 there would be a search and replace menu option that searches all vi's in a project to find any calls to this vi.  I want to look for all instances of a vi in my project.  It sounds like you still can't really do that in 8.5.
    What I ended up doing is writing a vi that opens all vi's in a folder hierarchy on disk.  I don't know where this vi is, but all vi's in my project are in the same root folder.  So I run my program to open every single project vi.  Then since I know every single vi is open and loaded simultaneously I used the search and replace function on one of them to find all instances of CnvrtArrayIntoBitPattern.vi.  But that is a painstaking process to create a simple search function.
    I think NI is maybe misunderstanding how people are actually using a project.  Not every vi that is being called is going to be explicitly listed in the project.  (Its this same issue that makes source distributions impossible in 8.2 - you can't target dependencies to a support library so every dependency has to be explicitly listed in the project - which is virtually impossible because they are all in different locations and there are hundreds.)  Most people have lots of general purpose vi's they use in many different projects, and they are buried down in code so we aren't even sure where they are all being used.  The new searches you mention assume you already know where the low-level function is and you are looking for their callers.  But sometimes you don't even know where the low level function is.  What if its an NI directory function?  For example, "resample waveform.vi" is an NI function that changed its defaults in 8.2 which meant we had to find every single place we used it and wire "open-interval?" to a constant instead of depending on the default value.  Its in an NI library somewhere and is never listed as a project vi.  So when I needed to find every place through every project that I used this vi, I couldn't do it through  the project manager because there is no search function.  To be practical I add the project-specific vi's to the project, and maybe a couple support directories, but there will always be lots of vi's as dependencies.  But every now and then I'm still going to want to search for one of these vi's.  So in 8.5 there is there still no way to search for vi's that aren't explicitly listed in the project?
    -Devin
    I got 99 problems but 8.6 ain't one.

Maybe you are looking for

  • Help needed in look up code

    Hello ALL, I am new to ABAP and would like to check if any one can guide me through on the following issue. DSO-1 Keys: promise#, doc_num, item_num,reason DSO-2: promise# field: withdrawn_reason restrictiont: get only withdrawn reason with 1 DSO-3: d

  • Where are the T440s NFC drivers for windows 7?

    There are NFC drivers for windows 8, but none listed for windows 7. Is this something that will be corrected soon, or is it just not supported on windows 7?

  • Magic mouse on glass mouse mat

    I use a glass mouse mat with a couple of gaming mice but i have another mouse that doesnt like it i'm just wondering does magic mouse work with glass mouse mat? thanks

  • Linux I am not getting javac

    Hello Friend Please Help me[b] immediately I have download java for linux . then I have given permission for execution. then I installed file by this command ./<java-version>/ It completly installed . But i did not find file javac. I am getting other

  • In the TABLE  VBAP  i am asked to take the field waerk for currency

    But the name is given as zwert. Why it is so....? The name is different ?