Menu

problem with opening files in Microview

Help
2005-03-23
2013-05-08
  • Nobody/Anonymous

    I have just installed the newly released version of Microview. As required by the release notes I installed vtkAtamai 2.0.0 and vtkEVS 1.4.0 and they in turn need Python, which was installed too. All packages were successfully installed before the Microview installation, which also went fine. However although I can open it and even play with the features I cannot load even a simple JPG or TIFF file...  When I exit the programme it kindly asks me to look at the generated error log-file extracts from which are below.
    My OS is Win XP SP2, hardware - Dell M60, 1.7GHZ, 1GB RAM.

    Many thanks for your help!

    Dmitry Grinev

    Here is the error log-file:

    AttributeError Exception in Tk callback
      Function: <function <lambda> at 0x0B474730> (type: <type 'function'>)
      Args: ()
    Traceback (innermost last):
      File "Pmw.pyo", line 1784, in __call__
        None
      File "MicroViewMain.pyo", line 656, in <lambda>
        None
      File "MicroViewMain.pyo", line 2138, in OnFileOpen
        None
      File "vtkMultiIO\vtkMultiImageReader.pyo", line 231, in SetFileName
        None
      File "vtkMultiIO\vtkMultiImageReader.pyo", line 180, in SetExtension
        None
    AttributeError: 'NoneType' object has no attribute 'AddObserver'

     
    • Faruq Ladak

      Faruq Ladak - 2005-03-30

      Hi Dmitry,

      The modules vtkAtamai, vtkEVS, and  vtkMultiIO should only be installed if you are developing the MicroView application.  If you just want to use MicroView, all you need to install is MicroView-2029-setup.exe.  Try uninstalling the modules and then try starting  MicroView and loading the JPG or TIFF image.

      -Faruq

       
      • Dmitry Grinev

        Dmitry Grinev - 2005-03-30

        Hi Faruq,

        Thank you very much for your reply and suggestions. I have followed them and uninstalled vtkAtamai, vtkEVS, and vtkMultiIO. I have even uninstalled Python and Microview. reinstalled the latter again (and again). I have tried to load a JPG  image (a number of times) without any success. I just keep getting the error message which instructs me to look at Microview.exe.log and the latter contains just this (if I try to open an image file just once):

        AttributeError Exception in Tk callback
          Function: <function <lambda> at 0x0B498730> (type: <type 'function'>)
          Args: ()
        Traceback (innermost last):
          File "Pmw.pyo", line 1784, in __call__
            None
          File "MicroViewMain.pyo", line 656, in <lambda>
            None
          File "MicroViewMain.pyo", line 2138, in OnFileOpen
            None
          File "vtkMultiIO\vtkMultiImageReader.pyo", line 231, in SetFileName
            None
          File "vtkMultiIO\vtkMultiImageReader.pyo", line 180, in SetExtension
            None
        AttributeError: 'NoneType' object has no attribute 'AddObserver'

        I guess I will continue with my struggle but in the meantime would be grateful for any help and instructions.

        Thanks very much,

        Dmitry

         
    • Dmitry Grinev

      Dmitry Grinev - 2005-04-04

      Hi Faruq,

      Just to let you know that I have installed Microview on a different system: Dell Optiplex GX280, 2.8GHZ, 512 MB RAM, Windows 2000 Pro SP4.

      I get exactly the same behaviour and error messages when I try to load an image file.

      Thanks very much,

      Dmitry

       
    • Dmitry Grinev

      Dmitry Grinev - 2005-04-05

      Hi Faruq, 

      Just to let you know that I have installed Microview again on a different system: Dell Precision 670, Dual 2.8GHZ Xeon, 4 GB RAM, Windows 2000 Pro 5.00.2195 SP4.

      Now JPEG files can be loaded without any problem.

      However I get exactly the same behaviour and error messages when I try to load a TIF file. 
      If I attempt to load a TIF file when a JPEG file is already loaded I get this error mesage (saved in Microview.exe.log):
      +++++++++
      RuntimeError Exception in Tk callback
        Function: <function <lambda> at 0x03D18670> (type: <type 'function'>)
        Args: ()
      Traceback (innermost last):
        File "Pmw.pyo", line 1784, in __call__
          None
        File "MicroViewMain.pyo", line 656, in <lambda>
          None
        File "MicroViewMain.pyo", line 2138, in OnFileOpen
          None
        File "vtkMultiIO\vtkMultiImageReader.pyo", line 231, in SetFileName
          None
        File "vtkMultiIO\vtkMultiImageReader.pyo", line 180, in SetExtension
          None
        File "vtkMultiIO\vtkMultiImageReader.pyo", line 243, in __getattr__
          None
      RuntimeError: maximum recursion depth exceeded
      +++++++++++++
      Line  "File "vtkMultiIO\vtkMultiImageReader.pyo", line 243, in __getattr__
          Noneis"
      is repeated many many times.

      Thanks very much, 

      Dmitry

       
    • Faruq Ladak

      Faruq Ladak - 2005-04-06

      Hi Dmitry,

      I've tried installing and running MicroView on two systems.

      The first system is a Dell Optiplex GX260, 2GHz CPU, 512MB RAM, Win 2000 SP4.

      The second system is a Dell Xeon 2 CPU 2.66GHz, 2GB RAM, Win XP SP1.

      I am able to load TIFF and JPEG files on both systems.

      How large is the TIFF file that you are trying to load?  Have you tried loading other TIFF files?

      -Faruq

       
      • Dmitry Grinev

        Dmitry Grinev - 2005-04-06

        Hi Faruq,

        TIFF file that I am trying to load is 893Kb (these are X-ray CT images). I have tried to load smaller TIFF files (449 Kb) with the same oucome i.e. above-mentioned error message.

        After uninstalling and reinstalling Microview a number of times on my laptop (Dell Precision M60, 1GB RAM, 1.7GHZ,  Win XP Pro SP2)I managed to make it open JPEG files.

        Dmitry

         
    • Dmitry Grinev

      Dmitry Grinev - 2005-04-06

      Hi Faruq,

      Just to let you know I am also able to load 4Mb BMP files without any problem, manipulate them and then exit the Microview without any error meassages.

      Dmitry

       
    • Faruq Ladak

      Faruq Ladak - 2005-04-07

      MicroView can load in TIFF files with the extension ".tiff"  and it can not load in TIFF files with the extension ".tif".  Renaming the file so that it has an extension ".tiff" solves the problem.

       
    • Dmitry Grinev

      Dmitry Grinev - 2005-04-13

      Hi Faruq, 

      Just to let you know I am not able to load any JPEG files on  Dell Optiplex GX260, 2GHz CPU, 512MB RAM, Win 2000 SP4 (this the PC which belongs to  my collaborator).

      Dmitry

       

Log in to post a comment.

MongoDB Logo MongoDB