Changeset 4e080980 in sasview
- Timestamp:
- Mar 31, 2015 3:48:49 PM (10 years ago)
- 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.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 66f21cd
- Parents:
- 4342107f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasview/sasview.py
rf76bf17 r4e080980 12 12 import sys 13 13 import logging 14 from shutil import copy 14 import traceback 15 15 16 logging.basicConfig(level=logging.INFO, 16 17 format='%(asctime)s %(levelname)s %(message)s', … … 109 110 self.gui.add_perspective(fitting_plug) 110 111 except Exception as inst: 111 logging.error("Fitting problems: " + str(inst)) 112 logging.error("%s: could not find Fitting plug-in module"% APP_NAME) 113 logging.error(sys.exc_value) 112 logging.error("%s: could not find Fitting plug-in module"% APP_NAME) 113 logging.error(traceback.format_exc()) 114 114 115 115 # P(r) perspective … … 120 120 except: 121 121 logging.error("%s: could not find P(r) plug-in module"% APP_NAME) 122 logging.error( sys.exc_value)123 122 logging.error(traceback.format_exc()) 123 124 124 #Invariant perspective 125 125 try: … … 131 131 logging.error("%s: could not find Invariant plug-in module"% \ 132 132 APP_NAME) 133 logging.error( sys.exc_value)134 133 logging.error(traceback.format_exc()) 134 135 135 #Calculator perspective 136 136 try: … … 141 141 logging.error("%s: could not find Calculator plug-in module"% \ 142 142 APP_NAME) 143 logging.error( sys.exc_value)144 143 logging.error(traceback.format_exc()) 144 145 145 146 146 # Add welcome page
Note: See TracChangeset
for help on using the changeset viewer.