Changes in / [c971c98:c4a7660] in sasview
- Files:
-
- 2 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 -
src/sas/guiframe/gui_statusbar.py
r1805b87 r4342107f 22 22 CONSOLE_WIDTH = 500 23 23 CONSOLE_HEIGHT = 300 24 FRAME_ICON = wx.Icon(GUIFRAME_ICON.FRAME_ICON_PATH, wx.BITMAP_TYPE_ICON)24 FRAME_ICON = wx.Icon(GUIFRAME_ICON.FRAME_ICON_PATH, wx.BITMAP_TYPE_ICO) 25 25 26 26 if sys.platform.count("win32") > 0:
Note: See TracChangeset
for help on using the changeset viewer.