Show
Ignore:
Timestamp:
04/19/05 23:36:31 (19 years ago)
Author:
jerome
Message:

Early errors now finally generate meaningful error messages,
this will greatly help first timers during the setup phase.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/bin/cupspykota

    r2177 r2210  
    705705    else :     
    706706        try : 
    707             try : 
    708                 # Initializes the backend 
    709                 kotabackend = PyKotaBackend()     
    710             except SystemExit :     
    711                 retcode = -1 
    712             except :     
    713                 crashed("cupspykota backend initialization failed") 
    714                 retcode = 1 
    715             else :     
    716                 retcode = kotabackend.mainWork() 
    717                 kotabackend.storage.close() 
    718                 kotabackend.closeJobDataStream()     
     707            # Initializes the backend 
     708            kotabackend = PyKotaBackend()     
     709            kotabackend.deferredInit() 
     710            retcode = kotabackend.mainWork() 
     711            kotabackend.storage.close() 
     712            kotabackend.closeJobDataStream()     
     713        except SystemExit :     
     714            retcode = -1 
    719715        except : 
    720716            try :