Changeset 09983d1 in sasview


Ignore:
Timestamp:
Apr 11, 2017 4:54:56 AM (3 years ago)
Author:
Ricardo Ferraz Leal <ricleal@…>
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
f36e01f
Parents:
777146c
Message:

problems solved

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasview/logger_config.py

    r777146c r09983d1  
    5656    def _find_config_file(self, filename="logging.ini"): 
    5757        ''' 
     58        The config file is in: 
     59        Debug ./sasview/ 
     60        Packaging: sas/sasview/ 
     61        Packaging / production does not work well with absolute paths 
     62        thus the multiple paths below 
    5863        ''' 
    5964        places_to_look_for_conf_file = [ 
     
    7277            pass 
    7378 
    74         print("Running python in: %s"%os.getcwd()) 
    75         print("Full path for %s is: %s"%(__file__, os.path.dirname(__file__))) 
    76  
    7779        for filepath in places_to_look_for_conf_file: 
    78             print("Checking if path exists: %s"%filepath) 
    7980            if os.path.exists(filepath): 
    8081                self.config_file = filepath 
    8182                return 
    82         print("Logging.ini not found...") 
     83        print("ERROR: Logging.ini not found...") 
    8384        self.config_file = None 
Note: See TracChangeset for help on using the changeset viewer.