Opened 4 years ago

Closed 4 years ago

#383 closed defect (fixed)

Starup Error on Windows

Reported by: butler Owned by: butler
Priority: blocker Milestone: SasView 3.1.0
Component: SasView Keywords:
Cc: Work Package: SasView Bug Fixing

Description (last modified by butler)

Starting up the latest build of SasView on windows the program loads but gives the followin error which needs to be acknowledged before continuing

10:38:23: No image handler for type 25 defined.
10:38:23: Failed to load image from file "C:\Program Files (x86)\SasView\images\icons\ball.ico".

This does NOT happen for the current mac version HOWEVER, The log file also has the following error recorded which may or may not be relevant and IS also an error reported by the mac:

2015-03-22 10:53:42,319 INFO using custom_config from C:\Users\Paul\.sasview\config
2015-03-22 10:53:42,466 INFO icon path: C:\Program Files (x86)\SasView\images
2015-03-22 10:53:42,469 ERROR [Error 3] The system cannot find the path specified: 'perspectives/*.*'
2015-03-22 10:53:45,427 INFO pluging model dir: C:\Users\Paul\.sasview\plugin_models

Not sure what it actually affects — visually the ball icon is on all the startup frames at least that I can see and the program runs afterwards (well .. it is very buggy right now but to the extent that it does run … ) Nonetheless it is clear that we cannot release something that starts up with a dire warning!

Change History (7)

comment:1 Changed 4 years ago by butler

  • Description modified (diff)

comment:2 Changed 4 years ago by butler

  • Description modified (diff)

comment:3 Changed 4 years ago by butler

  • Owner set to butler
  • Status changed from new to accepted

comment:5 Changed 4 years ago by pkienzle

Changed file type from BITMAP_TYPE_ICON to BITMAP_TYPE_ICO and that removes the error message on windows.

The other error persists:

The system cannot find the path specified: 'perspectives/*.*'

comment:6 Changed 4 years ago by pkienzle

The perspectives/*.* error is coming from:

File(line): src/sas/guiframe/
Method: sas.guiframe.gui_manager.ViewerFrame?._find_plugins
Statement: file_list = os.listdir(dir)

The perspectives still seem to load, so maybe this is just for user defined perspectives?

If so, it should not give an error if no perspectives are available.

comment:7 Changed 4 years ago by krzywon

  • Resolution set to fixed
  • Status changed from accepted to closed

My latest push should resolve this issue. This is indeed a check for any user-defined perspectives, so if there aren't any the program continues on without a fuss.

Note: See TracTickets for help on using tickets.