Skip to content

Windows: Export Spliced Image fails with data loaded #10

@sorghumking

Description

@sorghumking

Steps:
Load data for a site with imagery (right-click site node, choose Load).
Return to Data Manager by clicking Go to Data Manager button in lower-left of main window.
In Data Manager, right-click site's image node, choose Export spliced image, select a splice and export, get the error messages below.

This does not happen if data isn't loaded. First guess was running out of memory, but according to Task Manager, Correlator is using about 1.8GB of RAM (on a machine with 32GB) with all 342-U1410 imagery loaded. Related to loading the same image twice? Holding onto a file handle from initial load?

Traceback (most recent call last):

  File "C:\Users\bgrivna\proj\corewall\correlator\app\dbmanager.py", line 206, in OnImagesMenu
    self.OnExportSplicedImage(self.selectedIdx)

  File "C:\Users\bgrivna\proj\corewall\correlator\app\dbmanager.py", line 1232, in OnExportSplicedImage
    success, msg = self.ExportSplicedImage(sitePath, filename, path, secSummFiles, splice, options)
  File "C:\Users\bgrivna\proj\corewall\correlator\app\dbmanager.py", line 1196, in ExportSplicedImage
    spliceImage = SI.createSpliceImage(imagesToSplice, options)

  File "C:\Users\bgrivna\proj\corewall\correlator\app\spliceImage.py", line 124, in createSpliceImage
    spliceImage = bmp.ConvertToImage()

  File "C:\Users\bgrivna\proj\corewall\correlator\correlator_virtualenv\lib\site-packages\wx-2.9.5-msw\wx\_gdi.py", line 705, in ConvertToImage
    return _gdi_.Bitmap_ConvertToImage(*args, **kwargs)

PyAssertionError: C++ assertion "Assert failure" failed at ..\..\src\msw\dib.cpp(756) in wxDIB::ConvertToImage(): could not allocate data for image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions